From cf1e4c7df5027ecf8f931cf11d0d56690f697ac5 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 5 Mar 2025 16:50:40 -0800 Subject: [PATCH] Regenerate integrations client --- src/Integrations.php | 34 --------------- ...oogleCloudIntegrationsV1alphaExecution.php | 18 ++++++++ ...dIntegrationsV1alphaIntegrationVersion.php | 18 ++++++++ ...LocationsIntegrationsVersionsTestCases.php | 42 ------------------- 4 files changed, 36 insertions(+), 76 deletions(-) diff --git a/src/Integrations.php b/src/Integrations.php index 9ee051e181..2c1034397f 100644 --- a/src/Integrations.php +++ b/src/Integrations.php @@ -1141,40 +1141,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'type' => 'string', ], ], - ],'listExecutions' => [ - 'path' => 'v1/{+parent}:executions', - 'httpMethod' => 'GET', - 'parameters' => [ - 'parent' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'filter' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'orderBy' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'pageSize' => [ - 'location' => 'query', - 'type' => 'integer', - ], - 'pageToken' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'readMask' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'truncateParams' => [ - 'location' => 'query', - 'type' => 'boolean', - ], - ], ],'patch' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', diff --git a/src/Integrations/GoogleCloudIntegrationsV1alphaExecution.php b/src/Integrations/GoogleCloudIntegrationsV1alphaExecution.php index bb213da13f..c3829becf0 100644 --- a/src/Integrations/GoogleCloudIntegrationsV1alphaExecution.php +++ b/src/Integrations/GoogleCloudIntegrationsV1alphaExecution.php @@ -20,6 +20,10 @@ class GoogleCloudIntegrationsV1alphaExecution extends \Google\Collection { protected $collection_key = 'responseParams'; + /** + * @var string + */ + public $cloudKmsKey; protected $cloudLoggingDetailsType = GoogleCloudIntegrationsV1alphaCloudLoggingDetails::class; protected $cloudLoggingDetailsDataType = ''; /** @@ -67,6 +71,20 @@ class GoogleCloudIntegrationsV1alphaExecution extends \Google\Collection */ public $updateTime; + /** + * @param string + */ + public function setCloudKmsKey($cloudKmsKey) + { + $this->cloudKmsKey = $cloudKmsKey; + } + /** + * @return string + */ + public function getCloudKmsKey() + { + return $this->cloudKmsKey; + } /** * @param GoogleCloudIntegrationsV1alphaCloudLoggingDetails */ diff --git a/src/Integrations/GoogleCloudIntegrationsV1alphaIntegrationVersion.php b/src/Integrations/GoogleCloudIntegrationsV1alphaIntegrationVersion.php index 3e09bfe512..6e51091d08 100644 --- a/src/Integrations/GoogleCloudIntegrationsV1alphaIntegrationVersion.php +++ b/src/Integrations/GoogleCloudIntegrationsV1alphaIntegrationVersion.php @@ -20,6 +20,10 @@ class GoogleCloudIntegrationsV1alphaIntegrationVersion extends \Google\Collection { protected $collection_key = 'triggerConfigsInternal'; + /** + * @var string + */ + public $cloudKmsKey; protected $cloudLoggingDetailsType = GoogleCloudIntegrationsV1alphaCloudLoggingDetails::class; protected $cloudLoggingDetailsDataType = ''; /** @@ -105,6 +109,20 @@ class GoogleCloudIntegrationsV1alphaIntegrationVersion extends \Google\Collectio */ public $userLabel; + /** + * @param string + */ + public function setCloudKmsKey($cloudKmsKey) + { + $this->cloudKmsKey = $cloudKmsKey; + } + /** + * @return string + */ + public function getCloudKmsKey() + { + return $this->cloudKmsKey; + } /** * @param GoogleCloudIntegrationsV1alphaCloudLoggingDetails */ diff --git a/src/Integrations/Resource/ProjectsLocationsIntegrationsVersionsTestCases.php b/src/Integrations/Resource/ProjectsLocationsIntegrationsVersionsTestCases.php index bff5d83347..fd0e9201a8 100644 --- a/src/Integrations/Resource/ProjectsLocationsIntegrationsVersionsTestCases.php +++ b/src/Integrations/Resource/ProjectsLocationsIntegrationsVersionsTestCases.php @@ -22,7 +22,6 @@ use Google\Service\Integrations\GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse; use Google\Service\Integrations\GoogleCloudIntegrationsV1alphaExecuteTestCasesRequest; use Google\Service\Integrations\GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse; -use Google\Service\Integrations\GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse; use Google\Service\Integrations\GoogleCloudIntegrationsV1alphaListTestCasesResponse; use Google\Service\Integrations\GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest; use Google\Service\Integrations\GoogleCloudIntegrationsV1alphaTestCase; @@ -170,47 +169,6 @@ public function listProjectsLocationsIntegrationsVersionsTestCases($parent, $opt $params = array_merge($params, $optParams); return $this->call('list', [$params], GoogleCloudIntegrationsV1alphaListTestCasesResponse::class); } - /** - * Lists the results of all functional test executions. The response includes - * the same information as the [execution - * log](https://cloud.google.com/application-integration/docs/viewing-logs) in - * the Integration UI. (testCases.listExecutions) - * - * @param string $parent Required. The parent resource name of the test case - * execution. - * @param array $optParams Optional parameters. - * - * @opt_param string filter Optional. Standard filter field, we support - * filtering on following fields: test_case_id: the ID of the test case. - * CreateTimestamp: the execution created time. event_execution_state: the state - * of the executions. execution_id: the id of the execution. trigger_id: the id - * of the trigger. parameter_type: the type of the parameters involved in the - * execution. All fields support for EQUALS, in additional: CreateTimestamp - * support for LESS_THAN, GREATER_THAN ParameterType support for HAS For - * example: "parameter_type" HAS \"string\" Also supports operators like AND, - * OR, NOT For example, trigger_id=\"id1\" AND test_case_id=\"testCaseId\" - * @opt_param string orderBy Optional. The results would be returned in order - * you specified here. Currently supporting "last_modified_time" and - * "create_time". - * @opt_param int pageSize Optional. The size of entries in the response. - * @opt_param string pageToken Optional. The token returned in the previous - * response. - * @opt_param string readMask Optional. View mask for the response data. If set, - * only the field specified will be returned as part of the result. If not set, - * all fields in event execution info will be filled and returned. - * @opt_param bool truncateParams Optional. If true, the service will truncate - * the params to only keep the first 1000 characters of string params and empty - * the executions in order to make response smaller. Only works for UI and when - * the params fields are not filtered out. - * @return GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse - * @throws \Google\Service\Exception - */ - public function listExecutions($parent, $optParams = []) - { - $params = ['parent' => $parent]; - $params = array_merge($params, $optParams); - return $this->call('listExecutions', [$params], GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse::class); - } /** * Updates a test case (testCases.patch) *