From f1bc41830bdff438cfff39310132c7477fb99b17 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 12 Dec 2018 00:22:51 +0000 Subject: [PATCH] Autogenerated update (2018-12-12) Update: - adexchangebuyer2:v2beta1 - dataflow:v1b3 - deploymentmanager:v2 --- src/Google/Service/AdExchangeBuyerII.php | 32 +++++----- .../AccountsCreativesDealAssociations.php | 14 ++--- .../Resource/AccountsFinalizedProposals.php | 10 +-- .../Resource/AccountsProposals.php | 10 +-- src/Google/Service/Dataflow.php | 62 +++++++++---------- .../Dataflow/ApproximateSplitRequest.php | 9 +++ .../Dataflow/Resource/ProjectsJobs.php | 10 +-- .../Resource/ProjectsJobsMessages.php | 20 +++--- .../Resource/ProjectsLocationsJobs.php | 2 +- .../ProjectsLocationsJobsMessages.php | 10 +-- .../Resource/ProjectsLocationsTemplates.php | 4 +- .../Service/Dataflow/RuntimeEnvironment.php | 18 ++++++ .../Service/DeploymentManager/Deployment.php | 9 +++ .../Resource/Deployments.php | 6 +- 14 files changed, 126 insertions(+), 90 deletions(-) diff --git a/src/Google/Service/AdExchangeBuyerII.php b/src/Google/Service/AdExchangeBuyerII.php index 6d4102c20f..a03f4fa03e 100644 --- a/src/Google/Service/AdExchangeBuyerII.php +++ b/src/Google/Service/AdExchangeBuyerII.php @@ -436,10 +436,6 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'query' => array( - 'location' => 'query', - 'type' => 'string', - ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', @@ -448,6 +444,10 @@ public function __construct(Google_Client $client) 'location' => 'query', 'type' => 'integer', ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), ), ),'remove' => array( 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove', @@ -483,21 +483,21 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'filterSyntax' => array( + 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), - 'filter' => array( + 'pageSize' => array( 'location' => 'query', - 'type' => 'string', + 'type' => 'integer', ), - 'pageToken' => array( + 'filterSyntax' => array( 'location' => 'query', 'type' => 'string', ), - 'pageSize' => array( + 'filter' => array( 'location' => 'query', - 'type' => 'integer', + 'type' => 'string', ), ), ), @@ -651,21 +651,21 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'filterSyntax' => array( + 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), - 'filter' => array( + 'pageSize' => array( 'location' => 'query', - 'type' => 'string', + 'type' => 'integer', ), - 'pageToken' => array( + 'filterSyntax' => array( 'location' => 'query', 'type' => 'string', ), - 'pageSize' => array( + 'filter' => array( 'location' => 'query', - 'type' => 'integer', + 'type' => 'string', ), ), ),'pause' => array( diff --git a/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php b/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php index 9f156ad233..1c1b278063 100644 --- a/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php +++ b/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php @@ -50,6 +50,13 @@ public function add($accountId, $creativeId, Google_Service_AdExchangeBuyerII_Ad * Specify "-" to list all creatives under the above account. * @param array $optParams Optional parameters. * + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListDealAssociationsResponse.next_page_token returned from the previous call + * to 'ListDealAssociations' method. + * @opt_param int pageSize Requested page size. Server may return fewer + * associations than requested. If unspecified, server will pick an appropriate + * default. * @opt_param string query An optional query string to filter deal associations. * If no filter is specified, all associations will be returned. Supported * queries are: @@ -60,13 +67,6 @@ public function add($accountId, $creativeId, Google_Service_AdExchangeBuyerII_Ad * conditionally_approved, disapproved, not_checked} * * Example: 'dealsId=12345 AND dealsStatus:disapproved' - * @opt_param string pageToken A token identifying a page of results the server - * should return. Typically, this is the value of - * ListDealAssociationsResponse.next_page_token returned from the previous call - * to 'ListDealAssociations' method. - * @opt_param int pageSize Requested page size. Server may return fewer - * associations than requested. If unspecified, server will pick an appropriate - * default. * @return Google_Service_AdExchangeBuyerII_ListDealAssociationsResponse */ public function listAccountsCreativesDealAssociations($accountId, $creativeId, $optParams = array()) diff --git a/src/Google/Service/AdExchangeBuyerII/Resource/AccountsFinalizedProposals.php b/src/Google/Service/AdExchangeBuyerII/Resource/AccountsFinalizedProposals.php index 6351998c81..d198a6261a 100644 --- a/src/Google/Service/AdExchangeBuyerII/Resource/AccountsFinalizedProposals.php +++ b/src/Google/Service/AdExchangeBuyerII/Resource/AccountsFinalizedProposals.php @@ -34,6 +34,11 @@ class Google_Service_AdExchangeBuyerII_Resource_AccountsFinalizedProposals exten * @param string $accountId Account ID of the buyer. * @param array $optParams Optional parameters. * + * @opt_param string pageToken The page token as returned from + * ListProposalsResponse. + * @opt_param int pageSize Requested page size. The server may return fewer + * results than requested. If unspecified, the server will pick an appropriate + * default. * @opt_param string filterSyntax Syntax the filter is written in. Current * implementation defaults to PQL but in the future it will be LIST_FILTER. * @opt_param string filter An optional PQL filter query used to query for @@ -41,11 +46,6 @@ class Google_Service_AdExchangeBuyerII_Resource_AccountsFinalizedProposals exten * * Nested repeated fields, such as proposal.deals.targetingCriterion, cannot be * filtered. - * @opt_param string pageToken The page token as returned from - * ListProposalsResponse. - * @opt_param int pageSize Requested page size. The server may return fewer - * results than requested. If unspecified, the server will pick an appropriate - * default. * @return Google_Service_AdExchangeBuyerII_ListProposalsResponse */ public function listAccountsFinalizedProposals($accountId, $optParams = array()) diff --git a/src/Google/Service/AdExchangeBuyerII/Resource/AccountsProposals.php b/src/Google/Service/AdExchangeBuyerII/Resource/AccountsProposals.php index 8d89b1dccc..16a8be4330 100644 --- a/src/Google/Service/AdExchangeBuyerII/Resource/AccountsProposals.php +++ b/src/Google/Service/AdExchangeBuyerII/Resource/AccountsProposals.php @@ -139,6 +139,11 @@ public function get($accountId, $proposalId, $optParams = array()) * @param string $accountId Account ID of the buyer. * @param array $optParams Optional parameters. * + * @opt_param string pageToken The page token as returned from + * ListProposalsResponse. + * @opt_param int pageSize Requested page size. The server may return fewer + * results than requested. If unspecified, the server will pick an appropriate + * default. * @opt_param string filterSyntax Syntax the filter is written in. Current * implementation defaults to PQL but in the future it will be LIST_FILTER. * @opt_param string filter An optional PQL filter query used to query for @@ -146,11 +151,6 @@ public function get($accountId, $proposalId, $optParams = array()) * * Nested repeated fields, such as proposal.deals.targetingCriterion, cannot be * filtered. - * @opt_param string pageToken The page token as returned from - * ListProposalsResponse. - * @opt_param int pageSize Requested page size. The server may return fewer - * results than requested. If unspecified, the server will pick an appropriate - * default. * @return Google_Service_AdExchangeBuyerII_ListProposalsResponse */ public function listAccountsProposals($accountId, $optParams = array()) diff --git a/src/Google/Service/Dataflow.php b/src/Google/Service/Dataflow.php index d77eac381e..dc62dde8b5 100644 --- a/src/Google/Service/Dataflow.php +++ b/src/Google/Service/Dataflow.php @@ -161,11 +161,11 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'view' => array( + 'location' => array( 'location' => 'query', 'type' => 'string', ), - 'location' => array( + 'view' => array( 'location' => 'query', 'type' => 'string', ), @@ -184,11 +184,11 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'startTime' => array( + 'location' => array( 'location' => 'query', 'type' => 'string', ), - 'location' => array( + 'startTime' => array( 'location' => 'query', 'type' => 'string', ), @@ -202,23 +202,23 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'pageToken' => array( + 'filter' => array( 'location' => 'query', 'type' => 'string', ), - 'pageSize' => array( + 'location' => array( 'location' => 'query', - 'type' => 'integer', + 'type' => 'string', ), - 'view' => array( + 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), - 'filter' => array( + 'pageSize' => array( 'location' => 'query', - 'type' => 'string', + 'type' => 'integer', ), - 'location' => array( + 'view' => array( 'location' => 'query', 'type' => 'string', ), @@ -321,7 +321,11 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'endTime' => array( + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'minimumImportance' => array( 'location' => 'query', 'type' => 'string', ), @@ -329,7 +333,7 @@ public function __construct(Google_Client $client) 'location' => 'query', 'type' => 'string', ), - 'startTime' => array( + 'endTime' => array( 'location' => 'query', 'type' => 'string', ), @@ -337,11 +341,7 @@ public function __construct(Google_Client $client) 'location' => 'query', 'type' => 'string', ), - 'pageSize' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'minimumImportance' => array( + 'startTime' => array( 'location' => 'query', 'type' => 'string', ), @@ -506,6 +506,10 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', @@ -518,10 +522,6 @@ public function __construct(Google_Client $client) 'location' => 'query', 'type' => 'string', ), - 'filter' => array( - 'location' => 'query', - 'type' => 'string', - ), ), ),'snapshot' => array( 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot', @@ -642,7 +642,7 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'startTime' => array( + 'endTime' => array( 'location' => 'query', 'type' => 'string', ), @@ -650,6 +650,10 @@ public function __construct(Google_Client $client) 'location' => 'query', 'type' => 'string', ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', @@ -658,10 +662,6 @@ public function __construct(Google_Client $client) 'location' => 'query', 'type' => 'string', ), - 'endTime' => array( - 'location' => 'query', - 'type' => 'string', - ), ), ), ) @@ -775,10 +775,6 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'dynamicTemplate.gcsPath' => array( - 'location' => 'query', - 'type' => 'string', - ), 'dynamicTemplate.stagingLocation' => array( 'location' => 'query', 'type' => 'string', @@ -791,6 +787,10 @@ public function __construct(Google_Client $client) 'location' => 'query', 'type' => 'string', ), + 'dynamicTemplate.gcsPath' => array( + 'location' => 'query', + 'type' => 'string', + ), ), ), ) diff --git a/src/Google/Service/Dataflow/ApproximateSplitRequest.php b/src/Google/Service/Dataflow/ApproximateSplitRequest.php index 8d2c3037e3..16d9f6cef0 100644 --- a/src/Google/Service/Dataflow/ApproximateSplitRequest.php +++ b/src/Google/Service/Dataflow/ApproximateSplitRequest.php @@ -18,6 +18,7 @@ class Google_Service_Dataflow_ApproximateSplitRequest extends Google_Model { public $fractionConsumed; + public $fractionOfRemainder; protected $positionType = 'Google_Service_Dataflow_Position'; protected $positionDataType = ''; @@ -29,6 +30,14 @@ public function getFractionConsumed() { return $this->fractionConsumed; } + public function setFractionOfRemainder($fractionOfRemainder) + { + $this->fractionOfRemainder = $fractionOfRemainder; + } + public function getFractionOfRemainder() + { + return $this->fractionOfRemainder; + } /** * @param Google_Service_Dataflow_Position */ diff --git a/src/Google/Service/Dataflow/Resource/ProjectsJobs.php b/src/Google/Service/Dataflow/Resource/ProjectsJobs.php index 44bd9f4ee2..e31c1b630f 100644 --- a/src/Google/Service/Dataflow/Resource/ProjectsJobs.php +++ b/src/Google/Service/Dataflow/Resource/ProjectsJobs.php @@ -76,8 +76,8 @@ public function create($projectId, Google_Service_Dataflow_Job $postBody, $optPa * @param string $jobId The job ID. * @param array $optParams Optional parameters. * - * @opt_param string view The level of information requested in response. * @opt_param string location The location that contains this job. + * @opt_param string view The level of information requested in response. * @return Google_Service_Dataflow_Job */ public function get($projectId, $jobId, $optParams = array()) @@ -93,11 +93,11 @@ public function get($projectId, $jobId, $optParams = array()) * @param string $jobId The job to get messages for. * @param array $optParams Optional parameters. * + * @opt_param string location The location which contains the job specified by + * job_id. * @opt_param string startTime Return only metric data that has changed since * this time. Default is to return all information about all metrics for the * job. - * @opt_param string location The location which contains the job specified by - * job_id. * @return Google_Service_Dataflow_JobMetrics */ public function getMetrics($projectId, $jobId, $optParams = array()) @@ -112,6 +112,8 @@ public function getMetrics($projectId, $jobId, $optParams = array()) * @param string $projectId The project which owns the jobs. * @param array $optParams Optional parameters. * + * @opt_param string filter The kind of filter to use. + * @opt_param string location The location that contains this job. * @opt_param string pageToken Set this to the 'next_page_token' field of a * previous response to request additional results in a long list. * @opt_param int pageSize If there are many jobs, limit response to at most @@ -119,8 +121,6 @@ public function getMetrics($projectId, $jobId, $optParams = array()) * max_responses and an unspecified server-defined limit. * @opt_param string view Level of information requested in response. Default is * `JOB_VIEW_SUMMARY`. - * @opt_param string filter The kind of filter to use. - * @opt_param string location The location that contains this job. * @return Google_Service_Dataflow_ListJobsResponse */ public function listProjectsJobs($projectId, $optParams = array()) diff --git a/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php b/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php index 48a07f9fd3..e08c37ddee 100644 --- a/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php +++ b/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php @@ -32,21 +32,21 @@ class Google_Service_Dataflow_Resource_ProjectsJobsMessages extends Google_Servi * @param string $jobId The job to get messages about. * @param array $optParams Optional parameters. * - * @opt_param string endTime Return only messages with timestamps < end_time. - * The default is now (i.e. return up to the latest messages available). - * @opt_param string location The location which contains the job specified by - * job_id. - * @opt_param string startTime If specified, return only messages with - * timestamps >= start_time. The default is the job creation time (i.e. - * beginning of messages). - * @opt_param string pageToken If supplied, this should be the value of - * next_page_token returned by an earlier call. This will cause the next page of - * results to be returned. * @opt_param int pageSize If specified, determines the maximum number of * messages to return. If unspecified, the service may choose an appropriate * default, or may return an arbitrarily large number of results. * @opt_param string minimumImportance Filter to only get messages with * importance >= level + * @opt_param string location The location which contains the job specified by + * job_id. + * @opt_param string endTime Return only messages with timestamps < end_time. + * The default is now (i.e. return up to the latest messages available). + * @opt_param string pageToken If supplied, this should be the value of + * next_page_token returned by an earlier call. This will cause the next page of + * results to be returned. + * @opt_param string startTime If specified, return only messages with + * timestamps >= start_time. The default is the job creation time (i.e. + * beginning of messages). * @return Google_Service_Dataflow_ListJobMessagesResponse */ public function listProjectsJobsMessages($projectId, $jobId, $optParams = array()) diff --git a/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php b/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php index 1aa74eddf7..d162aaac4c 100644 --- a/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php +++ b/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php @@ -91,6 +91,7 @@ public function getMetrics($projectId, $location, $jobId, $optParams = array()) * @param string $location The location that contains this job. * @param array $optParams Optional parameters. * + * @opt_param string filter The kind of filter to use. * @opt_param string pageToken Set this to the 'next_page_token' field of a * previous response to request additional results in a long list. * @opt_param int pageSize If there are many jobs, limit response to at most @@ -98,7 +99,6 @@ public function getMetrics($projectId, $location, $jobId, $optParams = array()) * max_responses and an unspecified server-defined limit. * @opt_param string view Level of information requested in response. Default is * `JOB_VIEW_SUMMARY`. - * @opt_param string filter The kind of filter to use. * @return Google_Service_Dataflow_ListJobsResponse */ public function listProjectsLocationsJobs($projectId, $location, $optParams = array()) diff --git a/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php b/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php index 64eafb3739..a5d957e19c 100644 --- a/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php +++ b/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php @@ -34,19 +34,19 @@ class Google_Service_Dataflow_Resource_ProjectsLocationsJobsMessages extends Goo * @param string $jobId The job to get messages about. * @param array $optParams Optional parameters. * - * @opt_param string startTime If specified, return only messages with - * timestamps >= start_time. The default is the job creation time (i.e. - * beginning of messages). + * @opt_param string endTime Return only messages with timestamps < end_time. + * The default is now (i.e. return up to the latest messages available). * @opt_param string pageToken If supplied, this should be the value of * next_page_token returned by an earlier call. This will cause the next page of * results to be returned. + * @opt_param string startTime If specified, return only messages with + * timestamps >= start_time. The default is the job creation time (i.e. + * beginning of messages). * @opt_param int pageSize If specified, determines the maximum number of * messages to return. If unspecified, the service may choose an appropriate * default, or may return an arbitrarily large number of results. * @opt_param string minimumImportance Filter to only get messages with * importance >= level - * @opt_param string endTime Return only messages with timestamps < end_time. - * The default is now (i.e. return up to the latest messages available). * @return Google_Service_Dataflow_ListJobMessagesResponse */ public function listProjectsLocationsJobsMessages($projectId, $location, $jobId, $optParams = array()) diff --git a/src/Google/Service/Dataflow/Resource/ProjectsLocationsTemplates.php b/src/Google/Service/Dataflow/Resource/ProjectsLocationsTemplates.php index 693aa69e96..fade61e2c6 100644 --- a/src/Google/Service/Dataflow/Resource/ProjectsLocationsTemplates.php +++ b/src/Google/Service/Dataflow/Resource/ProjectsLocationsTemplates.php @@ -70,8 +70,6 @@ public function get($projectId, $location, $optParams = array()) * @param Google_Service_Dataflow_LaunchTemplateParameters $postBody * @param array $optParams Optional parameters. * - * @opt_param string dynamicTemplate.gcsPath Path to dynamic template spec file - * on GCS. The file must be a Json serialized DynamicTemplateFieSpec object. * @opt_param string dynamicTemplate.stagingLocation Cloud Storage path for * staging dependencies. Must be a valid Cloud Storage URL, beginning with * `gs://`. @@ -79,6 +77,8 @@ public function get($projectId, $location, $optParams = array()) * actually executed. Defaults to false. * @opt_param string gcsPath A Cloud Storage path to the template from which to * create the job. Must be valid Cloud Storage URL, beginning with 'gs://'. + * @opt_param string dynamicTemplate.gcsPath Path to dynamic template spec file + * on GCS. The file must be a Json serialized DynamicTemplateFieSpec object. * @return Google_Service_Dataflow_LaunchTemplateResponse */ public function launch($projectId, $location, Google_Service_Dataflow_LaunchTemplateParameters $postBody, $optParams = array()) diff --git a/src/Google/Service/Dataflow/RuntimeEnvironment.php b/src/Google/Service/Dataflow/RuntimeEnvironment.php index 83c0cca87f..b85b10734c 100644 --- a/src/Google/Service/Dataflow/RuntimeEnvironment.php +++ b/src/Google/Service/Dataflow/RuntimeEnvironment.php @@ -19,10 +19,12 @@ class Google_Service_Dataflow_RuntimeEnvironment extends Google_Collection { protected $collection_key = 'additionalExperiments'; public $additionalExperiments; + public $additionalUserLabels; public $bypassTempDirValidation; public $machineType; public $maxWorkers; public $network; + public $numWorkers; public $serviceAccountEmail; public $subnetwork; public $tempLocation; @@ -36,6 +38,14 @@ public function getAdditionalExperiments() { return $this->additionalExperiments; } + public function setAdditionalUserLabels($additionalUserLabels) + { + $this->additionalUserLabels = $additionalUserLabels; + } + public function getAdditionalUserLabels() + { + return $this->additionalUserLabels; + } public function setBypassTempDirValidation($bypassTempDirValidation) { $this->bypassTempDirValidation = $bypassTempDirValidation; @@ -68,6 +78,14 @@ public function getNetwork() { return $this->network; } + public function setNumWorkers($numWorkers) + { + $this->numWorkers = $numWorkers; + } + public function getNumWorkers() + { + return $this->numWorkers; + } public function setServiceAccountEmail($serviceAccountEmail) { $this->serviceAccountEmail = $serviceAccountEmail; diff --git a/src/Google/Service/DeploymentManager/Deployment.php b/src/Google/Service/DeploymentManager/Deployment.php index c5e64cc648..32840f9c7f 100644 --- a/src/Google/Service/DeploymentManager/Deployment.php +++ b/src/Google/Service/DeploymentManager/Deployment.php @@ -33,6 +33,7 @@ class Google_Service_DeploymentManager_Deployment extends Google_Collection protected $targetDataType = ''; protected $updateType = 'Google_Service_DeploymentManager_DeploymentUpdate'; protected $updateDataType = ''; + public $updateTime; public function setDescription($description) { @@ -146,4 +147,12 @@ public function getUpdate() { return $this->update; } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } } diff --git a/src/Google/Service/DeploymentManager/Resource/Deployments.php b/src/Google/Service/DeploymentManager/Resource/Deployments.php index abceca8ff8..cb38347209 100644 --- a/src/Google/Service/DeploymentManager/Resource/Deployments.php +++ b/src/Google/Service/DeploymentManager/Resource/Deployments.php @@ -77,7 +77,7 @@ public function get($project, $deployment, $optParams = array()) * or resource exists. (deployments.getIamPolicy) * * @param string $project Project ID for this request. - * @param string $resource Name of the resource for this request. + * @param string $resource Name or id of the resource for this request. * @param array $optParams Optional parameters. * @return Google_Service_DeploymentManager_Policy */ @@ -200,7 +200,7 @@ public function patch($project, $deployment, Google_Service_DeploymentManager_De * existing policy. (deployments.setIamPolicy) * * @param string $project Project ID for this request. - * @param string $resource Name of the resource for this request. + * @param string $resource Name or id of the resource for this request. * @param Google_Service_DeploymentManager_GlobalSetPolicyRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_DeploymentManager_Policy @@ -233,7 +233,7 @@ public function stop($project, $deployment, Google_Service_DeploymentManager_Dep * (deployments.testIamPermissions) * * @param string $project Project ID for this request. - * @param string $resource Name of the resource for this request. + * @param string $resource Name or id of the resource for this request. * @param Google_Service_DeploymentManager_TestPermissionsRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_DeploymentManager_TestPermissionsResponse