ServiceAccountSpec class final

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

Constructors

ServiceAccountSpec({required bool enableCustomServiceAccount, String serviceAccount = ''})
ServiceAccountSpec.fromJson(Object? j)
factory

Properties

enableCustomServiceAccount → 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.
final
hashCode → int
The hash code for this object.
no setterinherited
qualifiedName → String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → String
Optional. Required when all below conditions are met
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Object
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String