From 0c1842f16594b8708797e8736d278271fa270fce Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Mon, 5 Oct 2020 13:15:10 -0700 Subject: [PATCH] fix(servicecontrol): update the API #### servicecontrol:v1 The following keys were changed: - schemas.AuthenticationInfo.properties.principalEmail.description - schemas.ResourceInfo.properties.resourceContainer.description #### servicecontrol:v2 The following keys were changed: - schemas.AuthenticationInfo.properties.principalEmail.description --- discovery/servicecontrol-v1.json | 6 +++--- discovery/servicecontrol-v2.json | 4 ++-- src/apis/servicecontrol/v1.ts | 4 ++-- src/apis/servicecontrol/v2.ts | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/discovery/servicecontrol-v1.json b/discovery/servicecontrol-v1.json index 3843ab4c33..94ee89ff08 100644 --- a/discovery/servicecontrol-v1.json +++ b/discovery/servicecontrol-v1.json @@ -197,7 +197,7 @@ } } }, - "revision": "20200814", + "revision": "20200925", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "AllocateInfo": { @@ -433,7 +433,7 @@ "type": "string" }, "principalEmail": { - "description": "The email address of the authenticated user (or service account on behalf of third party principal) making the request. For privacy reasons, the principal email address is redacted for all read-only operations that fail with a \"permission denied\" error.", + "description": "The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).", "type": "string" }, "principalSubject": { @@ -1634,7 +1634,7 @@ "id": "ResourceInfo", "properties": { "resourceContainer": { - "description": "The identifier of the parent of this resource instance. Must be in one of the following formats: - “projects/” - “folders/” - “organizations/”", + "description": "The identifier of the parent of this resource instance. Must be in one of the following formats: - `projects/` - `folders/` - `organizations/`", "type": "string" }, "resourceLocation": { diff --git a/discovery/servicecontrol-v2.json b/discovery/servicecontrol-v2.json index a0c7f40df9..4ef88f449b 100644 --- a/discovery/servicecontrol-v2.json +++ b/discovery/servicecontrol-v2.json @@ -169,7 +169,7 @@ } } }, - "revision": "20200814", + "revision": "20200925", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "Api": { @@ -374,7 +374,7 @@ "type": "string" }, "principalEmail": { - "description": "The email address of the authenticated user (or service account on behalf of third party principal) making the request. For privacy reasons, the principal email address is redacted for all read-only operations that fail with a \"permission denied\" error.", + "description": "The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).", "type": "string" }, "principalSubject": { diff --git a/src/apis/servicecontrol/v1.ts b/src/apis/servicecontrol/v1.ts index 4f521e2197..3db0776ec1 100644 --- a/src/apis/servicecontrol/v1.ts +++ b/src/apis/servicecontrol/v1.ts @@ -296,7 +296,7 @@ export namespace servicecontrol_v1 { */ authoritySelector?: string | null; /** - * The email address of the authenticated user (or service account on behalf of third party principal) making the request. For privacy reasons, the principal email address is redacted for all read-only operations that fail with a "permission denied" error. + * The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id). */ principalEmail?: string | null; /** @@ -1105,7 +1105,7 @@ export namespace servicecontrol_v1 { */ export interface Schema$ResourceInfo { /** - * The identifier of the parent of this resource instance. Must be in one of the following formats: - “projects/” - “folders/” - “organizations/” + * The identifier of the parent of this resource instance. Must be in one of the following formats: - `projects/` - `folders/` - `organizations/` */ resourceContainer?: string | null; /** diff --git a/src/apis/servicecontrol/v2.ts b/src/apis/servicecontrol/v2.ts index 02f34b08bf..d84d69692a 100644 --- a/src/apis/servicecontrol/v2.ts +++ b/src/apis/servicecontrol/v2.ts @@ -280,7 +280,7 @@ export namespace servicecontrol_v2 { */ authoritySelector?: string | null; /** - * The email address of the authenticated user (or service account on behalf of third party principal) making the request. For privacy reasons, the principal email address is redacted for all read-only operations that fail with a "permission denied" error. + * The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id). */ principalEmail?: string | null; /**