Skip to content

Commit

Permalink
feat(managedidentities): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
JustinBeckwith committed Oct 5, 2020
1 parent 1ec9e02 commit a836490
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 3 deletions.
6 changes: 5 additions & 1 deletion discovery/managedidentities-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@
}
}
},
"revision": "20200727",
"revision": "20200925",
"rootUrl": "https://managedidentities.googleapis.com/",
"schemas": {
"AttachTrustRequest": {
Expand All @@ -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)."
Expand Down
10 changes: 9 additions & 1 deletion discovery/managedidentities-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@
}
}
},
"revision": "20200727",
"revision": "20200925",
"rootUrl": "https://managedidentities.googleapis.com/",
"schemas": {
"AttachTrustRequest": {
Expand All @@ -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)."
Expand Down Expand Up @@ -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": {
Expand Down
10 changes: 9 additions & 1 deletion discovery/managedidentities-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@
}
}
},
"revision": "20200727",
"revision": "20200925",
"rootUrl": "https://managedidentities.googleapis.com/",
"schemas": {
"AttachTrustRequest": {
Expand All @@ -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)."
Expand Down Expand Up @@ -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": {
Expand Down
4 changes: 4 additions & 0 deletions src/apis/managedidentities/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*/
Expand Down
11 changes: 11 additions & 0 deletions src/apis/managedidentities/v1alpha1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*/
Expand All @@ -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.
*/
Expand Down Expand Up @@ -1292,6 +1300,7 @@ export namespace managedidentities_v1alpha1 {
* requestBody: {
* // request body parameters
* // {
* // "auditLogsEnabled": false,
* // "authorizedNetworks": [],
* // "createTime": "my_createTime",
* // "fqdn": "my_fqdn",
Expand Down Expand Up @@ -1729,6 +1738,7 @@ export namespace managedidentities_v1alpha1 {
*
* // Example response
* // {
* // "auditLogsEnabled": false,
* // "authorizedNetworks": [],
* // "createTime": "my_createTime",
* // "fqdn": "my_fqdn",
Expand Down Expand Up @@ -2159,6 +2169,7 @@ export namespace managedidentities_v1alpha1 {
* requestBody: {
* // request body parameters
* // {
* // "auditLogsEnabled": false,
* // "authorizedNetworks": [],
* // "createTime": "my_createTime",
* // "fqdn": "my_fqdn",
Expand Down
11 changes: 11 additions & 0 deletions src/apis/managedidentities/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*/
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -1321,6 +1329,7 @@ export namespace managedidentities_v1beta1 {
* // request body parameters
* // {
* // "admin": "my_admin",
* // "auditLogsEnabled": false,
* // "authorizedNetworks": [],
* // "createTime": "my_createTime",
* // "fqdn": "my_fqdn",
Expand Down Expand Up @@ -1758,6 +1767,7 @@ export namespace managedidentities_v1beta1 {
* // Example response
* // {
* // "admin": "my_admin",
* // "auditLogsEnabled": false,
* // "authorizedNetworks": [],
* // "createTime": "my_createTime",
* // "fqdn": "my_fqdn",
Expand Down Expand Up @@ -2188,6 +2198,7 @@ export namespace managedidentities_v1beta1 {
* // request body parameters
* // {
* // "admin": "my_admin",
* // "auditLogsEnabled": false,
* // "authorizedNetworks": [],
* // "createTime": "my_createTime",
* // "fqdn": "my_fqdn",
Expand Down

0 comments on commit a836490

Please sign in to comment.