Configuration for the use of custom service account to run
the workloads.
Attributes
Name
Description
enable_custom_service_account
bool
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
service_account
str
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-15 UTC."],[],[]]