1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2024-08-28 16:23:56 -03:00
parent 7b1f1b00fa
commit 1fe791261a
289 changed files with 9403 additions and 1842 deletions

2
composer.lock generated
View file

@ -6610,5 +6610,5 @@
"platform-overrides": { "platform-overrides": {
"php": "8" "php": "8"
}, },
"plugin-api-version": "2.6.0" "plugin-api-version": "2.3.0"
} }

File diff suppressed because it is too large Load diff

View file

@ -5,6 +5,8 @@ use Aws\AwsClient;
/** /**
* This client is used to interact with the **Amazon Bedrock** service. * This client is used to interact with the **Amazon Bedrock** service.
* @method \Aws\Result batchDeleteEvaluationJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise batchDeleteEvaluationJobAsync(array $args = [])
* @method \Aws\Result createEvaluationJob(array $args = []) * @method \Aws\Result createEvaluationJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise createEvaluationJobAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise createEvaluationJobAsync(array $args = [])
* @method \Aws\Result createGuardrail(array $args = []) * @method \Aws\Result createGuardrail(array $args = [])
@ -15,6 +17,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise createModelCopyJobAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise createModelCopyJobAsync(array $args = [])
* @method \Aws\Result createModelCustomizationJob(array $args = []) * @method \Aws\Result createModelCustomizationJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise createModelCustomizationJobAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise createModelCustomizationJobAsync(array $args = [])
* @method \Aws\Result createModelImportJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise createModelImportJobAsync(array $args = [])
* @method \Aws\Result createModelInvocationJob(array $args = []) * @method \Aws\Result createModelInvocationJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise createModelInvocationJobAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise createModelInvocationJobAsync(array $args = [])
* @method \Aws\Result createProvisionedModelThroughput(array $args = []) * @method \Aws\Result createProvisionedModelThroughput(array $args = [])
@ -23,6 +27,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise deleteCustomModelAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise deleteCustomModelAsync(array $args = [])
* @method \Aws\Result deleteGuardrail(array $args = []) * @method \Aws\Result deleteGuardrail(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteGuardrailAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise deleteGuardrailAsync(array $args = [])
* @method \Aws\Result deleteImportedModel(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteImportedModelAsync(array $args = [])
* @method \Aws\Result deleteModelInvocationLoggingConfiguration(array $args = []) * @method \Aws\Result deleteModelInvocationLoggingConfiguration(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteModelInvocationLoggingConfigurationAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise deleteModelInvocationLoggingConfigurationAsync(array $args = [])
* @method \Aws\Result deleteProvisionedModelThroughput(array $args = []) * @method \Aws\Result deleteProvisionedModelThroughput(array $args = [])
@ -35,10 +41,14 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise getFoundationModelAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise getFoundationModelAsync(array $args = [])
* @method \Aws\Result getGuardrail(array $args = []) * @method \Aws\Result getGuardrail(array $args = [])
* @method \GuzzleHttp\Promise\Promise getGuardrailAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise getGuardrailAsync(array $args = [])
* @method \Aws\Result getImportedModel(array $args = [])
* @method \GuzzleHttp\Promise\Promise getImportedModelAsync(array $args = [])
* @method \Aws\Result getModelCopyJob(array $args = []) * @method \Aws\Result getModelCopyJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise getModelCopyJobAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise getModelCopyJobAsync(array $args = [])
* @method \Aws\Result getModelCustomizationJob(array $args = []) * @method \Aws\Result getModelCustomizationJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise getModelCustomizationJobAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise getModelCustomizationJobAsync(array $args = [])
* @method \Aws\Result getModelImportJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise getModelImportJobAsync(array $args = [])
* @method \Aws\Result getModelInvocationJob(array $args = []) * @method \Aws\Result getModelInvocationJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise getModelInvocationJobAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise getModelInvocationJobAsync(array $args = [])
* @method \Aws\Result getModelInvocationLoggingConfiguration(array $args = []) * @method \Aws\Result getModelInvocationLoggingConfiguration(array $args = [])
@ -53,10 +63,14 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise listFoundationModelsAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise listFoundationModelsAsync(array $args = [])
* @method \Aws\Result listGuardrails(array $args = []) * @method \Aws\Result listGuardrails(array $args = [])
* @method \GuzzleHttp\Promise\Promise listGuardrailsAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise listGuardrailsAsync(array $args = [])
* @method \Aws\Result listImportedModels(array $args = [])
* @method \GuzzleHttp\Promise\Promise listImportedModelsAsync(array $args = [])
* @method \Aws\Result listModelCopyJobs(array $args = []) * @method \Aws\Result listModelCopyJobs(array $args = [])
* @method \GuzzleHttp\Promise\Promise listModelCopyJobsAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise listModelCopyJobsAsync(array $args = [])
* @method \Aws\Result listModelCustomizationJobs(array $args = []) * @method \Aws\Result listModelCustomizationJobs(array $args = [])
* @method \GuzzleHttp\Promise\Promise listModelCustomizationJobsAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise listModelCustomizationJobsAsync(array $args = [])
* @method \Aws\Result listModelImportJobs(array $args = [])
* @method \GuzzleHttp\Promise\Promise listModelImportJobsAsync(array $args = [])
* @method \Aws\Result listModelInvocationJobs(array $args = []) * @method \Aws\Result listModelInvocationJobs(array $args = [])
* @method \GuzzleHttp\Promise\Promise listModelInvocationJobsAsync(array $args = []) * @method \GuzzleHttp\Promise\Promise listModelInvocationJobsAsync(array $args = [])
* @method \Aws\Result listProvisionedModelThroughputs(array $args = []) * @method \Aws\Result listProvisionedModelThroughputs(array $args = [])

View file

@ -1249,7 +1249,7 @@ class ClientResolver
\Aws\boolean_value($_SERVER["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"]); \Aws\boolean_value($_SERVER["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"]);
} elseif (!empty($_ENV["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"])) { } elseif (!empty($_ENV["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"])) {
$args['suppress_php_deprecation_warning'] = $args['suppress_php_deprecation_warning'] =
\Aws\boolean_value($_SERVER["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"]); \Aws\boolean_value($_ENV["AWS_SUPPRESS_PHP_DEPRECATION_WARNING"]);
} }
if ($args['suppress_php_deprecation_warning'] === false if ($args['suppress_php_deprecation_warning'] === false

View file

@ -1,45 +0,0 @@
<?php
namespace Aws\CodeStar;
use Aws\AwsClient;
/**
* This client is used to interact with the **AWS CodeStar** service.
* @method \Aws\Result associateTeamMember(array $args = [])
* @method \GuzzleHttp\Promise\Promise associateTeamMemberAsync(array $args = [])
* @method \Aws\Result createProject(array $args = [])
* @method \GuzzleHttp\Promise\Promise createProjectAsync(array $args = [])
* @method \Aws\Result createUserProfile(array $args = [])
* @method \GuzzleHttp\Promise\Promise createUserProfileAsync(array $args = [])
* @method \Aws\Result deleteProject(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteProjectAsync(array $args = [])
* @method \Aws\Result deleteUserProfile(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteUserProfileAsync(array $args = [])
* @method \Aws\Result describeProject(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeProjectAsync(array $args = [])
* @method \Aws\Result describeUserProfile(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeUserProfileAsync(array $args = [])
* @method \Aws\Result disassociateTeamMember(array $args = [])
* @method \GuzzleHttp\Promise\Promise disassociateTeamMemberAsync(array $args = [])
* @method \Aws\Result listProjects(array $args = [])
* @method \GuzzleHttp\Promise\Promise listProjectsAsync(array $args = [])
* @method \Aws\Result listResources(array $args = [])
* @method \GuzzleHttp\Promise\Promise listResourcesAsync(array $args = [])
* @method \Aws\Result listTagsForProject(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTagsForProjectAsync(array $args = [])
* @method \Aws\Result listTeamMembers(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTeamMembersAsync(array $args = [])
* @method \Aws\Result listUserProfiles(array $args = [])
* @method \GuzzleHttp\Promise\Promise listUserProfilesAsync(array $args = [])
* @method \Aws\Result tagProject(array $args = [])
* @method \GuzzleHttp\Promise\Promise tagProjectAsync(array $args = [])
* @method \Aws\Result untagProject(array $args = [])
* @method \GuzzleHttp\Promise\Promise untagProjectAsync(array $args = [])
* @method \Aws\Result updateProject(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateProjectAsync(array $args = [])
* @method \Aws\Result updateTeamMember(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateTeamMemberAsync(array $args = [])
* @method \Aws\Result updateUserProfile(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateUserProfileAsync(array $args = [])
*/
class CodeStarClient extends AwsClient {}

View file

@ -1,9 +0,0 @@
<?php
namespace Aws\CodeStar\Exception;
use Aws\Exception\AwsException;
/**
* Represents an error interacting with the **AWS CodeStar** service.
*/
class CodeStarException extends AwsException {}

View file

