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
@@ -44,7 +44,7 @@ defmodule GoogleApi.IAM.V1.Api.Locations do
44
44
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
45
45
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
46
46
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
47
-
* `:workforcePoolId` (*type:* `String.t`) - The ID to use for the pool, which becomes the final component of the resource name. The IDs must be a globally unique string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified.
47
+
* `:workforcePoolId` (*type:* `String.t`) - Optional. The ID to use for the pool, which becomes the final component of the resource name. The IDs must be a globally unique string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified.
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/model/google_iam_admin_v1_workforce_pool_provider_oidc.ex
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,9 @@ defmodule GoogleApi.IAM.V1.Model.GoogleIamAdminV1WorkforcePoolProviderOidc do
22
22
## Attributes
23
23
24
24
* `clientId` (*type:* `String.t`, *default:* `nil`) - Required. The client ID. Must match the audience claim of the JWT issued by the identity provider.
25
-
* `clientSecret` (*type:* `GoogleApi.IAM.V1.Model.GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret.t`, *default:* `nil`) - The optional client secret. Required to enable Authorization Code flow for web sign-in.
25
+
* `clientSecret` (*type:* `GoogleApi.IAM.V1.Model.GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret.t`, *default:* `nil`) - Optional. The optional client secret. Required to enable Authorization Code flow for web sign-in.
26
26
* `issuerUri` (*type:* `String.t`, *default:* `nil`) - Required. The OIDC issuer URI. Must be a valid URI using the `https` scheme.
27
-
* `jwksJson` (*type:* `String.t`, *default:* `nil`) - 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": "" } ] }
27
+
* `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": "" } ] }
28
28
* `webSsoConfig` (*type:* `GoogleApi.IAM.V1.Model.GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig.t`, *default:* `nil`) - Required. Configuration for web single sign-on for the OIDC provider. Here, web sign-in refers to console sign-in and gcloud sign-in through the browser.
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/model/google_iam_admin_v1_workforce_pool_provider_oidc_client_secret_value.ex
* `plainText` (*type:* `String.t`, *default:* `nil`) - Input only. The plain text of the client secret value. For security reasons, this field is only used for input and will never be populated in any response.
24
+
* `plainText` (*type:* `String.t`, *default:* `nil`) - Optional. Input only. The plain text of the client secret value. For security reasons, this field is only used for input and will never be populated in any response.
25
25
* `thumbprint` (*type:* `String.t`, *default:* `nil`) - Output only. A thumbprint to represent the current client secret value.
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/model/google_iam_admin_v1_workforce_pool_provider_oidc_web_sso_config.ex
* `additionalScopes` (*type:* `list(String.t)`, *default:* `nil`) - Additional scopes to request for in the OIDC authentication request on top of scopes requested by default. By default, the `openid`, `profile` and `email` scopes that are supported by the identity provider are requested. Each additional scope may be at most 256 characters. A maximum of 10 additional scopes may be configured.
24
+
* `additionalScopes` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Additional scopes to request for in the OIDC authentication request on top of scopes requested by default. By default, the `openid`, `profile` and `email` scopes that are supported by the identity provider are requested. Each additional scope may be at most 256 characters. A maximum of 10 additional scopes may be configured.
25
25
* `assertionClaimsBehavior` (*type:* `String.t`, *default:* `nil`) - Required. The behavior for how OIDC Claims are included in the `assertion` object used for attribute mapping and attribute condition.
26
26
* `responseType` (*type:* `String.t`, *default:* `nil`) - Required. The Response Type to request for in the OIDC Authorization Request for web sign-in. The `CODE` Response Type is recommended to avoid the Implicit Flow, for security reasons.
Copy file name to clipboardExpand all lines: clients/iam/lib/google_api/iam/v1/model/workforce_pool.ex
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,13 @@ defmodule GoogleApi.IAM.V1.Model.WorkforcePool do
22
22
## Attributes
23
23
24
24
* `accessRestrictions` (*type:* `GoogleApi.IAM.V1.Model.AccessRestrictions.t`, *default:* `nil`) - Optional. Configure access restrictions on the workforce pool users. This is an optional field. If specified web sign-in can be restricted to given set of services or programmatic sign-in can be disabled for pool users.
25
-
* `description` (*type:* `String.t`, *default:* `nil`) - A user-specified description of the pool. Cannot exceed 256 characters.
26
-
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Disables the workforce pool. 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.
27
-
* `displayName` (*type:* `String.t`, *default:* `nil`) - A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
25
+
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A user-specified description of the pool. Cannot exceed 256 characters.
26
+
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Disables the workforce pool. 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.
27
+
* `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
28
28
* `expireTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Time after which the workforce pool will be permanently purged and cannot be recovered.
29
29
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`
30
30
* `parent` (*type:* `String.t`, *default:* `nil`) - Immutable. The resource name of the parent. Format: `organizations/{org-id}`.
31
-
* `sessionDuration` (*type:* `String.t`, *default:* `nil`) - Duration that the Google Cloud access tokens, console sign-in sessions, and `gcloud` sign-in sessions from this pool are valid. Must be greater than 15 minutes (900s) and less than 12 hours (43200s). If `session_duration` is not configured, minted credentials have a default duration of one hour (3600s). For SAML providers, the lifetime of the token is the minimum of the `session_duration` and the `SessionNotOnOrAfter` claim in the SAML assertion.
31
+
* `sessionDuration` (*type:* `String.t`, *default:* `nil`) - Optional. Duration that the Google Cloud access tokens, console sign-in sessions, and `gcloud` sign-in sessions from this pool are valid. Must be greater than 15 minutes (900s) and less than 12 hours (43200s). If `session_duration` is not configured, minted credentials have a default duration of one hour (3600s). For SAML providers, the lifetime of the token is the minimum of the `session_duration` and the `SessionNotOnOrAfter` claim in the SAML assertion.
32
32
* `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/workforce_pool_provider.ex
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ defmodule GoogleApi.IAM.V1.Model.WorkforcePoolProvider 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`. `google.profile_photo`, `google.display_name` and `google.posix_username` are not supported. * `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 credentials will be accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ```
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`. `google.profile_photo`, `google.display_name` and `google.posix_username` are not supported. * `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 credentials will be accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ```
25
25
* `attributeMapping` (*type:* `map()`, *default:* `nil`) - Required. Maps attributes from the 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. This is a required field and the mapped subject cannot exceed 127 bytes. * `google.groups`: Groups the authenticating user belongs to. You can grant groups access to resources using an IAM `principalSet` binding; access applies to all members of the group. * `google.display_name`: The name of the authenticated user. This is an optional field and the mapped display name cannot exceed 100 bytes. If not set, `google.subject` will be displayed instead. This attribute cannot be referenced in IAM bindings. * `google.profile_photo`: The URL that specifies the authenticated user's thumbnail photo. This is an optional field. When set, the image will be visible as the user's profile picture. If not set, a generic user icon will be displayed instead. This attribute cannot be referenced in IAM bindings. * `google.posix_username`: The Linux username used by OS Login. This is an optional field and the mapped POSIX username cannot exceed 32 characters, The key must match the regex "^a-zA-Z0-9._{0,31}$". This attribute cannot be referenced in IAM bindings. 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 workforce pool to Google Cloud resources. For example: * `google.subject`: `principal://iam.googleapis.com/locations/global/workforcePools/{pool}/subject/{value}` * `google.groups`: `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool}/group/{value}` * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/locations/global/workforcePools/{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 4KB. For OIDC providers, you must supply a custom mapping that includes 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
-
* `description` (*type:* `String.t`, *default:* `nil`) - A user-specified description of the provider. Cannot exceed 256 characters.
27
-
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Disables the workforce pool provider. You cannot use a disabled provider to exchange tokens. However, existing tokens still grant access.
28
-
* `displayName` (*type:* `String.t`, *default:* `nil`) - A user-specified display name for the provider. Cannot exceed 32 characters.
26
+
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A user-specified description of the provider. Cannot exceed 256 characters.
27
+
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Disables the workforce pool provider. You cannot use a disabled provider to exchange tokens. However, existing tokens still grant access.
28
+
* `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. A user-specified display name for the provider. Cannot exceed 32 characters.
29
29
* `expireTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Time after which the workload pool provider will be permanently purged and cannot be recovered.
30
30
* `extraAttributesOauth2Client` (*type:* `GoogleApi.IAM.V1.Model.GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client.t`, *default:* `nil`) - Optional. The configuration for OAuth 2.0 client used to get the additional user attributes. This should be used when users can't get the desired claims in authentication credentials. Currently this configuration is only supported with OIDC protocol.
31
31
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`
0 commit comments