GetWorkforcePoolResult

data class GetWorkforcePoolResult(val description: String, val disabled: Boolean, val displayName: String, val name: String, val parent: String, val sessionDuration: String, val state: String)

Constructors

Link copied to clipboard
constructor(description: String, disabled: Boolean, displayName: String, name: String, parent: String, sessionDuration: String, state: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A user-specified description of the pool. Cannot exceed 256 characters.

Link copied to clipboard

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.

Link copied to clipboard

A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.

Link copied to clipboard

The resource name of the pool. Format: locations/{location}/workforcePools/{workforce_pool_id}

Link copied to clipboard

Immutable. The resource name of the parent. Format: organizations/{org-id}.

Link copied to clipboard

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.

Link copied to clipboard

The state of the pool.