gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,92 @@
<?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
{
/**
* OAuth access token.
*
* @var string
*/
public $accessToken;
/**
* Duration till the access token expires.
*
* @var string
*/
public $expiresIn;
/**
* OAuth refresh token.
*
* @var string
*/
public $refreshToken;
/**
* OAuth access token.
*
* @param string $accessToken
*/
public function setAccessToken($accessToken)
{
$this->accessToken = $accessToken;
}
/**
* @return string
*/
public function getAccessToken()
{
return $this->accessToken;
}
/**
* Duration till the access token expires.
*
* @param string $expiresIn
*/
public function setExpiresIn($expiresIn)
{
$this->expiresIn = $expiresIn;
}
/**
* @return string
*/
public function getExpiresIn()
{
return $this->expiresIn;
}
/**
* OAuth refresh token.
*
* @param string $refreshToken
*/
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');
@@ -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');
@@ -0,0 +1,187 @@
<?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';
/**
* Brief Description of action
*
* @var string
*/
public $description;
/**
* Display Name of action to be shown on client side
*
* @var string
*/
public $displayName;
protected $inputJsonSchemaType = JsonSchema::class;
protected $inputJsonSchemaDataType = '';
protected $inputParametersType = InputParameter::class;
protected $inputParametersDataType = 'array';
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* Name of the action.
*
* @var string
*/
public $name;
protected $resultJsonSchemaType = JsonSchema::class;
protected $resultJsonSchemaDataType = '';
protected $resultMetadataType = ResultMetadata::class;
protected $resultMetadataDataType = 'array';
/**
* Brief Description of action
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Display Name of action to be shown on client side
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* JsonSchema representation of this actions's input schema
*
* @param JsonSchema $inputJsonSchema
*/
public function setInputJsonSchema(JsonSchema $inputJsonSchema)
{
$this->inputJsonSchema = $inputJsonSchema;
}
/**
* @return JsonSchema
*/
public function getInputJsonSchema()
{
return $this->inputJsonSchema;
}
/**
* List containing input parameter metadata.
*
* @param InputParameter[] $inputParameters
*/
public function setInputParameters($inputParameters)
{
$this->inputParameters = $inputParameters;
}
/**
* @return InputParameter[]
*/
public function getInputParameters()
{
return $this->inputParameters;
}
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Name of the action.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* JsonSchema representation of this actions's result schema
*
* @param JsonSchema $resultJsonSchema
*/
public function setResultJsonSchema(JsonSchema $resultJsonSchema)
{
$this->resultJsonSchema = $resultJsonSchema;
}
/**
* @return JsonSchema
*/
public function getResultJsonSchema()
{
return $this->resultJsonSchema;
}
/**
* List containing the metadata of result fields.
*
* @param ResultMetadata[] $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');
@@ -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');
@@ -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');
@@ -0,0 +1,121 @@
<?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\Collection
{
protected $collection_key = 'scopes';
/**
* OAuth authorization code.
*
* @var string
*/
public $authCode;
/**
* OAuth PKCE verifier, needed if PKCE is enabled for this particular
* connection.
*
* @var string
*/
public $pkceVerifier;
/**
* OAuth redirect URI passed in during the auth code flow, required by some
* OAuth backends.
*
* @var string
*/
public $redirectUri;
/**
* Scopes the connection will request when the user performs the auth code
* flow.
*
* @var string[]
*/
public $scopes;
/**
* OAuth authorization code.
*
* @param string $authCode
*/
public function setAuthCode($authCode)
{
$this->authCode = $authCode;
}
/**
* @return string
*/
public function getAuthCode()
{
return $this->authCode;
}
/**
* OAuth PKCE verifier, needed if PKCE is enabled for this particular
* connection.
*
* @param string $pkceVerifier
*/
public function setPkceVerifier($pkceVerifier)
{
$this->pkceVerifier = $pkceVerifier;
}
/**
* @return string
*/
public function getPkceVerifier()
{
return $this->pkceVerifier;
}
/**
* OAuth redirect URI passed in during the auth code flow, required by some
* OAuth backends.
*
* @param string $redirectUri
*/
public function setRedirectUri($redirectUri)
{
$this->redirectUri = $redirectUri;
}
/**
* @return string
*/
public function getRedirectUri()
{
return $this->redirectUri;
}
/**
* Scopes the connection will request when the user performs the auth code
* flow.
*
* @param string[] $scopes
*/
public function setScopes($scopes)
{
$this->scopes = $scopes;
}
/**
* @return string[]
*/
public function getScopes()
{
return $this->scopes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthCodeData::class, 'Google_Service_Connectors_AuthCodeData');
@@ -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');
@@ -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');
@@ -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');
@@ -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');
@@ -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');
@@ -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 $status
*/
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');
@@ -0,0 +1,118 @@
<?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
{
/**
* State unspecified.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The connector is active and ready to process runtime requests. This can
* also mean that from the connector's perspective, the connector is not in an
* error state and should be able to process runtime requests successfully.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* The connector is in an error state and cannot process runtime requests. An
* example reason would be that the connection container has some network
* issues that prevent outbound requests from being sent.
*/
public const STATE_ERROR = 'ERROR';
/**
* This is a more specific error state that the developers can opt to use when
* the connector is facing auth-related errors caused by auth configuration
* not present, invalid auth credentials, etc.
*/
public const STATE_AUTH_ERROR = 'AUTH_ERROR';
/**
* When the connector is not in ACTIVE state, the description must be
* populated to specify the reason why it's not in ACTIVE state.
*
* @var string
*/
public $description;
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* State of the connector.
*
* @var string
*/
public $state;
/**
* When the connector is not in ACTIVE state, the description must be
* populated to specify the reason why it's not in ACTIVE state.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* State of the connector.
*
* Accepted values: STATE_UNSPECIFIED, ACTIVE, ERROR, AUTH_ERROR
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
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');
@@ -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');
@@ -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');
@@ -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');
@@ -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');
@@ -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');
@@ -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');
@@ -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');
@@ -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');
@@ -0,0 +1,161 @@
<?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
{
protected $internal_gapi_mappings = [
"meta" => "_meta",
];
/**
* Metadata for the resource.
*
* @var array[]
*/
public $meta;
/**
* A description of what this resource represents.
*
* @var string
*/
public $description;
/**
* The MIME type of this resource, if known.
*
* @var string
*/
public $mimeType;
/**
* A human-readable name for this resource.
*
* @var string
*/
public $name;
/**
* The size of the raw resource content, in bytes, if known.
*
* @var string
*/
public $size;
/**
* The URI of this resource.
*
* @var string
*/
public $uri;
/**
* Metadata for the resource.
*
* @param array[] $meta
*/
public function setMeta($meta)
{
$this->meta = $meta;
}
/**
* @return array[]
*/
public function getMeta()
{
return $this->meta;
}
/**
* A description of what this resource represents.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* The MIME type of this resource, if known.
*
* @param string $mimeType
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* A human-readable name for this resource.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The size of the raw resource content, in bytes, if known.
*
* @param string $size
*/
public function setSize($size)
{
$this->size = $size;
}
/**
* @return string
*/
public function getSize()
{
return $this->size;
}
/**
* The URI of this resource.
*
* @param string $uri
*/
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(ConnectorsResource::class, 'Google_Service_Connectors_ConnectorsResource');
@@ -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 DailyCycle extends \Google\Model
{
/**
* Output only. Duration of the time window, set by service producer.
*
* @var string
*/
public $duration;
protected $startTimeType = TimeOfDay::class;
protected $startTimeDataType = '';
/**
* Output only. Duration of the time window, set by service producer.
*
* @param string $duration
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* Time within the day to start the operations.
*
* @param TimeOfDay $startTime
*/
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');
+100
View File
@@ -0,0 +1,100 @@
<?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
{
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @var int
*/
public $day;
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @var int
*/
public $month;
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @var int
*/
public $year;
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @param int $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @param int $month
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @param int $year
*/
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');
@@ -0,0 +1,87 @@
<?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 = '';
/**
* Deny period end date. This can be: * A full date, with non-zero year, month
* and day values. * A month and day value, with a zero year. Allows recurring
* deny periods each year. Date matching this period will have to be before
* the end.
*
* @param Date $endDate
*/
public function setEndDate(Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Date
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* Deny period start date. This can be: * A full date, with non-zero year,
* month and day values. * A month and day value, with a zero year. Allows
* recurring deny periods each year. Date matching this period will have to be
* the same or after the start.
*
* @param Date $startDate
*/
public function setStartDate(Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Date
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* Time in UTC when the Blackout period starts on start_date and ends on
* end_date. This can be: * Full time. * All zeros for 00:00:00 UTC
*
* @param TimeOfDay $time
*/
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');
@@ -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');
@@ -0,0 +1,96 @@
<?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
{
/**
* Fields of the entity. The key is name of the field and the value contains
* the applicable `google.protobuf.Value` entry for this field.
*
* @var array[]
*/
public $fields;
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* Output only. Resource name of the Entity. Format: projects/{project}/locati
* ons/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
*
* @var string
*/
public $name;
/**
* Fields of the entity. The key is name of the field and the value contains
* the applicable `google.protobuf.Value` entry for this field.
*
* @param array[] $fields
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return array[]
*/
public function getFields()
{
return $this->fields;
}
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Output only. Resource name of the Entity. Format: projects/{project}/locati
* ons/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
*
* @param string $name
*/
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');
@@ -0,0 +1,143 @@
<?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';
/**
* @var string
*/
public $defaultSortBy;
protected $fieldsType = Field::class;
protected $fieldsDataType = 'array';
protected $jsonSchemaType = JsonSchema::class;
protected $jsonSchemaDataType = '';
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* The name of the entity type.
*
* @var string
*/
public $name;
/**
* @var string[]
*/
public $operations;
/**
* @param string $defaultSortBy
*/
public function setDefaultSortBy($defaultSortBy)
{
$this->defaultSortBy = $defaultSortBy;
}
/**
* @return string
*/
public function getDefaultSortBy()
{
return $this->defaultSortBy;
}
/**
* List containing metadata information about each field of the entity type.
*
* @param Field[] $fields
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return Field[]
*/
public function getFields()
{
return $this->fields;
}
/**
* JsonSchema representation of this entity's schema
*
* @param JsonSchema $jsonSchema
*/
public function setJsonSchema(JsonSchema $jsonSchema)
{
$this->jsonSchema = $jsonSchema;
}
/**
* @return JsonSchema
*/
public function getJsonSchema()
{
return $this->jsonSchema;
}
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The name of the entity type.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[] $operations
*/
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');
@@ -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');
@@ -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');
@@ -0,0 +1,83 @@
<?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 = '';
protected $executionConfigType = ExecutionConfig::class;
protected $executionConfigDataType = '';
protected $oauth2ConfigType = OAuth2Config::class;
protected $oauth2ConfigDataType = '';
/**
* Optional. AuthCodeData contains the data the runtime requires to exchange
* for access and refresh tokens. If the data is not provided, the runtime
* will read the data from the secret manager.
*
* @param AuthCodeData $authCodeData
*/
public function setAuthCodeData(AuthCodeData $authCodeData)
{
$this->authCodeData = $authCodeData;
}
/**
* @return AuthCodeData
*/
public function getAuthCodeData()
{
return $this->authCodeData;
}
/**
* ExecutionConfig contains the configuration for the execution of the
* request.
*
* @param ExecutionConfig $executionConfig
*/
public function setExecutionConfig(ExecutionConfig $executionConfig)
{
$this->executionConfig = $executionConfig;
}
/**
* @return ExecutionConfig
*/
public function getExecutionConfig()
{
return $this->executionConfig;
}
/**
* OAuth2Config contains the OAuth2 config for the connection.
*
* @param OAuth2Config $oauth2Config
*/
public function setOauth2Config(OAuth2Config $oauth2Config)
{
$this->oauth2Config = $oauth2Config;
}
/**
* @return OAuth2Config
*/
public function getOauth2Config()
{
return $this->oauth2Config;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExchangeAuthCodeRequest::class, 'Google_Service_Connectors_ExchangeAuthCodeRequest');
@@ -0,0 +1,64 @@
<?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 = '';
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* @param AccessCredentials $accessCredentials
*/
public function setAccessCredentials(AccessCredentials $accessCredentials)
{
$this->accessCredentials = $accessCredentials;
}
/**
* @return AccessCredentials
*/
public function getAccessCredentials()
{
return $this->accessCredentials;
}
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExchangeAuthCodeResponse::class, 'Google_Service_Connectors_ExchangeAuthCodeResponse');
@@ -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;
class ExecuteActionRequest extends \Google\Model
{
protected $executionConfigType = ExecutionConfig::class;
protected $executionConfigDataType = '';
/**
* Parameters for executing the action. The parameters can be key/value pairs
* or nested structs.
*
* @var array[]
*/
public $parameters;
/**
* Execution config for the request.
*
* @param ExecutionConfig $executionConfig
*/
public function setExecutionConfig(ExecutionConfig $executionConfig)
{
$this->executionConfig = $executionConfig;
}
/**
* @return ExecutionConfig
*/
public function getExecutionConfig()
{
return $this->executionConfig;
}
/**
* Parameters for executing the action. The parameters can be key/value pairs
* or nested structs.
*
* @param array[] $parameters
*/
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');
@@ -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 ExecuteActionResponse extends \Google\Collection
{
protected $collection_key = 'results';
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* In the case of successful invocation of the specified action, the results
* Struct contains values based on the response of the action invoked. 1. If
* the action execution produces any entities as a result, they are returned
* as an array of Structs with the 'key' being the field name and the 'value'
* being the value of that field in each result row. { 'results': [{'key':
* 'value'}, ...] }
*
* @var array[]
*/
public $results;
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* In the case of successful invocation of the specified action, the results
* Struct contains values based on the response of the action invoked. 1. If
* the action execution produces any entities as a result, they are returned
* as an array of Structs with the 'key' being the field name and the 'value'
* being the value of that field in each result row. { 'results': [{'key':
* 'value'}, ...] }
*
* @param array[] $results
*/
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');
@@ -0,0 +1,46 @@
<?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 = '';
/**
* Required. SQL statement passed by clients like Integration Platform, the
* query is passed as-is to the driver used for interfacing with external
* systems.
*
* @param Query $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');
@@ -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;
class ExecuteSqlQueryResponse extends \Google\Collection
{
protected $collection_key = 'results';
/**
* In the case of successful execution of the query the response contains
* results returned by the external system. For example, the result rows of
* the query are contained in the 'results' Struct list - "results": [ {
* "field1": "val1", "field2": "val2",.. },.. ] Each Struct row can contain
* fields any type of like nested Structs or lists.
*
* @var array[]
*/
public $results;
/**
* In the case of successful execution of the query the response contains
* results returned by the external system. For example, the result rows of
* the query are contained in the 'results' Struct list - "results": [ {
* "field1": "val1", "field2": "val2",.. },.. ] Each Struct row can contain
* fields any type of like nested Structs or lists.
*
* @param array[] $results
*/
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');
@@ -0,0 +1,88 @@
<?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 ExecuteToolRequest extends \Google\Model
{
protected $executionConfigType = ExecutionConfig::class;
protected $executionConfigDataType = '';
/**
* Input parameters for the tool.
*
* @var array[]
*/
public $parameters;
/**
* Tool definition for the tool to be executed.
*
* @var array[]
*/
public $toolDefinition;
/**
* execution config for the request.
*
* @param ExecutionConfig $executionConfig
*/
public function setExecutionConfig(ExecutionConfig $executionConfig)
{
$this->executionConfig = $executionConfig;
}
/**
* @return ExecutionConfig
*/
public function getExecutionConfig()
{
return $this->executionConfig;
}
/**
* Input parameters for the tool.
*
* @param array[] $parameters
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return array[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* Tool definition for the tool to be executed.
*
* @param array[] $toolDefinition
*/
public function setToolDefinition($toolDefinition)
{
$this->toolDefinition = $toolDefinition;
}
/**
* @return array[]
*/
public function getToolDefinition()
{
return $this->toolDefinition;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecuteToolRequest::class, 'Google_Service_Connectors_ExecuteToolRequest');
@@ -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 ExecuteToolResponse extends \Google\Model
{
protected $internal_gapi_mappings = [
"meta" => "_meta",
];
/**
* Metadata for the tool execution result.
*
* @var array[]
*/
public $meta;
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* Output from the tool execution.
*
* @var array[]
*/
public $result;
/**
* Metadata for the tool execution result.
*
* @param array[] $meta
*/
public function setMeta($meta)
{
$this->meta = $meta;
}
/**
* @return array[]
*/
public function getMeta()
{
return $this->meta;
}
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Output from the tool execution.
*
* @param array[] $result
*/
public function setResult($result)
{
$this->result = $result;
}
/**
* @return array[]
*/
public function getResult()
{
return $this->result;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecuteToolResponse::class, 'Google_Service_Connectors_ExecuteToolResponse');
@@ -0,0 +1,52 @@
<?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 ExecutionConfig extends \Google\Model
{
/**
* headers to be used for the request. For example: headers:'{"x-integration-
* connectors-managed-connection-id":"conn-id","x-integration-connectors-
* runtime-config":"runtime-cfg"}'
*
* @var string
*/
public $headers;
/**
* headers to be used for the request. For example: headers:'{"x-integration-
* connectors-managed-connection-id":"conn-id","x-integration-connectors-
* runtime-config":"runtime-cfg"}'
*
* @param string $headers
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return string
*/
public function getHeaders()
{
return $this->headers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutionConfig::class, 'Google_Service_Connectors_ExecutionConfig');
@@ -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');
@@ -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');
@@ -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');
@@ -0,0 +1,421 @@
<?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
{
/**
* Datatype unspecified.
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* Deprecated Int type, use INTEGER type instead.
*
* @deprecated
*/
public const DATA_TYPE_INT = 'INT';
/**
* Small int type.
*/
public const DATA_TYPE_SMALLINT = 'SMALLINT';
/**
* Double type.
*/
public const DATA_TYPE_DOUBLE = 'DOUBLE';
/**
* Date type.
*/
public const DATA_TYPE_DATE = 'DATE';
/**
* Deprecated Datetime type.
*
* @deprecated
*/
public const DATA_TYPE_DATETIME = 'DATETIME';
/**
* Time type.
*/
public const DATA_TYPE_TIME = 'TIME';
/**
* Deprecated string type, use VARCHAR type instead.
*
* @deprecated
*/
public const DATA_TYPE_STRING = 'STRING';
/**
* Deprecated Long type, use BIGINT type instead.
*
* @deprecated
*/
public const DATA_TYPE_LONG = 'LONG';
/**
* Boolean type.
*/
public const DATA_TYPE_BOOLEAN = 'BOOLEAN';
/**
* Decimal type.
*/
public const DATA_TYPE_DECIMAL = 'DECIMAL';
/**
* Deprecated UUID type, use VARCHAR instead.
*
* @deprecated
*/
public const DATA_TYPE_UUID = 'UUID';
/**
* Blob type.
*/
public const DATA_TYPE_BLOB = 'BLOB';
/**
* Bit type.
*/
public const DATA_TYPE_BIT = 'BIT';
/**
* Tiny int type.
*/
public const DATA_TYPE_TINYINT = 'TINYINT';
/**
* Integer type.
*/
public const DATA_TYPE_INTEGER = 'INTEGER';
/**
* Big int type.
*/
public const DATA_TYPE_BIGINT = 'BIGINT';
/**
* Float type.
*/
public const DATA_TYPE_FLOAT = 'FLOAT';
/**
* Real type.
*/
public const DATA_TYPE_REAL = 'REAL';
/**
* Numeric type.
*/
public const DATA_TYPE_NUMERIC = 'NUMERIC';
/**
* Char type.
*/
public const DATA_TYPE_CHAR = 'CHAR';
/**
* Varchar type.
*/
public const DATA_TYPE_VARCHAR = 'VARCHAR';
/**
* Long varchar type.
*/
public const DATA_TYPE_LONGVARCHAR = 'LONGVARCHAR';
/**
* Timestamp type.
*/
public const DATA_TYPE_TIMESTAMP = 'TIMESTAMP';
/**
* Nchar type.
*/
public const DATA_TYPE_NCHAR = 'NCHAR';
/**
* Nvarchar type.
*/
public const DATA_TYPE_NVARCHAR = 'NVARCHAR';
/**
* Long Nvarchar type.
*/
public const DATA_TYPE_LONGNVARCHAR = 'LONGNVARCHAR';
/**
* Null type.
*/
public const DATA_TYPE_NULL = 'NULL';
/**
* Other type.
*/
public const DATA_TYPE_OTHER = 'OTHER';
/**
* Java object type.
*/
public const DATA_TYPE_JAVA_OBJECT = 'JAVA_OBJECT';
/**
* Distinct type keyword.
*/
public const DATA_TYPE_DISTINCT = 'DISTINCT';
/**
* Struct type.
*/
public const DATA_TYPE_STRUCT = 'STRUCT';
/**
* Array type.
*/
public const DATA_TYPE_ARRAY = 'ARRAY';
/**
* Clob type.
*/
public const DATA_TYPE_CLOB = 'CLOB';
/**
* Ref type.
*/
public const DATA_TYPE_REF = 'REF';
/**
* Datalink type.
*/
public const DATA_TYPE_DATALINK = 'DATALINK';
/**
* Row ID type.
*/
public const DATA_TYPE_ROWID = 'ROWID';
/**
* Binary type.
*/
public const DATA_TYPE_BINARY = 'BINARY';
/**
* Varbinary type.
*/
public const DATA_TYPE_VARBINARY = 'VARBINARY';
/**
* Long Varbinary type.
*/
public const DATA_TYPE_LONGVARBINARY = 'LONGVARBINARY';
/**
* Nclob type.
*/
public const DATA_TYPE_NCLOB = 'NCLOB';
/**
* SQLXML type.
*/
public const DATA_TYPE_SQLXML = 'SQLXML';
/**
* Ref_cursor type.
*/
public const DATA_TYPE_REF_CURSOR = 'REF_CURSOR';
/**
* Time with timezone type.
*/
public const DATA_TYPE_TIME_WITH_TIMEZONE = 'TIME_WITH_TIMEZONE';
/**
* Timestamp with timezone type.
*/
public const DATA_TYPE_TIMESTAMP_WITH_TIMEZONE = 'TIMESTAMP_WITH_TIMEZONE';
/**
* The following map contains fields that are not explicitly mentioned
* above,this give connectors the flexibility to add new metadata fields.
*
* @var array[]
*/
public $additionalDetails;
/**
* The data type of the Field.
*
* @var string
*/
public $dataType;
/**
* The following field specifies the default value of the Field provided by
* the external system if a value is not provided.
*
* @var array
*/
public $defaultValue;
/**
* A brief description of the Field.
*
* @var string
*/
public $description;
protected $jsonSchemaType = JsonSchema::class;
protected $jsonSchemaDataType = '';
/**
* The following boolean field specifies if the current Field acts as a
* primary key or id if the parent is of type entity.
*
* @var bool
*/
public $key;
/**
* Name of the Field.
*
* @var string
*/
public $name;
/**
* Specifies whether a null value is allowed.
*
* @var bool
*/
public $nullable;
protected $referenceType = Reference::class;
protected $referenceDataType = '';
/**
* The following map contains fields that are not explicitly mentioned
* above,this give connectors the flexibility to add new metadata fields.
*
* @param array[] $additionalDetails
*/
public function setAdditionalDetails($additionalDetails)
{
$this->additionalDetails = $additionalDetails;
}
/**
* @return array[]
*/
public function getAdditionalDetails()
{
return $this->additionalDetails;
}
/**
* The data type of the Field.
*
* Accepted values: DATA_TYPE_UNSPECIFIED, INT, SMALLINT, DOUBLE, DATE,
* DATETIME, TIME, STRING, LONG, BOOLEAN, DECIMAL, UUID, BLOB, BIT, TINYINT,
* INTEGER, BIGINT, FLOAT, REAL, NUMERIC, CHAR, VARCHAR, LONGVARCHAR,
* TIMESTAMP, NCHAR, NVARCHAR, LONGNVARCHAR, NULL, OTHER, JAVA_OBJECT,
* DISTINCT, STRUCT, ARRAY, CLOB, REF, DATALINK, ROWID, BINARY, VARBINARY,
* LONGVARBINARY, NCLOB, SQLXML, REF_CURSOR, TIME_WITH_TIMEZONE,
* TIMESTAMP_WITH_TIMEZONE
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* The following field specifies the default value of the Field provided by
* the external system if a value is not provided.
*
* @param array $defaultValue
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return array
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* A brief description of the Field.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* JsonSchema of the field, applicable only if field is of type `STRUCT`
*
* @param JsonSchema $jsonSchema
*/
public function setJsonSchema(JsonSchema $jsonSchema)
{
$this->jsonSchema = $jsonSchema;
}
/**
* @return JsonSchema
*/
public function getJsonSchema()
{
return $this->jsonSchema;
}
/**
* The following boolean field specifies if the current Field acts as a
* primary key or id if the parent is of type entity.
*
* @param bool $key
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return bool
*/
public function getKey()
{
return $this->key;
}
/**
* Name of the Field.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Specifies whether a null value is allowed.
*
* @param bool $nullable
*/
public function setNullable($nullable)
{
$this->nullable = $nullable;
}
/**
* @return bool
*/
public function getNullable()
{
return $this->nullable;
}
/**
* Reference captures the association between two different entity types.
* Value links to the reference of another entity type.
*
* @param Reference $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');
@@ -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 GenerateCustomToolspecRequest extends \Google\Collection
{
protected $collection_key = 'toolNames';
protected $toolNamesType = ToolName::class;
protected $toolNamesDataType = 'array';
/**
* list of tools to be generated.
*
* @param ToolName[] $toolNames
*/
public function setToolNames($toolNames)
{
$this->toolNames = $toolNames;
}
/**
* @return ToolName[]
*/
public function getToolNames()
{
return $this->toolNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateCustomToolspecRequest::class, 'Google_Service_Connectors_GenerateCustomToolspecRequest');
@@ -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 GenerateCustomToolspecResponse extends \Google\Model
{
protected $toolSpecType = ToolSpec::class;
protected $toolSpecDataType = '';
/**
* tool spec that has tool_defitions array containing the tools for all sted
* tool_names.
*
* @param ToolSpec $toolSpec
*/
public function setToolSpec(ToolSpec $toolSpec)
{
$this->toolSpec = $toolSpec;
}
/**
* @return ToolSpec
*/
public function getToolSpec()
{
return $this->toolSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateCustomToolspecResponse::class, 'Google_Service_Connectors_GenerateCustomToolspecResponse');
@@ -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 GetResourcePostRequest extends \Google\Model
{
protected $executionConfigType = ExecutionConfig::class;
protected $executionConfigDataType = '';
protected $toolSpecType = ToolSpec::class;
protected $toolSpecDataType = '';
/**
* execution config for the request.
*
* @param ExecutionConfig $executionConfig
*/
public function setExecutionConfig(ExecutionConfig $executionConfig)
{
$this->executionConfig = $executionConfig;
}
/**
* @return ExecutionConfig
*/
public function getExecutionConfig()
{
return $this->executionConfig;
}
/**
* List of tool specifications.
*
* @param ToolSpec $toolSpec
*/
public function setToolSpec(ToolSpec $toolSpec)
{
$this->toolSpec = $toolSpec;
}
/**
* @return ToolSpec
*/
public function getToolSpec()
{
return $this->toolSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetResourcePostRequest::class, 'Google_Service_Connectors_GetResourcePostRequest');
@@ -0,0 +1,117 @@
<?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 GetResourceResponse extends \Google\Model
{
protected $internal_gapi_mappings = [
"meta" => "_meta",
];
/**
* Metadata for the resource.
*
* @var array[]
*/
public $meta;
/**
* The content of the resource.
*
* @var string
*/
public $data;
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* The MIME type of the resource.
*
* @var string
*/
public $mimeType;
/**
* Metadata for the resource.
*
* @param array[] $meta
*/
public function setMeta($meta)
{
$this->meta = $meta;
}
/**
* @return array[]
*/
public function getMeta()
{
return $this->meta;
}
/**
* The content of the resource.
*
* @param string $data
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The MIME type of the resource.
*
* @param string $mimeType
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetResourceResponse::class, 'Google_Service_Connectors_GetResourceResponse');
@@ -0,0 +1,379 @@
<?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
{
/**
* Datatype unspecified.
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* Deprecated Int type, use INTEGER type instead.
*
* @deprecated
*/
public const DATA_TYPE_INT = 'INT';
/**
* Small int type.
*/
public const DATA_TYPE_SMALLINT = 'SMALLINT';
/**
* Double type.
*/
public const DATA_TYPE_DOUBLE = 'DOUBLE';
/**
* Date type.
*/
public const DATA_TYPE_DATE = 'DATE';
/**
* Deprecated Datetime type.
*
* @deprecated
*/
public const DATA_TYPE_DATETIME = 'DATETIME';
/**
* Time type.
*/
public const DATA_TYPE_TIME = 'TIME';
/**
* Deprecated string type, use VARCHAR type instead.
*
* @deprecated
*/
public const DATA_TYPE_STRING = 'STRING';
/**
* Deprecated Long type, use BIGINT type instead.
*
* @deprecated
*/
public const DATA_TYPE_LONG = 'LONG';
/**
* Boolean type.
*/
public const DATA_TYPE_BOOLEAN = 'BOOLEAN';
/**
* Decimal type.
*/
public const DATA_TYPE_DECIMAL = 'DECIMAL';
/**
* Deprecated UUID type, use VARCHAR instead.
*
* @deprecated
*/
public const DATA_TYPE_UUID = 'UUID';
/**
* Blob type.
*/
public const DATA_TYPE_BLOB = 'BLOB';
/**
* Bit type.
*/
public const DATA_TYPE_BIT = 'BIT';
/**
* Tiny int type.
*/
public const DATA_TYPE_TINYINT = 'TINYINT';
/**
* Integer type.
*/
public const DATA_TYPE_INTEGER = 'INTEGER';
/**
* Big int type.
*/
public const DATA_TYPE_BIGINT = 'BIGINT';
/**
* Float type.
*/
public const DATA_TYPE_FLOAT = 'FLOAT';
/**
* Real type.
*/
public const DATA_TYPE_REAL = 'REAL';
/**
* Numeric type.
*/
public const DATA_TYPE_NUMERIC = 'NUMERIC';
/**
* Char type.
*/
public const DATA_TYPE_CHAR = 'CHAR';
/**
* Varchar type.
*/
public const DATA_TYPE_VARCHAR = 'VARCHAR';
/**
* Long varchar type.
*/
public const DATA_TYPE_LONGVARCHAR = 'LONGVARCHAR';
/**
* Timestamp type.
*/
public const DATA_TYPE_TIMESTAMP = 'TIMESTAMP';
/**
* Nchar type.
*/
public const DATA_TYPE_NCHAR = 'NCHAR';
/**
* Nvarchar type.
*/
public const DATA_TYPE_NVARCHAR = 'NVARCHAR';
/**
* Long Nvarchar type.
*/
public const DATA_TYPE_LONGNVARCHAR = 'LONGNVARCHAR';
/**
* Null type.
*/
public const DATA_TYPE_NULL = 'NULL';
/**
* Other type.
*/
public const DATA_TYPE_OTHER = 'OTHER';
/**
* Java object type.
*/
public const DATA_TYPE_JAVA_OBJECT = 'JAVA_OBJECT';
/**
* Distinct type keyword.
*/
public const DATA_TYPE_DISTINCT = 'DISTINCT';
/**
* Struct type.
*/
public const DATA_TYPE_STRUCT = 'STRUCT';
/**
* Array type.
*/
public const DATA_TYPE_ARRAY = 'ARRAY';
/**
* Clob type.
*/
public const DATA_TYPE_CLOB = 'CLOB';
/**
* Ref type.
*/
public const DATA_TYPE_REF = 'REF';
/**
* Datalink type.
*/
public const DATA_TYPE_DATALINK = 'DATALINK';
/**
* Row ID type.
*/
public const DATA_TYPE_ROWID = 'ROWID';
/**
* Binary type.
*/
public const DATA_TYPE_BINARY = 'BINARY';
/**
* Varbinary type.
*/
public const DATA_TYPE_VARBINARY = 'VARBINARY';
/**
* Long Varbinary type.
*/
public const DATA_TYPE_LONGVARBINARY = 'LONGVARBINARY';
/**
* Nclob type.
*/
public const DATA_TYPE_NCLOB = 'NCLOB';
/**
* SQLXML type.
*/
public const DATA_TYPE_SQLXML = 'SQLXML';
/**
* Ref_cursor type.
*/
public const DATA_TYPE_REF_CURSOR = 'REF_CURSOR';
/**
* Time with timezone type.
*/
public const DATA_TYPE_TIME_WITH_TIMEZONE = 'TIME_WITH_TIMEZONE';
/**
* Timestamp with timezone type.
*/
public const DATA_TYPE_TIMESTAMP_WITH_TIMEZONE = 'TIMESTAMP_WITH_TIMEZONE';
/**
* The following map contains fields that are not explicitly mentioned
* above,this give connectors the flexibility to add new metadata fields.
*
* @var array[]
*/
public $additionalDetails;
/**
* The data type of the Parameter
*
* @var string
*/
public $dataType;
/**
* The following field specifies the default value of the Parameter provided
* by the external system if a value is not provided.
*
* @var array
*/
public $defaultValue;
/**
* A brief description of the Parameter.
*
* @var string
*/
public $description;
protected $jsonSchemaType = JsonSchema::class;
protected $jsonSchemaDataType = '';
/**
* Name of the Parameter.
*
* @var string
*/
public $name;
/**
* Specifies whether a null value is allowed.
*
* @var bool
*/
public $nullable;
/**
* The following map contains fields that are not explicitly mentioned
* above,this give connectors the flexibility to add new metadata fields.
*
* @param array[] $additionalDetails
*/
public function setAdditionalDetails($additionalDetails)
{
$this->additionalDetails = $additionalDetails;
}
/**
* @return array[]
*/
public function getAdditionalDetails()
{
return $this->additionalDetails;
}
/**
* The data type of the Parameter
*
* Accepted values: DATA_TYPE_UNSPECIFIED, INT, SMALLINT, DOUBLE, DATE,
* DATETIME, TIME, STRING, LONG, BOOLEAN, DECIMAL, UUID, BLOB, BIT, TINYINT,
* INTEGER, BIGINT, FLOAT, REAL, NUMERIC, CHAR, VARCHAR, LONGVARCHAR,
* TIMESTAMP, NCHAR, NVARCHAR, LONGNVARCHAR, NULL, OTHER, JAVA_OBJECT,
* DISTINCT, STRUCT, ARRAY, CLOB, REF, DATALINK, ROWID, BINARY, VARBINARY,
* LONGVARBINARY, NCLOB, SQLXML, REF_CURSOR, TIME_WITH_TIMEZONE,
* TIMESTAMP_WITH_TIMEZONE
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* The following field specifies the default value of the Parameter provided
* by the external system if a value is not provided.
*
* @param array $defaultValue
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return array
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* A brief description of the Parameter.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* JsonSchema of the parameter, applicable only if parameter is of type
* `STRUCT`
*
* @param JsonSchema $jsonSchema
*/
public function setJsonSchema(JsonSchema $jsonSchema)
{
$this->jsonSchema = $jsonSchema;
}
/**
* @return JsonSchema
*/
public function getJsonSchema()
{
return $this->jsonSchema;
}
/**
* Name of the Parameter.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Specifies whether a null value is allowed.
*
* @param bool $nullable
*/
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');
@@ -0,0 +1,512 @@
<?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
{
/**
* Unspecified state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Instance is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* Instance has been created and is ready to use.
*/
public const STATE_READY = 'READY';
/**
* Instance is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* Instance is unheathy and under repair.
*/
public const STATE_REPAIRING = 'REPAIRING';
/**
* Instance is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* Instance encountered an error and is in indeterministic state.
*/
public const STATE_ERROR = 'ERROR';
protected $collection_key = 'provisionedResources';
/**
* consumer_defined_name is the name of the instance set by the service
* consumers. Generally this is different from the `name` field which
* reperesents the system-assigned id of the instance which the service
* consumers do not recognize. This is a required field for tenants onboarding
* to Maintenance Window notifications (go/slm-rollout-maintenance-
* policies#prerequisites).
*
* @var string
*/
public $consumerDefinedName;
/**
* Optional. The consumer_project_number associated with this Apigee instance.
* This field is added specifically to support Apigee integration with SLM
* Rollout and UMM. It represents the numerical project ID of the GCP project
* that consumes this Apigee instance. It is used for SLM rollout
* notifications and UMM integration, enabling proper mapping to customer
* projects and log delivery for Apigee instances. This field complements
* consumer_project_id and may be used for specific Apigee scenarios where the
* numerical ID is required.
*
* @var string
*/
public $consumerProjectNumber;
/**
* Output only. Timestamp when the resource was created.
*
* @var string
*/
public $createTime;
/**
* Optional. The instance_type of this instance of format: projects/{project_n
* umber}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance
* Type represents a high-level tier or SKU of the service that this instance
* belong to. When enabled(eg: Maintenance Rollout), Rollout uses
* 'instance_type' along with 'software_versions' to determine whether
* instance needs an update or not.
*
* @var string
*/
public $instanceType;
/**
* Optional. Resource labels to represent user provided metadata. Each label
* is a key-value pair, where both the key and the value are arbitrary strings
* provided by the user.
*
* @var string[]
*/
public $labels;
/**
* Optional. The MaintenancePolicies that have been attached to the instance.
* The key must be of the type name of the oneof policy name defined in
* MaintenancePolicy, and the referenced policy must define the same policy
* type. For details, please refer to go/mr-user-guide. Should not be set if
* maintenance_settings.maintenance_policies is set.
*
* @var string[]
*/
public $maintenancePolicyNames;
protected $maintenanceSchedulesType = MaintenanceSchedule::class;
protected $maintenanceSchedulesDataType = 'map';
protected $maintenanceSettingsType = MaintenanceSettings::class;
protected $maintenanceSettingsDataType = '';
/**
* Unique name of the resource. It uses the form:
* `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
* Note: This name is passed, stored and logged across the rollout system. So
* use of consumer project_id or any other consumer PII in the name is
* strongly discouraged for wipeout (go/wipeout) compliance. See
* go/elysium/project_ids#storage-guidance for more details.
*
* @var string
*/
public $name;
protected $notificationParametersType = NotificationParameter::class;
protected $notificationParametersDataType = 'map';
/**
* Output only. Custom string attributes used primarily to expose producer-
* specific information in monitoring dashboards. See go/get-instance-
* metadata.
*
* @var string[]
*/
public $producerMetadata;
protected $provisionedResourcesType = ProvisionedResource::class;
protected $provisionedResourcesDataType = 'array';
/**
* Link to the SLM instance template. Only populated when updating SLM
* instances via SSA's Actuation service adaptor. Service producers with
* custom control plane (e.g. Cloud SQL) doesn't need to populate this field.
* Instead they should use software_versions.
*
* @var string
*/
public $slmInstanceTemplate;
protected $sloMetadataType = SloMetadata::class;
protected $sloMetadataDataType = '';
/**
* Software versions that are used to deploy this instance. This can be
* mutated by rollout services.
*
* @var string[]
*/
public $softwareVersions;
/**
* Output only. Current lifecycle state of the resource (e.g. if it's being
* created or ready to use).
*
* @var string
*/
public $state;
/**
* Output only. ID of the associated GCP tenant project. See go/get-instance-
* metadata.
*
* @var string
*/
public $tenantProjectId;
/**
* Output only. Timestamp when the resource was last modified.
*
* @var string
*/
public $updateTime;
/**
* consumer_defined_name is the name of the instance set by the service
* consumers. Generally this is different from the `name` field which
* reperesents the system-assigned id of the instance which the service
* consumers do not recognize. This is a required field for tenants onboarding
* to Maintenance Window notifications (go/slm-rollout-maintenance-
* policies#prerequisites).
*
* @param string $consumerDefinedName
*/
public function setConsumerDefinedName($consumerDefinedName)
{
$this->consumerDefinedName = $consumerDefinedName;
}
/**
* @return string
*/
public function getConsumerDefinedName()
{
return $this->consumerDefinedName;
}
/**
* Optional. The consumer_project_number associated with this Apigee instance.
* This field is added specifically to support Apigee integration with SLM
* Rollout and UMM. It represents the numerical project ID of the GCP project
* that consumes this Apigee instance. It is used for SLM rollout
* notifications and UMM integration, enabling proper mapping to customer
* projects and log delivery for Apigee instances. This field complements
* consumer_project_id and may be used for specific Apigee scenarios where the
* numerical ID is required.
*
* @param string $consumerProjectNumber
*/
public function setConsumerProjectNumber($consumerProjectNumber)
{
$this->consumerProjectNumber = $consumerProjectNumber;
}
/**
* @return string
*/
public function getConsumerProjectNumber()
{
return $this->consumerProjectNumber;
}
/**
* Output only. Timestamp when the resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The instance_type of this instance of format: projects/{project_n
* umber}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance
* Type represents a high-level tier or SKU of the service that this instance
* belong to. When enabled(eg: Maintenance Rollout), Rollout uses
* 'instance_type' along with 'software_versions' to determine whether
* instance needs an update or not.
*
* @param string $instanceType
*/
public function setInstanceType($instanceType)
{
$this->instanceType = $instanceType;
}
/**
* @return string
*/
public function getInstanceType()
{
return $this->instanceType;
}
/**
* Optional. Resource labels to represent user provided metadata. Each label
* is a key-value pair, where both the key and the value are arbitrary strings
* provided by the user.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Optional. The MaintenancePolicies that have been attached to the instance.
* The key must be of the type name of the oneof policy name defined in
* MaintenancePolicy, and the referenced policy must define the same policy
* type. For details, please refer to go/mr-user-guide. Should not be set if
* maintenance_settings.maintenance_policies is set.
*
* @param string[] $maintenancePolicyNames
*/
public function setMaintenancePolicyNames($maintenancePolicyNames)
{
$this->maintenancePolicyNames = $maintenancePolicyNames;
}
/**
* @return string[]
*/
public function getMaintenancePolicyNames()
{
return $this->maintenancePolicyNames;
}
/**
* The MaintenanceSchedule contains the scheduling information of published
* maintenance schedule with same key as software_versions.
*
* @param MaintenanceSchedule[] $maintenanceSchedules
*/
public function setMaintenanceSchedules($maintenanceSchedules)
{
$this->maintenanceSchedules = $maintenanceSchedules;
}
/**
* @return MaintenanceSchedule[]
*/
public function getMaintenanceSchedules()
{
return $this->maintenanceSchedules;
}
/**
* Optional. The MaintenanceSettings associated with instance.
*
* @param MaintenanceSettings $maintenanceSettings
*/
public function setMaintenanceSettings(MaintenanceSettings $maintenanceSettings)
{
$this->maintenanceSettings = $maintenanceSettings;
}
/**
* @return MaintenanceSettings
*/
public function getMaintenanceSettings()
{
return $this->maintenanceSettings;
}
/**
* Unique name of the resource. It uses the form:
* `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
* Note: This name is passed, stored and logged across the rollout system. So
* use of consumer project_id or any other consumer PII in the name is
* strongly discouraged for wipeout (go/wipeout) compliance. See
* go/elysium/project_ids#storage-guidance for more details.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. notification_parameter are information that service producers may
* like to include that is not relevant to Rollout. This parameter will only
* be passed to Gamma and Cloud Logging for notification/logging purpose.
*
* @param NotificationParameter[] $notificationParameters
*/
public function setNotificationParameters($notificationParameters)
{
$this->notificationParameters = $notificationParameters;
}
/**
* @return NotificationParameter[]
*/
public function getNotificationParameters()
{
return $this->notificationParameters;
}
/**
* Output only. Custom string attributes used primarily to expose producer-
* specific information in monitoring dashboards. See go/get-instance-
* metadata.
*
* @param string[] $producerMetadata
*/
public function setProducerMetadata($producerMetadata)
{
$this->producerMetadata = $producerMetadata;
}
/**
* @return string[]
*/
public function getProducerMetadata()
{
return $this->producerMetadata;
}
/**
* Output only. The list of data plane resources provisioned for this
* instance, e.g. compute VMs. See go/get-instance-metadata.
*
* @param ProvisionedResource[] $provisionedResources
*/
public function setProvisionedResources($provisionedResources)
{
$this->provisionedResources = $provisionedResources;
}
/**
* @return ProvisionedResource[]
*/
public function getProvisionedResources()
{
return $this->provisionedResources;
}
/**
* Link to the SLM instance template. Only populated when updating SLM
* instances via SSA's Actuation service adaptor. Service producers with
* custom control plane (e.g. Cloud SQL) doesn't need to populate this field.
* Instead they should use software_versions.
*
* @param string $slmInstanceTemplate
*/
public function setSlmInstanceTemplate($slmInstanceTemplate)
{
$this->slmInstanceTemplate = $slmInstanceTemplate;
}
/**
* @return string
*/
public function getSlmInstanceTemplate()
{
return $this->slmInstanceTemplate;
}
/**
* Output only. SLO metadata for instance classification in the Standardized
* dataplane SLO platform. See go/cloud-ssa-standard-slo for feature
* description.
*
* @param SloMetadata $sloMetadata
*/
public function setSloMetadata(SloMetadata $sloMetadata)
{
$this->sloMetadata = $sloMetadata;
}
/**
* @return SloMetadata
*/
public function getSloMetadata()
{
return $this->sloMetadata;
}
/**
* Software versions that are used to deploy this instance. This can be
* mutated by rollout services.
*
* @param string[] $softwareVersions
*/
public function setSoftwareVersions($softwareVersions)
{
$this->softwareVersions = $softwareVersions;
}
/**
* @return string[]
*/
public function getSoftwareVersions()
{
return $this->softwareVersions;
}
/**
* Output only. Current lifecycle state of the resource (e.g. if it's being
* created or ready to use).
*
* Accepted values: STATE_UNSPECIFIED, CREATING, READY, UPDATING, REPAIRING,
* DELETING, ERROR
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. ID of the associated GCP tenant project. See go/get-instance-
* metadata.
*
* @param string $tenantProjectId
*/
public function setTenantProjectId($tenantProjectId)
{
$this->tenantProjectId = $tenantProjectId;
}
/**
* @return string
*/
public function getTenantProjectId()
{
return $this->tenantProjectId;
}
/**
* Output only. Timestamp when the resource was last modified.
*
* @param string $updateTime
*/
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');
File diff suppressed because it is too large Load Diff
@@ -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');
@@ -0,0 +1,113 @@
<?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';
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* Next page token if more actions available.
*
* @var string
*/
public $nextPageToken;
/**
* List of actions which contain unsupported Datatypes. Check datatype.proto
* for more information.
*
* @var string[]
*/
public $unsupportedActionNames;
/**
* List of action metadata.
*
* @param Action[] $actions
*/
public function setActions($actions)
{
$this->actions = $actions;
}
/**
* @return Action[]
*/
public function getActions()
{
return $this->actions;
}
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Next page token if more actions available.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* List of actions which contain unsupported Datatypes. Check datatype.proto
* for more information.
*
* @param string[] $unsupportedActionNames
*/
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');
@@ -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');
@@ -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');
@@ -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');
@@ -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 ListCustomToolNamesResponse extends \Google\Collection
{
protected $collection_key = 'toolNames';
protected $toolNamesType = ToolName::class;
protected $toolNamesDataType = 'array';
/**
* List of custom tools.
*
* @param ToolName[] $toolNames
*/
public function setToolNames($toolNames)
{
$this->toolNames = $toolNames;
}
/**
* @return ToolName[]
*/
public function getToolNames()
{
return $this->toolNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListCustomToolNamesResponse::class, 'Google_Service_Connectors_ListCustomToolNamesResponse');
@@ -0,0 +1,89 @@
<?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';
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* Next page token if more records are available.
*
* @var string
*/
public $nextPageToken;
/**
* List containing entity rows.
*
* @param Entity[] $entities
*/
public function setEntities($entities)
{
$this->entities = $entities;
}
/**
* @return Entity[]
*/
public function getEntities()
{
return $this->entities;
}
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Next page token if more records are available.
*
* @param string $nextPageToken
*/
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');
@@ -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');
@@ -0,0 +1,113 @@
<?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';
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* Next page token if more entity types available.
*
* @var string
*/
public $nextPageToken;
protected $typesType = EntityType::class;
protected $typesDataType = 'array';
/**
* List of entity type names which contain unsupported Datatypes. Check
* datatype.proto for more information.
*
* @var string[]
*/
public $unsupportedTypeNames;
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Next page token if more entity types available.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* List of metadata related to all entity types.
*
* @param EntityType[] $types
*/
public function setTypes($types)
{
$this->types = $types;
}
/**
* @return EntityType[]
*/
public function getTypes()
{
return $this->types;
}
/**
* List of entity type names which contain unsupported Datatypes. Check
* datatype.proto for more information.
*
* @param string[] $unsupportedTypeNames
*/
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');
@@ -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');
@@ -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');
@@ -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');
@@ -0,0 +1,89 @@
<?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 ListResourcesResponse extends \Google\Collection
{
protected $collection_key = 'resources';
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* Next page token if more resources available.
*
* @var string
*/
public $nextPageToken;
protected $resourcesType = ConnectorsResource::class;
protected $resourcesDataType = 'array';
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Next page token if more resources available.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* List of available resources.
*
* @param ConnectorsResource[] $resources
*/
public function setResources($resources)
{
$this->resources = $resources;
}
/**
* @return ConnectorsResource[]
*/
public function getResources()
{
return $this->resources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListResourcesResponse::class, 'Google_Service_Connectors_ListResourcesResponse');
@@ -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');
@@ -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');
@@ -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;
class ListToolsPostRequest extends \Google\Collection
{
protected $collection_key = 'toolNames';
protected $executionConfigType = ExecutionConfig::class;
protected $executionConfigDataType = '';
/**
* Page size.
*
* @var int
*/
public $pageSize;
/**
* Page token.
*
* @var string
*/
public $pageToken;
/**
* List of tool names to for selective tool fetching.
*
* @var string[]
*/
public $toolNames;
protected $toolSpecType = ToolSpec::class;
protected $toolSpecDataType = '';
/**
* execution config for the request.
*
* @param ExecutionConfig $executionConfig
*/
public function setExecutionConfig(ExecutionConfig $executionConfig)
{
$this->executionConfig = $executionConfig;
}
/**
* @return ExecutionConfig
*/
public function getExecutionConfig()
{
return $this->executionConfig;
}
/**
* Page size.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Page token.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* List of tool names to for selective tool fetching.
*
* @param string[] $toolNames
*/
public function setToolNames($toolNames)
{
$this->toolNames = $toolNames;
}
/**
* @return string[]
*/
public function getToolNames()
{
return $this->toolNames;
}
/**
* List of tool specifications.
*
* @param ToolSpec $toolSpec
*/
public function setToolSpec(ToolSpec $toolSpec)
{
$this->toolSpec = $toolSpec;
}
/**
* @return ToolSpec
*/
public function getToolSpec()
{
return $this->toolSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListToolsPostRequest::class, 'Google_Service_Connectors_ListToolsPostRequest');
@@ -0,0 +1,89 @@
<?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 ListToolsResponse extends \Google\Collection
{
protected $collection_key = 'tools';
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* Next page token.
*
* @var string
*/
public $nextPageToken;
protected $toolsType = Tool::class;
protected $toolsDataType = 'array';
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Next page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* List of available tools.
*
* @param Tool[] $tools
*/
public function setTools($tools)
{
$this->tools = $tools;
}
/**
* @return Tool[]
*/
public function getTools()
{
return $this->tools;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListToolsResponse::class, 'Google_Service_Connectors_ListToolsResponse');
@@ -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');
@@ -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');
@@ -0,0 +1,204 @@
<?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
{
/**
* Unspecified state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Resource is ready to be used.
*/
public const STATE_READY = 'READY';
/**
* Resource is being deleted. It can no longer be attached to instances.
*/
public const STATE_DELETING = 'DELETING';
/**
* Output only. The time when the resource was created.
*
* @var string
*/
public $createTime;
/**
* Optional. Description of what this policy is for. Create/Update methods
* return INVALID_ARGUMENT if the length is greater than 512.
*
* @var string
*/
public $description;
/**
* Optional. Resource labels to represent user provided metadata. Each label
* is a key-value pair, where both the key and the value are arbitrary strings
* provided by the user.
*
* @var string[]
*/
public $labels;
/**
* Required. MaintenancePolicy name using the form: `projects/{project_id}/loc
* ations/{location_id}/maintenancePolicies/{maintenance_policy_id}` where
* {project_id} refers to a GCP consumer project ID, {location_id} refers to a
* GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and
* match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
*
* @var string
*/
public $name;
/**
* Optional. The state of the policy.
*
* @var string
*/
public $state;
protected $updatePolicyType = UpdatePolicy::class;
protected $updatePolicyDataType = '';
/**
* Output only. The time when the resource was updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The time when the resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Description of what this policy is for. Create/Update methods
* return INVALID_ARGUMENT if the length is greater than 512.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. Resource labels to represent user provided metadata. Each label
* is a key-value pair, where both the key and the value are arbitrary strings
* provided by the user.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Required. MaintenancePolicy name using the form: `projects/{project_id}/loc
* ations/{location_id}/maintenancePolicies/{maintenance_policy_id}` where
* {project_id} refers to a GCP consumer project ID, {location_id} refers to a
* GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and
* match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. The state of the policy.
*
* Accepted values: STATE_UNSPECIFIED, READY, DELETING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Maintenance policy applicable to instance update.
*
* @param UpdatePolicy $updatePolicy
*/
public function setUpdatePolicy(UpdatePolicy $updatePolicy)
{
$this->updatePolicy = $updatePolicy;
}
/**
* @return UpdatePolicy
*/
public function getUpdatePolicy()
{
return $this->updatePolicy;
}
/**
* Output only. The time when the resource was updated.
*
* @param string $updateTime
*/
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');
@@ -0,0 +1,153 @@
<?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
{
/**
* This field is deprecated, and will be always set to true since reschedule
* can happen multiple times now. This field should not be removed until all
* service producers remove this for their customers.
*
* @deprecated
* @var bool
*/
public $canReschedule;
/**
* The scheduled end time for the maintenance.
*
* @var string
*/
public $endTime;
/**
* The rollout management policy this maintenance schedule is associated with.
* When doing reschedule update request, the reschedule should be against this
* given policy.
*
* @var string
*/
public $rolloutManagementPolicy;
/**
* schedule_deadline_time is the time deadline any schedule start time cannot
* go beyond, including reschedule. It's normally the initial schedule start
* time plus maintenance window length (1 day or 1 week). Maintenance cannot
* be scheduled to start beyond this deadline.
*
* @var string
*/
public $scheduleDeadlineTime;
/**
* The scheduled start time for the maintenance.
*
* @var string
*/
public $startTime;
/**
* This field is deprecated, and will be always set to true since reschedule
* can happen multiple times now. This field should not be removed until all
* service producers remove this for their customers.
*
* @deprecated
* @param bool $canReschedule
*/
public function setCanReschedule($canReschedule)
{
$this->canReschedule = $canReschedule;
}
/**
* @deprecated
* @return bool
*/
public function getCanReschedule()
{
return $this->canReschedule;
}
/**
* The scheduled end time for the maintenance.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The rollout management policy this maintenance schedule is associated with.
* When doing reschedule update request, the reschedule should be against this
* given policy.
*
* @param string $rolloutManagementPolicy
*/
public function setRolloutManagementPolicy($rolloutManagementPolicy)
{
$this->rolloutManagementPolicy = $rolloutManagementPolicy;
}
/**
* @return string
*/
public function getRolloutManagementPolicy()
{
return $this->rolloutManagementPolicy;
}
/**
* schedule_deadline_time is the time deadline any schedule start time cannot
* go beyond, including reschedule. It's normally the initial schedule start
* time plus maintenance window length (1 day or 1 week). Maintenance cannot
* be scheduled to start beyond this deadline.
*
* @param string $scheduleDeadlineTime
*/
public function setScheduleDeadlineTime($scheduleDeadlineTime)
{
$this->scheduleDeadlineTime = $scheduleDeadlineTime;
}
/**
* @return string
*/
public function getScheduleDeadlineTime()
{
return $this->scheduleDeadlineTime;
}
/**
* The scheduled start time for the maintenance.
*
* @param string $startTime
*/
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');
@@ -0,0 +1,99 @@
<?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
{
/**
* Optional. Exclude instance from maintenance. When true, rollout service
* will not attempt maintenance on the instance. Rollout service will include
* the instance in reported rollout progress as not attempted.
*
* @var bool
*/
public $exclude;
/**
* Optional. If the update call is triggered from rollback, set the value as
* true.
*
* @var bool
*/
public $isRollback;
protected $maintenancePoliciesType = MaintenancePolicy::class;
protected $maintenancePoliciesDataType = 'map';
/**
* Optional. Exclude instance from maintenance. When true, rollout service
* will not attempt maintenance on the instance. Rollout service will include
* the instance in reported rollout progress as not attempted.
*
* @param bool $exclude
*/
public function setExclude($exclude)
{
$this->exclude = $exclude;
}
/**
* @return bool
*/
public function getExclude()
{
return $this->exclude;
}
/**
* Optional. If the update call is triggered from rollback, set the value as
* true.
*
* @param bool $isRollback
*/
public function setIsRollback($isRollback)
{
$this->isRollback = $isRollback;
}
/**
* @return bool
*/
public function getIsRollback()
{
return $this->isRollback;
}
/**
* Optional. The MaintenancePolicies that have been attached to the instance.
* The key must be of the type name of the oneof policy name defined in
* MaintenancePolicy, and the embedded policy must define the same policy
* type. For details, please refer to go/mr-user-guide. Should not be set if
* maintenance_policy_names is set. If only the name is needed, then only
* populate MaintenancePolicy.name.
*
* @param MaintenancePolicy[] $maintenancePolicies
*/
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');
@@ -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 MaintenanceWindow extends \Google\Model
{
protected $dailyCycleType = DailyCycle::class;
protected $dailyCycleDataType = '';
protected $weeklyCycleType = WeeklyCycle::class;
protected $weeklyCycleDataType = '';
/**
* Daily cycle.
*
* @param DailyCycle $dailyCycle
*/
public function setDailyCycle(DailyCycle $dailyCycle)
{
$this->dailyCycle = $dailyCycle;
}
/**
* @return DailyCycle
*/
public function getDailyCycle()
{
return $this->dailyCycle;
}
/**
* Weekly cycle.
*
* @param WeeklyCycle $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');
@@ -0,0 +1,89 @@
<?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
{
/**
* The location of the node, if different from instance location.
*
* @var string
*/
public $location;
/**
* The id of the node. This should be equal to SaasInstanceNode.node_id.
*
* @var string
*/
public $nodeId;
protected $perSliEligibilityType = PerSliSloEligibility::class;
protected $perSliEligibilityDataType = '';
/**
* The location of the node, if different from instance location.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* The id of the node. This should be equal to SaasInstanceNode.node_id.
*
* @param string $nodeId
*/
public function setNodeId($nodeId)
{
$this->nodeId = $nodeId;
}
/**
* @return string
*/
public function getNodeId()
{
return $this->nodeId;
}
/**
* If present, this will override eligibility for the node coming from
* instance or exclusions for specified SLIs.
*
* @param PerSliSloEligibility $perSliEligibility
*/
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');
@@ -0,0 +1,49 @@
<?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';
/**
* Optional. Array of string values. e.g. instance's replica information.
*
* @var string[]
*/
public $values;
/**
* Optional. Array of string values. e.g. instance's replica information.
*
* @param string[] $values
*/
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');
@@ -0,0 +1,92 @@
<?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 OAuth2Config extends \Google\Model
{
/**
* Authorization Server URL/Token Endpoint for Authorization Code Flow
*
* @var string
*/
public $authUri;
/**
* Client ID for the OAuth2 flow.
*
* @var string
*/
public $clientId;
/**
* Client secret for the OAuth2 flow.
*
* @var string
*/
public $clientSecret;
/**
* Authorization Server URL/Token Endpoint for Authorization Code Flow
*
* @param string $authUri
*/
public function setAuthUri($authUri)
{
$this->authUri = $authUri;
}
/**
* @return string
*/
public function getAuthUri()
{
return $this->authUri;
}
/**
* Client ID for the OAuth2 flow.
*
* @param string $clientId
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* Client secret for the OAuth2 flow.
*
* @param string $clientSecret
*/
public function setClientSecret($clientSecret)
{
$this->clientSecret = $clientSecret;
}
/**
* @return string
*/
public function getClientSecret()
{
return $this->clientSecret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OAuth2Config::class, 'Google_Service_Connectors_OAuth2Config');
@@ -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');
@@ -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');
@@ -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');
@@ -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');
@@ -0,0 +1,55 @@
<?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';
/**
* An entry in the eligibilities map specifies an eligibility for a particular
* SLI for the given instance. The SLI key in the name must be a valid SLI
* name specified in the Eligibility Exporter binary flags otherwise an error
* will be emitted by Eligibility Exporter and the oncaller will be alerted.
* If an SLI has been defined in the binary flags but the eligibilities map
* does not contain it, the corresponding SLI time series will not be emitted
* by the Eligibility Exporter. This ensures a smooth rollout and
* compatibility between the data produced by different versions of the
* Eligibility Exporters. If eligibilities map contains a key for an SLI which
* has not been declared in the binary flags, there will be an error message
* emitted in the Eligibility Exporter log and the metric for the SLI in
* question will not be emitted.
*
* @param SloEligibility[] $eligibilities
*/
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');
@@ -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');
@@ -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');
@@ -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');
@@ -0,0 +1,82 @@
<?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
{
/**
* Type of the resource. This can be either a GCP resource or a custom one
* (e.g. another cloud provider's VM). For GCP compute resources use singular
* form of the names listed in GCP compute API documentation
* (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
* 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-
* autoscaler'.
*
* @var string
*/
public $resourceType;
/**
* URL identifying the resource, e.g.
* "https://www.googleapis.com/compute/v1/projects/...)".
*
* @var string
*/
public $resourceUrl;
/**
* Type of the resource. This can be either a GCP resource or a custom one
* (e.g. another cloud provider's VM). For GCP compute resources use singular
* form of the names listed in GCP compute API documentation
* (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
* 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-
* autoscaler'.
*
* @param string $resourceType
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* URL identifying the resource, e.g.
* "https://www.googleapis.com/compute/v1/projects/...)".
*
* @param string $resourceUrl
*/
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');
@@ -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 Query extends \Google\Collection
{
protected $collection_key = 'queryParameters';
/**
* Sets the limit for the maximum number of rows returned after the query
* execution.
*
* @var string
*/
public $maxRows;
/**
* Required. Sql query to execute.
*
* @var string
*/
public $query;
protected $queryParametersType = QueryParameter::class;
protected $queryParametersDataType = 'array';
/**
* Sets the number of seconds the driver will wait for a query to execute.
*
* @var string
*/
public $timeout;
/**
* Sets the limit for the maximum number of rows returned after the query
* execution.
*
* @param string $maxRows
*/
public function setMaxRows($maxRows)
{
$this->maxRows = $maxRows;
}
/**
* @return string
*/
public function getMaxRows()
{
return $this->maxRows;
}
/**
* Required. Sql query to execute.
*
* @param string $query
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
/**
* In the struct, the value corresponds to the value of query parameter and
* date type corresponds to the date type of the query parameter.
*
* @param QueryParameter[] $queryParameters
*/
public function setQueryParameters($queryParameters)
{
$this->queryParameters = $queryParameters;
}
/**
* @return QueryParameter[]
*/
public function getQueryParameters()
{
return $this->queryParameters;
}
/**
* Sets the number of seconds the driver will wait for a query to execute.
*
* @param string $timeout
*/
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');
@@ -0,0 +1,252 @@
<?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
{
/**
* Datatype unspecified.
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* Deprecated Int type, use INTEGER type instead.
*
* @deprecated
*/
public const DATA_TYPE_INT = 'INT';
/**
* Small int type.
*/
public const DATA_TYPE_SMALLINT = 'SMALLINT';
/**
* Double type.
*/
public const DATA_TYPE_DOUBLE = 'DOUBLE';
/**
* Date type.
*/
public const DATA_TYPE_DATE = 'DATE';
/**
* Deprecated Datetime type.
*
* @deprecated
*/
public const DATA_TYPE_DATETIME = 'DATETIME';
/**
* Time type.
*/
public const DATA_TYPE_TIME = 'TIME';
/**
* Deprecated string type, use VARCHAR type instead.
*
* @deprecated
*/
public const DATA_TYPE_STRING = 'STRING';
/**
* Deprecated Long type, use BIGINT type instead.
*
* @deprecated
*/
public const DATA_TYPE_LONG = 'LONG';
/**
* Boolean type.
*/
public const DATA_TYPE_BOOLEAN = 'BOOLEAN';
/**
* Decimal type.
*/
public const DATA_TYPE_DECIMAL = 'DECIMAL';
/**
* Deprecated UUID type, use VARCHAR instead.
*
* @deprecated
*/
public const DATA_TYPE_UUID = 'UUID';
/**
* Blob type.
*/
public const DATA_TYPE_BLOB = 'BLOB';
/**
* Bit type.
*/
public const DATA_TYPE_BIT = 'BIT';
/**
* Tiny int type.
*/
public const DATA_TYPE_TINYINT = 'TINYINT';
/**
* Integer type.
*/
public const DATA_TYPE_INTEGER = 'INTEGER';
/**
* Big int type.
*/
public const DATA_TYPE_BIGINT = 'BIGINT';
/**
* Float type.
*/
public const DATA_TYPE_FLOAT = 'FLOAT';
/**
* Real type.
*/
public const DATA_TYPE_REAL = 'REAL';
/**
* Numeric type.
*/
public const DATA_TYPE_NUMERIC = 'NUMERIC';
/**
* Char type.
*/
public const DATA_TYPE_CHAR = 'CHAR';
/**
* Varchar type.
*/
public const DATA_TYPE_VARCHAR = 'VARCHAR';
/**
* Long varchar type.
*/
public const DATA_TYPE_LONGVARCHAR = 'LONGVARCHAR';
/**
* Timestamp type.
*/
public const DATA_TYPE_TIMESTAMP = 'TIMESTAMP';
/**
* Nchar type.
*/
public const DATA_TYPE_NCHAR = 'NCHAR';
/**
* Nvarchar type.
*/
public const DATA_TYPE_NVARCHAR = 'NVARCHAR';
/**
* Long Nvarchar type.
*/
public const DATA_TYPE_LONGNVARCHAR = 'LONGNVARCHAR';
/**
* Null type.
*/
public const DATA_TYPE_NULL = 'NULL';
/**
* Other type.
*/
public const DATA_TYPE_OTHER = 'OTHER';
/**
* Java object type.
*/
public const DATA_TYPE_JAVA_OBJECT = 'JAVA_OBJECT';
/**
* Distinct type keyword.
*/
public const DATA_TYPE_DISTINCT = 'DISTINCT';
/**
* Struct type.
*/
public const DATA_TYPE_STRUCT = 'STRUCT';
/**
* Array type.
*/
public const DATA_TYPE_ARRAY = 'ARRAY';
/**
* Clob type.
*/
public const DATA_TYPE_CLOB = 'CLOB';
/**
* Ref type.
*/
public const DATA_TYPE_REF = 'REF';
/**
* Datalink type.
*/
public const DATA_TYPE_DATALINK = 'DATALINK';
/**
* Row ID type.
*/
public const DATA_TYPE_ROWID = 'ROWID';
/**
* Binary type.
*/
public const DATA_TYPE_BINARY = 'BINARY';
/**
* Varbinary type.
*/
public const DATA_TYPE_VARBINARY = 'VARBINARY';
/**
* Long Varbinary type.
*/
public const DATA_TYPE_LONGVARBINARY = 'LONGVARBINARY';
/**
* Nclob type.
*/
public const DATA_TYPE_NCLOB = 'NCLOB';
/**
* SQLXML type.
*/
public const DATA_TYPE_SQLXML = 'SQLXML';
/**
* Ref_cursor type.
*/
public const DATA_TYPE_REF_CURSOR = 'REF_CURSOR';
/**
* Time with timezone type.
*/
public const DATA_TYPE_TIME_WITH_TIMEZONE = 'TIME_WITH_TIMEZONE';
/**
* Timestamp with timezone type.
*/
public const DATA_TYPE_TIMESTAMP_WITH_TIMEZONE = 'TIMESTAMP_WITH_TIMEZONE';
/**
* @var string
*/
public $dataType;
/**
* @var array
*/
public $value;
/**
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param array $value
*/
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');
@@ -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');
@@ -0,0 +1,70 @@
<?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
{
/**
* Name of the reference field.
*
* @var string
*/
public $name;
/**
* Name of reference entity type.
*
* @var string
*/
public $type;
/**
* Name of the reference field.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Name of reference entity type.
*
* @param string $type
*/
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');
@@ -0,0 +1,87 @@
<?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
{
protected $executionConfigType = ExecutionConfig::class;
protected $executionConfigDataType = '';
protected $oauth2ConfigType = OAuth2Config::class;
protected $oauth2ConfigDataType = '';
/**
* Optional. Refresh Token String. If the Refresh Token is not provided, the
* runtime will read the data from the secret manager.
*
* @var string
*/
public $refreshToken;
/**
* ExecutionConfig contains the configuration for the execution of the
* request.
*
* @param ExecutionConfig $executionConfig
*/
public function setExecutionConfig(ExecutionConfig $executionConfig)
{
$this->executionConfig = $executionConfig;
}
/**
* @return ExecutionConfig
*/
public function getExecutionConfig()
{
return $this->executionConfig;
}
/**
* OAuth2Config contains the OAuth2 config for the connection.
*
* @param OAuth2Config $oauth2Config
*/
public function setOauth2Config(OAuth2Config $oauth2Config)
{
$this->oauth2Config = $oauth2Config;
}
/**
* @return OAuth2Config
*/
public function getOauth2Config()
{
return $this->oauth2Config;
}
/**
* Optional. Refresh Token String. If the Refresh Token is not provided, the
* runtime will read the data from the secret manager.
*
* @param string $refreshToken
*/
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');
@@ -0,0 +1,64 @@
<?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 = '';
/**
* Metadata like service latency, etc.
*
* @var array[]
*/
public $metadata;
/**
* @param AccessCredentials $accessCredentials
*/
public function setAccessCredentials(AccessCredentials $accessCredentials)
{
$this->accessCredentials = $accessCredentials;
}
/**
* @return AccessCredentials
*/
public function getAccessCredentials()
{
return $this->accessCredentials;
}
/**
* Metadata like service latency, etc.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RefreshAccessTokenResponse::class, 'Google_Service_Connectors_RefreshAccessTokenResponse');
@@ -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');
@@ -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');
@@ -0,0 +1,186 @@
<?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\GenerateCustomToolspecRequest;
use Google\Service\Connectors\GenerateCustomToolspecResponse;
use Google\Service\Connectors\ListCustomToolNamesResponse;
use Google\Service\Connectors\ListToolsPostRequest;
use Google\Service\Connectors\ListToolsResponse;
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.
*
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @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);
}
/**
* Generate toolspec override for the given list of toolNames.
* (connections.generateConnectionToolspecOverride)
*
* @param string $name Required. Resource name of the Connection. Format:
* projects/{project}/locations/{location}/connections/{connection}
* @param GenerateCustomToolspecRequest $postBody
* @param array $optParams Optional parameters.
* @return GenerateCustomToolspecResponse
* @throws \Google\Service\Exception
*/
public function generateConnectionToolspecOverride($name, GenerateCustomToolspecRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generateConnectionToolspecOverride', [$params], GenerateCustomToolspecResponse::class);
}
/**
* Lists custom tool names. (connections.listCustomToolNames)
*
* @param string $name Required. Resource name of the Connection. Format:
* projects/{project}/locations/{location}/connections/{connection}
* @param array $optParams Optional parameters.
* @return ListCustomToolNamesResponse
* @throws \Google\Service\Exception
*/
public function listCustomToolNames($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('listCustomToolNames', [$params], ListCustomToolNamesResponse::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);
}
/**
* Lists all available tools with POST. (connections.tools)
*
* @param string $parent Required. Resource name of the Connection. Format:
* projects/{project}/locations/{location}/connections/{connection}
* @param ListToolsPostRequest $postBody
* @param array $optParams Optional parameters.
* @return ListToolsResponse
* @throws \Google\Service\Exception
*/
public function tools($parent, ListToolsPostRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('tools', [$params], ListToolsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnections::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnections');
@@ -0,0 +1,102 @@
<?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.
*
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @opt_param string view Specified view of the action schema.
* @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 string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @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');
@@ -0,0 +1,85 @@
<?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.
*
* @opt_param string contextMetadata Context metadata for request could be used
* to fetch customization of entity type schema.
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @opt_param string view Specifies view for entity type schema.
* @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 string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @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');
@@ -0,0 +1,227 @@
<?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.
*
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @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.
*
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @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.
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @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.
*
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @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 string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @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.
* @opt_param string sortOrder List of 'sort_order' 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.
*
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @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.
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @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');
@@ -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');
@@ -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\GetResourcePostRequest;
use Google\Service\Connectors\GetResourceResponse;
use Google\Service\Connectors\ListResourcesResponse;
/**
* The "resources" collection of methods.
* Typical usage is:
* <code>
* $connectorsService = new Google\Service\Connectors(...);
* $resources = $connectorsService->projects_locations_connections_resources;
* </code>
*/
class ProjectsLocationsConnectionsResources extends \Google\Service\Resource
{
/**
* Gets a specific resource. (resources.get)
*
* @param string $name Required. Resource name of the Resource. Format: projects
* /{project}/locations/{location}/connections/{connection}/resources/{resource}
* @param array $optParams Optional parameters.
*
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @return GetResourceResponse
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GetResourceResponse::class);
}
/**
* Gets a specific resource with POST. (resources.getResourcePost)
*
* @param string $name Required. Resource name of the Resource. Format: projects
* /{project}/locations/{location}/connections/{connection}/resources/{resource}
* @param GetResourcePostRequest $postBody
* @param array $optParams Optional parameters.
* @return GetResourceResponse
* @throws \Google\Service\Exception
*/
public function getResourcePost($name, GetResourcePostRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('getResourcePost', [$params], GetResourceResponse::class);
}
/**
* Lists all available resources.
* (resources.listProjectsLocationsConnectionsResources)
*
* @param string $parent Required. Resource name of the connection. Format:
* projects/{project}/locations/{location}/connections/{connection}
* @param array $optParams Optional parameters.
*
* @opt_param string executionConfig.headers headers to be used for the request.
* For example: headers:'{"x-integration-connectors-managed-connection-
* id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}'
* @opt_param int pageSize Optional. Page size for the request.
* @opt_param string pageToken Optional. Page token for the request.
* @return ListResourcesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsConnectionsResources($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListResourcesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectionsResources::class, 'Google_Service_Connectors_Resource_ProjectsLocationsConnectionsResources');
@@ -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');

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