JobTemplateTemplate class

Constructors

JobTemplateTemplate({Input<List<JobTemplateTemplateContainer>?>? containers, Input<String?>? encryptionKey, Input<String?>? executionEnvironment, Input<bool?>? gpuZonalRedundancyDisabled, Input<int?>? maxRetries, Input<JobTemplateTemplateNodeSelector?>? nodeSelector, Input<String?>? serviceAccount, Input<String?>? timeout, Input<List<JobTemplateTemplateVolume>?>? volumes, Input<JobTemplateTemplateVpcAccess?>? vpcAccess})
Creates a new JobTemplateTemplate. containers Holds the single container that defines the unit of execution for this task. encryptionKey A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek executionEnvironment The execution environment being used to host this Task. gpuZonalRedundancyDisabled True if GPU zonal redundancy is disabled on this execution. maxRetries Number of retries allowed per Task, before marking this Task failed. Defaults to 3. Minimum value is 0. nodeSelector Node Selector describes the hardware requirements of the resources. serviceAccount Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. timeout Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. volumes A list of Volumes to make available to containers. vpcAccess VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
const
JobTemplateTemplate.fromMap(Map<String, dynamic> map)
factory

Properties

containers → Input<List<JobTemplateTemplateContainer>?>?
Holds the single container that defines the unit of execution for this task. Structure is documented below.
final
encryptionKey → Input<String?>?
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
final
executionEnvironment → Input<String?>?
The execution environment being used to host this Task. Possible values are: EXECUTION_ENVIRONMENT_GEN1, EXECUTION_ENVIRONMENT_GEN2.
final
gpuZonalRedundancyDisabled → Input<bool?>?
True if GPU zonal redundancy is disabled on this execution.
final
hashCode → int
The hash code for this object.
no setterinherited
maxRetries → Input<int?>?
Number of retries allowed per Task, before marking this Task failed. Defaults to 3. Minimum value is 0.
final
nodeSelector → Input<JobTemplateTemplateNodeSelector?>?
Node Selector describes the hardware requirements of the resources. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → Input<String?>?
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
final
timeout → Input<String?>?
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
final
volumes → Input<List<JobTemplateTemplateVolume>?>?
A list of Volumes to make available to containers. Structure is documented below.
final
vpcAccess → Input<JobTemplateTemplateVpcAccess?>?
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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