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.Binding.properties.bindingId.description
- schemas.Binding.properties.bindingId.type

The following keys were changed:
- description
- resources.projects.resources.serviceAccounts.resources.keys.methods.delete.description
  • Loading branch information
JustinBeckwith committed Oct 5, 2020
1 parent 9cd500c commit 8553527
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 7 additions & 3 deletions discovery/iam-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"baseUrl": "https://iam.googleapis.com/",
"batchPath": "batch",
"canonicalName": "iam",
"description": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.",
"description": " Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. *Note:* This API is tied to the IAM service account credentials API ( iamcredentials.googleapis.com). Enabling or disabling this API will also enable or disable the IAM service account credentials API. ",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/iam/",
"fullyEncodeReservedExpansion": true,
Expand Down Expand Up @@ -1013,7 +1013,7 @@
]
},
"delete": {
"description": "Deletes a ServiceAccountKey.",
"description": "Deletes a ServiceAccountKey. Deleting a service account key does not revoke short-lived credentials that have been issued based on the service account key.",
"flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys/{keysId}",
"httpMethod": "DELETE",
"id": "iam.projects.serviceAccounts.keys.delete",
Expand Down Expand Up @@ -1250,7 +1250,7 @@
}
}
},
"revision": "20200806",
"revision": "20200910",
"rootUrl": "https://iam.googleapis.com/",
"schemas": {
"AdminAuditData": {
Expand Down Expand Up @@ -1338,6 +1338,10 @@
"description": "Associates `members` with a `role`.",
"id": "Binding",
"properties": {
"bindingId": {
"description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.",
"type": "string"
},
"condition": {
"$ref": "Expr",
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
Expand Down
8 changes: 6 additions & 2 deletions src/apis/iam/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export namespace iam_v1 {
/**
* Identity and Access Management (IAM) API
*
* Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.
* Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. *Note:* This API is tied to the IAM service account credentials API ( iamcredentials.googleapis.com). Enabling or disabling this API will also enable or disable the IAM service account credentials API.
*
* @example
* const {google} = require('googleapis');
Expand Down Expand Up @@ -192,6 +192,10 @@ export namespace iam_v1 {
* Associates `members` with a `role`.
*/
export interface Schema$Binding {
/**
* A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.
*/
bindingId?: string | null;
/**
* The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
Expand Down Expand Up @@ -5470,7 +5474,7 @@ export namespace iam_v1 {

/**
* iam.projects.serviceAccounts.keys.delete
* @desc Deletes a ServiceAccountKey.
* @desc Deletes a ServiceAccountKey. Deleting a service account key does not revoke short-lived credentials that have been issued based on the service account key.
* @example
* // Before running the sample:
* // - Enable the API at:
Expand Down

0 comments on commit 8553527

Please sign in to comment.