Skip to content

Commit

Permalink
feat(datacatalog)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### datacatalog:v1beta1
The following keys were deleted:
- schemas.GoogleCloudDatacatalogV1beta1Taxonomy.properties.activatedPolicyTypes.enumDescriptions

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 e70c638 commit 14a8332
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 5 additions & 5 deletions discovery/datacatalog-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1808,13 +1808,17 @@
}
}
},
"revision": "20200810",
"revision": "20200905",
"rootUrl": "https://datacatalog.googleapis.com/",
"schemas": {
"Binding": {
"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 Expand Up @@ -2727,10 +2731,6 @@
"properties": {
"activatedPolicyTypes": {
"description": "Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.",
"enumDescriptions": [
"Unspecified policy type.",
"Fine grained access control policy, which enables access control on tagged resources."
],
"items": {
"enum": [
"POLICY_TYPE_UNSPECIFIED",
Expand Down
4 changes: 4 additions & 0 deletions src/apis/datacatalog/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ export namespace datacatalog_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 14a8332

Please sign in to comment.