JobTemplateTemplateArgs

data class JobTemplateTemplateArgs(val containers: Output<List<JobTemplateTemplateContainerArgs>>? = null, val encryptionKey: Output<String>? = null, val executionEnvironment: Output<String>? = null, val maxRetries: Output<Int>? = null, val serviceAccount: Output<String>? = null, val timeout: Output<String>? = null, val volumes: Output<List<JobTemplateTemplateVolumeArgs>>? = null, val vpcAccess: Output<JobTemplateTemplateVpcAccessArgs>? = null) : ConvertibleToJava<JobTemplateTemplateArgs>

Constructors

Link copied to clipboard
constructor(containers: Output<List<JobTemplateTemplateContainerArgs>>? = null, encryptionKey: Output<String>? = null, executionEnvironment: Output<String>? = null, maxRetries: Output<Int>? = null, serviceAccount: Output<String>? = null, timeout: Output<String>? = null, volumes: Output<List<JobTemplateTemplateVolumeArgs>>? = null, vpcAccess: Output<JobTemplateTemplateVpcAccessArgs>? = null)

Properties

Link copied to clipboard

Holds the single container that defines the unit of execution for this task. Structure is documented below.

Link copied to clipboard
val encryptionKey: Output<String>? = null

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

Link copied to clipboard
val executionEnvironment: Output<String>? = null

The execution environment being used to host this Task. Possible values are: EXECUTION_ENVIRONMENT_GEN1, EXECUTION_ENVIRONMENT_GEN2.

Link copied to clipboard
val maxRetries: Output<Int>? = null

Number of retries allowed per Task, before marking this Task failed. Defaults to 3. Minimum value is 0.

Link copied to clipboard
val serviceAccount: Output<String>? = null

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.

Link copied to clipboard
val timeout: Output<String>? = null

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".

Link copied to clipboard

A list of Volumes to make available to containers. Structure is documented below.

Link copied to clipboard

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.

Functions

Link copied to clipboard
open override fun toJava(): JobTemplateTemplateArgs