@ -166,8 +166,6 @@ namespace Aws;
* @method \Aws\MultiRegionClient createMultiRegionCodeGuruSecurity(array $args = []) * @method \Aws\MultiRegionClient createMultiRegionCodeGuruSecurity(array $args = [])
* @method \Aws\CodePipeline\CodePipelineClient createCodePipeline(array $args = []) * @method \Aws\CodePipeline\CodePipelineClient createCodePipeline(array $args = [])
* @method \Aws\MultiRegionClient createMultiRegionCodePipeline(array $args = []) * @method \Aws\MultiRegionClient createMultiRegionCodePipeline(array $args = [])
* @method \Aws\CodeStar\CodeStarClient createCodeStar(array $args = [])
* @method \Aws\MultiRegionClient createMultiRegionCodeStar(array $args = [])
* @method \Aws\CodeStarNotifications\CodeStarNotificationsClient createCodeStarNotifications(array $args = []) * @method \Aws\CodeStarNotifications\CodeStarNotificationsClient createCodeStarNotifications(array $args = [])
* @method \Aws\MultiRegionClient createMultiRegionCodeStarNotifications(array $args = []) * @method \Aws\MultiRegionClient createMultiRegionCodeStarNotifications(array $args = [])
* @method \Aws\CodeStarconnections\CodeStarconnectionsClient createCodeStarconnections(array $args = []) * @method \Aws\CodeStarconnections\CodeStarconnectionsClient createCodeStarconnections(array $args = [])
@ -777,7 +775,7 @@ namespace Aws;
*/ */
class Sdk class Sdk
{ {
const VERSION = '3.320.3'; const VERSION = '3.320.7';
/** @var array Arguments for creating clients */ /** @var array Arguments for creating clients */
private $args; private $args;

View file

@ -256,6 +256,12 @@ class Waiter implements PromisorInterface
*/ */
private function matchesError($result, array $acceptor) private function matchesError($result, array $acceptor)
{ {
// If expected is true then the $result should be an instance of
// AwsException, otherwise it should not.
if (isset($acceptor['expected']) && is_bool($acceptor['expected'])) {
return $acceptor['expected'] === ($result instanceof AwsException);
}
if ($result instanceof AwsException) { if ($result instanceof AwsException) {
return $result->isConnectionError() return $result->isConnectionError()
|| $result->getAwsErrorCode() == $acceptor['expected']; || $result->getAwsErrorCode() == $acceptor['expected'];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,3 @@
<?php <?php
// This file was auto-generated from sdk-root/src/data/bedrock/2023-04-20/paginators-1.json // This file was auto-generated from sdk-root/src/data/bedrock/2023-04-20/paginators-1.json
return [ 'pagination' => [ 'ListCustomModels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelSummaries', ], 'ListEvaluationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'jobSummaries', ], 'ListGuardrails' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'guardrails', ], 'ListModelCopyJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelCopyJobSummaries', ], 'ListModelCustomizationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelCustomizationJobSummaries', ], 'ListModelInvocationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'invocationJobSummaries', ], 'ListProvisionedModelThroughputs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'provisionedModelSummaries', ], ],]; return [ 'pagination' => [ 'ListCustomModels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelSummaries', ], 'ListEvaluationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'jobSummaries', ], 'ListGuardrails' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'guardrails', ], 'ListImportedModels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelSummaries', ], 'ListModelCopyJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelCopyJobSummaries', ], 'ListModelCustomizationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelCustomizationJobSummaries', ], 'ListModelImportJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'modelImportJobSummaries', ], 'ListModelInvocationJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'invocationJobSummaries', ], 'ListProvisionedModelThroughputs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'provisionedModelSummaries', ], ],];

File diff suppressed because one or more lines are too long

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/codestar/2017-04-19/endpoint-rule-set-1.json
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'Boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'String', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://codestar-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://codestar-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://codestar.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://codestar.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/codestar/2017-04-19/paginators-1.json
return [ 'pagination' => [],];

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/codestar/2017-04-19/smoke.json
return [ 'version' => 1, 'defaultRegion' => 'us-west-2', 'testCases' => [ [ 'operationName' => 'ListProjects', 'input' => [], 'errorExpectedFromService' => false, ], ],];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,3 @@
<?php <?php
// This file was auto-generated from sdk-root/src/data/emr-containers/2020-10-01/endpoint-rule-set-1.json // This file was auto-generated from sdk-root/src/data/emr-containers/2020-10-01/endpoint-rule-set-1.json
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'Boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'String', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],]; return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'Boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'String', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'ref' => 'Region', ], 'us-gov-east-1', ], ], ], 'endpoint' => [ 'url' => 'https://emr-containers.us-gov-east-1.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'ref' => 'Region', ], 'us-gov-west-1', ], ], ], 'endpoint' => [ 'url' => 'https://emr-containers.us-gov-west-1.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://emr-containers.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,3 @@
<?php <?php
// This file was auto-generated from sdk-root/src/data/partitions.json // This file was auto-generated from sdk-root/src/data/partitions.json
return [ 'partitions' => [ [ 'id' => 'aws', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com', 'dualStackDnsSuffix' => 'api.aws', 'implicitGlobalRegion' => 'us-east-1', 'name' => 'aws', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$', 'regions' => [ 'af-south-1' => [ 'description' => 'Africa (Cape Town)', ], 'ap-east-1' => [ 'description' => 'Asia Pacific (Hong Kong)', ], 'ap-northeast-1' => [ 'description' => 'Asia Pacific (Tokyo)', ], 'ap-northeast-2' => [ 'description' => 'Asia Pacific (Seoul)', ], 'ap-northeast-3' => [ 'description' => 'Asia Pacific (Osaka)', ], 'ap-south-1' => [ 'description' => 'Asia Pacific (Mumbai)', ], 'ap-south-2' => [ 'description' => 'Asia Pacific (Hyderabad)', ], 'ap-southeast-1' => [ 'description' => 'Asia Pacific (Singapore)', ], 'ap-southeast-2' => [ 'description' => 'Asia Pacific (Sydney)', ], 'ap-southeast-3' => [ 'description' => 'Asia Pacific (Jakarta)', ], 'ap-southeast-4' => [ 'description' => 'Asia Pacific (Melbourne)', ], 'aws-global' => [ 'description' => 'AWS Standard global region', ], 'ca-central-1' => [ 'description' => 'Canada (Central)', ], 'ca-west-1' => [ 'description' => 'Canada West (Calgary)', ], 'eu-central-1' => [ 'description' => 'Europe (Frankfurt)', ], 'eu-central-2' => [ 'description' => 'Europe (Zurich)', ], 'eu-north-1' => [ 'description' => 'Europe (Stockholm)', ], 'eu-south-1' => [ 'description' => 'Europe (Milan)', ], 'eu-south-2' => [ 'description' => 'Europe (Spain)', ], 'eu-west-1' => [ 'description' => 'Europe (Ireland)', ], 'eu-west-2' => [ 'description' => 'Europe (London)', ], 'eu-west-3' => [ 'description' => 'Europe (Paris)', ], 'il-central-1' => [ 'description' => 'Israel (Tel Aviv)', ], 'me-central-1' => [ 'description' => 'Middle East (UAE)', ], 'me-south-1' => [ 'description' => 'Middle East (Bahrain)', ], 'sa-east-1' => [ 'description' => 'South America (Sao Paulo)', ], 'us-east-1' => [ 'description' => 'US East (N. Virginia)', ], 'us-east-2' => [ 'description' => 'US East (Ohio)', ], 'us-west-1' => [ 'description' => 'US West (N. California)', ], 'us-west-2' => [ 'description' => 'US West (Oregon)', ], ], ], [ 'id' => 'aws-cn', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com.cn', 'dualStackDnsSuffix' => 'api.amazonwebservices.com.cn', 'implicitGlobalRegion' => 'cn-northwest-1', 'name' => 'aws-cn', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^cn\\-\\w+\\-\\d+$', 'regions' => [ 'aws-cn-global' => [ 'description' => 'AWS China global region', ], 'cn-north-1' => [ 'description' => 'China (Beijing)', ], 'cn-northwest-1' => [ 'description' => 'China (Ningxia)', ], ], ], [ 'id' => 'aws-us-gov', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com', 'dualStackDnsSuffix' => 'api.aws', 'implicitGlobalRegion' => 'us-gov-west-1', 'name' => 'aws-us-gov', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-gov\\-\\w+\\-\\d+$', 'regions' => [ 'aws-us-gov-global' => [ 'description' => 'AWS GovCloud (US) global region', ], 'us-gov-east-1' => [ 'description' => 'AWS GovCloud (US-East)', ], 'us-gov-west-1' => [ 'description' => 'AWS GovCloud (US-West)', ], ], ], [ 'id' => 'aws-iso', 'outputs' => [ 'dnsSuffix' => 'c2s.ic.gov', 'dualStackDnsSuffix' => 'c2s.ic.gov', 'implicitGlobalRegion' => 'us-iso-east-1', 'name' => 'aws-iso', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-iso\\-\\w+\\-\\d+$', 'regions' => [ 'aws-iso-global' => [ 'description' => 'AWS ISO (US) global region', ], 'us-iso-east-1' => [ 'description' => 'US ISO East', ], 'us-iso-west-1' => [ 'description' => 'US ISO WEST', ], ], ], [ 'id' => 'aws-iso-b', 'outputs' => [ 'dnsSuffix' => 'sc2s.sgov.gov', 'dualStackDnsSuffix' => 'sc2s.sgov.gov', 'implicitGlobalRegion' => 'us-isob-east-1', 'name' => 'aws-iso-b', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-isob\\-\\w+\\-\\d+$', 'regions' => [ 'aws-iso-b-global' => [ 'description' => 'AWS ISOB (US) global region', ], 'us-isob-east-1' => [ 'description' => 'US ISOB East (Ohio)', ], ], ], [ 'id' => 'aws-iso-e', 'outputs' => [ 'dnsSuffix' => 'cloud.adc-e.uk', 'dualStackDnsSuffix' => 'cloud.adc-e.uk', 'implicitGlobalRegion' => 'eu-isoe-west-1', 'name' => 'aws-iso-e', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^eu\\-isoe\\-\\w+\\-\\d+$', 'regions' => [ 'eu-isoe-west-1' => [ 'description' => 'EU ISOE West', ], ], ], [ 'id' => 'aws-iso-f', 'outputs' => [ 'dnsSuffix' => 'csp.hci.ic.gov', 'dualStackDnsSuffix' => 'csp.hci.ic.gov', 'implicitGlobalRegion' => 'us-isof-south-1', 'name' => 'aws-iso-f', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-isof\\-\\w+\\-\\d+$', 'regions' => [], ], ], 'version' => '1.1',]; return [ 'partitions' => [ [ 'id' => 'aws', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com', 'dualStackDnsSuffix' => 'api.aws', 'implicitGlobalRegion' => 'us-east-1', 'name' => 'aws', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$', 'regions' => [ 'af-south-1' => [ 'description' => 'Africa (Cape Town)', ], 'ap-east-1' => [ 'description' => 'Asia Pacific (Hong Kong)', ], 'ap-northeast-1' => [ 'description' => 'Asia Pacific (Tokyo)', ], 'ap-northeast-2' => [ 'description' => 'Asia Pacific (Seoul)', ], 'ap-northeast-3' => [ 'description' => 'Asia Pacific (Osaka)', ], 'ap-south-1' => [ 'description' => 'Asia Pacific (Mumbai)', ], 'ap-south-2' => [ 'description' => 'Asia Pacific (Hyderabad)', ], 'ap-southeast-1' => [ 'description' => 'Asia Pacific (Singapore)', ], 'ap-southeast-2' => [ 'description' => 'Asia Pacific (Sydney)', ], 'ap-southeast-3' => [ 'description' => 'Asia Pacific (Jakarta)', ], 'ap-southeast-4' => [ 'description' => 'Asia Pacific (Melbourne)', ], 'ap-southeast-5' => [ 'description' => 'Asia Pacific (Malaysia)', ], 'aws-global' => [ 'description' => 'AWS Standard global region', ], 'ca-central-1' => [ 'description' => 'Canada (Central)', ], 'ca-west-1' => [ 'description' => 'Canada West (Calgary)', ], 'eu-central-1' => [ 'description' => 'Europe (Frankfurt)', ], 'eu-central-2' => [ 'description' => 'Europe (Zurich)', ], 'eu-north-1' => [ 'description' => 'Europe (Stockholm)', ], 'eu-south-1' => [ 'description' => 'Europe (Milan)', ], 'eu-south-2' => [ 'description' => 'Europe (Spain)', ], 'eu-west-1' => [ 'description' => 'Europe (Ireland)', ], 'eu-west-2' => [ 'description' => 'Europe (London)', ], 'eu-west-3' => [ 'description' => 'Europe (Paris)', ], 'il-central-1' => [ 'description' => 'Israel (Tel Aviv)', ], 'me-central-1' => [ 'description' => 'Middle East (UAE)', ], 'me-south-1' => [ 'description' => 'Middle East (Bahrain)', ], 'sa-east-1' => [ 'description' => 'South America (Sao Paulo)', ], 'us-east-1' => [ 'description' => 'US East (N. Virginia)', ], 'us-east-2' => [ 'description' => 'US East (Ohio)', ], 'us-west-1' => [ 'description' => 'US West (N. California)', ], 'us-west-2' => [ 'description' => 'US West (Oregon)', ], ], ], [ 'id' => 'aws-cn', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com.cn', 'dualStackDnsSuffix' => 'api.amazonwebservices.com.cn', 'implicitGlobalRegion' => 'cn-northwest-1', 'name' => 'aws-cn', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^cn\\-\\w+\\-\\d+$', 'regions' => [ 'aws-cn-global' => [ 'description' => 'AWS China global region', ], 'cn-north-1' => [ 'description' => 'China (Beijing)', ], 'cn-northwest-1' => [ 'description' => 'China (Ningxia)', ], ], ], [ 'id' => 'aws-us-gov', 'outputs' => [ 'dnsSuffix' => 'amazonaws.com', 'dualStackDnsSuffix' => 'api.aws', 'implicitGlobalRegion' => 'us-gov-west-1', 'name' => 'aws-us-gov', 'supportsDualStack' => true, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-gov\\-\\w+\\-\\d+$', 'regions' => [ 'aws-us-gov-global' => [ 'description' => 'AWS GovCloud (US) global region', ], 'us-gov-east-1' => [ 'description' => 'AWS GovCloud (US-East)', ], 'us-gov-west-1' => [ 'description' => 'AWS GovCloud (US-West)', ], ], ], [ 'id' => 'aws-iso', 'outputs' => [ 'dnsSuffix' => 'c2s.ic.gov', 'dualStackDnsSuffix' => 'c2s.ic.gov', 'implicitGlobalRegion' => 'us-iso-east-1', 'name' => 'aws-iso', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-iso\\-\\w+\\-\\d+$', 'regions' => [ 'aws-iso-global' => [ 'description' => 'AWS ISO (US) global region', ], 'us-iso-east-1' => [ 'description' => 'US ISO East', ], 'us-iso-west-1' => [ 'description' => 'US ISO WEST', ], ], ], [ 'id' => 'aws-iso-b', 'outputs' => [ 'dnsSuffix' => 'sc2s.sgov.gov', 'dualStackDnsSuffix' => 'sc2s.sgov.gov', 'implicitGlobalRegion' => 'us-isob-east-1', 'name' => 'aws-iso-b', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-isob\\-\\w+\\-\\d+$', 'regions' => [ 'aws-iso-b-global' => [ 'description' => 'AWS ISOB (US) global region', ], 'us-isob-east-1' => [ 'description' => 'US ISOB East (Ohio)', ], ], ], [ 'id' => 'aws-iso-e', 'outputs' => [ 'dnsSuffix' => 'cloud.adc-e.uk', 'dualStackDnsSuffix' => 'cloud.adc-e.uk', 'implicitGlobalRegion' => 'eu-isoe-west-1', 'name' => 'aws-iso-e', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^eu\\-isoe\\-\\w+\\-\\d+$', 'regions' => [ 'eu-isoe-west-1' => [ 'description' => 'EU ISOE West', ], ], ], [ 'id' => 'aws-iso-f', 'outputs' => [ 'dnsSuffix' => 'csp.hci.ic.gov', 'dualStackDnsSuffix' => 'csp.hci.ic.gov', 'implicitGlobalRegion' => 'us-isof-south-1', 'name' => 'aws-iso-f', 'supportsDualStack' => false, 'supportsFIPS' => true, ], 'regionRegex' => '^us\\-isof\\-\\w+\\-\\d+$', 'regions' => [], ], ], 'version' => '1.1',];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -288,17 +288,17 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.320.3", "version": "3.320.7",
"version_normalized": "3.320.3.0", "version_normalized": "3.320.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "afe137e61b0b536c93a71ce3bb3cdac2e92ae789" "reference": "702b9955160d2dacdf2cdf4d4476fcf95eae1aaf"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/afe137e61b0b536c93a71ce3bb3cdac2e92ae789", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/702b9955160d2dacdf2cdf4d4476fcf95eae1aaf",
"reference": "afe137e61b0b536c93a71ce3bb3cdac2e92ae789", "reference": "702b9955160d2dacdf2cdf4d4476fcf95eae1aaf",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -339,7 +339,7 @@
"ext-openssl": "Allows working with CloudFront private distributions and verifying received SNS messages", "ext-openssl": "Allows working with CloudFront private distributions and verifying received SNS messages",
"ext-sockets": "To use client-side monitoring" "ext-sockets": "To use client-side monitoring"
}, },
"time": "2024-08-19T18:05:46+00:00", "time": "2024-08-23T18:13:50+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
@ -383,7 +383,7 @@
"support": { "support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.320.3" "source": "https://github.com/aws/aws-sdk-php/tree/3.320.7"
}, },
"install-path": "../aws/aws-sdk-php" "install-path": "../aws/aws-sdk-php"
}, },
@ -1528,17 +1528,17 @@
}, },
{ {
"name": "google/apiclient-services", "name": "google/apiclient-services",
"version": "v0.369.0", "version": "v0.370.0",
"version_normalized": "0.369.0.0", "version_normalized": "0.370.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/googleapis/google-api-php-client-services.git", "url": "https://github.com/googleapis/google-api-php-client-services.git",
"reference": "002f610e4c3acf0636b4fb1f46314a2097e1c8b4" "reference": "25ad8515701dd832313d0f5f0a828670d60e541a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/002f610e4c3acf0636b4fb1f46314a2097e1c8b4", "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/25ad8515701dd832313d0f5f0a828670d60e541a",
"reference": "002f610e4c3acf0636b4fb1f46314a2097e1c8b4", "reference": "25ad8515701dd832313d0f5f0a828670d60e541a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1547,7 +1547,7 @@
"require-dev": { "require-dev": {
"phpunit/phpunit": "^9.6" "phpunit/phpunit": "^9.6"
}, },
"time": "2024-08-14T20:31:16+00:00", "time": "2024-08-26T01:04:18+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {
@ -1569,7 +1569,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/googleapis/google-api-php-client-services/issues", "issues": "https://github.com/googleapis/google-api-php-client-services/issues",
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.369.0" "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.370.0"
}, },
"install-path": "../google/apiclient-services" "install-path": "../google/apiclient-services"
}, },

