Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class AccessCredentials extends \Google\Model
{
/**
* @var string
*/
public $accessToken;
/**
* @var string
*/
public $expiresIn;
/**
* @var string
*/
public $refreshToken;
/**
* @param string
*/
public function setAccessToken($accessToken)
{
$this->accessToken = $accessToken;
}
/**
* @return string
*/
public function getAccessToken()
{
return $this->accessToken;
}
/**
* @param string
*/
public function setExpiresIn($expiresIn)
{
$this->expiresIn = $expiresIn;
}
/**
* @return string
*/
public function getExpiresIn()
{
return $this->expiresIn;
}
/**
* @param string
*/
public function setRefreshToken($refreshToken)
{
$this->refreshToken = $refreshToken;
}
/**
* @return string
*/
public function getRefreshToken()
{
return $this->refreshToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessCredentials::class, 'Google_Service_Connectors_AccessCredentials');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class AclInfo extends \Google\Collection
{
protected $collection_key = 'readers';
protected $readersType = Readers::class;
protected $readersDataType = 'array';
/**
* @param Readers[]
*/
public function setReaders($readers)
{
$this->readers = $readers;
}
/**
* @return Readers[]
*/
public function getReaders()
{
return $this->readers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AclInfo::class, 'Google_Service_Connectors_AclInfo');

View File

@@ -0,0 +1,145 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Action extends \Google\Collection
{
protected $collection_key = 'resultMetadata';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $inputJsonSchemaType = JsonSchema::class;
protected $inputJsonSchemaDataType = '';
protected $inputParametersType = InputParameter::class;
protected $inputParametersDataType = 'array';
/**
* @var string
*/
public $name;
protected $resultJsonSchemaType = JsonSchema::class;
protected $resultJsonSchemaDataType = '';
protected $resultMetadataType = ResultMetadata::class;
protected $resultMetadataDataType = 'array';
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param JsonSchema
*/
public function setInputJsonSchema(JsonSchema $inputJsonSchema)
{
$this->inputJsonSchema = $inputJsonSchema;
}
/**
* @return JsonSchema
*/
public function getInputJsonSchema()
{
return $this->inputJsonSchema;
}
/**
* @param InputParameter[]
*/
public function setInputParameters($inputParameters)
{
$this->inputParameters = $inputParameters;
}
/**
* @return InputParameter[]
*/
public function getInputParameters()
{
return $this->inputParameters;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param JsonSchema
*/
public function setResultJsonSchema(JsonSchema $resultJsonSchema)
{
$this->resultJsonSchema = $resultJsonSchema;
}
/**
* @return JsonSchema
*/
public function getResultJsonSchema()
{
return $this->resultJsonSchema;
}
/**
* @param ResultMetadata[]
*/
public function setResultMetadata($resultMetadata)
{
$this->resultMetadata = $resultMetadata;
}
/**
* @return ResultMetadata[]
*/
public function getResultMetadata()
{
return $this->resultMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Action::class, 'Google_Service_Connectors_Action');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_Connectors_AuditConfig');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param string
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return string
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_Connectors_AuditLogConfig');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class AuthCodeData extends \Google\Model
{
/**
* @var string
*/
public $authCode;
/**
* @var string
*/
public $pkceVerifier;
/**
* @var string
*/
public $redirectUri;
/**
* @param string
*/
public function setAuthCode($authCode)
{
$this->authCode = $authCode;
}
/**
* @return string
*/
public function getAuthCode()
{
return $this->authCode;
}
/**
* @param string
*/
public function setPkceVerifier($pkceVerifier)
{
$this->pkceVerifier = $pkceVerifier;
}
/**
* @return string
*/
public function getPkceVerifier()
{
return $this->pkceVerifier;
}
/**
* @param string
*/
public function setRedirectUri($redirectUri)
{
$this->redirectUri = $redirectUri;
}
/**
* @return string
*/
public function getRedirectUri()
{
return $this->redirectUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthCodeData::class, 'Google_Service_Connectors_AuthCodeData');

View File

@@ -0,0 +1,125 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class AuthConfig extends \Google\Collection
{
protected $collection_key = 'additionalVariables';
protected $additionalVariablesType = ConfigVariable::class;
protected $additionalVariablesDataType = 'array';
/**
* @var string
*/
public $authType;
protected $oauth2ClientCredentialsType = Oauth2ClientCredentials::class;
protected $oauth2ClientCredentialsDataType = '';
protected $oauth2JwtBearerType = Oauth2JwtBearer::class;
protected $oauth2JwtBearerDataType = '';
protected $sshPublicKeyType = SshPublicKey::class;
protected $sshPublicKeyDataType = '';
protected $userPasswordType = UserPassword::class;
protected $userPasswordDataType = '';
/**
* @param ConfigVariable[]
*/
public function setAdditionalVariables($additionalVariables)
{
$this->additionalVariables = $additionalVariables;
}
/**
* @return ConfigVariable[]
*/
public function getAdditionalVariables()
{
return $this->additionalVariables;
}
/**
* @param string
*/
public function setAuthType($authType)
{
$this->authType = $authType;
}
/**
* @return string
*/
public function getAuthType()
{
return $this->authType;
}
/**
* @param Oauth2ClientCredentials
*/
public function setOauth2ClientCredentials(Oauth2ClientCredentials $oauth2ClientCredentials)
{
$this->oauth2ClientCredentials = $oauth2ClientCredentials;
}
/**
* @return Oauth2ClientCredentials
*/
public function getOauth2ClientCredentials()
{
return $this->oauth2ClientCredentials;
}
/**
* @param Oauth2JwtBearer
*/
public function setOauth2JwtBearer(Oauth2JwtBearer $oauth2JwtBearer)
{
$this->oauth2JwtBearer = $oauth2JwtBearer;
}
/**
* @return Oauth2JwtBearer
*/
public function getOauth2JwtBearer()
{
return $this->oauth2JwtBearer;
}
/**
* @param SshPublicKey
*/
public function setSshPublicKey(SshPublicKey $sshPublicKey)
{
$this->sshPublicKey = $sshPublicKey;
}
/**
* @return SshPublicKey
*/
public function getSshPublicKey()
{
return $this->sshPublicKey;
}
/**
* @param UserPassword
*/
public function setUserPassword(UserPassword $userPassword)
{
$this->userPassword = $userPassword;
}
/**
* @return UserPassword
*/
public function getUserPassword()
{
return $this->userPassword;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthConfig::class, 'Google_Service_Connectors_AuthConfig');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class AuthConfigTemplate extends \Google\Collection
{
protected $collection_key = 'configVariableTemplates';
/**
* @var string
*/
public $authType;
protected $configVariableTemplatesType = ConfigVariableTemplate::class;
protected $configVariableTemplatesDataType = 'array';
/**
* @param string
*/
public function setAuthType($authType)
{
$this->authType = $authType;
}
/**
* @return string
*/
public function getAuthType()
{
return $this->authType;
}
/**
* @param ConfigVariableTemplate[]
*/
public function setConfigVariableTemplates($configVariableTemplates)
{
$this->configVariableTemplates = $configVariableTemplates;
}
/**
* @return ConfigVariableTemplate[]
*/
public function getConfigVariableTemplates()
{
return $this->configVariableTemplates;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthConfigTemplate::class, 'Google_Service_Connectors_AuthConfigTemplate');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class AuthorizationCodeLink extends \Google\Collection
{
protected $collection_key = 'scopes';
/**
* @var string[]
*/
public $scopes;
/**
* @var string
*/
public $uri;
/**
* @param string[]
*/
public function setScopes($scopes)
{
$this->scopes = $scopes;
}
/**
* @return string[]
*/
public function getScopes()
{
return $this->scopes;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthorizationCodeLink::class, 'Google_Service_Connectors_AuthorizationCodeLink');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_Connectors_Binding');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_Connectors_CancelOperationRequest');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class CheckReadinessResponse extends \Google\Model
{
/**
* @var string
*/
public $status;
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckReadinessResponse::class, 'Google_Service_Connectors_CheckReadinessResponse');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class CheckStatusResponse extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckStatusResponse::class, 'Google_Service_Connectors_CheckStatusResponse');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ConfigVariable extends \Google\Model
{
/**
* @var bool
*/
public $boolValue;
/**
* @var string
*/
public $intValue;
/**
* @var string
*/
public $key;
protected $secretValueType = Secret::class;
protected $secretValueDataType = '';
/**
* @var string
*/
public $stringValue;
/**
* @param bool
*/
public function setBoolValue($boolValue)
{
$this->boolValue = $boolValue;
}
/**
* @return bool
*/
public function getBoolValue()
{
return $this->boolValue;
}
/**
* @param string
*/
public function setIntValue($intValue)
{
$this->intValue = $intValue;
}
/**
* @return string
*/
public function getIntValue()
{
return $this->intValue;
}
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param Secret
*/
public function setSecretValue(Secret $secretValue)
{
$this->secretValue = $secretValue;
}
/**
* @return Secret
*/
public function getSecretValue()
{
return $this->secretValue;
}
/**
* @param string
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigVariable::class, 'Google_Service_Connectors_ConfigVariable');

View File

@@ -0,0 +1,201 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ConfigVariableTemplate extends \Google\Collection
{
protected $collection_key = 'enumOptions';
protected $authorizationCodeLinkType = AuthorizationCodeLink::class;
protected $authorizationCodeLinkDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $enumOptionsType = EnumOption::class;
protected $enumOptionsDataType = 'array';
/**
* @var string
*/
public $key;
/**
* @var bool
*/
public $required;
protected $roleGrantType = RoleGrant::class;
protected $roleGrantDataType = '';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $validationRegex;
/**
* @var string
*/
public $valueType;
/**
* @param AuthorizationCodeLink
*/
public function setAuthorizationCodeLink(AuthorizationCodeLink $authorizationCodeLink)
{
$this->authorizationCodeLink = $authorizationCodeLink;
}
/**
* @return AuthorizationCodeLink
*/
public function getAuthorizationCodeLink()
{
return $this->authorizationCodeLink;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param EnumOption[]
*/
public function setEnumOptions($enumOptions)
{
$this->enumOptions = $enumOptions;
}
/**
* @return EnumOption[]
*/
public function getEnumOptions()
{
return $this->enumOptions;
}
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param bool
*/
public function setRequired($required)
{
$this->required = $required;
}
/**
* @return bool
*/
public function getRequired()
{
return $this->required;
}
/**
* @param RoleGrant
*/
public function setRoleGrant(RoleGrant $roleGrant)
{
$this->roleGrant = $roleGrant;
}
/**
* @return RoleGrant
*/
public function getRoleGrant()
{
return $this->roleGrant;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setValidationRegex($validationRegex)
{
$this->validationRegex = $validationRegex;
}
/**
* @return string
*/
public function getValidationRegex()
{
return $this->validationRegex;
}
/**
* @param string
*/
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
/**
* @return string
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigVariableTemplate::class, 'Google_Service_Connectors_ConfigVariableTemplate');

View File

@@ -0,0 +1,289 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Connection extends \Google\Collection
{
protected $collection_key = 'configVariables';
protected $authConfigType = AuthConfig::class;
protected $authConfigDataType = '';
protected $configVariablesType = ConfigVariable::class;
protected $configVariablesDataType = 'array';
/**
* @var string
*/
public $connectorVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $envoyImageLocation;
/**
* @var string
*/
public $imageLocation;
/**
* @var string[]
*/
public $labels;
protected $lockConfigType = LockConfig::class;
protected $lockConfigDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $serviceDirectory;
protected $statusType = ConnectionStatus::class;
protected $statusDataType = '';
/**
* @var bool
*/
public $suspended;
/**
* @var string
*/
public $updateTime;
/**
* @param AuthConfig
*/
public function setAuthConfig(AuthConfig $authConfig)
{
$this->authConfig = $authConfig;
}
/**
* @return AuthConfig
*/
public function getAuthConfig()
{
return $this->authConfig;
}
/**
* @param ConfigVariable[]
*/
public function setConfigVariables($configVariables)
{
$this->configVariables = $configVariables;
}
/**
* @return ConfigVariable[]
*/
public function getConfigVariables()
{
return $this->configVariables;
}
/**
* @param string
*/
public function setConnectorVersion($connectorVersion)
{
$this->connectorVersion = $connectorVersion;
}
/**
* @return string
*/
public function getConnectorVersion()
{
return $this->connectorVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEnvoyImageLocation($envoyImageLocation)
{
$this->envoyImageLocation = $envoyImageLocation;
}
/**
* @return string
*/
public function getEnvoyImageLocation()
{
return $this->envoyImageLocation;
}
/**
* @param string
*/
public function setImageLocation($imageLocation)
{
$this->imageLocation = $imageLocation;
}
/**
* @return string
*/
public function getImageLocation()
{
return $this->imageLocation;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param LockConfig
*/
public function setLockConfig(LockConfig $lockConfig)
{
$this->lockConfig = $lockConfig;
}
/**
* @return LockConfig
*/
public function getLockConfig()
{
return $this->lockConfig;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setServiceDirectory($serviceDirectory)
{
$this->serviceDirectory = $serviceDirectory;
}
/**
* @return string
*/
public function getServiceDirectory()
{
return $this->serviceDirectory;
}
/**
* @param ConnectionStatus
*/
public function setStatus(ConnectionStatus $status)
{
$this->status = $status;
}
/**
* @return ConnectionStatus
*/
public function getStatus()
{
return $this->status;
}
/**
* @param bool
*/
public function setSuspended($suspended)
{
$this->suspended = $suspended;
}
/**
* @return bool
*/
public function getSuspended()
{
return $this->suspended;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Connection::class, 'Google_Service_Connectors_Connection');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ConnectionSchemaMetadata extends \Google\Collection
{
protected $collection_key = 'entities';
/**
* @var string[]
*/
public $actions;
/**
* @var string[]
*/
public $entities;
/**
* @param string[]
*/
public function setActions($actions)
{
$this->actions = $actions;
}
/**
* @return string[]
*/
public function getActions()
{
return $this->actions;
}
/**
* @param string[]
*/
public function setEntities($entities)
{
$this->entities = $entities;
}
/**
* @return string[]
*/
public function getEntities()
{
return $this->entities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectionSchemaMetadata::class, 'Google_Service_Connectors_ConnectionSchemaMetadata');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ConnectionStatus extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $status;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectionStatus::class, 'Google_Service_Connectors_ConnectionStatus');

View File

@@ -0,0 +1,206 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Connector extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $documentationUri;
/**
* @var string
*/
public $externalUri;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $webAssetsLocation;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setDocumentationUri($documentationUri)
{
$this->documentationUri = $documentationUri;
}
/**
* @return string
*/
public function getDocumentationUri()
{
return $this->documentationUri;
}
/**
* @param string
*/
public function setExternalUri($externalUri)
{
$this->externalUri = $externalUri;
}
/**
* @return string
*/
public function getExternalUri()
{
return $this->externalUri;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setWebAssetsLocation($webAssetsLocation)
{
$this->webAssetsLocation = $webAssetsLocation;
}
/**
* @return string
*/
public function getWebAssetsLocation()
{
return $this->webAssetsLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Connector::class, 'Google_Service_Connectors_Connector');

View File

@@ -0,0 +1,249 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ConnectorVersion extends \Google\Collection
{
protected $collection_key = 'roleGrants';
protected $authConfigTemplatesType = AuthConfigTemplate::class;
protected $authConfigTemplatesDataType = 'array';
protected $configVariableTemplatesType = ConfigVariableTemplate::class;
protected $configVariableTemplatesDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
protected $egressControlConfigType = EgressControlConfig::class;
protected $egressControlConfigDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $releaseVersion;
protected $roleGrantType = RoleGrant::class;
protected $roleGrantDataType = '';
protected $roleGrantsType = RoleGrant::class;
protected $roleGrantsDataType = 'array';
protected $supportedRuntimeFeaturesType = SupportedRuntimeFeatures::class;
protected $supportedRuntimeFeaturesDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @param AuthConfigTemplate[]
*/
public function setAuthConfigTemplates($authConfigTemplates)
{
$this->authConfigTemplates = $authConfigTemplates;
}
/**
* @return AuthConfigTemplate[]
*/
public function getAuthConfigTemplates()
{
return $this->authConfigTemplates;
}
/**
* @param ConfigVariableTemplate[]
*/
public function setConfigVariableTemplates($configVariableTemplates)
{
$this->configVariableTemplates = $configVariableTemplates;
}
/**
* @return ConfigVariableTemplate[]
*/
public function getConfigVariableTemplates()
{
return $this->configVariableTemplates;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param EgressControlConfig
*/
public function setEgressControlConfig(EgressControlConfig $egressControlConfig)
{
$this->egressControlConfig = $egressControlConfig;
}
/**
* @return EgressControlConfig
*/
public function getEgressControlConfig()
{
return $this->egressControlConfig;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setReleaseVersion($releaseVersion)
{
$this->releaseVersion = $releaseVersion;
}
/**
* @return string
*/
public function getReleaseVersion()
{
return $this->releaseVersion;
}
/**
* @param RoleGrant
*/
public function setRoleGrant(RoleGrant $roleGrant)
{
$this->roleGrant = $roleGrant;
}
/**
* @return RoleGrant
*/
public function getRoleGrant()
{
return $this->roleGrant;
}
/**
* @param RoleGrant[]
*/
public function setRoleGrants($roleGrants)
{
$this->roleGrants = $roleGrants;
}
/**
* @return RoleGrant[]
*/
public function getRoleGrants()
{
return $this->roleGrants;
}
/**
* @param SupportedRuntimeFeatures
*/
public function setSupportedRuntimeFeatures(SupportedRuntimeFeatures $supportedRuntimeFeatures)
{
$this->supportedRuntimeFeatures = $supportedRuntimeFeatures;
}
/**
* @return SupportedRuntimeFeatures
*/
public function getSupportedRuntimeFeatures()
{
return $this->supportedRuntimeFeatures;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectorVersion::class, 'Google_Service_Connectors_ConnectorVersion');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ConnectorsEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectorsEmpty::class, 'Google_Service_Connectors_ConnectorsEmpty');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ConnectorsResource extends \Google\Model
{
/**
* @var string
*/
public $pathTemplate;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setPathTemplate($pathTemplate)
{
$this->pathTemplate = $pathTemplate;
}
/**
* @return string
*/
public function getPathTemplate()
{
return $this->pathTemplate;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectorsResource::class, 'Google_Service_Connectors_ConnectorsResource');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class DailyCycle extends \Google\Model
{
/**
* @var string
*/
public $duration;
protected $startTimeType = TimeOfDay::class;
protected $startTimeDataType = '';
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param TimeOfDay
*/
public function setStartTime(TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailyCycle::class, 'Google_Service_Connectors_DailyCycle');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_Connectors_Date');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class DenyMaintenancePeriod extends \Google\Model
{
protected $endDateType = Date::class;
protected $endDateDataType = '';
protected $startDateType = Date::class;
protected $startDateDataType = '';
protected $timeType = TimeOfDay::class;
protected $timeDataType = '';
/**
* @param Date
*/
public function setEndDate(Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Date
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param Date
*/
public function setStartDate(Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Date
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* @param TimeOfDay
*/
public function setTime(TimeOfDay $time)
{
$this->time = $time;
}
/**
* @return TimeOfDay
*/
public function getTime()
{
return $this->time;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DenyMaintenancePeriod::class, 'Google_Service_Connectors_DenyMaintenancePeriod');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class EgressControlConfig extends \Google\Model
{
/**
* @var string
*/
public $backends;
protected $extractionRulesType = ExtractionRules::class;
protected $extractionRulesDataType = '';
/**
* @param string
*/
public function setBackends($backends)
{
$this->backends = $backends;
}
/**
* @return string
*/
public function getBackends()
{
return $this->backends;
}
/**
* @param ExtractionRules
*/
public function setExtractionRules(ExtractionRules $extractionRules)
{
$this->extractionRules = $extractionRules;
}
/**
* @return ExtractionRules
*/
public function getExtractionRules()
{
return $this->extractionRules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EgressControlConfig::class, 'Google_Service_Connectors_EgressControlConfig');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Entity extends \Google\Model
{
/**
* @var array[]
*/
public $fields;
/**
* @var string
*/
public $name;
/**
* @param array[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return array[]
*/
public function getFields()
{
return $this->fields;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Entity::class, 'Google_Service_Connectors_Entity');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class EntityType extends \Google\Collection
{
protected $collection_key = 'operations';
protected $fieldsType = Field::class;
protected $fieldsDataType = 'array';
protected $jsonSchemaType = JsonSchema::class;
protected $jsonSchemaDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $operations;
/**
* @param Field[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return Field[]
*/
public function getFields()
{
return $this->fields;
}
/**
* @param JsonSchema
*/
public function setJsonSchema(JsonSchema $jsonSchema)
{
$this->jsonSchema = $jsonSchema;
}
/**
* @return JsonSchema
*/
public function getJsonSchema()
{
return $this->jsonSchema;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return string[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntityType::class, 'Google_Service_Connectors_EntityType');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class EntityWithACL extends \Google\Model
{
protected $internal_gapi_mappings = [
"aclInfo" => "acl_info",
];
protected $aclInfoType = AclInfo::class;
protected $aclInfoDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $jsonData;
/**
* @param AclInfo
*/
public function setAclInfo(AclInfo $aclInfo)
{
$this->aclInfo = $aclInfo;
}
/**
* @return AclInfo
*/
public function getAclInfo()
{
return $this->aclInfo;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setJsonData($jsonData)
{
$this->jsonData = $jsonData;
}
/**
* @return string
*/
public function getJsonData()
{
return $this->jsonData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntityWithACL::class, 'Google_Service_Connectors_EntityWithACL');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class EnumOption extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnumOption::class, 'Google_Service_Connectors_EnumOption');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ExchangeAuthCodeRequest extends \Google\Model
{
protected $authCodeDataType = AuthCodeData::class;
protected $authCodeDataDataType = '';
/**
* @param AuthCodeData
*/
public function setAuthCodeData(AuthCodeData $authCodeData)
{
$this->authCodeData = $authCodeData;
}
/**
* @return AuthCodeData
*/
public function getAuthCodeData()
{
return $this->authCodeData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExchangeAuthCodeRequest::class, 'Google_Service_Connectors_ExchangeAuthCodeRequest');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ExchangeAuthCodeResponse extends \Google\Model
{
protected $accessCredentialsType = AccessCredentials::class;
protected $accessCredentialsDataType = '';
/**
* @param AccessCredentials
*/
public function setAccessCredentials(AccessCredentials $accessCredentials)
{
$this->accessCredentials = $accessCredentials;
}
/**
* @return AccessCredentials
*/
public function getAccessCredentials()
{
return $this->accessCredentials;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExchangeAuthCodeResponse::class, 'Google_Service_Connectors_ExchangeAuthCodeResponse');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ExecuteActionRequest extends \Google\Model
{
/**
* @var array[]
*/
public $parameters;
/**
* @param array[]
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return array[]
*/
public function getParameters()
{
return $this->parameters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecuteActionRequest::class, 'Google_Service_Connectors_ExecuteActionRequest');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ExecuteActionResponse extends \Google\Collection
{
protected $collection_key = 'results';
/**
* @var array[]
*/
public $results;
/**
* @param array[]
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return array[]
*/
public function getResults()
{
return $this->results;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecuteActionResponse::class, 'Google_Service_Connectors_ExecuteActionResponse');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ExecuteSqlQueryRequest extends \Google\Model
{
protected $queryType = Query::class;
protected $queryDataType = '';
/**
* @param Query
*/
public function setQuery(Query $query)
{
$this->query = $query;
}
/**
* @return Query
*/
public function getQuery()
{
return $this->query;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecuteSqlQueryRequest::class, 'Google_Service_Connectors_ExecuteSqlQueryRequest');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ExecuteSqlQueryResponse extends \Google\Collection
{
protected $collection_key = 'results';
/**
* @var array[]
*/
public $results;
/**
* @param array[]
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return array[]
*/
public function getResults()
{
return $this->results;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecuteSqlQueryResponse::class, 'Google_Service_Connectors_ExecuteSqlQueryResponse');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_Connectors_Expr');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ExtractionRule extends \Google\Model
{
/**
* @var string
*/
public $extractionRegex;
protected $sourceType = Source::class;
protected $sourceDataType = '';
/**
* @param string
*/
public function setExtractionRegex($extractionRegex)
{
$this->extractionRegex = $extractionRegex;
}
/**
* @return string
*/
public function getExtractionRegex()
{
return $this->extractionRegex;
}
/**
* @param Source
*/
public function setSource(Source $source)
{
$this->source = $source;
}
/**
* @return Source
*/
public function getSource()
{
return $this->source;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExtractionRule::class, 'Google_Service_Connectors_ExtractionRule');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ExtractionRules extends \Google\Collection
{
protected $collection_key = 'extractionRule';
protected $extractionRuleType = ExtractionRule::class;
protected $extractionRuleDataType = 'array';
/**
* @param ExtractionRule[]
*/
public function setExtractionRule($extractionRule)
{
$this->extractionRule = $extractionRule;
}
/**
* @return ExtractionRule[]
*/
public function getExtractionRule()
{
return $this->extractionRule;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExtractionRules::class, 'Google_Service_Connectors_ExtractionRules');

View File

@@ -0,0 +1,184 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Field extends \Google\Model
{
/**
* @var array[]
*/
public $additionalDetails;
/**
* @var string
*/
public $dataType;
/**
* @var array
*/
public $defaultValue;
/**
* @var string
*/
public $description;
protected $jsonSchemaType = JsonSchema::class;
protected $jsonSchemaDataType = '';
/**
* @var bool
*/
public $key;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $nullable;
protected $referenceType = Reference::class;
protected $referenceDataType = '';
/**
* @param array[]
*/
public function setAdditionalDetails($additionalDetails)
{
$this->additionalDetails = $additionalDetails;
}
/**
* @return array[]
*/
public function getAdditionalDetails()
{
return $this->additionalDetails;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param array
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return array
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param JsonSchema
*/
public function setJsonSchema(JsonSchema $jsonSchema)
{
$this->jsonSchema = $jsonSchema;
}
/**
* @return JsonSchema
*/
public function getJsonSchema()
{
return $this->jsonSchema;
}
/**
* @param bool
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return bool
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setNullable($nullable)
{
$this->nullable = $nullable;
}
/**
* @return bool
*/
public function getNullable()
{
return $this->nullable;
}
/**
* @param Reference
*/
public function setReference(Reference $reference)
{
$this->reference = $reference;
}
/**
* @return Reference
*/
public function getReference()
{
return $this->reference;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Field::class, 'Google_Service_Connectors_Field');

View File

@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class InputParameter extends \Google\Model
{
/**
* @var array[]
*/
public $additionalDetails;
/**
* @var string
*/
public $dataType;
/**
* @var array
*/
public $defaultValue;
/**
* @var string
*/
public $description;
protected $jsonSchemaType = JsonSchema::class;
protected $jsonSchemaDataType = '';
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $nullable;
/**
* @param array[]
*/
public function setAdditionalDetails($additionalDetails)
{
$this->additionalDetails = $additionalDetails;
}
/**
* @return array[]
*/
public function getAdditionalDetails()
{
return $this->additionalDetails;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param array
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return array
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param JsonSchema
*/
public function setJsonSchema(JsonSchema $jsonSchema)
{
$this->jsonSchema = $jsonSchema;
}
/**
* @return JsonSchema
*/
public function getJsonSchema()
{
return $this->jsonSchema;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setNullable($nullable)
{
$this->nullable = $nullable;
}
/**
* @return bool
*/
public function getNullable()
{
return $this->nullable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InputParameter::class, 'Google_Service_Connectors_InputParameter');

View File

@@ -0,0 +1,323 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Instance extends \Google\Collection
{
protected $collection_key = 'provisionedResources';
/**
* @var string
*/
public $consumerDefinedName;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $instanceType;
/**
* @var string[]
*/
public $labels;
/**
* @var string[]
*/
public $maintenancePolicyNames;
protected $maintenanceSchedulesType = MaintenanceSchedule::class;
protected $maintenanceSchedulesDataType = 'map';
protected $maintenanceSettingsType = MaintenanceSettings::class;
protected $maintenanceSettingsDataType = '';
/**
* @var string
*/
public $name;
protected $notificationParametersType = NotificationParameter::class;
protected $notificationParametersDataType = 'map';
/**
* @var string[]
*/
public $producerMetadata;
protected $provisionedResourcesType = ProvisionedResource::class;
protected $provisionedResourcesDataType = 'array';
/**
* @var string
*/
public $slmInstanceTemplate;
protected $sloMetadataType = SloMetadata::class;
protected $sloMetadataDataType = '';
/**
* @var string[]
*/
public $softwareVersions;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $tenantProjectId;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setConsumerDefinedName($consumerDefinedName)
{
$this->consumerDefinedName = $consumerDefinedName;
}
/**
* @return string
*/
public function getConsumerDefinedName()
{
return $this->consumerDefinedName;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setInstanceType($instanceType)
{
$this->instanceType = $instanceType;
}
/**
* @return string
*/
public function getInstanceType()
{
return $this->instanceType;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string[]
*/
public function setMaintenancePolicyNames($maintenancePolicyNames)
{
$this->maintenancePolicyNames = $maintenancePolicyNames;
}
/**
* @return string[]
*/
public function getMaintenancePolicyNames()
{
return $this->maintenancePolicyNames;
}
/**
* @param MaintenanceSchedule[]
*/
public function setMaintenanceSchedules($maintenanceSchedules)
{
$this->maintenanceSchedules = $maintenanceSchedules;
}
/**
* @return MaintenanceSchedule[]
*/
public function getMaintenanceSchedules()
{
return $this->maintenanceSchedules;
}
/**
* @param MaintenanceSettings
*/
public function setMaintenanceSettings(MaintenanceSettings $maintenanceSettings)
{
$this->maintenanceSettings = $maintenanceSettings;
}
/**
* @return MaintenanceSettings
*/
public function getMaintenanceSettings()
{
return $this->maintenanceSettings;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NotificationParameter[]
*/
public function setNotificationParameters($notificationParameters)
{
$this->notificationParameters = $notificationParameters;
}
/**
* @return NotificationParameter[]
*/
public function getNotificationParameters()
{
return $this->notificationParameters;
}
/**
* @param string[]
*/
public function setProducerMetadata($producerMetadata)
{
$this->producerMetadata = $producerMetadata;
}
/**
* @return string[]
*/
public function getProducerMetadata()
{
return $this->producerMetadata;
}
/**
* @param ProvisionedResource[]
*/
public function setProvisionedResources($provisionedResources)
{
$this->provisionedResources = $provisionedResources;
}
/**
* @return ProvisionedResource[]
*/
public function getProvisionedResources()
{
return $this->provisionedResources;
}
/**
* @param string
*/
public function setSlmInstanceTemplate($slmInstanceTemplate)
{
$this->slmInstanceTemplate = $slmInstanceTemplate;
}
/**
* @return string
*/
public function getSlmInstanceTemplate()
{
return $this->slmInstanceTemplate;
}
/**
* @param SloMetadata
*/
public function setSloMetadata(SloMetadata $sloMetadata)
{
$this->sloMetadata = $sloMetadata;
}
/**
* @return SloMetadata
*/
public function getSloMetadata()
{
return $this->sloMetadata;
}
/**
* @param string[]
*/
public function setSoftwareVersions($softwareVersions)
{
$this->softwareVersions = $softwareVersions;
}
/**
* @return string[]
*/
public function getSoftwareVersions()
{
return $this->softwareVersions;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTenantProjectId($tenantProjectId)
{
$this->tenantProjectId = $tenantProjectId;
}
/**
* @return string
*/
public function getTenantProjectId()
{
return $this->tenantProjectId;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Instance::class, 'Google_Service_Connectors_Instance');

View File

@@ -0,0 +1,203 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class JsonSchema extends \Google\Collection
{
protected $collection_key = 'type';
/**
* @var array[]
*/
public $additionalDetails;
/**
* @var array
*/
public $default;
/**
* @var string
*/
public $description;
/**
* @var array[]
*/
public $enum;
/**
* @var string
*/
public $format;
protected $itemsType = JsonSchema::class;
protected $itemsDataType = '';
/**
* @var string
*/
public $jdbcType;
protected $propertiesType = JsonSchema::class;
protected $propertiesDataType = 'map';
/**
* @var string[]
*/
public $required;
/**
* @var string[]
*/
public $type;
/**
* @param array[]
*/
public function setAdditionalDetails($additionalDetails)
{
$this->additionalDetails = $additionalDetails;
}
/**
* @return array[]
*/
public function getAdditionalDetails()
{
return $this->additionalDetails;
}
/**
* @param array
*/
public function setDefault($default)
{
$this->default = $default;
}
/**
* @return array
*/
public function getDefault()
{
return $this->default;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param array[]
*/
public function setEnum($enum)
{
$this->enum = $enum;
}
/**
* @return array[]
*/
public function getEnum()
{
return $this->enum;
}
/**
* @param string
*/
public function setFormat($format)
{
$this->format = $format;
}
/**
* @return string
*/
public function getFormat()
{
return $this->format;
}
/**
* @param JsonSchema
*/
public function setItems(JsonSchema $items)
{
$this->items = $items;
}
/**
* @return JsonSchema
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setJdbcType($jdbcType)
{
$this->jdbcType = $jdbcType;
}
/**
* @return string
*/
public function getJdbcType()
{
return $this->jdbcType;
}
/**
* @param JsonSchema[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return JsonSchema[]
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string[]
*/
public function setRequired($required)
{
$this->required = $required;
}
/**
* @return string[]
*/
public function getRequired()
{
return $this->required;
}
/**
* @param string[]
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string[]
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JsonSchema::class, 'Google_Service_Connectors_JsonSchema');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class JwtClaims extends \Google\Model
{
/**
* @var string
*/
public $audience;
/**
* @var string
*/
public $issuer;
/**
* @var string
*/
public $subject;
/**
* @param string
*/
public function setAudience($audience)
{
$this->audience = $audience;
}
/**
* @return string
*/
public function getAudience()
{
return $this->audience;
}
/**
* @param string
*/
public function setIssuer($issuer)
{
$this->issuer = $issuer;
}
/**
* @return string
*/
public function getIssuer()
{
return $this->issuer;
}
/**
* @param string
*/
public function setSubject($subject)
{
$this->subject = $subject;
}
/**
* @return string
*/
public function getSubject()
{
return $this->subject;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JwtClaims::class, 'Google_Service_Connectors_JwtClaims');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListActionsResponse extends \Google\Collection
{
protected $collection_key = 'unsupportedActionNames';
protected $actionsType = Action::class;
protected $actionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unsupportedActionNames;
/**
* @param Action[]
*/
public function setActions($actions)
{
$this->actions = $actions;
}
/**
* @return Action[]
*/
public function getActions()
{
return $this->actions;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnsupportedActionNames($unsupportedActionNames)
{
$this->unsupportedActionNames = $unsupportedActionNames;
}
/**
* @return string[]
*/
public function getUnsupportedActionNames()
{
return $this->unsupportedActionNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListActionsResponse::class, 'Google_Service_Connectors_ListActionsResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $connectionsType = Connection::class;
protected $connectionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Connection[]
*/
public function setConnections($connections)
{
$this->connections = $connections;
}
/**
* @return Connection[]
*/
public function getConnections()
{
return $this->connections;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListConnectionsResponse::class, 'Google_Service_Connectors_ListConnectionsResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListConnectorVersionsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $connectorVersionsType = ConnectorVersion::class;
protected $connectorVersionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param ConnectorVersion[]
*/
public function setConnectorVersions($connectorVersions)
{
$this->connectorVersions = $connectorVersions;
}
/**
* @return ConnectorVersion[]
*/
public function getConnectorVersions()
{
return $this->connectorVersions;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListConnectorVersionsResponse::class, 'Google_Service_Connectors_ListConnectorVersionsResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListConnectorsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $connectorsType = Connector::class;
protected $connectorsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Connector[]
*/
public function setConnectors($connectors)
{
$this->connectors = $connectors;
}
/**
* @return Connector[]
*/
public function getConnectors()
{
return $this->connectors;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListConnectorsResponse::class, 'Google_Service_Connectors_ListConnectorsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListEntitiesResponse extends \Google\Collection
{
protected $collection_key = 'entities';
protected $entitiesType = Entity::class;
protected $entitiesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Entity[]
*/
public function setEntities($entities)
{
$this->entities = $entities;
}
/**
* @return Entity[]
*/
public function getEntities()
{
return $this->entities;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListEntitiesResponse::class, 'Google_Service_Connectors_ListEntitiesResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListEntitiesWithACLsResponse extends \Google\Collection
{
protected $collection_key = 'entitiesWithAcl';
protected $entitiesWithAclType = EntityWithACL::class;
protected $entitiesWithAclDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param EntityWithACL[]
*/
public function setEntitiesWithAcl($entitiesWithAcl)
{
$this->entitiesWithAcl = $entitiesWithAcl;
}
/**
* @return EntityWithACL[]
*/
public function getEntitiesWithAcl()
{
return $this->entitiesWithAcl;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListEntitiesWithACLsResponse::class, 'Google_Service_Connectors_ListEntitiesWithACLsResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListEntityTypesResponse extends \Google\Collection
{
protected $collection_key = 'unsupportedTypeNames';
/**
* @var string
*/
public $nextPageToken;
protected $typesType = EntityType::class;
protected $typesDataType = 'array';
/**
* @var string[]
*/
public $unsupportedTypeNames;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param EntityType[]
*/
public function setTypes($types)
{
$this->types = $types;
}
/**
* @return EntityType[]
*/
public function getTypes()
{
return $this->types;
}
/**
* @param string[]
*/
public function setUnsupportedTypeNames($unsupportedTypeNames)
{
$this->unsupportedTypeNames = $unsupportedTypeNames;
}
/**
* @return string[]
*/
public function getUnsupportedTypeNames()
{
return $this->unsupportedTypeNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListEntityTypesResponse::class, 'Google_Service_Connectors_ListEntityTypesResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_Connectors_ListLocationsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_Connectors_ListOperationsResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListProvidersResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $providersType = Provider::class;
protected $providersDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Provider[]
*/
public function setProviders($providers)
{
$this->providers = $providers;
}
/**
* @return Provider[]
*/
public function getProviders()
{
return $this->providers;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListProvidersResponse::class, 'Google_Service_Connectors_ListProvidersResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListRuntimeActionSchemasResponse extends \Google\Collection
{
protected $collection_key = 'runtimeActionSchemas';
/**
* @var string
*/
public $nextPageToken;
protected $runtimeActionSchemasType = RuntimeActionSchema::class;
protected $runtimeActionSchemasDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param RuntimeActionSchema[]
*/
public function setRuntimeActionSchemas($runtimeActionSchemas)
{
$this->runtimeActionSchemas = $runtimeActionSchemas;
}
/**
* @return RuntimeActionSchema[]
*/
public function getRuntimeActionSchemas()
{
return $this->runtimeActionSchemas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListRuntimeActionSchemasResponse::class, 'Google_Service_Connectors_ListRuntimeActionSchemasResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ListRuntimeEntitySchemasResponse extends \Google\Collection
{
protected $collection_key = 'runtimeEntitySchemas';
/**
* @var string
*/
public $nextPageToken;
protected $runtimeEntitySchemasType = RuntimeEntitySchema::class;
protected $runtimeEntitySchemasDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param RuntimeEntitySchema[]
*/
public function setRuntimeEntitySchemas($runtimeEntitySchemas)
{
$this->runtimeEntitySchemas = $runtimeEntitySchemas;
}
/**
* @return RuntimeEntitySchema[]
*/
public function getRuntimeEntitySchemas()
{
return $this->runtimeEntitySchemas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListRuntimeEntitySchemasResponse::class, 'Google_Service_Connectors_ListRuntimeEntitySchemasResponse');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_Connectors_Location');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class LockConfig extends \Google\Model
{
/**
* @var bool
*/
public $locked;
/**
* @var string
*/
public $reason;
/**
* @param bool
*/
public function setLocked($locked)
{
$this->locked = $locked;
}
/**
* @return bool
*/
public function getLocked()
{
return $this->locked;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LockConfig::class, 'Google_Service_Connectors_LockConfig');

View File

@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class MaintenancePolicy extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
protected $updatePolicyType = UpdatePolicy::class;
protected $updatePolicyDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param UpdatePolicy
*/
public function setUpdatePolicy(UpdatePolicy $updatePolicy)
{
$this->updatePolicy = $updatePolicy;
}
/**
* @return UpdatePolicy
*/
public function getUpdatePolicy()
{
return $this->updatePolicy;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenancePolicy::class, 'Google_Service_Connectors_MaintenancePolicy');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class MaintenanceSchedule extends \Google\Model
{
/**
* @var bool
*/
public $canReschedule;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $rolloutManagementPolicy;
/**
* @var string
*/
public $scheduleDeadlineTime;
/**
* @var string
*/
public $startTime;
/**
* @param bool
*/
public function setCanReschedule($canReschedule)
{
$this->canReschedule = $canReschedule;
}
/**
* @return bool
*/
public function getCanReschedule()
{
return $this->canReschedule;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setRolloutManagementPolicy($rolloutManagementPolicy)
{
$this->rolloutManagementPolicy = $rolloutManagementPolicy;
}
/**
* @return string
*/
public function getRolloutManagementPolicy()
{
return $this->rolloutManagementPolicy;
}
/**
* @param string
*/
public function setScheduleDeadlineTime($scheduleDeadlineTime)
{
$this->scheduleDeadlineTime = $scheduleDeadlineTime;
}
/**
* @return string
*/
public function getScheduleDeadlineTime()
{
return $this->scheduleDeadlineTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenanceSchedule::class, 'Google_Service_Connectors_MaintenanceSchedule');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class MaintenanceSettings extends \Google\Model
{
/**
* @var bool
*/
public $exclude;
/**
* @var bool
*/
public $isRollback;
protected $maintenancePoliciesType = MaintenancePolicy::class;
protected $maintenancePoliciesDataType = 'map';
/**
* @param bool
*/
public function setExclude($exclude)
{
$this->exclude = $exclude;
}
/**
* @return bool
*/
public function getExclude()
{
return $this->exclude;
}
/**
* @param bool
*/
public function setIsRollback($isRollback)
{
$this->isRollback = $isRollback;
}
/**
* @return bool
*/
public function getIsRollback()
{
return $this->isRollback;
}
/**
* @param MaintenancePolicy[]
*/
public function setMaintenancePolicies($maintenancePolicies)
{
$this->maintenancePolicies = $maintenancePolicies;
}
/**
* @return MaintenancePolicy[]
*/
public function getMaintenancePolicies()
{
return $this->maintenancePolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenanceSettings::class, 'Google_Service_Connectors_MaintenanceSettings');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class MaintenanceWindow extends \Google\Model
{
protected $dailyCycleType = DailyCycle::class;
protected $dailyCycleDataType = '';
protected $weeklyCycleType = WeeklyCycle::class;
protected $weeklyCycleDataType = '';
/**
* @param DailyCycle
*/
public function setDailyCycle(DailyCycle $dailyCycle)
{
$this->dailyCycle = $dailyCycle;
}
/**
* @return DailyCycle
*/
public function getDailyCycle()
{
return $this->dailyCycle;
}
/**
* @param WeeklyCycle
*/
public function setWeeklyCycle(WeeklyCycle $weeklyCycle)
{
$this->weeklyCycle = $weeklyCycle;
}
/**
* @return WeeklyCycle
*/
public function getWeeklyCycle()
{
return $this->weeklyCycle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenanceWindow::class, 'Google_Service_Connectors_MaintenanceWindow');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class NodeSloMetadata extends \Google\Model
{
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $nodeId;
protected $perSliEligibilityType = PerSliSloEligibility::class;
protected $perSliEligibilityDataType = '';
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setNodeId($nodeId)
{
$this->nodeId = $nodeId;
}
/**
* @return string
*/
public function getNodeId()
{
return $this->nodeId;
}
/**
* @param PerSliSloEligibility
*/
public function setPerSliEligibility(PerSliSloEligibility $perSliEligibility)
{
$this->perSliEligibility = $perSliEligibility;
}
/**
* @return PerSliSloEligibility
*/
public function getPerSliEligibility()
{
return $this->perSliEligibility;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodeSloMetadata::class, 'Google_Service_Connectors_NodeSloMetadata');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class NotificationParameter extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string[]
*/
public $values;
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NotificationParameter::class, 'Google_Service_Connectors_NotificationParameter');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Oauth2ClientCredentials extends \Google\Model
{
/**
* @var string
*/
public $clientId;
protected $clientSecretType = Secret::class;
protected $clientSecretDataType = '';
/**
* @param string
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* @param Secret
*/
public function setClientSecret(Secret $clientSecret)
{
$this->clientSecret = $clientSecret;
}
/**
* @return Secret
*/
public function getClientSecret()
{
return $this->clientSecret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Oauth2ClientCredentials::class, 'Google_Service_Connectors_Oauth2ClientCredentials');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Oauth2JwtBearer extends \Google\Model
{
protected $clientKeyType = Secret::class;
protected $clientKeyDataType = '';
protected $jwtClaimsType = JwtClaims::class;
protected $jwtClaimsDataType = '';
/**
* @param Secret
*/
public function setClientKey(Secret $clientKey)
{
$this->clientKey = $clientKey;
}
/**
* @return Secret
*/
public function getClientKey()
{
return $this->clientKey;
}
/**
* @param JwtClaims
*/
public function setJwtClaims(JwtClaims $jwtClaims)
{
$this->jwtClaims = $jwtClaims;
}
/**
* @return JwtClaims
*/
public function getJwtClaims()
{
return $this->jwtClaims;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Oauth2JwtBearer::class, 'Google_Service_Connectors_Oauth2JwtBearer');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_Connectors_Operation');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_Connectors_OperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class PerSliSloEligibility extends \Google\Model
{
protected $eligibilitiesType = SloEligibility::class;
protected $eligibilitiesDataType = 'map';
/**
* @param SloEligibility[]
*/
public function setEligibilities($eligibilities)
{
$this->eligibilities = $eligibilities;
}
/**
* @return SloEligibility[]
*/
public function getEligibilities()
{
return $this->eligibilities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PerSliSloEligibility::class, 'Google_Service_Connectors_PerSliSloEligibility');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_Connectors_Policy');

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Principal extends \Google\Model
{
protected $internal_gapi_mappings = [
"groupId" => "group_id",
"userId" => "user_id",
];
/**
* @var string
*/
public $groupId;
/**
* @var string
*/
public $userId;
/**
* @param string
*/
public function setGroupId($groupId)
{
$this->groupId = $groupId;
}
/**
* @return string
*/
public function getGroupId()
{
return $this->groupId;
}
/**
* @param string
*/
public function setUserId($userId)
{
$this->userId = $userId;
}
/**
* @return string
*/
public function getUserId()
{
return $this->userId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Principal::class, 'Google_Service_Connectors_Principal');

View File

@@ -0,0 +1,206 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Provider extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $documentationUri;
/**
* @var string
*/
public $externalUri;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $webAssetsLocation;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setDocumentationUri($documentationUri)
{
$this->documentationUri = $documentationUri;
}
/**
* @return string
*/
public function getDocumentationUri()
{
return $this->documentationUri;
}
/**
* @param string
*/
public function setExternalUri($externalUri)
{
$this->externalUri = $externalUri;
}
/**
* @return string
*/
public function getExternalUri()
{
return $this->externalUri;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setWebAssetsLocation($webAssetsLocation)
{
$this->webAssetsLocation = $webAssetsLocation;
}
/**
* @return string
*/
public function getWebAssetsLocation()
{
return $this->webAssetsLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Provider::class, 'Google_Service_Connectors_Provider');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ProvisionedResource extends \Google\Model
{
/**
* @var string
*/
public $resourceType;
/**
* @var string
*/
public $resourceUrl;
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* @param string
*/
public function setResourceUrl($resourceUrl)
{
$this->resourceUrl = $resourceUrl;
}
/**
* @return string
*/
public function getResourceUrl()
{
return $this->resourceUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProvisionedResource::class, 'Google_Service_Connectors_ProvisionedResource');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Query extends \Google\Collection
{
protected $collection_key = 'queryParameters';
/**
* @var string
*/
public $maxRows;
/**
* @var string
*/
public $query;
protected $queryParametersType = QueryParameter::class;
protected $queryParametersDataType = 'array';
/**
* @var string
*/
public $timeout;
/**
* @param string
*/
public function setMaxRows($maxRows)
{
$this->maxRows = $maxRows;
}
/**
* @return string
*/
public function getMaxRows()
{
return $this->maxRows;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
/**
* @param QueryParameter[]
*/
public function setQueryParameters($queryParameters)
{
$this->queryParameters = $queryParameters;
}
/**
* @return QueryParameter[]
*/
public function getQueryParameters()
{
return $this->queryParameters;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Query::class, 'Google_Service_Connectors_Query');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class QueryParameter extends \Google\Model
{
/**
* @var string
*/
public $dataType;
/**
* @var array
*/
public $value;
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param array
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return array
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryParameter::class, 'Google_Service_Connectors_QueryParameter');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Readers extends \Google\Collection
{
protected $collection_key = 'principals';
protected $principalsType = Principal::class;
protected $principalsDataType = 'array';
/**
* @param Principal[]
*/
public function setPrincipals($principals)
{
$this->principals = $principals;
}
/**
* @return Principal[]
*/
public function getPrincipals()
{
return $this->principals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Readers::class, 'Google_Service_Connectors_Readers');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Reference extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Reference::class, 'Google_Service_Connectors_Reference');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class RefreshAccessTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $refreshToken;
/**
* @param string
*/
public function setRefreshToken($refreshToken)
{
$this->refreshToken = $refreshToken;
}
/**
* @return string
*/
public function getRefreshToken()
{
return $this->refreshToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RefreshAccessTokenRequest::class, 'Google_Service_Connectors_RefreshAccessTokenRequest');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class RefreshAccessTokenResponse extends \Google\Model
{
protected $accessCredentialsType = AccessCredentials::class;
protected $accessCredentialsDataType = '';
/**
* @param AccessCredentials
*/
public function setAccessCredentials(AccessCredentials $accessCredentials)
{
$this->accessCredentials = $accessCredentials;
}
/**
* @return AccessCredentials
*/
public function getAccessCredentials()
{
return $this->accessCredentials;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RefreshAccessTokenResponse::class, 'Google_Service_Connectors_RefreshAccessTokenResponse');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $projects = $connectorsService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_Connectors_Resource_Projects');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $locations = $connectorsService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_Connectors_Resource_ProjectsLocations');

View File

@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\CheckReadinessResponse;
use Google\Service\Connectors\CheckStatusResponse;
use Google\Service\Connectors\ExchangeAuthCodeRequest;
use Google\Service\Connectors\ExchangeAuthCodeResponse;
use Google\Service\Connectors\ExecuteSqlQueryRequest;
use Google\Service\Connectors\ExecuteSqlQueryResponse;
use Google\Service\Connectors\RefreshAccessTokenRequest;
use Google\Service\Connectors\RefreshAccessTokenResponse;
/**
* The "connections" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $connections = $connectorsService->projects_locations_connections;
* </code>
*/
class ProjectsLocationsConnections extends \Google\Service\Resource
{
/**
* Reports readiness status of the connector. Similar logic to GetStatus but
* modified for kubernetes health check to understand.
* (connections.checkReadiness)
*
* @param string $name
* @param array $optParams Optional parameters.
* @return CheckReadinessResponse
* @throws \Google\Service\Exception
*/
public function checkReadiness($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('checkReadiness', [$params], CheckReadinessResponse::class);
}
/**
* Reports the status of the connection. Note that when the connection is in a
* state that is not ACTIVE, the implementation of this RPC method must return a
* Status with the corresponding State instead of returning a gRPC status code
* that is not "OK", which indicates that ConnectionStatus itself, not the
* connection, failed. (connections.checkStatus)
*
* @param string $name
* @param array $optParams Optional parameters.
* @return CheckStatusResponse
* @throws \Google\Service\Exception
*/
public function checkStatus($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('checkStatus', [$params], CheckStatusResponse::class);
}
/**
* ExchangeAuthCode exchanges the OAuth authorization code (and other necessary
* data) for an access token (and associated credentials).
* (connections.exchangeAuthCode)
*
* @param string $name
* @param ExchangeAuthCodeRequest $postBody
* @param array $optParams Optional parameters.
* @return ExchangeAuthCodeResponse
* @throws \Google\Service\Exception
*/
public function exchangeAuthCode($name, ExchangeAuthCodeRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeAuthCode', [$params], ExchangeAuthCodeResponse::class);
}
/**
* Executes a SQL statement specified in the body of the request. An example of
* this SQL statement in the case of Salesforce connector would be 'select *
* from Account a, Order o where a.Id = o.AccountId'.
* (connections.executeSqlQuery)
*
* @param string $connection Required. Resource name of the Connection. Format:
* projects/{project}/locations/{location}/connections/{connection}
* @param ExecuteSqlQueryRequest $postBody
* @param array $optParams Optional parameters.
* @return ExecuteSqlQueryResponse
* @throws \Google\Service\Exception
*/
public function executeSqlQuery($connection, ExecuteSqlQueryRequest $postBody, $optParams = [])
{
$params = ['connection' => $connection, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('executeSqlQuery', [$params], ExecuteSqlQueryResponse::class);
}
/**
* RefreshAccessToken exchanges the OAuth refresh token (and other necessary
* data) for a new access token (and new associated credentials).
* (connections.refreshAccessToken)
*
* @param string $name
* @param RefreshAccessTokenRequest $postBody
* @param array $optParams Optional parameters.
* @return RefreshAccessTokenResponse
* @throws \Google\Service\Exception
*/
public function refreshAccessToken($name, RefreshAccessTokenRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('refreshAccessToken', [$params], RefreshAccessTokenResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnections::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnections');

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\Action;
use Google\Service\Connectors\ExecuteActionRequest;
use Google\Service\Connectors\ExecuteActionResponse;
use Google\Service\Connectors\ListActionsResponse;
/**
* The "actions" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $actions = $connectorsService->projects_locations_connections_actions;
* </code>
*/
class ProjectsLocationsConnectionsActions extends \Google\Service\Resource
{
/**
* Executes an action with the name specified in the request. The input
* parameters for executing the action are passed through the body of the
* ExecuteAction request. (actions.execute)
*
* @param string $name Required. Resource name of the Action. Format: projects/{
* project}/locations/{location}/connections/{connection}/actions/{action}
* @param ExecuteActionRequest $postBody
* @param array $optParams Optional parameters.
* @return ExecuteActionResponse
* @throws \Google\Service\Exception
*/
public function execute($name, ExecuteActionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('execute', [$params], ExecuteActionResponse::class);
}
/**
* Gets the schema of the given action. (actions.get)
*
* @param string $name Required. Resource name of the Action. Format: projects/{
* project}/locations/{location}/connections/{connection}/actions/{action}
* @param array $optParams Optional parameters.
* @return Action
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Action::class);
}
/**
* Gets the schema of all the actions supported by the connector.
* (actions.listProjectsLocationsConnectionsActions)
*
* @param string $parent Required. Parent resource name of the Action. Format:
* projects/{project}/locations/{location}/connections/{connection}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Number of Actions to return. Defaults to 25.
* @opt_param string pageToken Page token, return from a previous ListActions
* call, that can be used retrieve the next page of content. If unspecified, the
* request returns the first page of actions.
* @opt_param string view Specifies which fields of the Action are returned in
* the response.
* @return ListActionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsConnectionsActions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListActionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectionsActions::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectionsActions');

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\EntityType;
use Google\Service\Connectors\ListEntityTypesResponse;
/**
* The "entityTypes" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $entityTypes = $connectorsService->projects_locations_connections_entityTypes;
* </code>
*/
class ProjectsLocationsConnectionsEntityTypes extends \Google\Service\Resource
{
/**
* Gets metadata of given entity type (entityTypes.get)
*
* @param string $name Required. Resource name of the Entity Type. Format: proje
* cts/{project}/locations/{location}/connections/{connection}/entityTypes/{enti
* tyType}
* @param array $optParams Optional parameters.
* @return EntityType
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], EntityType::class);
}
/**
* Lists metadata related to all entity types present in the external system.
* (entityTypes.listProjectsLocationsConnectionsEntityTypes)
*
* @param string $parent Required. Resource name of the Entity Type. Format:
* projects/{project}/locations/{location}/connections/{connection}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Number of entity types to return. Defaults to 25.
* @opt_param string pageToken Page token, return from a previous
* ListEntityTypes call, that can be used retrieve the next page of content. If
* unspecified, the request returns the first page of entity types.
* @opt_param string view Specifies which fields of the Entity Type are returned
* in the response.
* @return ListEntityTypesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsConnectionsEntityTypes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListEntityTypesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectionsEntityTypes::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectionsEntityTypes');

View File

@@ -0,0 +1,200 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\ConnectorsEmpty;
use Google\Service\Connectors\Entity;
use Google\Service\Connectors\ListEntitiesResponse;
use Google\Service\Connectors\UpdateEntitiesWithConditionsResponse;
/**
* The "entities" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $entities = $connectorsService->projects_locations_connections_entityTypes_entities;
* </code>
*/
class ProjectsLocationsConnectionsEntityTypesEntities extends \Google\Service\Resource
{
/**
* Creates a new entity row of the specified entity type in the external system.
* The field values for creating the row are contained in the body of the
* request. The response message contains a `Entity` message object returned as
* a response by the external system. (entities.create)
*
* @param string $parent Required. Resource name of the Entity Type. Format: pro
* jects/{project}/locations/{location}/connections/{connection}/entityTypes/{ty
* pe}
* @param Entity $postBody
* @param array $optParams Optional parameters.
* @return Entity
* @throws \Google\Service\Exception
*/
public function create($parent, Entity $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Entity::class);
}
/**
* Deletes an existing entity row matching the entity type and entity id
* specified in the request. (entities.delete)
*
* @param string $name Required. Resource name of the Entity Type. Format: proje
* cts/{project}/locations/{location}/connections/{connection}/entityTypes/{type
* }/entities/{id}
* @param array $optParams Optional parameters.
* @return ConnectorsEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ConnectorsEmpty::class);
}
/**
* Deletes entities based on conditions specified in the request and not on
* entity id. (entities.deleteEntitiesWithConditions)
*
* @param string $entityType Required. Resource name of the Entity Type. Format:
* projects/{project}/locations/{location}/connections/{connection}/entityTypes/
* {type}
* @param array $optParams Optional parameters.
*
* @opt_param string conditions Required. Conditions to be used when deleting
* entities. From a proto standpoint, There are no restrictions on what can be
* passed using this field. The connector documentation should have information
* about what format of filters/conditions are supported. Note: If this
* conditions field is left empty, an exception is thrown. We don't want to
* consider 'empty conditions' to be a match-all case. Connector developers can
* determine and document what a match-all case constraint would be.
* @return ConnectorsEmpty
* @throws \Google\Service\Exception
*/
public function deleteEntitiesWithConditions($entityType, $optParams = [])
{
$params = ['entityType' => $entityType];
$params = array_merge($params, $optParams);
return $this->call('deleteEntitiesWithConditions', [$params], ConnectorsEmpty::class);
}
/**
* Gets a single entity row matching the entity type and entity id specified in
* the request. (entities.get)
*
* @param string $name Required. Resource name of the Entity Type. Format: proje
* cts/{project}/locations/{location}/connections/{connection}/entityTypes/{type
* }/entities/{id}
* @param array $optParams Optional parameters.
* @return Entity
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Entity::class);
}
/**
* Lists entity rows of a particular entity type contained in the request. Note:
* 1. Currently, only max of one 'sort_by' column is supported. 2. If no
* 'sort_by' column is provided, the primary key of the table is used. If zero
* or more than one primary key is available, we default to the unpaginated list
* entities logic which only returns the first page. 3. The values of the
* 'sort_by' columns must uniquely identify an entity row, otherwise undefined
* behaviors may be observed during pagination. 4. Since transactions are not
* supported, any updates, inserts or deletes during pagination can lead to
* stale data being returned or other unexpected behaviors.
* (entities.listProjectsLocationsConnectionsEntityTypesEntities)
*
* @param string $parent Required. Resource name of the Entity Type. Format: pro
* jects/{project}/locations/{location}/connections/{connection}/entityTypes/{ty
* pe}
* @param array $optParams Optional parameters.
*
* @opt_param string conditions Conditions to be used when listing entities.
* From a proto standpoint, There are no restrictions on what can be passed
* using this field. The connector documentation should have information about
* what format of filters/conditions are supported.
* @opt_param int pageSize Number of entity rows to return. Defaults page size =
* 25. Max page size = 200.
* @opt_param string pageToken Page token value if available from a previous
* request.
* @opt_param string sortBy List of 'sort_by' columns to use when returning the
* results.
* @return ListEntitiesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsConnectionsEntityTypesEntities($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListEntitiesResponse::class);
}
/**
* Updates an existing entity row matching the entity type and entity id
* specified in the request. The fields in the entity row that need to be
* modified are contained in the body of the request. All unspecified fields are
* left unchanged. The response message contains a `Entity` message object
* returned as a response by the external system. (entities.patch)
*
* @param string $name Output only. Resource name of the Entity. Format: project
* s/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/
* entities/{id}
* @param Entity $postBody
* @param array $optParams Optional parameters.
* @return Entity
* @throws \Google\Service\Exception
*/
public function patch($name, Entity $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Entity::class);
}
/**
* Updates entities based on conditions specified in the request and not on
* entity id. (entities.updateEntitiesWithConditions)
*
* @param string $entityType Required. Resource name of the Entity Type. Format:
* projects/{project}/locations/{location}/connections/{connection}/entityTypes/
* {type}
* @param Entity $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string conditions Required. Conditions to be used when updating
* entities. From a proto standpoint, There are no restrictions on what can be
* passed using this field. The connector documentation should have information
* about what format of filters/conditions are supported. Note: If this
* conditions field is left empty, an exception is thrown. We don't want to
* consider 'empty conditions' to be a match-all case. Connector developers can
* determine and document what a match-all case constraint would be.
* @return UpdateEntitiesWithConditionsResponse
* @throws \Google\Service\Exception
*/
public function updateEntitiesWithConditions($entityType, Entity $postBody, $optParams = [])
{
$params = ['entityType' => $entityType, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateEntitiesWithConditions', [$params], UpdateEntitiesWithConditionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectionsEntityTypesEntities::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectionsEntityTypesEntities');

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\Operation;
/**
* The "entitieswithacls" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $entitieswithacls = $connectorsService->projects_locations_connections_entityTypes_entitieswithacls;
* </code>
*/
class ProjectsLocationsConnectionsEntityTypesEntitieswithacls extends \Google\Service\Resource
{
/**
* Lists entity rows with ACLs of a particular entity type contained in the
* request. Note: 1. Currently, only max of one 'sort_by' column is supported.
* 2. If no 'sort_by' column is provided, the primary key of the table is used.
* If zero or more than one primary key is available, we default to the
* unpaginated list entities logic which only returns the first page. 3. The
* values of the 'sort_by' columns must uniquely identify an entity row,
* otherwise undefined behaviors may be observed during pagination. 4. Since
* transactions are not supported, any updates, inserts or deletes during
* pagination can lead to stale data being returned or other unexpected
* behaviors. (entitieswithacls.listProjectsLocationsConnectionsEntityTypesEntit
* ieswithacls)
*
* @param string $parent Required. Resource name of the Entity Type. Format: pro
* jects/{project}/locations/{location}/connections/{connection}/entityTypes/{ty
* pe}
* @param array $optParams Optional parameters.
*
* @opt_param string conditions Conditions to be used when listing entities.
* From a proto standpoint, There are no restrictions on what can be passed
* using this field. The connector documentation should have information about
* what format of filters/conditions are supported.
* @opt_param string gsutilUri Format: gs://object_path
* @return Operation
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsConnectionsEntityTypesEntitieswithacls($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectionsEntityTypesEntitieswithacls::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectionsEntityTypesEntitieswithacls');

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\ListRuntimeActionSchemasResponse;
/**
* The "runtimeActionSchemas" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $runtimeActionSchemas = $connectorsService->runtimeActionSchemas;
* </code>
*/
class ProjectsLocationsConnectionsRuntimeActionSchemas extends \Google\Service\Resource
{
/**
* List schema of a runtime actions filtered by action name.
* (runtimeActionSchemas.listProjectsLocationsConnectionsRuntimeActionSchemas)
*
* @param string $parent Required. Parent resource of RuntimeActionSchema
* Format: projects/{project}/locations/{location}/connections/{connection}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Required. Filter Format: action="{actionId}" Only
* action field is supported with literal equality operator. Accepted filter
* example: action="CancelOrder" Wildcards are not supported in the filter
* currently.
* @opt_param int pageSize Page size.
* @opt_param string pageToken Page token.
* @return ListRuntimeActionSchemasResponse
*/
public function listProjectsLocationsConnectionsRuntimeActionSchemas($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListRuntimeActionSchemasResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectionsRuntimeActionSchemas::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectionsRuntimeActionSchemas');

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\ListRuntimeEntitySchemasResponse;
/**
* The "runtimeEntitySchemas" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $runtimeEntitySchemas = $connectorsService->runtimeEntitySchemas;
* </code>
*/
class ProjectsLocationsConnectionsRuntimeEntitySchemas extends \Google\Service\Resource
{
/**
* List schema of a runtime entities filtered by entity name.
* (runtimeEntitySchemas.listProjectsLocationsConnectionsRuntimeEntitySchemas)
*
* @param string $parent Required. Parent resource of RuntimeEntitySchema
* Format: projects/{project}/locations/{location}/connections/{connection}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Required. Filter Format: entity="{entityId}" Only
* entity field is supported with literal equality operator. Accepted filter
* example: entity="Order" Wildcards are not supported in the filter currently.
* @opt_param int pageSize Page size.
* @opt_param string pageToken Page token.
* @return ListRuntimeEntitySchemasResponse
*/
public function listProjectsLocationsConnectionsRuntimeEntitySchemas($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListRuntimeEntitySchemasResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectionsRuntimeEntitySchemas::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectionsRuntimeEntitySchemas');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
/**
* The "global" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $global = $connectorsService->global;
* </code>
*/
class ProjectsLocationsConnectorsGlobal extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectorsGlobal::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectorsGlobal');

View File

@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\ListProvidersResponse;
use Google\Service\Connectors\Provider;
/**
* The "providers" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $providers = $connectorsService->providers;
* </code>
*/
class ProjectsLocationsConnectorsGlobalProviders extends \Google\Service\Resource
{
/**
* Gets details of a single Provider. (providers.get)
*
* @param string $name Required. Resource name of the form:
* `projects/locations/providers`
* @param array $optParams Optional parameters.
* @return Provider
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Provider::class);
}
/**
* Lists Providers in a given project and location.
* (providers.listProjectsLocationsConnectorsGlobalProviders)
*
* @param string $parent Required. Parent resource of the API, of the form:
* `projects/locations`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Page size.
* @opt_param string pageToken Page token.
* @return ListProvidersResponse
*/
public function listProjectsLocationsConnectorsGlobalProviders($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListProvidersResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectorsGlobalProviders::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectorsGlobalProviders');

View File

@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\Connector;
use Google\Service\Connectors\ListConnectorsResponse;
/**
* The "connectors" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $connectors = $connectorsService->connectors;
* </code>
*/
class ProjectsLocationsConnectorsGlobalProvidersConnectors extends \Google\Service\Resource
{
/**
* Gets details of a single Connector. (connectors.get)
*
* @param string $name Required. Resource name of the form:
* `projects/locations/providers/connectors`
* @param array $optParams Optional parameters.
* @return Connector
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Connector::class);
}
/**
* Lists Connectors in a given project and location.
* (connectors.listProjectsLocationsConnectorsGlobalProvidersConnectors)
*
* @param string $parent Required. Parent resource of the connectors, of the
* form: `projects/locations/providers`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Page size.
* @opt_param string pageToken Page token.
* @return ListConnectorsResponse
*/
public function listProjectsLocationsConnectorsGlobalProvidersConnectors($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListConnectorsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectorsGlobalProvidersConnectors::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectorsGlobalProvidersConnectors');

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\ConnectorVersion;
use Google\Service\Connectors\ListConnectorVersionsResponse;
/**
* The "versions" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $versions = $connectorsService->versions;
* </code>
*/
class ProjectsLocationsConnectorsGlobalProvidersConnectorsVersions extends \Google\Service\Resource
{
/**
* Gets details of a single connector version. (versions.get)
*
* @param string $name Required. Resource name of the form:
* `projects/locations/providers/connectors/versions`
* @param array $optParams Optional parameters.
*
* @opt_param string view Specifies which fields of the ConnectorVersion are
* returned in the response. Defaults to `CUSTOMER` view.
* @return ConnectorVersion
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ConnectorVersion::class);
}
/**
* Lists Connector Versions in a given project and location.
* (versions.listProjectsLocationsConnectorsGlobalProvidersConnectorsVersions)
*
* @param string $parent Required. Parent resource of the connectors, of the
* form: `projects/locations/providers/connectors`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Page size.
* @opt_param string pageToken Page token.
* @opt_param string view Specifies which fields of the ConnectorVersion are
* returned in the response. Defaults to `CUSTOMER` view.
* @return ListConnectorVersionsResponse
*/
public function listProjectsLocationsConnectorsGlobalProvidersConnectorsVersions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListConnectorVersionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectorsGlobalProvidersConnectorsVersions::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectorsGlobalProvidersConnectorsVersions');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\CancelOperationRequest;
use Google\Service\Connectors\ConnectorsEmpty;
use Google\Service\Connectors\ListOperationsResponse;
use Google\Service\Connectors\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $operations = $connectorsService->operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return ConnectorsEmpty
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], ConnectorsEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return ConnectorsEmpty
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ConnectorsEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
* `name` binding allows API services to override the binding to use different
* resource name schemes, such as `users/operations`. To override the binding,
* API services can add a binding such as `"/v1/{name=users}/operations"` to
* their service configuration. For backwards compatibility, the default name
* includes the operations collection id, however overriding users must ensure
* the name binding is the parent resource, without the operations collection
* id. (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_Connectors_Resource_ProjectsLocationsOperations');

View File

@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors\Resource;
use Google\Service\Connectors\Policy;
use Google\Service\Connectors\SetIamPolicyRequest;
use Google\Service\Connectors\TestIamPermissionsRequest;
use Google\Service\Connectors\TestIamPermissionsResponse;
/**
* The "providers" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $providers = $connectorsService->providers;
* </code>
*/
class ProjectsLocationsProviders extends \Google\Service\Resource
{
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (providers.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (providers.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (providers.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsProviders::class, 'Google_Service_Connectors_Resource_ProjectsLocationsProviders');

View File

@@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class ResultMetadata extends \Google\Model
{
/**
* @var string
*/
public $dataType;
/**
* @var array
*/
public $defaultValue;
/**
* @var string
*/
public $description;
protected $jsonSchemaType = JsonSchema::class;
protected $jsonSchemaDataType = '';
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $nullable;
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param array
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return array
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param JsonSchema
*/
public function setJsonSchema(JsonSchema $jsonSchema)
{
$this->jsonSchema = $jsonSchema;
}
/**
* @return JsonSchema
*/
public function getJsonSchema()
{
return $this->jsonSchema;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setNullable($nullable)
{
$this->nullable = $nullable;
}
/**
* @return bool
*/
public function getNullable()
{
return $this->nullable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResultMetadata::class, 'Google_Service_Connectors_ResultMetadata');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class RoleGrant extends \Google\Collection
{
protected $collection_key = 'roles';
/**
* @var string
*/
public $helperTextTemplate;
/**
* @var string
*/
public $principal;
protected $resourceType = ConnectorsResource::class;
protected $resourceDataType = '';
/**
* @var string[]
*/
public $roles;
/**
* @param string
*/
public function setHelperTextTemplate($helperTextTemplate)
{
$this->helperTextTemplate = $helperTextTemplate;
}
/**
* @return string
*/
public function getHelperTextTemplate()
{
return $this->helperTextTemplate;
}
/**
* @param string
*/
public function setPrincipal($principal)
{
$this->principal = $principal;
}
/**
* @return string
*/
public function getPrincipal()
{
return $this->principal;
}
/**
* @param ConnectorsResource
*/
public function setResource(ConnectorsResource $resource)
{
$this->resource = $resource;
}
/**
* @return ConnectorsResource
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string[]
*/
public function setRoles($roles)
{
$this->roles = $roles;
}
/**
* @return string[]
*/
public function getRoles()
{
return $this->roles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RoleGrant::class, 'Google_Service_Connectors_RoleGrant');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class RuntimeActionSchema extends \Google\Collection
{
protected $collection_key = 'resultMetadata';
/**
* @var string
*/
public $action;
protected $inputParametersType = InputParameter::class;
protected $inputParametersDataType = 'array';
protected $resultMetadataType = ResultMetadata::class;
protected $resultMetadataDataType = 'array';
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @param InputParameter[]
*/
public function setInputParameters($inputParameters)
{
$this->inputParameters = $inputParameters;
}
/**
* @return InputParameter[]
*/
public function getInputParameters()
{
return $this->inputParameters;
}
/**
* @param ResultMetadata[]
*/
public function setResultMetadata($resultMetadata)
{
$this->resultMetadata = $resultMetadata;
}
/**
* @return ResultMetadata[]
*/
public function getResultMetadata()
{
return $this->resultMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RuntimeActionSchema::class, 'Google_Service_Connectors_RuntimeActionSchema');

View File

@@ -0,0 +1,206 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class RuntimeConfig extends \Google\Model
{
/**
* @var string
*/
public $conndSubscription;
/**
* @var string
*/
public $conndTopic;
/**
* @var string
*/
public $controlPlaneSubscription;
/**
* @var string
*/
public $controlPlaneTopic;
/**
* @var string
*/
public $locationId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $runtimeEndpoint;
/**
* @var string
*/
public $schemaGcsBucket;
/**
* @var string
*/
public $serviceDirectory;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setConndSubscription($conndSubscription)
{
$this->conndSubscription = $conndSubscription;
}
/**
* @return string
*/
public function getConndSubscription()
{
return $this->conndSubscription;
}
/**
* @param string
*/
public function setConndTopic($conndTopic)
{
$this->conndTopic = $conndTopic;
}
/**
* @return string
*/
public function getConndTopic()
{
return $this->conndTopic;
}
/**
* @param string
*/
public function setControlPlaneSubscription($controlPlaneSubscription)
{
$this->controlPlaneSubscription = $controlPlaneSubscription;
}
/**
* @return string
*/
public function getControlPlaneSubscription()
{
return $this->controlPlaneSubscription;
}
/**
* @param string
*/
public function setControlPlaneTopic($controlPlaneTopic)
{
$this->controlPlaneTopic = $controlPlaneTopic;
}
/**
* @return string
*/
public function getControlPlaneTopic()
{
return $this->controlPlaneTopic;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setRuntimeEndpoint($runtimeEndpoint)
{
$this->runtimeEndpoint = $runtimeEndpoint;
}
/**
* @return string
*/
public function getRuntimeEndpoint()
{
return $this->runtimeEndpoint;
}
/**
* @param string
*/
public function setSchemaGcsBucket($schemaGcsBucket)
{
$this->schemaGcsBucket = $schemaGcsBucket;
}
/**
* @return string
*/
public function getSchemaGcsBucket()
{
return $this->schemaGcsBucket;
}
/**
* @param string
*/
public function setServiceDirectory($serviceDirectory)
{
$this->serviceDirectory = $serviceDirectory;
}
/**
* @return string
*/
public function getServiceDirectory()
{
return $this->serviceDirectory;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RuntimeConfig::class, 'Google_Service_Connectors_RuntimeConfig');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class RuntimeEntitySchema extends \Google\Collection
{
protected $collection_key = 'fields';
/**
* @var string
*/
public $entity;
protected $fieldsType = Field::class;
protected $fieldsDataType = 'array';
/**
* @param string
*/
public function setEntity($entity)
{
$this->entity = $entity;
}
/**
* @return string
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param Field[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return Field[]
*/
public function getFields()
{
return $this->fields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RuntimeEntitySchema::class, 'Google_Service_Connectors_RuntimeEntitySchema');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Connectors;
class Schedule extends \Google\Model
{
/**
* @var string
*/
public $day;
/**
* @var string
*/
public $duration;
protected $startTimeType = TimeOfDay::class;
protected $startTimeDataType = '';
/**
* @param string
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return string
*/
public function getDay()
{
return $this->day;
}
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param TimeOfDay
*/
public function setStartTime(TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Schedule::class, 'Google_Service_Connectors_Schedule');

Some files were not shown because too many files have changed in this diff Show More