Skip to content

Commit

Permalink
fix(servicecontrol): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
JustinBeckwith committed Oct 5, 2020
1 parent 1e2655c commit 0c1842f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions discovery/servicecontrol-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
}
}
},
"revision": "20200814",
"revision": "20200925",
"rootUrl": "https://servicecontrol.googleapis.com/",
"schemas": {
"AllocateInfo": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions discovery/servicecontrol-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
}
}
},
"revision": "20200814",
"revision": "20200925",
"rootUrl": "https://servicecontrol.googleapis.com/",
"schemas": {
"Api": {
Expand Down Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions src/apis/servicecontrol/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down Expand Up @@ -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;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/servicecontrol/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down

0 comments on commit 0c1842f

Please sign in to comment.