View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ServiceAccountSpec (google_api_ai_platform v0.13.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. Required when all below conditions are met enable_custom_service_account is true; any runtime is specified via ResourceRuntimeSpec on creation time, for example, Ray The users must have iam.serviceAccounts.actAs permission on this service account and then the specified runtime containers will run as it. Do not set this field if you want to submit jobs using custom service account to this PersistentResource after creation, but only specify the service_account inside the job.

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.