GoogleCloudRunV2TaskTemplate class

TaskTemplate describes the data a task should have when created from a template.

Constructors

GoogleCloudRunV2TaskTemplate({List<GoogleCloudRunV2Container>? containers, String? encryptionKey, String? executionEnvironment, bool? gpuZonalRedundancyDisabled, int? maxRetries, GoogleCloudRunV2NodeSelector? nodeSelector, String? serviceAccount, String? timeout, List<GoogleCloudRunV2Volume>? volumes, GoogleCloudRunV2VpcAccess? vpcAccess})
GoogleCloudRunV2TaskTemplate.fromJson(Map json_)

Properties

containers ↔ List<GoogleCloudRunV2Container>?
Holds the single container that defines the unit of execution for this task.
getter/setter pair
encryptionKey ↔ String?
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image.
getter/setter pair
executionEnvironment ↔ String?
The execution environment being used to host this Task.
getter/setter pair
gpuZonalRedundancyDisabled ↔ bool?
True if GPU zonal redundancy is disabled on this task template.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
maxRetries ↔ int?
Number of retries allowed per Task, before marking this Task failed.
getter/setter pair
nodeSelector ↔ GoogleCloudRunV2NodeSelector?
The node selector for the task template.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount ↔ String?
Email address of the IAM service account associated with the Task of a Job.
getter/setter pair
timeout ↔ String?
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers.
getter/setter pair
volumes ↔ List<GoogleCloudRunV2Volume>?
A list of Volumes to make available to containers.
getter/setter pair
vpcAccess ↔ GoogleCloudRunV2VpcAccess?
VPC Access configuration to use for this Task.
getter/setter pair

Methods

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

Operators

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