GetJobTemplateTemplate class
Constructors
-
GetJobTemplateTemplate({required Input<
List< containers, required Input<GetJobTemplateTemplateContainer> >String> encryptionKey, required Input<String> executionEnvironment, required Input<bool> gpuZonalRedundancyDisabled, required Input<int> maxRetries, required Input<List< nodeSelectors, required Input<GetJobTemplateTemplateNodeSelector> >String> serviceAccount, required Input<String> timeout, required Input<List< volumes, required Input<GetJobTemplateTemplateVolume> >List< vpcAccesses})GetJobTemplateTemplateVpcAccess> > -
Creates a new GetJobTemplateTemplate.
containersHolds the single container that defines the unit of execution for this task.encryptionKeyA 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-cmekexecutionEnvironmentThe execution environment being used to host this Task. Possible values:"EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"gpuZonalRedundancyDisabledTrue if GPU zonal redundancy is disabled on this execution.maxRetriesNumber of retries allowed per Task, before marking this Task failed. Defaults to 3. Minimum value is 0.nodeSelectorsNode Selector describes the hardware requirements of the resources.serviceAccountEmail 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.timeoutMax 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.volumesA list of Volumes to make available to containers.vpcAccessesVPC 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