From 212ec1def2affc5cd16b23abc7a1015316652136 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 13 Nov 2019 12:38:01 -0800 Subject: [PATCH] fix: import long into proto ts declaration file (#167) --- .../google-cloud-securitycenter/protos/protos.d.ts | 1 + .../src/v1/doc/google/iam/v1/doc_policy.js | 11 ++++++----- .../src/v1beta1/doc/google/iam/v1/doc_policy.js | 11 ++++++----- packages/google-cloud-securitycenter/synth.metadata | 10 +++++----- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/packages/google-cloud-securitycenter/protos/protos.d.ts b/packages/google-cloud-securitycenter/protos/protos.d.ts index 9920dec9be4..41618aca954 100644 --- a/packages/google-cloud-securitycenter/protos/protos.d.ts +++ b/packages/google-cloud-securitycenter/protos/protos.d.ts @@ -1,3 +1,4 @@ +import * as Long from "long"; import * as $protobuf from "protobufjs"; /** Namespace google. */ export namespace google { diff --git a/packages/google-cloud-securitycenter/src/v1/doc/google/iam/v1/doc_policy.js b/packages/google-cloud-securitycenter/src/v1/doc/google/iam/v1/doc_policy.js index 57db8df60b1..606cdf98cad 100644 --- a/packages/google-cloud-securitycenter/src/v1/doc/google/iam/v1/doc_policy.js +++ b/packages/google-cloud-securitycenter/src/v1/doc/google/iam/v1/doc_policy.js @@ -82,12 +82,13 @@ * * Operations affecting conditional bindings must specify version 3. This can * be either setting a conditional policy, modifying a conditional binding, - * or removing a conditional binding from the stored conditional policy. + * or removing a binding (conditional or unconditional) from the stored + * conditional policy. * Operations on non-conditional policies may specify any valid value or * leave the field unset. * - * If no etag is provided in the call to `setIamPolicy`, any version - * compliance checks on the incoming and/or stored policy is skipped. + * If no etag is provided in the call to `setIamPolicy`, version compliance + * checks against the stored policy is skipped. * * @property {Object[]} bindings * Associates a list of `members` to a `role`. Optionally may specify a @@ -107,8 +108,8 @@ * * If no `etag` is provided in the call to `setIamPolicy`, then the existing * policy is overwritten. Due to blind-set semantics of an etag-less policy, - * 'setIamPolicy' will not fail even if either of incoming or stored policy - * does not meet the version requirements. + * 'setIamPolicy' will not fail even if the incoming policy version does not + * meet the requirements for modifying the stored policy. * * @typedef Policy * @memberof google.iam.v1 diff --git a/packages/google-cloud-securitycenter/src/v1beta1/doc/google/iam/v1/doc_policy.js b/packages/google-cloud-securitycenter/src/v1beta1/doc/google/iam/v1/doc_policy.js index 57db8df60b1..606cdf98cad 100644 --- a/packages/google-cloud-securitycenter/src/v1beta1/doc/google/iam/v1/doc_policy.js +++ b/packages/google-cloud-securitycenter/src/v1beta1/doc/google/iam/v1/doc_policy.js @@ -82,12 +82,13 @@ * * Operations affecting conditional bindings must specify version 3. This can * be either setting a conditional policy, modifying a conditional binding, - * or removing a conditional binding from the stored conditional policy. + * or removing a binding (conditional or unconditional) from the stored + * conditional policy. * Operations on non-conditional policies may specify any valid value or * leave the field unset. * - * If no etag is provided in the call to `setIamPolicy`, any version - * compliance checks on the incoming and/or stored policy is skipped. + * If no etag is provided in the call to `setIamPolicy`, version compliance + * checks against the stored policy is skipped. * * @property {Object[]} bindings * Associates a list of `members` to a `role`. Optionally may specify a @@ -107,8 +108,8 @@ * * If no `etag` is provided in the call to `setIamPolicy`, then the existing * policy is overwritten. Due to blind-set semantics of an etag-less policy, - * 'setIamPolicy' will not fail even if either of incoming or stored policy - * does not meet the version requirements. + * 'setIamPolicy' will not fail even if the incoming policy version does not + * meet the requirements for modifying the stored policy. * * @typedef Policy * @memberof google.iam.v1 diff --git a/packages/google-cloud-securitycenter/synth.metadata b/packages/google-cloud-securitycenter/synth.metadata index ac17c6260db..e26395b0333 100644 --- a/packages/google-cloud-securitycenter/synth.metadata +++ b/packages/google-cloud-securitycenter/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-11-01T19:19:57.284036Z", + "updateTime": "2019-11-12T12:24:06.540194Z", "sources": [ { "generator": { "name": "artman", - "version": "0.41.0", - "dockerImage": "googleapis/artman@sha256:75b38a3b073a7b243545f2332463096624c802bb1e56b8cb6f22ba1ecd325fa9" + "version": "0.41.1", + "dockerImage": "googleapis/artman@sha256:545c758c76c3f779037aa259023ec3d1ef2d57d2c8cd00a222cb187d63ceac5e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "bba93d7148ff203d400a4929cd0fbc7dafd8dae2", - "internalRef": "277920288" + "sha": "f69562be0608904932bdcfbc5ad8b9a22d9dceb8", + "internalRef": "279774957" } }, {