GoogleApi.IAM.V1.Model.OauthClientCredential (google_api_iam v0.45.0)

View Source

Represents an OauthClientCredential. Used to authenticate an OauthClient while accessing Google Cloud resources on behalf of a user by using OAuth 2.0 Protocol.

Attributes

  • 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
  • disabled (type: boolean(), default: nil) - Optional. Whether the OauthClientCredential is disabled. You cannot use a disabled OauthClientCredential.
  • displayName (type: String.t, default: nil) - Optional. A user-specified display name of the OauthClientCredential. Cannot exceed 32 characters.
  • name (type: String.t, default: nil) - Immutable. Identifier. The resource name of the OauthClientCredential. Format: projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.IAM.V1.Model.OauthClientCredential{
  clientSecret: String.t() | nil,
  disabled: boolean() | nil,
  displayName: String.t() | nil,
  name: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.