GetJobTemplateTemplate class

Constructors

GetJobTemplateTemplate({required Input<List<GetJobTemplateTemplateContainer>> containers, required Input<String> encryptionKey, required Input<String> executionEnvironment, required Input<bool> gpuZonalRedundancyDisabled, required Input<int> maxRetries, required Input<List<GetJobTemplateTemplateNodeSelector>> nodeSelectors, required Input<String> serviceAccount, required Input<String> timeout, required Input<List<GetJobTemplateTemplateVolume>> volumes, required Input<List<GetJobTemplateTemplateVpcAccess>> vpcAccesses})
Creates a new GetJobTemplateTemplate. 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. Possible values: "EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2" 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. nodeSelectors 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. vpcAccesses VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
const
GetJobTemplateTemplate.fromMap(Map<String, dynamic> map)
factory

Properties

containers → Input<List<GetJobTemplateTemplateContainer>>
Holds the single container that defines the unit of execution for this task.
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: "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
nodeSelectors → Input<List<GetJobTemplateTemplateNodeSelector>>
Node Selector describes the hardware requirements of the resources.
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.
final
volumes → Input<List<GetJobTemplateTemplateVolume>>
A list of Volumes to make available to containers.
final
vpcAccesses → Input<List<GetJobTemplateTemplateVpcAccess>>
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
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