From a836490019ab1b9f3c72b6889bfcb550de8da0c1 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Mon, 5 Oct 2020 13:15:07 -0700 Subject: [PATCH] feat(managedidentities): update the API #### managedidentities:v1alpha1 The following keys were added: - schemas.Binding.properties.bindingId.description - schemas.Binding.properties.bindingId.type - schemas.Domain.properties.auditLogsEnabled.description - schemas.Domain.properties.auditLogsEnabled.type #### managedidentities:v1 The following keys were added: - schemas.Binding.properties.bindingId.description - schemas.Binding.properties.bindingId.type #### managedidentities:v1beta1 The following keys were added: - schemas.Binding.properties.bindingId.description - schemas.Binding.properties.bindingId.type - schemas.Domain.properties.auditLogsEnabled.description - schemas.Domain.properties.auditLogsEnabled.type --- discovery/managedidentities-v1.json | 6 +++++- discovery/managedidentities-v1alpha1.json | 10 +++++++++- discovery/managedidentities-v1beta1.json | 10 +++++++++- src/apis/managedidentities/v1.ts | 4 ++++ src/apis/managedidentities/v1alpha1.ts | 11 +++++++++++ src/apis/managedidentities/v1beta1.ts | 11 +++++++++++ 6 files changed, 49 insertions(+), 3 deletions(-) diff --git a/discovery/managedidentities-v1.json b/discovery/managedidentities-v1.json index e48a0417d5..e05efedec0 100644 --- a/discovery/managedidentities-v1.json +++ b/discovery/managedidentities-v1.json @@ -708,7 +708,7 @@ } } }, - "revision": "20200727", + "revision": "20200925", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { @@ -726,6 +726,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)." diff --git a/discovery/managedidentities-v1alpha1.json b/discovery/managedidentities-v1alpha1.json index afbfd63086..505e2dd896 100644 --- a/discovery/managedidentities-v1alpha1.json +++ b/discovery/managedidentities-v1alpha1.json @@ -708,7 +708,7 @@ } } }, - "revision": "20200727", + "revision": "20200925", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { @@ -725,6 +725,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)." @@ -762,6 +766,10 @@ "Domain": { "id": "Domain", "properties": { + "auditLogsEnabled": { + "description": "Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.", + "type": "boolean" + }, "authorizedNetworks": { "description": "Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Network can be added using UpdateDomain later. Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets do not overlap between networks, else domain creation will fail.", "items": { diff --git a/discovery/managedidentities-v1beta1.json b/discovery/managedidentities-v1beta1.json index a41a974292..2eb0105b25 100644 --- a/discovery/managedidentities-v1beta1.json +++ b/discovery/managedidentities-v1beta1.json @@ -708,7 +708,7 @@ } } }, - "revision": "20200727", + "revision": "20200925", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { @@ -726,6 +726,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)." @@ -769,6 +773,10 @@ "description": "Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used.", "type": "string" }, + "auditLogsEnabled": { + "description": "Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.", + "type": "boolean" + }, "authorizedNetworks": { "description": "Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.", "items": { diff --git a/src/apis/managedidentities/v1.ts b/src/apis/managedidentities/v1.ts index 3cb4273a45..e0900a88bf 100644 --- a/src/apis/managedidentities/v1.ts +++ b/src/apis/managedidentities/v1.ts @@ -140,6 +140,10 @@ export namespace managedidentities_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). */ diff --git a/src/apis/managedidentities/v1alpha1.ts b/src/apis/managedidentities/v1alpha1.ts index e15d34efb5..ee14558945 100644 --- a/src/apis/managedidentities/v1alpha1.ts +++ b/src/apis/managedidentities/v1alpha1.ts @@ -137,6 +137,10 @@ export namespace managedidentities_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). */ @@ -161,6 +165,10 @@ export namespace managedidentities_v1alpha1 { trust?: Schema$Trust; } export interface Schema$Domain { + /** + * Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled. + */ + auditLogsEnabled?: boolean | null; /** * Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Network can be added using UpdateDomain later. Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets do not overlap between networks, else domain creation will fail. */ @@ -1292,6 +1300,7 @@ export namespace managedidentities_v1alpha1 { * requestBody: { * // request body parameters * // { + * // "auditLogsEnabled": false, * // "authorizedNetworks": [], * // "createTime": "my_createTime", * // "fqdn": "my_fqdn", @@ -1729,6 +1738,7 @@ export namespace managedidentities_v1alpha1 { * * // Example response * // { + * // "auditLogsEnabled": false, * // "authorizedNetworks": [], * // "createTime": "my_createTime", * // "fqdn": "my_fqdn", @@ -2159,6 +2169,7 @@ export namespace managedidentities_v1alpha1 { * requestBody: { * // request body parameters * // { + * // "auditLogsEnabled": false, * // "authorizedNetworks": [], * // "createTime": "my_createTime", * // "fqdn": "my_fqdn", diff --git a/src/apis/managedidentities/v1beta1.ts b/src/apis/managedidentities/v1beta1.ts index 5e625cd9d9..e296632e9f 100644 --- a/src/apis/managedidentities/v1beta1.ts +++ b/src/apis/managedidentities/v1beta1.ts @@ -140,6 +140,10 @@ export namespace managedidentities_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). */ @@ -174,6 +178,10 @@ export namespace managedidentities_v1beta1 { * Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used. */ admin?: string | null; + /** + * Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled. + */ + auditLogsEnabled?: boolean | null; /** * Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail. */ @@ -1321,6 +1329,7 @@ export namespace managedidentities_v1beta1 { * // request body parameters * // { * // "admin": "my_admin", + * // "auditLogsEnabled": false, * // "authorizedNetworks": [], * // "createTime": "my_createTime", * // "fqdn": "my_fqdn", @@ -1758,6 +1767,7 @@ export namespace managedidentities_v1beta1 { * // Example response * // { * // "admin": "my_admin", + * // "auditLogsEnabled": false, * // "authorizedNetworks": [], * // "createTime": "my_createTime", * // "fqdn": "my_fqdn", @@ -2188,6 +2198,7 @@ export namespace managedidentities_v1beta1 { * // request body parameters * // { * // "admin": "my_admin", + * // "auditLogsEnabled": false, * // "authorizedNetworks": [], * // "createTime": "my_createTime", * // "fqdn": "my_fqdn",