View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ServiceAccountSpec (google_api_ai_platform v0.5.0)

Configuration for the use of custom service account to run the workloads.

Attributes

  • enableCustomServiceAccount (type: boolean(), default: nil) - Required. If true, custom user-managed service account is enforced to run any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the Vertex AI Custom Code Service Agent.
  • serviceAccount (type: String.t, default: nil) - Optional. Default service account that this PersistentResource's workloads run as. The workloads include: Any runtime specified via ResourceRuntimeSpec on creation time, for example, Ray. Jobs submitted to PersistentResource, if no other service account specified in the job specs. Only works when custom service account is enabled and users have the iam.serviceAccounts.actAs permission on this service account. Required if any containers are specified in ResourceRuntimeSpec.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ServiceAccountSpec{
  enableCustomServiceAccount: boolean() | nil,
  serviceAccount: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.