Skip to content

Commit

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

#### containeranalysis:v1beta1
The following keys were added:
- schemas.Binding.properties.bindingId.description
- schemas.Binding.properties.bindingId.type
  • Loading branch information
JustinBeckwith committed Oct 5, 2020
1 parent 5c7f222 commit b2b1bec
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
6 changes: 5 additions & 1 deletion discovery/containeranalysis-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@
}
}
},
"revision": "20200807",
"revision": "20200925",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"Artifact": {
Expand Down Expand Up @@ -1296,6 +1296,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
6 changes: 5 additions & 1 deletion discovery/containeranalysis-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@
}
}
},
"revision": "20200807",
"revision": "20200925",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AliasContext": {
Expand Down Expand Up @@ -1028,6 +1028,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
4 changes: 4 additions & 0 deletions src/apis/containeranalysis/v1alpha1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ export namespace containeranalysis_v1alpha1 {
* 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
4 changes: 4 additions & 0 deletions src/apis/containeranalysis/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ export namespace containeranalysis_v1beta1 {
* 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

0 comments on commit b2b1bec

Please sign in to comment.