Skip to content

Commit

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

The following keys were changed:
- schemas.KerberosConfig.properties.kmsKeyUri.description
- schemas.KerberosConfig.properties.rootPrincipalPasswordUri.description

#### dataproc:v1
The following keys were deleted:
- schemas.Binding.properties.bindingId.description

The following keys were changed:
- schemas.KerberosConfig.properties.kmsKeyUri.description
- schemas.KerberosConfig.properties.rootPrincipalPasswordUri.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 9, 2020
1 parent e559971 commit db2591b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
7 changes: 3 additions & 4 deletions discovery/dataproc-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2134,7 +2134,7 @@
}
}
},
"revision": "20201015",
"revision": "20201029",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2244,7 +2244,6 @@
"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": {
Expand Down Expand Up @@ -3297,15 +3296,15 @@
"type": "string"
},
"kmsKeyUri": {
"description": "Required. The uri of the KMS key used to encrypt various sensitive files.",
"description": "Optional. The uri of the KMS key used to encrypt various sensitive files.",
"type": "string"
},
"realm": {
"description": "Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.",
"type": "string"
},
"rootPrincipalPasswordUri": {
"description": "Required. The Cloud Storage URI of a KMS encrypted file containing the root principal password.",
"description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.",
"type": "string"
},
"tgtLifetimeHours": {
Expand Down
7 changes: 3 additions & 4 deletions discovery/dataproc-v1beta2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2247,7 +2247,7 @@
}
}
},
"revision": "20201015",
"revision": "20201029",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2357,7 +2357,6 @@
"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": {
Expand Down Expand Up @@ -3432,15 +3431,15 @@
"type": "string"
},
"kmsKeyUri": {
"description": "Required. The uri of the KMS key used to encrypt various sensitive files.",
"description": "Optional. The uri of the KMS key used to encrypt various sensitive files.",
"type": "string"
},
"realm": {
"description": "Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.",
"type": "string"
},
"rootPrincipalPasswordUri": {
"description": "Required. The Cloud Storage URI of a KMS encrypted file containing the root principal password.",
"description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.",
"type": "string"
},
"tgtLifetimeHours": {
Expand Down
7 changes: 2 additions & 5 deletions src/apis/dataproc/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,6 @@ export namespace dataproc_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 @@ -955,15 +952,15 @@ export namespace dataproc_v1 {
*/
keystoreUri?: string | null;
/**
* Required. The uri of the KMS key used to encrypt various sensitive files.
* Optional. The uri of the KMS key used to encrypt various sensitive files.
*/
kmsKeyUri?: string | null;
/**
* Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
*/
realm?: string | null;
/**
* Required. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
* Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
*/
rootPrincipalPasswordUri?: string | null;
/**
Expand Down
7 changes: 2 additions & 5 deletions src/apis/dataproc/v1beta2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,6 @@ export namespace dataproc_v1beta2 {
* 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 @@ -980,15 +977,15 @@ export namespace dataproc_v1beta2 {
*/
keystoreUri?: string | null;
/**
* Required. The uri of the KMS key used to encrypt various sensitive files.
* Optional. The uri of the KMS key used to encrypt various sensitive files.
*/
kmsKeyUri?: string | null;
/**
* Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
*/
realm?: string | null;
/**
* Required. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
* Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
*/
rootPrincipalPasswordUri?: string | null;
/**
Expand Down

0 comments on commit db2591b

Please sign in to comment.