View file

@ -5,7 +5,7 @@
'type' => 'project', 'type' => 'project',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
'reference' => '91ac7ba0187c463139a1b2d19483ab2d8b74eab2', 'reference' => '7b1f1b00fa0275f3cd36d4cd1ff649fb279e2b91',
'name' => 'wwbn/avideo', 'name' => 'wwbn/avideo',
'dev' => true, 'dev' => true,
), ),
@ -47,12 +47,12 @@
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'aws/aws-sdk-php' => array( 'aws/aws-sdk-php' => array(
'pretty_version' => '3.320.3', 'pretty_version' => '3.320.7',
'version' => '3.320.3.0', 'version' => '3.320.7.0',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../aws/aws-sdk-php', 'install_path' => __DIR__ . '/../aws/aws-sdk-php',
'aliases' => array(), 'aliases' => array(),
'reference' => 'afe137e61b0b536c93a71ce3bb3cdac2e92ae789', 'reference' => '702b9955160d2dacdf2cdf4d4476fcf95eae1aaf',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'beberlei/assert' => array( 'beberlei/assert' => array(
@ -218,12 +218,12 @@
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'google/apiclient-services' => array( 'google/apiclient-services' => array(
'pretty_version' => 'v0.369.0', 'pretty_version' => 'v0.370.0',
'version' => '0.369.0.0', 'version' => '0.370.0.0',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../google/apiclient-services', 'install_path' => __DIR__ . '/../google/apiclient-services',
'aliases' => array(), 'aliases' => array(),
'reference' => '002f610e4c3acf0636b4fb1f46314a2097e1c8b4', 'reference' => '25ad8515701dd832313d0f5f0a828670d60e541a',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'google/auth' => array( 'google/auth' => array(
@ -932,7 +932,7 @@
'type' => 'project', 'type' => 'project',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
'reference' => '91ac7ba0187c463139a1b2d19483ab2d8b74eab2', 'reference' => '7b1f1b00fa0275f3cd36d4cd1ff649fb279e2b91',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
), ),

View file

@ -268,6 +268,16 @@ class AIPlatformNotebooks extends \Google\Service
'required' => true, 'required' => true,
], ],
], ],
],'restore' => [
'path' => 'v2/{+name}:restore',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'rollback' => [ ],'rollback' => [
'path' => 'v2/{+name}:rollback', 'path' => 'v2/{+name}:rollback',
'httpMethod' => 'POST', 'httpMethod' => 'POST',

View file

@ -27,6 +27,7 @@ use Google\Service\AIPlatformNotebooks\Policy;
use Google\Service\AIPlatformNotebooks\ReportInstanceInfoSystemRequest; use Google\Service\AIPlatformNotebooks\ReportInstanceInfoSystemRequest;
use Google\Service\AIPlatformNotebooks\ResetInstanceRequest; use Google\Service\AIPlatformNotebooks\ResetInstanceRequest;
use Google\Service\AIPlatformNotebooks\ResizeDiskRequest; use Google\Service\AIPlatformNotebooks\ResizeDiskRequest;
use Google\Service\AIPlatformNotebooks\RestoreInstanceRequest;
use Google\Service\AIPlatformNotebooks\RollbackInstanceRequest; use Google\Service\AIPlatformNotebooks\RollbackInstanceRequest;
use Google\Service\AIPlatformNotebooks\SetIamPolicyRequest; use Google\Service\AIPlatformNotebooks\SetIamPolicyRequest;
use Google\Service\AIPlatformNotebooks\StartInstanceRequest; use Google\Service\AIPlatformNotebooks\StartInstanceRequest;
@ -274,6 +275,22 @@ class ProjectsLocationsInstances extends \Google\Service\Resource
$params = array_merge($params, $optParams); $params = array_merge($params, $optParams);
return $this->call('resizeDisk', [$params], Operation::class); return $this->call('resizeDisk', [$params], Operation::class);
} }
/**
* RestoreInstance restores an Instance from a BackupSource. (instances.restore)
*
* @param string $name Required. Format:
* `projects/{project_id}/locations/{location}/instances/{instance_id}`
* @param RestoreInstanceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function restore($name, RestoreInstanceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('restore', [$params], Operation::class);
}
/** /**
* Rollbacks a notebook instance to the previous version. (instances.rollback) * Rollbacks a notebook instance to the previous version. (instances.rollback)
* *

View file

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

View file

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

View file

@ -31,6 +31,8 @@ class ApprovalRequest extends \Google\Model
* @var string * @var string
*/ */
public $requestTime; public $requestTime;
protected $requestedAugmentedInfoType = AugmentedInfo::class;
protected $requestedAugmentedInfoDataType = '';
/** /**
* @var string * @var string
*/ */
@ -106,6 +108,20 @@ class ApprovalRequest extends \Google\Model
{ {
return $this->requestTime; return $this->requestTime;
} }
/**
* @param AugmentedInfo
*/
public function setRequestedAugmentedInfo(AugmentedInfo $requestedAugmentedInfo)
{
$this->requestedAugmentedInfo = $requestedAugmentedInfo;
}
/**
* @return AugmentedInfo
*/
public function getRequestedAugmentedInfo()
{
return $this->requestedAugmentedInfo;
}
/** /**
* @param string * @param string
*/ */

View file

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

View file

@ -23,6 +23,10 @@ class TelephonyInfo extends \Google\Model
* @var string * @var string
*/ */
public $carrierName; public $carrierName;
/**
* @var string
*/
public $iccId;
/** /**
* @var string * @var string
*/ */
@ -42,6 +46,20 @@ class TelephonyInfo extends \Google\Model
{ {
return $this->carrierName; return $this->carrierName;
} }
/**
* @param string
*/
public function setIccId($iccId)
{
$this->iccId = $iccId;
}
/**
* @return string
*/
public function getIccId()
{
return $this->iccId;
}
/** /**
* @param string * @param string
*/ */

View file

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

View file

@ -27,6 +27,8 @@ class ExternalTransaction extends \Google\Model
protected $currentPreTaxAmountDataType = ''; protected $currentPreTaxAmountDataType = '';
protected $currentTaxAmountType = Price::class; protected $currentTaxAmountType = Price::class;
protected $currentTaxAmountDataType = ''; protected $currentTaxAmountDataType = '';
protected $externalOfferInitialAcquisitionDetailsType = ExternalOfferInitialAcquisitionDetails::class;
protected $externalOfferInitialAcquisitionDetailsDataType = '';
/** /**
* @var string * @var string
*/ */
@ -102,6 +104,20 @@ class ExternalTransaction extends \Google\Model
{ {
return $this->currentTaxAmount; return $this->currentTaxAmount;
} }
/**
* @param ExternalOfferInitialAcquisitionDetails
*/
public function setExternalOfferInitialAcquisitionDetails(ExternalOfferInitialAcquisitionDetails $externalOfferInitialAcquisitionDetails)
{
$this->externalOfferInitialAcquisitionDetails = $externalOfferInitialAcquisitionDetails;
}
/**
* @return ExternalOfferInitialAcquisitionDetails
*/
public function getExternalOfferInitialAcquisitionDetails()
{
return $this->externalOfferInitialAcquisitionDetails;
}
/** /**
* @param string * @param string
*/ */

View file

@ -57,9 +57,8 @@ class EditsBundles extends \Google\Service\Resource
* @param string $editId Identifier of the edit. * @param string $editId Identifier of the edit.
* @param array $optParams Optional parameters. * @param array $optParams Optional parameters.
* *
* @opt_param bool ackBundleInstallationWarning Must be set to true if the app * @opt_param bool ackBundleInstallationWarning Deprecated. The installation
* bundle installation may trigger a warning on user devices (for example, if * warning has been removed, it's not necessary to set this field anymore.
* installation size may be over a threshold, typically 100 MB).
* @opt_param string deviceTierConfigId Device tier config (DTC) to be used for * @opt_param string deviceTierConfigId Device tier config (DTC) to be used for
* generating deliverables (APKs). Contains id of the DTC or "LATEST" for last * generating deliverables (APKs). Contains id of the DTC or "LATEST" for last
* uploaded DTC. * uploaded DTC.

View file

@ -19,9 +19,25 @@ namespace Google\Service\AndroidPublisher;
class RevocationContext extends \Google\Model class RevocationContext extends \Google\Model
{ {
protected $fullRefundType = RevocationContextFullRefund::class;
protected $fullRefundDataType = '';
protected $proratedRefundType = RevocationContextProratedRefund::class; protected $proratedRefundType = RevocationContextProratedRefund::class;
protected $proratedRefundDataType = ''; protected $proratedRefundDataType = '';
/**
* @param RevocationContextFullRefund
*/
public function setFullRefund(RevocationContextFullRefund $fullRefund)
{
$this->fullRefund = $fullRefund;
}
/**
* @return RevocationContextFullRefund
*/
public function getFullRefund()
{
return $this->fullRefund;
}
/** /**
* @param RevocationContextProratedRefund * @param RevocationContextProratedRefund
*/ */

View file

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

View file

@ -85,11 +85,33 @@ class ProjectsLocationsRepositoriesFiles extends \Google\Service\Resource
* *
* @opt_param string filter An expression for filtering the results of the * @opt_param string filter An expression for filtering the results of the
* request. Filter rules are case insensitive. The fields eligible for filtering * request. Filter rules are case insensitive. The fields eligible for filtering
* are: * `name` * `owner` An example of using a filter: * * are: * `name` * `owner` * `annotations` Examples of using a filter: To filter
* `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b"` --> * the results of your request to files with the name "my_file.txt" in project
* Files with an ID starting with "a/b/". * `owner="projects/p1/locations/us- * my-project in the us-central region, in repository my-repo, append the
* central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by * following filter expression to your request: * `name="projects/my-
* the version `1.0` in package `pkg1`. * project/locations/us-central1/repositories/my-repo/files/my-file.txt"` You
* can also use wildcards to match any number of characters before or after the
* value: * `name="projects/my-project/locations/us-central1/repositories/my-
* repo/files/my-*"` * `name="projects/my-project/locations/us-
* central1/repositories/my-repo/filesfile.txt"` * `name="projects/my-
* project/locations/us-central1/repositories/my-repo/filesfile*"` To filter the
* results of your request to files owned by the version `1.0` in package
* `pkg1`, append the following filter expression to your request: *
* `owner="projects/my-project/locations/us-central1/repositories/my-
* repo/packages/my-package/versions/1.0"` To filter the results of your request
* to files with the annotation key-value pair
* [`external_link`:`external_link_value`], append the following filter
* expression to your request: * "annotations.external_link:external_link_value"
* To filter just for a specific annotation key `external_link`, append the
* following filter expression to your request: * "annotations.external_link" If
* the annotation key or value contains special characters, you can escape them
* by surrounding the value with backticks. For example, to filter the results
* of your request to files with the annotation key-value pair
* [`external.link`:`https://example.com/my-file`], append the following filter
* expression to your request: *
* "annotations.`external.link`:`https://example.com/my-file`" You can also
* filter with annotations with a wildcard to match any number of characters
* before or after the value: * "annotations.*_link:`*example.com*`"
* @opt_param string orderBy The field to order the results by. * @opt_param string orderBy The field to order the results by.
* @opt_param int pageSize The maximum number of files to return. Maximum page * @opt_param int pageSize The maximum number of files to return. Maximum page
* size is 1,000. * size is 1,000.

View file

@ -87,10 +87,22 @@ class ProjectsLocationsRepositoriesPackagesTags extends \Google\Service\Resource
* *
* @opt_param string filter An expression for filtering the results of the * @opt_param string filter An expression for filtering the results of the
* request. Filter rules are case insensitive. The fields eligible for filtering * request. Filter rules are case insensitive. The fields eligible for filtering
* are: * `version` An example of using a filter: * * are: * `name` * `version` Examples of using a filter: To filter the results
* `version="projects/p1/locations/us- * of your request to tags with the name "my-tag" in package "my-package" in
* central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Tags that are * repository "my-repo" in project "my-project" in the us-central region, append
* applied to the version `1.0` in package `pkg1`. * the following filter expression to your request: * `name="projects/my-
* project/locations/us-central1/repositories/my-repo/packages/my-
* package/tags/my-tag"` You can also use wildcards to match any number of
* characters before or after the value: * `name="projects/my-
* project/locations/us-central1/repositories/my-repo/packages/my-
* package/tags/my*"` * `name="projects/my-project/locations/us-
* central1/repositories/my-repo/packages/my-package/tagstag"` *
* `name="projects/my-project/locations/us-central1/repositories/my-
* repo/packages/my-package/tagstag*"` To filter the results of your request to
* tags applied to the version `1.0` in package `my-package`, append the
* following filter expression to your request: * `version="projects/my-
* project/locations/us-central1/repositories/my-repo/packages/my-
* package/versions/1.0"`
* @opt_param int pageSize The maximum number of tags to return. Maximum page * @opt_param int pageSize The maximum number of tags to return. Maximum page
* size is 1,000. * size is 1,000.
* @opt_param string pageToken The next_page_token value returned from a * @opt_param string pageToken The next_page_token value returned from a

View file

@ -72,6 +72,10 @@ class GoogleCloudAssuredworkloadsV1Workload extends \Google\Collection
public $partner; public $partner;
protected $partnerPermissionsType = GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions::class; protected $partnerPermissionsType = GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions::class;
protected $partnerPermissionsDataType = ''; protected $partnerPermissionsDataType = '';
/**
* @var string
*/
public $partnerServicesBillingAccount;
/** /**
* @var string * @var string
*/ */
@ -301,6 +305,20 @@ class GoogleCloudAssuredworkloadsV1Workload extends \Google\Collection
{ {
return $this->partnerPermissions; return $this->partnerPermissions;
} }
/**
* @param string
*/
public function setPartnerServicesBillingAccount($partnerServicesBillingAccount)
{
$this->partnerServicesBillingAccount = $partnerServicesBillingAccount;
}
/**
* @return string
*/
public function getPartnerServicesBillingAccount()
{
return $this->partnerServicesBillingAccount;
}
/** /**
* @param string * @param string
*/ */

View file

@ -23,14 +23,6 @@ class BackupRule extends \Google\Model
* @var int * @var int
*/ */
public $backupRetentionDays; public $backupRetentionDays;
/**
* @var string
*/
public $backupVault;
/**
* @var string
*/
public $backupVaultServiceAccount;
/** /**
* @var string * @var string
*/ */
@ -52,34 +44,6 @@ class BackupRule extends \Google\Model
{ {
return $this->backupRetentionDays; return $this->backupRetentionDays;
} }
/**
* @param string
*/
public function setBackupVault($backupVault)
{
$this->backupVault = $backupVault;
}
/**
* @return string
*/
public function getBackupVault()
{
return $this->backupVault;
}
/**
* @param string
*/
public function setBackupVaultServiceAccount($backupVaultServiceAccount)
{
$this->backupVaultServiceAccount = $backupVaultServiceAccount;
}
/**
* @return string
*/
public function getBackupVaultServiceAccount()
{
return $this->backupVaultServiceAccount;
}
/** /**
* @param string * @param string
*/ */

View file

@ -47,10 +47,6 @@ class BackupVault extends \Google\Model
* @var string * @var string
*/ */
public $effectiveTime; public $effectiveTime;
/**
* @var string
*/
public $enforcedRetentionDuration;
/** /**
* @var string * @var string
*/ */
@ -182,20 +178,6 @@ class BackupVault extends \Google\Model
{ {
return $this->effectiveTime; return $this->effectiveTime;
} }
/**
* @param string
*/
public function setEnforcedRetentionDuration($enforcedRetentionDuration)
{
$this->enforcedRetentionDuration = $enforcedRetentionDuration;
}
/**
* @return string
*/
public function getEnforcedRetentionDuration()
{
return $this->enforcedRetentionDuration;
}
/** /**
* @param string * @param string
*/ */

View file

@ -19,10 +19,6 @@ namespace Google\Service\Backupdr;
class RuleConfigInfo extends \Google\Model class RuleConfigInfo extends \Google\Model
{ {
/**
* @var string
*/
public $dataSource;
protected $lastBackupErrorType = Status::class; protected $lastBackupErrorType = Status::class;
protected $lastBackupErrorDataType = ''; protected $lastBackupErrorDataType = '';
/** /**
@ -38,20 +34,6 @@ class RuleConfigInfo extends \Google\Model
*/ */
public $ruleId; public $ruleId;
/**
* @param string
*/
public function setDataSource($dataSource)
{
$this->dataSource = $dataSource;
}
/**
* @return string
*/
public function getDataSource()
{
return $this->dataSource;
}
/** /**
* @param Status * @param Status
*/ */

View file

@ -19,6 +19,10 @@ namespace Google\Service\Batch;
class InstancePolicyOrTemplate extends \Google\Model class InstancePolicyOrTemplate extends \Google\Model
{ {
/**
* @var bool
*/
public $blockProjectSshKeys;
/** /**
* @var bool * @var bool
*/ */
@ -34,6 +38,20 @@ class InstancePolicyOrTemplate extends \Google\Model
protected $policyType = InstancePolicy::class; protected $policyType = InstancePolicy::class;
protected $policyDataType = ''; protected $policyDataType = '';
/**
* @param bool
*/
public function setBlockProjectSshKeys($blockProjectSshKeys)
{
$this->blockProjectSshKeys = $blockProjectSshKeys;
}
/**
* @return bool
*/
public function getBlockProjectSshKeys()
{
return $this->blockProjectSshKeys;
}
/** /**
* @param bool * @param bool
*/ */

View file

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

View file

@ -26,6 +26,8 @@ class TableFieldSchema extends \Google\Collection
* @var string * @var string
*/ */
public $collation; public $collation;
protected $dataPoliciesType = DataPolicyOption::class;
protected $dataPoliciesDataType = 'array';
/** /**
* @var string * @var string
*/ */
@ -40,8 +42,6 @@ class TableFieldSchema extends \Google\Collection
* @var string * @var string
*/ */
public $foreignTypeDefinition; public $foreignTypeDefinition;
protected $identityColumnInfoType = IdentityColumnInfo::class;
protected $identityColumnInfoDataType = '';
/** /**
* @var string * @var string
*/ */
@ -103,6 +103,20 @@ class TableFieldSchema extends \Google\Collection
{ {
return $this->collation; return $this->collation;
} }
/**
* @param DataPolicyOption[]
*/
public function setDataPolicies($dataPolicies)
{
$this->dataPolicies = $dataPolicies;
}
/**
* @return DataPolicyOption[]
*/
public function getDataPolicies()
{
return $this->dataPolicies;
}
/** /**
* @param string * @param string
*/ */
@ -159,20 +173,6 @@ class TableFieldSchema extends \Google\Collection
{ {
return $this->foreignTypeDefinition; return $this->foreignTypeDefinition;
} }
/**
* @param IdentityColumnInfo
*/
public function setIdentityColumnInfo(IdentityColumnInfo $identityColumnInfo)
{
$this->identityColumnInfo = $identityColumnInfo;
}
/**
* @return IdentityColumnInfo
*/
public function getIdentityColumnInfo()
{
return $this->identityColumnInfo;
}
/** /**
* @param string * @param string
*/ */

View file

@ -19,6 +19,10 @@ namespace Google\Service\BigtableAdmin;
class Backup extends \Google\Model class Backup extends \Google\Model
{ {
/**
* @var string
*/
public $backupType;
protected $encryptionInfoType = EncryptionInfo::class; protected $encryptionInfoType = EncryptionInfo::class;
protected $encryptionInfoDataType = ''; protected $encryptionInfoDataType = '';
/** /**
@ -29,6 +33,10 @@ class Backup extends \Google\Model
* @var string * @var string
*/ */
public $expireTime; public $expireTime;
/**
* @var string
*/
public $hotToStandardTime;
/** /**
* @var string * @var string
*/ */
@ -54,6 +62,20 @@ class Backup extends \Google\Model
*/ */
public $state; public $state;
/**
* @param string
*/
public function setBackupType($backupType)
{
$this->backupType = $backupType;
}
/**
* @return string
*/
public function getBackupType()
{
return $this->backupType;
}
/** /**
* @param EncryptionInfo * @param EncryptionInfo
*/ */
@ -96,6 +118,20 @@ class Backup extends \Google\Model
{ {
return $this->expireTime; return $this->expireTime;
} }
/**
* @param string
*/
public function setHotToStandardTime($hotToStandardTime)
{
$this->hotToStandardTime = $hotToStandardTime;
}
/**
* @return string
*/
public function getHotToStandardTime()
{
return $this->hotToStandardTime;
}
/** /**
* @param string * @param string
*/ */

View file

@ -38,6 +38,10 @@ class CertificateDescription extends \Google\Collection
protected $subjectDescriptionDataType = ''; protected $subjectDescriptionDataType = '';
protected $subjectKeyIdType = KeyId::class; protected $subjectKeyIdType = KeyId::class;
protected $subjectKeyIdDataType = ''; protected $subjectKeyIdDataType = '';
/**
* @var string
*/
public $tbsCertificateDigest;
protected $x509DescriptionType = X509Parameters::class; protected $x509DescriptionType = X509Parameters::class;
protected $x509DescriptionDataType = ''; protected $x509DescriptionDataType = '';
@ -139,6 +143,20 @@ class CertificateDescription extends \Google\Collection
{ {
return $this->subjectKeyId; return $this->subjectKeyId;
} }
/**
* @param string
*/
public function setTbsCertificateDigest($tbsCertificateDigest)
{
$this->tbsCertificateDigest = $tbsCertificateDigest;
}
/**
* @return string
*/
public function getTbsCertificateDigest()
{
return $this->tbsCertificateDigest;
}
/** /**
* @param X509Parameters * @param X509Parameters
*/ */

View file

@ -40,7 +40,7 @@ class CustomersTelemetryUsers extends \Google\Service\Resource
* Supported read_mask paths are: - name - org_unit_id - user_id - user_email - * Supported read_mask paths are: - name - org_unit_id - user_id - user_email -
* user_device.device_id - user_device.audio_status_report - * user_device.device_id - user_device.audio_status_report -
* user_device.device_activity_report - user_device.network_bandwidth_report - * user_device.device_activity_report - user_device.network_bandwidth_report -
* user_device.peripherals_report * user_device.peripherals_report - user_device.app_report
* @return GoogleChromeManagementV1TelemetryUser * @return GoogleChromeManagementV1TelemetryUser
* @throws \Google\Service\Exception * @throws \Google\Service\Exception
*/ */
@ -66,7 +66,7 @@ class CustomersTelemetryUsers extends \Google\Service\Resource
* Supported read_mask paths are: - name - org_unit_id - user_id - user_email - * Supported read_mask paths are: - name - org_unit_id - user_id - user_email -
* user_device.device_id - user_device.audio_status_report - * user_device.device_id - user_device.audio_status_report -
* user_device.device_activity_report - user_device.network_bandwidth_report - * user_device.device_activity_report - user_device.network_bandwidth_report -
* user_device.peripherals_report * user_device.peripherals_report - user_device.app_report
* @return GoogleChromeManagementV1ListTelemetryUsersResponse * @return GoogleChromeManagementV1ListTelemetryUsersResponse
* @throws \Google\Service\Exception * @throws \Google\Service\Exception
*/ */

View file

@ -0,0 +1,131 @@
<?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\CloudAlloyDBAdmin;
class ClusterUpgradeDetails extends \Google\Collection
{
protected $collection_key = 'stageInfo';
/**
* @var string
*/
public $clusterType;
/**
* @var string
*/
public $databaseVersion;
protected $instanceUpgradeDetailsType = InstanceUpgradeDetails::class;
protected $instanceUpgradeDetailsDataType = 'array';
/**
* @var string
*/
public $name;
protected $stageInfoType = StageInfo::class;
protected $stageInfoDataType = 'array';
/**
* @var string
*/
public $upgradeStatus;
/**
* @param string
*/
public function setClusterType($clusterType)
{
$this->clusterType = $clusterType;
}
/**
* @return string
*/
public function getClusterType()
{
return $this->clusterType;
}
/**
* @param string
*/
public function setDatabaseVersion($databaseVersion)
{
$this->databaseVersion = $databaseVersion;
}
/**
* @return string
*/
public function getDatabaseVersion()
{
return $this->databaseVersion;
}
/**
* @param InstanceUpgradeDetails[]
*/
public function setInstanceUpgradeDetails($instanceUpgradeDetails)
{
$this->instanceUpgradeDetails = $instanceUpgradeDetails;
}
/**
* @return InstanceUpgradeDetails[]
*/
public function getInstanceUpgradeDetails()
{
return $this->instanceUpgradeDetails;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param StageInfo[]
*/
public function setStageInfo($stageInfo)
{
$this->stageInfo = $stageInfo;
}
/**
* @return StageInfo[]
*/
public function getStageInfo()
{
return $this->stageInfo;
}
/**
* @param string
*/
public function setUpgradeStatus($upgradeStatus)
{
$this->upgradeStatus = $upgradeStatus;
}
/**
* @return string
*/
public function getUpgradeStatus()
{
return $this->upgradeStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterUpgradeDetails::class, 'Google_Service_CloudAlloyDBAdmin_ClusterUpgradeDetails');

View file

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

View file

@ -17,8 +17,13 @@
namespace Google\Service\CloudAlloyDBAdmin; namespace Google\Service\CloudAlloyDBAdmin;
class RestartInstanceRequest extends \Google\Model class RestartInstanceRequest extends \Google\Collection
{ {
protected $collection_key = 'nodeIds';
/**
* @var string[]
*/
public $nodeIds;
/** /**
* @var string * @var string
*/ */
@ -28,6 +33,20 @@ class RestartInstanceRequest extends \Google\Model
*/ */
public $validateOnly; public $validateOnly;
/**
* @param string[]
*/
public function setNodeIds($nodeIds)
{
$this->nodeIds = $nodeIds;
}
/**
* @return string[]
*/
public function getNodeIds()
{
return $this->nodeIds;
}
/** /**
* @param string * @param string
*/ */

View file

@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudAlloyDBAdmin;
class StageInfo extends \Google\Model
{
/**
* @var string
*/
public $logsUrl;
/**
* @var string
*/
public $stage;
/**
* @var string
*/
public $status;
/**
* @param string
*/
public function setLogsUrl($logsUrl)
{
$this->logsUrl = $logsUrl;
}
/**
* @return string
*/
public function getLogsUrl()
{
return $this->logsUrl;
}
/**
* @param string
*/
public function setStage($stage)
{
$this->stage = $stage;
}
/**
* @return string
*/
public function getStage()
{
return $this->stage;
}
/**
* @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(StageInfo::class, 'Google_Service_CloudAlloyDBAdmin_StageInfo');

View file

@ -19,23 +19,23 @@ namespace Google\Service\CloudAlloyDBAdmin;
class StorageDatabasecenterPartnerapiV1mainCustomMetadataData extends \Google\Collection class StorageDatabasecenterPartnerapiV1mainCustomMetadataData extends \Google\Collection
{ {
protected $collection_key = 'databaseMetadata'; protected $collection_key = 'internalResourceMetadata';
protected $databaseMetadataType = StorageDatabasecenterPartnerapiV1mainDatabaseMetadata::class; protected $internalResourceMetadataType = StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata::class;
protected $databaseMetadataDataType = 'array'; protected $internalResourceMetadataDataType = 'array';
/** /**
* @param StorageDatabasecenterPartnerapiV1mainDatabaseMetadata[] * @param StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata[]
*/ */
public function setDatabaseMetadata($databaseMetadata) public function setInternalResourceMetadata($internalResourceMetadata)
{ {
$this->databaseMetadata = $databaseMetadata; $this->internalResourceMetadata = $internalResourceMetadata;
} }
/** /**
* @return StorageDatabasecenterPartnerapiV1mainDatabaseMetadata[] * @return StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata[]
*/ */
public function getDatabaseMetadata() public function getInternalResourceMetadata()
{ {
return $this->databaseMetadata; return $this->internalResourceMetadata;
} }
} }

View file

@ -62,6 +62,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData exte
* @var string * @var string
*/ */
public $signalId; public $signalId;
/**
* @var string
*/
public $signalSeverity;
/** /**
* @var string * @var string
*/ */
@ -225,6 +229,20 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData exte
{ {
return $this->signalId; return $this->signalId;
} }
/**
* @param string
*/
public function setSignalSeverity($signalSeverity)
{
$this->signalSeverity = $signalSeverity;
}
/**
* @return string
*/
public function getSignalSeverity()
{
return $this->signalSeverity;
}
/** /**
* @param string * @param string
*/ */

View file

@ -0,0 +1,108 @@
<?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\CloudAlloyDBAdmin;
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata extends \Google\Model
{
protected $backupConfigurationType = StorageDatabasecenterPartnerapiV1mainBackupConfiguration::class;
protected $backupConfigurationDataType = '';
protected $backupRunType = StorageDatabasecenterPartnerapiV1mainBackupRun::class;
protected $backupRunDataType = '';
protected $productType = StorageDatabasecenterProtoCommonProduct::class;
protected $productDataType = '';
protected $resourceIdType = StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::class;
protected $resourceIdDataType = '';
/**
* @var string
*/
public $resourceName;
/**
* @param StorageDatabasecenterPartnerapiV1mainBackupConfiguration
*/
public function setBackupConfiguration(StorageDatabasecenterPartnerapiV1mainBackupConfiguration $backupConfiguration)
{
$this->backupConfiguration = $backupConfiguration;
}
/**
* @return StorageDatabasecenterPartnerapiV1mainBackupConfiguration
*/
public function getBackupConfiguration()
{
return $this->backupConfiguration;
}
/**
* @param StorageDatabasecenterPartnerapiV1mainBackupRun
*/
public function setBackupRun(StorageDatabasecenterPartnerapiV1mainBackupRun $backupRun)
{
$this->backupRun = $backupRun;
}
/**
* @return StorageDatabasecenterPartnerapiV1mainBackupRun
*/
public function getBackupRun()
{
return $this->backupRun;
}
/**
* @param StorageDatabasecenterProtoCommonProduct
*/
public function setProduct(StorageDatabasecenterProtoCommonProduct $product)
{
$this->product = $product;
}
/**
* @return StorageDatabasecenterProtoCommonProduct
*/
public function getProduct()
{
return $this->product;
}
/**
* @param StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
*/
public function setResourceId(StorageDatabasecenterPartnerapiV1mainDatabaseResourceId $resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* @param string
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata::class, 'Google_Service_CloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata');

View file

@ -23,6 +23,10 @@ class TrialMetadata extends \Google\Model
* @var string * @var string
*/ */
public $endTime; public $endTime;
/**
* @var string
*/
public $graceEndTime;
/** /**
* @var string * @var string
*/ */
@ -46,6 +50,20 @@ class TrialMetadata extends \Google\Model
{ {
return $this->endTime; return $this->endTime;
} }
/**
* @param string
*/
public function setGraceEndTime($graceEndTime)
{
$this->graceEndTime = $graceEndTime;
}
/**
* @return string
*/
public function getGraceEndTime()
{
return $this->graceEndTime;
}
/** /**
* @param string * @param string
*/ */

View file

@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudAlloyDBAdmin;
class UpgradeClusterResponse extends \Google\Collection
{
protected $collection_key = 'clusterUpgradeDetails';
protected $clusterUpgradeDetailsType = ClusterUpgradeDetails::class;
protected $clusterUpgradeDetailsDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $status;
/**
* @param ClusterUpgradeDetails[]
*/
public function setClusterUpgradeDetails($clusterUpgradeDetails)
{
$this->clusterUpgradeDetails = $clusterUpgradeDetails;
}
/**
* @return ClusterUpgradeDetails[]
*/
public function getClusterUpgradeDetails()
{
return $this->clusterUpgradeDetails;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @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(UpgradeClusterResponse::class, 'Google_Service_CloudAlloyDBAdmin_UpgradeClusterResponse');

View file

@ -201,7 +201,27 @@ class CloudAsset extends \Google\Service
'operations', 'operations',
[ [
'methods' => [ 'methods' => [
'get' => [ 'cancel' => [
'path' => 'v1/{+name}:cancel',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'delete' => [
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'get' => [
'path' => 'v1/{+name}', 'path' => 'v1/{+name}',
'httpMethod' => 'GET', 'httpMethod' => 'GET',
'parameters' => [ 'parameters' => [

View file

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

View file

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

View file

@ -17,6 +17,8 @@
namespace Google\Service\CloudAsset\Resource; namespace Google\Service\CloudAsset\Resource;
use Google\Service\CloudAsset\CancelOperationRequest;
use Google\Service\CloudAsset\CloudassetEmpty;
use Google\Service\CloudAsset\Operation; use Google\Service\CloudAsset\Operation;
/** /**
@ -29,6 +31,46 @@ use Google\Service\CloudAsset\Operation;
*/ */
class Operations extends \Google\Service\Resource class Operations extends \Google\Service\Resource
{ {
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return CloudassetEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], CloudassetEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return CloudassetEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], CloudassetEmpty::class);
}
/** /**
* Gets the latest state of a long-running operation. Clients can use this * Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API * method to poll the operation result at intervals as recommended by the API

View file

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

View file

@ -44,6 +44,8 @@ class ResourceSearchResult extends \Google\Collection
public $displayName; public $displayName;
protected $effectiveTagsType = EffectiveTagDetails::class; protected $effectiveTagsType = EffectiveTagDetails::class;
protected $effectiveTagsDataType = 'array'; protected $effectiveTagsDataType = 'array';
protected $enrichmentsType = AssetEnrichment::class;
protected $enrichmentsDataType = 'array';
/** /**
* @var string[] * @var string[]
*/ */
@ -217,6 +219,20 @@ class ResourceSearchResult extends \Google\Collection
{ {
return $this->effectiveTags; return $this->effectiveTags;
} }
/**
* @param AssetEnrichment[]
*/
public function setEnrichments($enrichments)
{
$this->enrichments = $enrichments;
}
/**
* @return AssetEnrichment[]
*/
public function getEnrichments()
{
return $this->enrichments;
}
/** /**
* @param string[] * @param string[]
*/ */

View file

@ -39,6 +39,7 @@ class CloudDataplex extends \Google\Service
"https://www.googleapis.com/auth/cloud-platform"; "https://www.googleapis.com/auth/cloud-platform";
public $organizations_locations_encryptionConfigs; public $organizations_locations_encryptionConfigs;
public $organizations_locations_operations;
public $projects_locations; public $projects_locations;
public $projects_locations_aspectTypes; public $projects_locations_aspectTypes;
public $projects_locations_dataAttributeBindings; public $projects_locations_dataAttributeBindings;
@ -48,8 +49,11 @@ class CloudDataplex extends \Google\Service
public $projects_locations_dataTaxonomies_attributes; public $projects_locations_dataTaxonomies_attributes;
public $projects_locations_entryGroups; public $projects_locations_entryGroups;
public $projects_locations_entryGroups_entries; public $projects_locations_entryGroups_entries;
public $projects_locations_entryLinkTypes;
public $projects_locations_entryTypes; public $projects_locations_entryTypes;
public $projects_locations_glossaries; public $projects_locations_glossaries;
public $projects_locations_glossaries_categories;
public $projects_locations_glossaries_terms;
public $projects_locations_governanceRules; public $projects_locations_governanceRules;
public $projects_locations_lakes; public $projects_locations_lakes;
public $projects_locations_lakes_actions; public $projects_locations_lakes_actions;
@ -130,6 +134,68 @@ class CloudDataplex extends \Google\Service
] ]
] ]
); );
$this->organizations_locations_operations = new CloudDataplex\Resource\OrganizationsLocationsOperations(
$this,
$this->serviceName,
'operations',
[
'methods' => [
'cancel' => [
'path' => 'v1/{+name}:cancel',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'delete' => [
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'get' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'listOperations' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'filter' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
$this->projects_locations = new CloudDataplex\Resource\ProjectsLocations( $this->projects_locations = new CloudDataplex\Resource\ProjectsLocations(
$this, $this,
$this->serviceName, $this->serviceName,
@ -1193,6 +1259,50 @@ class CloudDataplex extends \Google\Service
] ]
] ]
); );
$this->projects_locations_entryLinkTypes = new CloudDataplex\Resource\ProjectsLocationsEntryLinkTypes(
$this,
$this->serviceName,
'entryLinkTypes',
[
'methods' => [
'getIamPolicy' => [
'path' => 'v1/{+resource}:getIamPolicy',
'httpMethod' => 'GET',
'parameters' => [
'resource' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'options.requestedPolicyVersion' => [
'location' => 'query',
'type' => 'integer',
],
],
],'setIamPolicy' => [
'path' => 'v1/{+resource}:setIamPolicy',
'httpMethod' => 'POST',
'parameters' => [
'resource' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'testIamPermissions' => [
'path' => 'v1/{+resource}:testIamPermissions',
'httpMethod' => 'POST',
'parameters' => [
'resource' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],
]
]
);
$this->projects_locations_entryTypes = new CloudDataplex\Resource\ProjectsLocationsEntryTypes( $this->projects_locations_entryTypes = new CloudDataplex\Resource\ProjectsLocationsEntryTypes(
$this, $this,
$this->serviceName, $this->serviceName,
@ -1367,6 +1477,94 @@ class CloudDataplex extends \Google\Service
] ]
] ]
); );
$this->projects_locations_glossaries_categories = new CloudDataplex\Resource\ProjectsLocationsGlossariesCategories(
$this,
$this->serviceName,
'categories',
[
'methods' => [
'getIamPolicy' => [
'path' => 'v1/{+resource}:getIamPolicy',
'httpMethod' => 'GET',
'parameters' => [
'resource' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'options.requestedPolicyVersion' => [
'location' => 'query',
'type' => 'integer',
],
],
],'setIamPolicy' => [
'path' => 'v1/{+resource}:setIamPolicy',
'httpMethod' => 'POST',
'parameters' => [
'resource' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'testIamPermissions' => [
'path' => 'v1/{+resource}:testIamPermissions',
'httpMethod' => 'POST',
'parameters' => [
'resource' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],
]
]
);
$this->projects_locations_glossaries_terms = new CloudDataplex\Resource\ProjectsLocationsGlossariesTerms(
$this,
$this->serviceName,
'terms',
[
'methods' => [
'getIamPolicy' => [
'path' => 'v1/{+resource}:getIamPolicy',
'httpMethod' => 'GET',
'parameters' => [
'resource' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'options.requestedPolicyVersion' => [
'location' => 'query',
'type' => 'integer',
],
],
],'setIamPolicy' => [
'path' => 'v1/{+resource}:setIamPolicy',
'httpMethod' => 'POST',
'parameters' => [
'resource' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'testIamPermissions' => [
'path' => 'v1/{+resource}:testIamPermissions',
'httpMethod' => 'POST',
'parameters' => [
'resource' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],
]
]
);
$this->projects_locations_governanceRules = new CloudDataplex\Resource\ProjectsLocationsGovernanceRules( $this->projects_locations_governanceRules = new CloudDataplex\Resource\ProjectsLocationsGovernanceRules(
$this, $this,
$this->serviceName, $this->serviceName,

View file

@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudDataplex;
class CloudReliabilityZicyWs3DataplaneProtosAssetLocation extends \Google\Collection
{
protected $collection_key = 'parentAsset';
/**
* @var string
*/
public $ccfeRmsPath;
protected $expectedType = CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations::class;
protected $expectedDataType = '';
protected $extraParametersType = CloudReliabilityZicyWs3DataplaneProtosExtraParameter::class;
protected $extraParametersDataType = 'array';
protected $locationDataType = CloudReliabilityZicyWs3DataplaneProtosLocationData::class;
protected $locationDataDataType = 'array';
protected $parentAssetType = CloudReliabilityZicyWs3DataplaneProtosCloudAsset::class;
protected $parentAssetDataType = 'array';
/**
* @param string
*/
public function setCcfeRmsPath($ccfeRmsPath)
{
$this->ccfeRmsPath = $ccfeRmsPath;
}
/**
* @return string
*/
public function getCcfeRmsPath()
{
return $this->ccfeRmsPath;
}
/**
* @param CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations
*/
public function setExpected(CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations $expected)
{
$this->expected = $expected;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations
*/
public function getExpected()
{
return $this->expected;
}
/**
* @param CloudReliabilityZicyWs3DataplaneProtosExtraParameter[]
*/
public function setExtraParameters($extraParameters)
{
$this->extraParameters = $extraParameters;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosExtraParameter[]
*/
public function getExtraParameters()
{
return $this->extraParameters;
}
/**
* @param CloudReliabilityZicyWs3DataplaneProtosLocationData[]
*/
public function setLocationData($locationData)
{
$this->locationData = $locationData;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosLocationData[]
*/
public function getLocationData()
{
return $this->locationData;
}
/**
* @param CloudReliabilityZicyWs3DataplaneProtosCloudAsset[]
*/
public function setParentAsset($parentAsset)
{
$this->parentAsset = $parentAsset;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosCloudAsset[]
*/
public function getParentAsset()
{
return $this->parentAsset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudReliabilityZicyWs3DataplaneProtosAssetLocation::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocation');

View file

@ -0,0 +1,168 @@
<?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\CloudDataplex;
class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations extends \Google\Model
{
protected $requirementOverrideType = CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride::class;
protected $requirementOverrideDataType = '';
/**
* @var string
*/
public $ziOrgPolicy;
/**
* @var string
*/
public $ziRegionPolicy;
/**
* @var string
*/
public $ziRegionState;
/**
* @var string
*/
public $zoneIsolation;
/**
* @var string
*/
public $zoneSeparation;
/**
* @var string
*/
public $zsOrgPolicy;
/**
* @var string
*/
public $zsRegionState;
/**
* @param CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride
*/
public function setRequirementOverride(CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride $requirementOverride)
{
$this->requirementOverride = $requirementOverride;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride
*/
public function getRequirementOverride()
{
return $this->requirementOverride;
}
/**
* @param string
*/
public function setZiOrgPolicy($ziOrgPolicy)
{
$this->ziOrgPolicy = $ziOrgPolicy;
}
/**
* @return string
*/
public function getZiOrgPolicy()
{
return $this->ziOrgPolicy;
}
/**
* @param string
*/
public function setZiRegionPolicy($ziRegionPolicy)
{
$this->ziRegionPolicy = $ziRegionPolicy;
}
/**
* @return string
*/
public function getZiRegionPolicy()
{
return $this->ziRegionPolicy;
}
/**
* @param string
*/
public function setZiRegionState($ziRegionState)
{
$this->ziRegionState = $ziRegionState;
}
/**
* @return string
*/
public function getZiRegionState()
{
return $this->ziRegionState;
}
/**
* @param string
*/
public function setZoneIsolation($zoneIsolation)
{
$this->zoneIsolation = $zoneIsolation;
}
/**
* @return string
*/
public function getZoneIsolation()
{
return $this->zoneIsolation;
}
/**
* @param string
*/
public function setZoneSeparation($zoneSeparation)
{
$this->zoneSeparation = $zoneSeparation;
}
/**
* @return string
*/
public function getZoneSeparation()
{
return $this->zoneSeparation;
}
/**
* @param string
*/
public function setZsOrgPolicy($zsOrgPolicy)
{
$this->zsOrgPolicy = $zsOrgPolicy;
}
/**
* @return string
*/
public function getZsOrgPolicy()
{
return $this->zsOrgPolicy;
}
/**
* @param string
*/
public function setZsRegionState($zsRegionState)
{
$this->zsRegionState = $zsRegionState;
}
/**
* @return string
*/
public function getZsRegionState()
{
return $this->zsRegionState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations');

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,122 @@
<?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\CloudDataplex;
class CloudReliabilityZicyWs3DataplaneProtosLocationData extends \Google\Model
{
protected $blobstoreLocationType = CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation::class;
protected $blobstoreLocationDataType = '';
protected $childAssetLocationType = CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition::class;
protected $childAssetLocationDataType = '';
protected $directLocationType = CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment::class;
protected $directLocationDataType = '';
protected $gcpProjectProxyType = CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy::class;
protected $gcpProjectProxyDataType = '';
protected $placerLocationType = CloudReliabilityZicyWs3DataplaneProtosPlacerLocation::class;
protected $placerLocationDataType = '';
protected $spannerLocationType = CloudReliabilityZicyWs3DataplaneProtosSpannerLocation::class;
protected $spannerLocationDataType = '';
/**
* @param CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation
*/
public function setBlobstoreLocation(CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation $blobstoreLocation)
{
$this->blobstoreLocation = $blobstoreLocation;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation
*/
public function getBlobstoreLocation()
{
return $this->blobstoreLocation;
}
/**
* @param CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition
*/
public function setChildAssetLocation(CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition $childAssetLocation)
{
$this->childAssetLocation = $childAssetLocation;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition
*/
public function getChildAssetLocation()
{
return $this->childAssetLocation;
}
/**
* @param CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment
*/
public function setDirectLocation(CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment $directLocation)
{
$this->directLocation = $directLocation;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment
*/
public function getDirectLocation()
{
return $this->directLocation;
}
/**
* @param CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy
*/
public function setGcpProjectProxy(CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy $gcpProjectProxy)
{
$this->gcpProjectProxy = $gcpProjectProxy;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy
*/
public function getGcpProjectProxy()
{
return $this->gcpProjectProxy;
}
/**
* @param CloudReliabilityZicyWs3DataplaneProtosPlacerLocation
*/
public function setPlacerLocation(CloudReliabilityZicyWs3DataplaneProtosPlacerLocation $placerLocation)
{
$this->placerLocation = $placerLocation;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosPlacerLocation
*/
public function getPlacerLocation()
{
return $this->placerLocation;
}
/**
* @param CloudReliabilityZicyWs3DataplaneProtosSpannerLocation
*/
public function setSpannerLocation(CloudReliabilityZicyWs3DataplaneProtosSpannerLocation $spannerLocation)
{
$this->spannerLocation = $spannerLocation;
}
/**
* @return CloudReliabilityZicyWs3DataplaneProtosSpannerLocation
*/
public function getSpannerLocation()
{
return $this->spannerLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudReliabilityZicyWs3DataplaneProtosLocationData::class, 'Google_Service_CloudDataplex_CloudReliabilityZicyWs3DataplaneProtosLocationData');

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,111 @@
<?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\CloudDataplex\Resource;
use Google\Service\CloudDataplex\GoogleIamV1Policy;
use Google\Service\CloudDataplex\GoogleIamV1SetIamPolicyRequest;
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsRequest;
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsResponse;
/**
* The "entryLinkTypes" collection of methods.
* Typical usage is:
* <code>
* $dataplexService = new Google\Service\CloudDataplex(...);
* $entryLinkTypes = $dataplexService->projects_locations_entryLinkTypes;
* </code>
*/
class ProjectsLocationsEntryLinkTypes extends \Google\Service\Resource
{
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (entryLinkTypes.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See Resource names
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
* value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy.Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected.Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset.The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1.To learn which resources support conditions in their
* IAM policies, see the IAM documentation
* (https://cloud.google.com/iam/help/conditions/resource-policies).
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
* errors. (entryLinkTypes.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See Resource names
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
* value for this field.
* @param GoogleIamV1SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, GoogleIamV1SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* NOT_FOUND error.Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (entryLinkTypes.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See Resource names
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
* value for this field.
* @param GoogleIamV1TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, GoogleIamV1TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], GoogleIamV1TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsEntryLinkTypes::class, 'Google_Service_CloudDataplex_Resource_ProjectsLocationsEntryLinkTypes');

View file

@ -0,0 +1,111 @@
<?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\CloudDataplex\Resource;
use Google\Service\CloudDataplex\GoogleIamV1Policy;
use Google\Service\CloudDataplex\GoogleIamV1SetIamPolicyRequest;
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsRequest;
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsResponse;
/**
* The "categories" collection of methods.
* Typical usage is:
* <code>
* $dataplexService = new Google\Service\CloudDataplex(...);
* $categories = $dataplexService->projects_locations_glossaries_categories;
* </code>
*/
class ProjectsLocationsGlossariesCategories extends \Google\Service\Resource
{
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (categories.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See Resource names
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
* value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy.Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected.Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset.The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1.To learn which resources support conditions in their
* IAM policies, see the IAM documentation
* (https://cloud.google.com/iam/help/conditions/resource-policies).
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
* errors. (categories.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See Resource names
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
* value for this field.
* @param GoogleIamV1SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, GoogleIamV1SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* NOT_FOUND error.Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (categories.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See Resource names
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
* value for this field.
* @param GoogleIamV1TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, GoogleIamV1TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], GoogleIamV1TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsGlossariesCategories::class, 'Google_Service_CloudDataplex_Resource_ProjectsLocationsGlossariesCategories');

View file

@ -0,0 +1,110 @@
<?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\CloudDataplex\Resource;
use Google\Service\CloudDataplex\GoogleIamV1Policy;
use Google\Service\CloudDataplex\GoogleIamV1SetIamPolicyRequest;
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsRequest;
use Google\Service\CloudDataplex\GoogleIamV1TestIamPermissionsResponse;
/**
* The "terms" collection of methods.
* Typical usage is:
* <code>
* $dataplexService = new Google\Service\CloudDataplex(...);
* $terms = $dataplexService->projects_locations_glossaries_terms;
* </code>
*/
class ProjectsLocationsGlossariesTerms extends \Google\Service\Resource
{
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (terms.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See Resource names
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
* value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy.Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected.Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset.The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1.To learn which resources support conditions in their
* IAM policies, see the IAM documentation
* (https://cloud.google.com/iam/help/conditions/resource-policies).
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
* errors. (terms.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See Resource names
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
* value for this field.
* @param GoogleIamV1SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, GoogleIamV1SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* NOT_FOUND error.Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning. (terms.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See Resource names
* (https://cloud.google.com/apis/design/resource_names) for the appropriate
* value for this field.
* @param GoogleIamV1TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, GoogleIamV1TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], GoogleIamV1TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsGlossariesTerms::class, 'Google_Service_CloudDataplex_Resource_ProjectsLocationsGlossariesTerms');

View file

@ -28,6 +28,8 @@ class Cluster extends \Google\Collection
* @var string * @var string
*/ */
public $createTime; public $createTime;
protected $crossClusterReplicationConfigType = CrossClusterReplicationConfig::class;
protected $crossClusterReplicationConfigDataType = '';
/** /**
* @var bool * @var bool
*/ */
@ -110,6 +112,20 @@ class Cluster extends \Google\Collection
{ {
return $this->createTime; return $this->createTime;
} }
/**
* @param CrossClusterReplicationConfig
*/
public function setCrossClusterReplicationConfig(CrossClusterReplicationConfig $crossClusterReplicationConfig)
{
$this->crossClusterReplicationConfig = $crossClusterReplicationConfig;
}
/**
* @return CrossClusterReplicationConfig
*/
public function getCrossClusterReplicationConfig()
{
return $this->crossClusterReplicationConfig;
}
/** /**
* @param bool * @param bool
*/ */

View file

@ -0,0 +1,111 @@
<?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\CloudRedis;
class CrossClusterReplicationConfig extends \Google\Collection
{
protected $collection_key = 'secondaryClusters';
/**
* @var string
*/
public $clusterRole;
protected $membershipType = Membership::class;
protected $membershipDataType = '';
protected $primaryClusterType = RemoteCluster::class;
protected $primaryClusterDataType = '';
protected $secondaryClustersType = RemoteCluster::class;
protected $secondaryClustersDataType = 'array';
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setClusterRole($clusterRole)
{
$this->clusterRole = $clusterRole;
}
/**
* @return string
*/
public function getClusterRole()
{
return $this->clusterRole;
}
/**
* @param Membership
*/
public function setMembership(Membership $membership)
{
$this->membership = $membership;
}
/**
* @return Membership
*/
public function getMembership()
{
return $this->membership;
}
/**
* @param RemoteCluster
*/
public function setPrimaryCluster(RemoteCluster $primaryCluster)
{
$this->primaryCluster = $primaryCluster;
}
/**
* @return RemoteCluster
*/
public function getPrimaryCluster()
{
return $this->primaryCluster;
}
/**
* @param RemoteCluster[]
*/
public function setSecondaryClusters($secondaryClusters)
{
$this->secondaryClusters = $secondaryClusters;
}
/**
* @return RemoteCluster[]
*/
public function getSecondaryClusters()
{
return $this->secondaryClusters;
}
/**
* @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(CrossClusterReplicationConfig::class, 'Google_Service_CloudRedis_CrossClusterReplicationConfig');

View file

@ -19,23 +19,23 @@ namespace Google\Service\CloudRedis;
class CustomMetadataData extends \Google\Collection class CustomMetadataData extends \Google\Collection
{ {
protected $collection_key = 'databaseMetadata'; protected $collection_key = 'internalResourceMetadata';
protected $databaseMetadataType = DatabaseMetadata::class; protected $internalResourceMetadataType = InternalResourceMetadata::class;
protected $databaseMetadataDataType = 'array'; protected $internalResourceMetadataDataType = 'array';
/** /**
* @param DatabaseMetadata[] * @param InternalResourceMetadata[]
*/ */
public function setDatabaseMetadata($databaseMetadata) public function setInternalResourceMetadata($internalResourceMetadata)
{ {
$this->databaseMetadata = $databaseMetadata; $this->internalResourceMetadata = $internalResourceMetadata;
} }
/** /**
* @return DatabaseMetadata[] * @return InternalResourceMetadata[]
*/ */
public function getDatabaseMetadata() public function getInternalResourceMetadata()
{ {
return $this->databaseMetadata; return $this->internalResourceMetadata;
} }
} }

View file

@ -62,6 +62,10 @@ class DatabaseResourceHealthSignalData extends \Google\Collection
* @var string * @var string
*/ */
public $signalId; public $signalId;
/**
* @var string
*/
public $signalSeverity;
/** /**
* @var string * @var string
*/ */
@ -225,6 +229,20 @@ class DatabaseResourceHealthSignalData extends \Google\Collection
{ {
return $this->signalId; return $this->signalId;
} }
/**
* @param string
*/
public function setSignalSeverity($signalSeverity)
{
$this->signalSeverity = $signalSeverity;
}
/**
* @return string
*/
public function getSignalSeverity()
{
return $this->signalSeverity;
}
/** /**
* @param string * @param string
*/ */

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