Skip to content

Commit

Permalink
feat(run): update the API
Browse files Browse the repository at this point in the history
#### run:v1alpha1
The following keys were added:
- schemas.Binding.properties.bindingId.type

#### run:v1
The following keys were added:
- schemas.Binding.properties.bindingId.type
  • Loading branch information
yoshi-automation authored and sofisl committed Nov 6, 2020
1 parent 41fc95d commit f10e719
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion discovery/run-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@
}
}
},
"revision": "20201012",
"revision": "20201030",
"rootUrl": "https://run.googleapis.com/",
"schemas": {
"Addressable": {
Expand Down Expand Up @@ -1756,6 +1756,9 @@
"description": "Associates `members` with a `role`.",
"id": "Binding",
"properties": {
"bindingId": {
"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
5 changes: 4 additions & 1 deletion discovery/run-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3358,7 +3358,7 @@
}
}
},
"revision": "20200814",
"revision": "20201030",
"rootUrl": "https://run.googleapis.com/",
"schemas": {
"Addressable": {
Expand Down Expand Up @@ -3442,6 +3442,9 @@
"description": "Associates `members` with a `role`.",
"id": "Binding",
"properties": {
"bindingId": {
"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
1 change: 1 addition & 0 deletions src/apis/run/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export namespace run_v1 {
* Associates `members` with a `role`.
*/
export interface Schema$Binding {
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
1 change: 1 addition & 0 deletions src/apis/run/v1alpha1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ export namespace run_v1alpha1 {
* Associates `members` with a `role`.
*/
export interface Schema$Binding {
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

0 comments on commit f10e719

Please sign in to comment.