Class: Google::Cloud::AIPlatform::V1::ServiceAccountSpec
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::ServiceAccountSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb
Overview
Configuration for the use of custom service account to run the workloads.
Instance Attribute Summary collapse
-
#enable_custom_service_account ⇒ ::Boolean
Required.
-
#service_account ⇒ ::String
Optional.
Instance Attribute Details
#enable_custom_service_account ⇒ ::Boolean
Returns 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.
307 308 309 310 |
# File 'proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb', line 307 class ServiceAccountSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#service_account ⇒ ::String
Returns Optional. Required when all below conditions are met
enable_custom_service_accountis true;- any runtime is specified via
ResourceRuntimeSpecon 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.
307 308 309 310 |
# File 'proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb', line 307 class ServiceAccountSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |