From a89e3d0a920eaf099e3c966945797fee341ca4eb Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 2 Jul 2019 09:29:06 -0700 Subject: [PATCH] feat: add IAM Policy Options (#186) --- .../src/v1/doc/google/iam/v1/doc_options.js | 16 ++++++++++++++++ .../src/v1/key_management_service_client.js | 5 +++++ packages/google-cloud-kms/synth.metadata | 10 +++++----- 3 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 packages/google-cloud-kms/src/v1/doc/google/iam/v1/doc_options.js diff --git a/packages/google-cloud-kms/src/v1/doc/google/iam/v1/doc_options.js b/packages/google-cloud-kms/src/v1/doc/google/iam/v1/doc_options.js new file mode 100644 index 00000000000..f26716efea0 --- /dev/null +++ b/packages/google-cloud-kms/src/v1/doc/google/iam/v1/doc_options.js @@ -0,0 +1,16 @@ +// Copyright 2019 Google LLC +// +// 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 +// +// https://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. + +// Note: this file is purely for documentation. Any contents are not expected +// to be loaded as the JS file. diff --git a/packages/google-cloud-kms/src/v1/key_management_service_client.js b/packages/google-cloud-kms/src/v1/key_management_service_client.js index 01505329b59..fc88a450388 100644 --- a/packages/google-cloud-kms/src/v1/key_management_service_client.js +++ b/packages/google-cloud-kms/src/v1/key_management_service_client.js @@ -2355,6 +2355,11 @@ class KeyManagementServiceClient { * @param {string} request.resource * REQUIRED: The resource for which the policy is being requested. * See the operation documentation for the appropriate value for this field. + * @param {Object} [request.options] + * OPTIONAL: A `GetPolicyOptions` object for specifying options to + * `GetIamPolicy`. This field is only used by Cloud IAM. + * + * This object should have the same structure as [GetPolicyOptions]{@link google.iam.v1.GetPolicyOptions} * @param {Object} [options] * Optional parameters. You can override the default settings for this call, e.g, timeout, * retries, paginations, etc. See [gax.CallOptions]{@link https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html} for the details. diff --git a/packages/google-cloud-kms/synth.metadata b/packages/google-cloud-kms/synth.metadata index 513664caa79..d052f346f9b 100644 --- a/packages/google-cloud-kms/synth.metadata +++ b/packages/google-cloud-kms/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-06-18T01:01:50.389746Z", + "updateTime": "2019-07-02T11:41:22.927874Z", "sources": [ { "generator": { "name": "artman", - "version": "0.26.0", - "dockerImage": "googleapis/artman@sha256:6db0735b0d3beec5b887153a2a7c7411fc7bb53f73f6f389a822096bd14a3a15" + "version": "0.29.3", + "dockerImage": "googleapis/artman@sha256:8900f94a81adaab0238965aa8a7b3648791f4f3a95ee65adc6a56cfcc3753101" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "7b58b37559f6a5337c4c564518e9573d742df225", - "internalRef": "253322136" + "sha": "5322233f8cbec4d3f8c17feca2507ef27d4a07c9", + "internalRef": "256042411" } }, {