diff --git a/Kms/src/V1/Gapic/KeyManagementServiceGapicClient.php b/Kms/src/V1/Gapic/KeyManagementServiceGapicClient.php index fde987b0afb3..6649c1397b2e 100644 --- a/Kms/src/V1/Gapic/KeyManagementServiceGapicClient.php +++ b/Kms/src/V1/Gapic/KeyManagementServiceGapicClient.php @@ -37,6 +37,7 @@ use Google\ApiCore\ValidationException; use Google\Auth\FetchAuthTokenInterface; use Google\Cloud\Iam\V1\GetIamPolicyRequest; +use Google\Cloud\Iam\V1\GetPolicyOptions; use Google\Cloud\Iam\V1\Policy; use Google\Cloud\Iam\V1\SetIamPolicyRequest; use Google\Cloud\Iam\V1\TestIamPermissionsRequest; @@ -2092,6 +2093,9 @@ public function setIamPolicy($resource, $policy, array $optionalArgs = []) * @param array $optionalArgs { * Optional. * + * @type GetPolicyOptions $options + * OPTIONAL: A `GetPolicyOptions` object for specifying options to + * `GetIamPolicy`. This field is only used by Cloud IAM. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -2108,6 +2112,9 @@ public function getIamPolicy($resource, array $optionalArgs = []) { $request = new GetIamPolicyRequest(); $request->setResource($resource); + if (isset($optionalArgs['options'])) { + $request->setOptions($optionalArgs['options']); + } $requestParams = new RequestParamsHeaderDescriptor([ 'resource' => $request->getResource(), diff --git a/Kms/synth.metadata b/Kms/synth.metadata index 2ade4b5ec561..3cb0bd6364b2 100644 --- a/Kms/synth.metadata +++ b/Kms/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-06-15T09:59:53.641634Z", + "updateTime": "2019-07-25T10:00:45.987359Z", "sources": [ { "generator": { "name": "artman", - "version": "0.26.0", - "dockerImage": "googleapis/artman@sha256:6db0735b0d3beec5b887153a2a7c7411fc7bb53f73f6f389a822096bd14a3a15" + "version": "0.29.1", + "dockerImage": "googleapis/artman@sha256:b2a73f4dda03ef8fcaa973e3ba26d0cf34091f6c22c70add663af325931aef4d" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "7b58b37559f6a5337c4c564518e9573d742df225", - "internalRef": "253322136" + "sha": "4b12afe72950f36bef6f196a05f4430e4421a873", + "internalRef": "259790363" } } ],