Skip to content

Commit

Permalink
feat(containeranalysis)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### containeranalysis:v1alpha1
The following keys were deleted:
- schemas.Binding.properties.bindingId.type

#### containeranalysis:v1beta1
The following keys were deleted:
- schemas.Binding.properties.bindingId.type

The following keys were changed:
- schemas.BatchCreateNotesRequest.properties.notes.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 30, 2020
1 parent ada555e commit 25aeded
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
5 changes: 1 addition & 4 deletions discovery/containeranalysis-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@
}
}
},
"revision": "20201030",
"revision": "20201112",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"Artifact": {
Expand Down Expand Up @@ -1296,9 +1296,6 @@
"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
7 changes: 2 additions & 5 deletions discovery/containeranalysis-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@
}
}
},
"revision": "20201030",
"revision": "20201112",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AliasContext": {
Expand Down Expand Up @@ -976,7 +976,7 @@
"additionalProperties": {
"$ref": "Note"
},
"description": "Required. The notes to create. Max allowed length is 1000.",
"description": "Required. The notes to create, the key is expected to be the note ID. Max allowed length is 1000.",
"type": "object"
}
},
Expand Down Expand Up @@ -1028,9 +1028,6 @@
"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: 0 additions & 1 deletion src/apis/containeranalysis/v1alpha1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ export namespace containeranalysis_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
3 changes: 1 addition & 2 deletions src/apis/containeranalysis/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export namespace containeranalysis_v1beta1 {
*/
export interface Schema$BatchCreateNotesRequest {
/**
* Required. The notes to create. Max allowed length is 1000.
* Required. The notes to create, the key is expected to be the note ID. Max allowed length is 1000.
*/
notes?: {[key: string]: Schema$Note} | null;
}
Expand Down Expand Up @@ -237,7 +237,6 @@ export namespace containeranalysis_v1beta1 {
* 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 25aeded

Please sign in to comment.