Skip to content

Commit

Permalink
feat(iam): update the API
Browse files Browse the repository at this point in the history
#### iam:v1

The following keys were added:
- schemas.ServiceAccountKey.properties.disableReason.readOnly
- schemas.ServiceAccountKey.properties.extendedStatus.readOnly

The following keys were changed:
- schemas.ServiceAccountKey.properties.disableReason.description
- schemas.ServiceAccountKey.properties.extendedStatus.description
  • Loading branch information
yoshi-automation authored and sofisl committed May 8, 2024
1 parent 899847d commit a49b6ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions discovery/iam-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3216,7 +3216,7 @@
}
}
},
"revision": "20240418",
"revision": "20240502",
"rootUrl": "https://iam.googleapis.com/",
"schemas": {
"AccessRestrictions": {
Expand Down Expand Up @@ -4705,7 +4705,7 @@
"type": "string"
},
"disableReason": {
"description": "optional. If the key is disabled, it may have a DisableReason describing why it was disabled.",
"description": "Output only. optional. If the key is disabled, it may have a DisableReason describing why it was disabled.",
"enum": [
"SERVICE_ACCOUNT_KEY_DISABLE_REASON_UNSPECIFIED",
"SERVICE_ACCOUNT_KEY_DISABLE_REASON_USER_INITIATED",
Expand All @@ -4718,17 +4718,19 @@
"Google detected this Service Account external key's private key data as exposed, typically in a public repository on GitHub or similar.",
"This service account external key was detected as compromised and used by an attacker."
],
"readOnly": true,
"type": "string"
},
"disabled": {
"description": "The key status.",
"type": "boolean"
},
"extendedStatus": {
"description": "Extended Status provides permanent information about a service account key. For example, if this key was detected as exposed or compromised, that information will remain for the lifetime of the key in the extended_status.",
"description": "Output only. Extended Status provides permanent information about a service account key. For example, if this key was detected as exposed or compromised, that information will remain for the lifetime of the key in the extended_status.",
"items": {
"$ref": "ExtendedStatus"
},
"readOnly": true,
"type": "array"
},
"keyAlgorithm": {
Expand Down
4 changes: 2 additions & 2 deletions src/apis/iam/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1123,11 +1123,11 @@ export namespace iam_v1 {
*/
disabled?: boolean | null;
/**
* optional. If the key is disabled, it may have a DisableReason describing why it was disabled.
* Output only. optional. If the key is disabled, it may have a DisableReason describing why it was disabled.
*/
disableReason?: string | null;
/**
* Extended Status provides permanent information about a service account key. For example, if this key was detected as exposed or compromised, that information will remain for the lifetime of the key in the extended_status.
* Output only. Extended Status provides permanent information about a service account key. For example, if this key was detected as exposed or compromised, that information will remain for the lifetime of the key in the extended_status.
*/
extendedStatus?: Schema$ExtendedStatus[];
/**
Expand Down

0 comments on commit a49b6ea

Please sign in to comment.