You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/api/projects.ex
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -321,7 +321,7 @@ defmodule GoogleApi.IAM.V1.Api.Projects do
321
321
## Parameters
322
322
323
323
* `connection` (*type:* `GoogleApi.IAM.V1.Connection.t`) - Connection to server
324
-
* `name` (*type:* `String.t`) - Immutable. The resource name of the OauthClient. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.
324
+
* `name` (*type:* `String.t`) - Immutable. Identifier. The resource name of the OauthClient. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.
@@ -753,7 +753,7 @@ defmodule GoogleApi.IAM.V1.Api.Projects do
753
753
## Parameters
754
754
755
755
* `connection` (*type:* `GoogleApi.IAM.V1.Connection.t`) - Connection to server
756
-
* `name` (*type:* `String.t`) - Immutable. The resource name of the OauthClientCredential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`
756
+
* `name` (*type:* `String.t`) - Immutable. Identifier. The resource name of the OauthClientCredential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/model/oauth_client.ex
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ defmodule GoogleApi.IAM.V1.Model.OauthClient do
30
30
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether the OauthClient is disabled. You cannot use a disabled OAuth client.
31
31
* `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. A user-specified display name of the OauthClient. Cannot exceed 32 characters.
32
32
* `expireTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Time after which the OauthClient will be permanently purged and cannot be recovered.
33
-
* `name` (*type:* `String.t`, *default:* `nil`) - Immutable. The resource name of the OauthClient. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.
33
+
* `name` (*type:* `String.t`, *default:* `nil`) - Immutable. Identifier. The resource name of the OauthClient. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.
34
34
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The state of the OauthClient.
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/model/oauth_client_credential.ex
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.IAM.V1.Model.OauthClientCredential do
24
24
* `clientSecret` (*type:* `String.t`, *default:* `nil`) - Output only. The system-generated OAuth client secret. The client secret must be stored securely. If the client secret is leaked, you must delete and re-create the client credential. To learn more, see [OAuth client and credential security risks and mitigations](https://cloud.google.com/iam/docs/workforce-oauth-app#security)
25
25
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether the OauthClientCredential is disabled. You cannot use a disabled OauthClientCredential.
26
26
* `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. A user-specified display name of the OauthClientCredential. Cannot exceed 32 characters.
27
-
* `name` (*type:* `String.t`, *default:* `nil`) - Immutable. The resource name of the OauthClientCredential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`
27
+
* `name` (*type:* `String.t`, *default:* `nil`) - Immutable. Identifier. The resource name of the OauthClientCredential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/model/oidc.ex
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.IAM.V1.Model.Oidc do
21
21
22
22
## Attributes
23
23
24
-
* `allowedAudiences` (*type:* `list(String.t)`, *default:* `nil`) - Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ ```
24
+
* `allowedAudiences` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ ```
25
25
* `issuerUri` (*type:* `String.t`, *default:* `nil`) - Required. The OIDC issuer URL. Must be an HTTPS endpoint.
26
26
* `jwksJson` (*type:* `String.t`, *default:* `nil`) - Optional. OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517. If not set, the `jwks_uri` from the discovery document(fetched from the .well-known path of the `issuer_uri`) will be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use following format and include only the following fields: { "keys": [ { "kty": "RSA/EC", "alg": "", "use": "sig", "kid": "", "n": "", "e": "", "x": "", "y": "", "crv": "" } ] }
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/model/operation_metadata.ex
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.IAM.V1.Model.OperationMetadata do
22
22
## Attributes
23
23
24
24
* `apiVersion` (*type:* `String.t`, *default:* `nil`) - Output only. API version used to start the operation.
25
-
* `cancelRequested` (*type:* `boolean()`, *default:* `nil`) - Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
25
+
* `cancelRequested` (*type:* `boolean()`, *default:* `nil`) - Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
26
26
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the operation was created.
27
27
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the operation finished running.
28
28
* `statusDetail` (*type:* `String.t`, *default:* `nil`) - Output only. Human-readable status of the operation, if any.
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/model/workload_identity_pool.ex
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ defmodule GoogleApi.IAM.V1.Model.WorkloadIdentityPool do
21
21
22
22
## Attributes
23
23
24
-
* `description` (*type:* `String.t`, *default:* `nil`) - A description of the pool. Cannot exceed 256 characters.
25
-
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Whether the pool is disabled. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again.
26
-
* `displayName` (*type:* `String.t`, *default:* `nil`) - A display name for the pool. Cannot exceed 32 characters.
24
+
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A description of the pool. Cannot exceed 256 characters.
25
+
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether the pool is disabled. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again.
26
+
* `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. A display name for the pool. Cannot exceed 32 characters.
27
27
* `expireTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Time after which the workload identity pool will be permanently purged and cannot be recovered.
28
28
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The resource name of the pool.
29
29
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The state of the pool.
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/model/workload_identity_pool_provider.ex
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,12 @@ defmodule GoogleApi.IAM.V1.Model.WorkloadIdentityPoolProvider do
21
21
22
22
## Attributes
23
23
24
-
* `attributeCondition` (*type:* `String.t`, *default:* `nil`) - [A Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the attribute condition expression is 4096 characters. If unspecified, all valid authentication credential are accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ```
25
-
* `attributeMapping` (*type:* `map()`, *default:* `nil`) - Maps attributes from authentication credentials issued by an external identity provider to Google Cloud attributes, such as `subject` and `segment`. Each key must be a string specifying the Google Cloud IAM attribute to map to. The following keys are supported: * `google.subject`: The principal IAM is authenticating. You can reference this value in IAM bindings. This is also the subject that appears in Cloud Logging logs. Cannot exceed 127 bytes. * `google.groups`: Groups the external identity belongs to. You can grant groups access to resources using an IAM `principalSet` binding; access applies to all members of the group. You can also provide custom attributes by specifying `attribute.{custom_attribute}`, where `{custom_attribute}` is the name of the custom attribute to be mapped. You can define a maximum of 50 custom attributes. The maximum length of a mapped attribute key is 100 characters, and the key may only contain the characters [a-z0-9_]. You can reference these attributes in IAM policies to define fine-grained access for a workload to Google Cloud resources. For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}` * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}` * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}` Each value must be a [Common Expression Language] (https://opensource.google/projects/cel) function that maps an identity provider credential to the normalized attribute specified by the corresponding map key. You can use the `assertion` keyword in the expression to access a JSON representation of the authentication credential issued by the provider. The maximum length of an attribute mapping expression is 2048 characters. When evaluated, the total size of all mapped attributes must not exceed 8KB. For AWS providers, if no attribute mapping is defined, the following default mapping applies: ``` { "google.subject":"assertion.arn", "attribute.aws_role": "assertion.arn.contains('assumed-role')" " ? assertion.arn.extract('{account_arn}assumed-role/')" " + 'assumed-role/'" " + assertion.arn.extract('assumed-role/{role_name}/')" " : assertion.arn", } ``` If any custom attribute mappings are defined, they must include a mapping to the `google.subject` attribute. For OIDC providers, you must supply a custom mapping, which must include the `google.subject` attribute. For example, the following maps the `sub` claim of the incoming credential to the `subject` attribute on a Google token: ``` {"google.subject": "assertion.sub"} ```
24
+
* `attributeCondition` (*type:* `String.t`, *default:* `nil`) - Optional. [A Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the attribute condition expression is 4096 characters. If unspecified, all valid authentication credential are accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ```
25
+
* `attributeMapping` (*type:* `map()`, *default:* `nil`) - Optional. Maps attributes from authentication credentials issued by an external identity provider to Google Cloud attributes, such as `subject` and `segment`. Each key must be a string specifying the Google Cloud IAM attribute to map to. The following keys are supported: * `google.subject`: The principal IAM is authenticating. You can reference this value in IAM bindings. This is also the subject that appears in Cloud Logging logs. Cannot exceed 127 bytes. * `google.groups`: Groups the external identity belongs to. You can grant groups access to resources using an IAM `principalSet` binding; access applies to all members of the group. You can also provide custom attributes by specifying `attribute.{custom_attribute}`, where `{custom_attribute}` is the name of the custom attribute to be mapped. You can define a maximum of 50 custom attributes. The maximum length of a mapped attribute key is 100 characters, and the key may only contain the characters [a-z0-9_]. You can reference these attributes in IAM policies to define fine-grained access for a workload to Google Cloud resources. For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}` * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}` * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}` Each value must be a [Common Expression Language] (https://opensource.google/projects/cel) function that maps an identity provider credential to the normalized attribute specified by the corresponding map key. You can use the `assertion` keyword in the expression to access a JSON representation of the authentication credential issued by the provider. The maximum length of an attribute mapping expression is 2048 characters. When evaluated, the total size of all mapped attributes must not exceed 8KB. For AWS providers, if no attribute mapping is defined, the following default mapping applies: ``` { "google.subject":"assertion.arn", "attribute.aws_role": "assertion.arn.contains('assumed-role')" " ? assertion.arn.extract('{account_arn}assumed-role/')" " + 'assumed-role/'" " + assertion.arn.extract('assumed-role/{role_name}/')" " : assertion.arn", } ``` If any custom attribute mappings are defined, they must include a mapping to the `google.subject` attribute. For OIDC providers, you must supply a custom mapping, which must include the `google.subject` attribute. For example, the following maps the `sub` claim of the incoming credential to the `subject` attribute on a Google token: ``` {"google.subject": "assertion.sub"} ```
26
26
* `aws` (*type:* `GoogleApi.IAM.V1.Model.Aws.t`, *default:* `nil`) - An Amazon Web Services identity provider.
27
-
* `description` (*type:* `String.t`, *default:* `nil`) - A description for the provider. Cannot exceed 256 characters.
28
-
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Whether the provider is disabled. You cannot use a disabled provider to exchange tokens. However, existing tokens still grant access.
29
-
* `displayName` (*type:* `String.t`, *default:* `nil`) - A display name for the provider. Cannot exceed 32 characters.
27
+
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A description for the provider. Cannot exceed 256 characters.
28
+
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether the provider is disabled. You cannot use a disabled provider to exchange tokens. However, existing tokens still grant access.
29
+
* `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. A display name for the provider. Cannot exceed 32 characters.
30
30
* `expireTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Time after which the workload identity pool provider will be permanently purged and cannot be recovered.
31
31
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The resource name of the provider.
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v2/model/google_cloud_common_operation_metadata.ex
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.IAM.V2.Model.GoogleCloudCommonOperationMetadata do
22
22
## Attributes
23
23
24
24
* `apiVersion` (*type:* `String.t`, *default:* `nil`) - Output only. API version used to start the operation.
25
-
* `cancelRequested` (*type:* `boolean()`, *default:* `nil`) - Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
25
+
* `cancelRequested` (*type:* `boolean()`, *default:* `nil`) - Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
26
26
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the operation was created.
27
27
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the operation finished running.
28
28
* `statusDetail` (*type:* `String.t`, *default:* `nil`) - Output only. Human-readable status of the operation, if any.
0 commit comments