1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. cloudrunv2
  5. getJob
Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi

gcp.cloudrunv2.getJob

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Get information about a Google Cloud Run v2 Job. For more information see the official documentation and API.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const myJob = gcp.cloudrunv2.getJob({
        name: "my-job",
        location: "us-central1",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_job = gcp.cloudrunv2.get_job(name="my-job",
        location="us-central1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudrunv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudrunv2.LookupJob(ctx, &cloudrunv2.LookupJobArgs{
    			Name:     "my-job",
    			Location: pulumi.StringRef("us-central1"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var myJob = Gcp.CloudRunV2.GetJob.Invoke(new()
        {
            Name = "my-job",
            Location = "us-central1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.cloudrunv2.Cloudrunv2Functions;
    import com.pulumi.gcp.cloudrunv2.inputs.GetJobArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var myJob = Cloudrunv2Functions.getJob(GetJobArgs.builder()
                .name("my-job")
                .location("us-central1")
                .build());
    
        }
    }
    
    variables:
      myJob:
        fn::invoke:
          Function: gcp:cloudrunv2:getJob
          Arguments:
            name: my-job
            location: us-central1
    

    Using getJob

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getJob(args: GetJobArgs, opts?: InvokeOptions): Promise<GetJobResult>
    function getJobOutput(args: GetJobOutputArgs, opts?: InvokeOptions): Output<GetJobResult>
    def get_job(location: Optional[str] = None,
                name: Optional[str] = None,
                project: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetJobResult
    def get_job_output(location: Optional[pulumi.Input[str]] = None,
                name: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetJobResult]
    func LookupJob(ctx *Context, args *LookupJobArgs, opts ...InvokeOption) (*LookupJobResult, error)
    func LookupJobOutput(ctx *Context, args *LookupJobOutputArgs, opts ...InvokeOption) LookupJobResultOutput

    > Note: This function is named LookupJob in the Go SDK.

    public static class GetJob 
    {
        public static Task<GetJobResult> InvokeAsync(GetJobArgs args, InvokeOptions? opts = null)
        public static Output<GetJobResult> Invoke(GetJobInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetJobResult> getJob(GetJobArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gcp:cloudrunv2/getJob:getJob
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the Cloud Run v2 Job.
    Location string
    The location of the instance. eg us-central1


    Project string
    The project in which the resource belongs. If it is not provided, the provider project is used.
    Name string
    The name of the Cloud Run v2 Job.
    Location string
    The location of the instance. eg us-central1


    Project string
    The project in which the resource belongs. If it is not provided, the provider project is used.
    name String
    The name of the Cloud Run v2 Job.
    location String
    The location of the instance. eg us-central1


    project String
    The project in which the resource belongs. If it is not provided, the provider project is used.
    name string
    The name of the Cloud Run v2 Job.
    location string
    The location of the instance. eg us-central1


    project string
    The project in which the resource belongs. If it is not provided, the provider project is used.
    name str
    The name of the Cloud Run v2 Job.
    location str
    The location of the instance. eg us-central1


    project str
    The project in which the resource belongs. If it is not provided, the provider project is used.
    name String
    The name of the Cloud Run v2 Job.
    location String
    The location of the instance. eg us-central1


    project String
    The project in which the resource belongs. If it is not provided, the provider project is used.

    getJob Result

    The following output properties are available:

    Annotations Dictionary<string, string>
    BinaryAuthorizations List<GetJobBinaryAuthorization>
    Client string
    ClientVersion string
    Conditions List<GetJobCondition>
    CreateTime string
    Creator string
    DeleteTime string
    EffectiveAnnotations Dictionary<string, string>
    EffectiveLabels Dictionary<string, string>
    Etag string
    ExecutionCount int
    ExpireTime string
    Generation string
    Id string
    The provider-assigned unique ID for this managed resource.
    Labels Dictionary<string, string>
    LastModifier string
    LatestCreatedExecutions List<GetJobLatestCreatedExecution>
    LaunchStage string
    Name string
    ObservedGeneration string
    PulumiLabels Dictionary<string, string>
    Reconciling bool
    RunExecutionToken string
    StartExecutionToken string
    Templates List<GetJobTemplate>
    TerminalConditions List<GetJobTerminalCondition>
    Uid string
    UpdateTime string
    Location string
    Project string
    annotations {[key: string]: string}
    binaryAuthorizations GetJobBinaryAuthorization[]
    client string
    clientVersion string
    conditions GetJobCondition[]
    createTime string
    creator string
    deleteTime string
    effectiveAnnotations {[key: string]: string}
    effectiveLabels {[key: string]: string}
    etag string
    executionCount number
    expireTime string
    generation string
    id string
    The provider-assigned unique ID for this managed resource.
    labels {[key: string]: string}
    lastModifier string
    latestCreatedExecutions GetJobLatestCreatedExecution[]
    launchStage string
    name string
    observedGeneration string
    pulumiLabels {[key: string]: string}
    reconciling boolean
    runExecutionToken string
    startExecutionToken string
    templates GetJobTemplate[]
    terminalConditions GetJobTerminalCondition[]
    uid string
    updateTime string
    location string
    project string

    Supporting Types

    GetJobBinaryAuthorization

    BreakglassJustification string
    If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    UseDefault bool
    If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
    BreakglassJustification string
    If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    UseDefault bool
    If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
    breakglassJustification String
    If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    useDefault Boolean
    If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
    breakglassJustification string
    If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    useDefault boolean
    If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
    breakglass_justification str
    If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    use_default bool
    If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
    breakglassJustification String
    If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
    useDefault Boolean
    If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

    GetJobCondition

    ExecutionReason string
    A reason for the execution condition.
    LastTransitionTime string

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Message string
    Human readable message indicating details about the current status.
    Reason string
    A common (service-level) reason for this condition.
    RevisionReason string
    A reason for the revision condition.
    Severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    State string
    State of the condition.
    Type string
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
    ExecutionReason string
    A reason for the execution condition.
    LastTransitionTime string

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Message string
    Human readable message indicating details about the current status.
    Reason string
    A common (service-level) reason for this condition.
    RevisionReason string
    A reason for the revision condition.
    Severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    State string
    State of the condition.
    Type string
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
    executionReason String
    A reason for the execution condition.
    lastTransitionTime String

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message String
    Human readable message indicating details about the current status.
    reason String
    A common (service-level) reason for this condition.
    revisionReason String
    A reason for the revision condition.
    severity String
    How to interpret failures of this condition, one of Error, Warning, Info
    state String
    State of the condition.
    type String
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
    executionReason string
    A reason for the execution condition.
    lastTransitionTime string

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message string
    Human readable message indicating details about the current status.
    reason string
    A common (service-level) reason for this condition.
    revisionReason string
    A reason for the revision condition.
    severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    state string
    State of the condition.
    type string
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
    execution_reason str
    A reason for the execution condition.
    last_transition_time str

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message str
    Human readable message indicating details about the current status.
    reason str
    A common (service-level) reason for this condition.
    revision_reason str
    A reason for the revision condition.
    severity str
    How to interpret failures of this condition, one of Error, Warning, Info
    state str
    State of the condition.
    type str
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
    executionReason String
    A reason for the execution condition.
    lastTransitionTime String

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message String
    Human readable message indicating details about the current status.
    reason String
    A common (service-level) reason for this condition.
    revisionReason String
    A reason for the revision condition.
    severity String
    How to interpret failures of this condition, one of Error, Warning, Info
    state String
    State of the condition.
    type String
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.

    GetJobLatestCreatedExecution

    CompletionTime string

    Completion timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    CreateTime string

    Creation timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Name string
    The name of the Cloud Run v2 Job.
    CompletionTime string

    Completion timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    CreateTime string

    Creation timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Name string
    The name of the Cloud Run v2 Job.
    completionTime String

    Completion timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    createTime String

    Creation timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    name String
    The name of the Cloud Run v2 Job.
    completionTime string

    Completion timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    createTime string

    Creation timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    name string
    The name of the Cloud Run v2 Job.
    completion_time str

    Completion timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    create_time str

    Creation timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    name str
    The name of the Cloud Run v2 Job.
    completionTime String

    Completion timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    createTime String

    Creation timestamp of the execution.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    name String
    The name of the Cloud Run v2 Job.

    GetJobTemplate

    Annotations Dictionary<string, string>

    Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

    Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.

    This field follows Kubernetes annotations' namespacing, limits, and rules.

    Labels Dictionary<string, string>

    Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

    Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.

    Parallelism int
    Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
    TaskCount int
    Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
    Templates List<GetJobTemplateTemplate>
    Describes the task(s) that will be created when executing an execution
    Annotations map[string]string

    Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

    Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.

    This field follows Kubernetes annotations' namespacing, limits, and rules.

    Labels map[string]string

    Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

    Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.

    Parallelism int
    Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
    TaskCount int
    Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
    Templates []GetJobTemplateTemplate
    Describes the task(s) that will be created when executing an execution
    annotations Map<String,String>

    Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

    Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.

    This field follows Kubernetes annotations' namespacing, limits, and rules.

    labels Map<String,String>

    Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

    Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.

    parallelism Integer
    Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
    taskCount Integer
    Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
    templates List<GetJobTemplateTemplate>
    Describes the task(s) that will be created when executing an execution
    annotations {[key: string]: string}

    Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

    Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.

    This field follows Kubernetes annotations' namespacing, limits, and rules.

    labels {[key: string]: string}

    Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

    Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.

    parallelism number
    Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
    taskCount number
    Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
    templates GetJobTemplateTemplate[]
    Describes the task(s) that will be created when executing an execution
    annotations Mapping[str, str]

    Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

    Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.

    This field follows Kubernetes annotations' namespacing, limits, and rules.

    labels Mapping[str, str]

    Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

    Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.

    parallelism int
    Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
    task_count int
    Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
    templates Sequence[GetJobTemplateTemplate]
    Describes the task(s) that will be created when executing an execution
    annotations Map<String>

    Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

    Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.

    This field follows Kubernetes annotations' namespacing, limits, and rules.

    labels Map<String>

    Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

    Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.

    parallelism Number
    Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
    taskCount Number
    Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
    templates List<Property Map>
    Describes the task(s) that will be created when executing an execution

    GetJobTemplateTemplate

    Containers List<GetJobTemplateTemplateContainer>
    Holds the single container that defines the unit of execution for this task.
    EncryptionKey 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
    ExecutionEnvironment string
    The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    MaxRetries int
    Number of retries allowed per Task, before marking this Task failed.
    ServiceAccount 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.
    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. 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".

    Volumes List<GetJobTemplateTemplateVolume>
    A list of Volumes to make available to containers.
    VpcAccesses List<GetJobTemplateTemplateVpcAccess>
    VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    Containers []GetJobTemplateTemplateContainer
    Holds the single container that defines the unit of execution for this task.
    EncryptionKey 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
    ExecutionEnvironment string
    The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    MaxRetries int
    Number of retries allowed per Task, before marking this Task failed.
    ServiceAccount 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.
    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. 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".

    Volumes []GetJobTemplateTemplateVolume
    A list of Volumes to make available to containers.
    VpcAccesses []GetJobTemplateTemplateVpcAccess
    VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    containers List<GetJobTemplateTemplateContainer>
    Holds the single container that defines the unit of execution for this task.
    encryptionKey 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
    executionEnvironment String
    The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    maxRetries Integer
    Number of retries allowed per Task, before marking this Task failed.
    serviceAccount 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.
    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. 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".

    volumes List<GetJobTemplateTemplateVolume>
    A list of Volumes to make available to containers.
    vpcAccesses List<GetJobTemplateTemplateVpcAccess>
    VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    containers GetJobTemplateTemplateContainer[]
    Holds the single container that defines the unit of execution for this task.
    encryptionKey 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
    executionEnvironment string
    The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    maxRetries number
    Number of retries allowed per Task, before marking this Task failed.
    serviceAccount 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.
    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. 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".

    volumes GetJobTemplateTemplateVolume[]
    A list of Volumes to make available to containers.
    vpcAccesses GetJobTemplateTemplateVpcAccess[]
    VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    containers Sequence[GetJobTemplateTemplateContainer]
    Holds the single container that defines the unit of execution for this task.
    encryption_key str
    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
    execution_environment str
    The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    max_retries int
    Number of retries allowed per Task, before marking this Task failed.
    service_account str
    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 str

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

    volumes Sequence[GetJobTemplateTemplateVolume]
    A list of Volumes to make available to containers.
    vpc_accesses Sequence[GetJobTemplateTemplateVpcAccess]
    VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    containers List<Property Map>
    Holds the single container that defines the unit of execution for this task.
    encryptionKey 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
    executionEnvironment String
    The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
    maxRetries Number
    Number of retries allowed per Task, before marking this Task failed.
    serviceAccount 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.
    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. 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".

    volumes List<Property Map>
    A list of Volumes to make available to containers.
    vpcAccesses List<Property Map>
    VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

    GetJobTemplateTemplateContainer

    Args List<string>
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    Commands List<string>
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    Envs List<GetJobTemplateTemplateContainerEnv>
    List of environment variables to set in the container.
    Image string
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    Name string
    The name of the Cloud Run v2 Job.
    Ports List<GetJobTemplateTemplateContainerPort>

    List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.

    If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on

    Resources List<GetJobTemplateTemplateContainerResource>
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    VolumeMounts List<GetJobTemplateTemplateContainerVolumeMount>
    Volume to mount into the container's filesystem.
    WorkingDir string
    Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
    Args []string
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    Commands []string
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    Envs []GetJobTemplateTemplateContainerEnv
    List of environment variables to set in the container.
    Image string
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    Name string
    The name of the Cloud Run v2 Job.
    Ports []GetJobTemplateTemplateContainerPort

    List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.

    If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on

    Resources []GetJobTemplateTemplateContainerResource
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    VolumeMounts []GetJobTemplateTemplateContainerVolumeMount
    Volume to mount into the container's filesystem.
    WorkingDir string
    Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
    args List<String>
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    commands List<String>
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    envs List<GetJobTemplateTemplateContainerEnv>
    List of environment variables to set in the container.
    image String
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    name String
    The name of the Cloud Run v2 Job.
    ports List<GetJobTemplateTemplateContainerPort>

    List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.

    If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on

    resources List<GetJobTemplateTemplateContainerResource>
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    volumeMounts List<GetJobTemplateTemplateContainerVolumeMount>
    Volume to mount into the container's filesystem.
    workingDir String
    Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
    args string[]
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    commands string[]
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    envs GetJobTemplateTemplateContainerEnv[]
    List of environment variables to set in the container.
    image string
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    name string
    The name of the Cloud Run v2 Job.
    ports GetJobTemplateTemplateContainerPort[]

    List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.

    If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on

    resources GetJobTemplateTemplateContainerResource[]
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    volumeMounts GetJobTemplateTemplateContainerVolumeMount[]
    Volume to mount into the container's filesystem.
    workingDir string
    Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
    args Sequence[str]
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    commands Sequence[str]
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    envs Sequence[GetJobTemplateTemplateContainerEnv]
    List of environment variables to set in the container.
    image str
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    name str
    The name of the Cloud Run v2 Job.
    ports Sequence[GetJobTemplateTemplateContainerPort]

    List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.

    If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on

    resources Sequence[GetJobTemplateTemplateContainerResource]
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    volume_mounts Sequence[GetJobTemplateTemplateContainerVolumeMount]
    Volume to mount into the container's filesystem.
    working_dir str
    Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
    args List<String>
    Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    commands List<String>
    Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
    envs List<Property Map>
    List of environment variables to set in the container.
    image String
    URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    name String
    The name of the Cloud Run v2 Job.
    ports List<Property Map>

    List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.

    If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on

    resources List<Property Map>
    Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
    volumeMounts List<Property Map>
    Volume to mount into the container's filesystem.
    workingDir String
    Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.

    GetJobTemplateTemplateContainerEnv

    Name string
    The name of the Cloud Run v2 Job.
    Value string
    Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes
    ValueSources List<GetJobTemplateTemplateContainerEnvValueSource>
    Source for the environment variable's value.
    Name string
    The name of the Cloud Run v2 Job.
    Value string
    Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes
    ValueSources []GetJobTemplateTemplateContainerEnvValueSource
    Source for the environment variable's value.
    name String
    The name of the Cloud Run v2 Job.
    value String
    Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes
    valueSources List<GetJobTemplateTemplateContainerEnvValueSource>
    Source for the environment variable's value.
    name string
    The name of the Cloud Run v2 Job.
    value string
    Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes
    valueSources GetJobTemplateTemplateContainerEnvValueSource[]
    Source for the environment variable's value.
    name str
    The name of the Cloud Run v2 Job.
    value str
    Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes
    value_sources Sequence[GetJobTemplateTemplateContainerEnvValueSource]
    Source for the environment variable's value.
    name String
    The name of the Cloud Run v2 Job.
    value String
    Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes
    valueSources List<Property Map>
    Source for the environment variable's value.

    GetJobTemplateTemplateContainerEnvValueSource

    SecretKeyReves List<GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRef>
    Selects a secret and a specific version from Cloud Secret Manager.
    SecretKeyReves []GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRef
    Selects a secret and a specific version from Cloud Secret Manager.
    secretKeyReves List<GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRef>
    Selects a secret and a specific version from Cloud Secret Manager.
    secretKeyReves GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRef[]
    Selects a secret and a specific version from Cloud Secret Manager.
    secret_key_reves Sequence[GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRef]
    Selects a secret and a specific version from Cloud Secret Manager.
    secretKeyReves List<Property Map>
    Selects a secret and a specific version from Cloud Secret Manager.

    GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRef

    Secret string
    The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
    Version string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    Secret string
    The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
    Version string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    secret String
    The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
    version String
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    secret string
    The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
    version string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    secret str
    The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
    version str
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
    secret String
    The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
    version String
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.

    GetJobTemplateTemplateContainerPort

    ContainerPort int
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    Name string
    The name of the Cloud Run v2 Job.
    ContainerPort int
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    Name string
    The name of the Cloud Run v2 Job.
    containerPort Integer
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    name String
    The name of the Cloud Run v2 Job.
    containerPort number
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    name string
    The name of the Cloud Run v2 Job.
    container_port int
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    name str
    The name of the Cloud Run v2 Job.
    containerPort Number
    Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
    name String
    The name of the Cloud Run v2 Job.

    GetJobTemplateTemplateContainerResource

    Limits Dictionary<string, string>
    Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    Limits map[string]string
    Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    limits Map<String,String>
    Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    limits {[key: string]: string}
    Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    limits Mapping[str, str]
    Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    limits Map<String>
    Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    GetJobTemplateTemplateContainerVolumeMount

    MountPath string
    Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
    Name string
    The name of the Cloud Run v2 Job.
    MountPath string
    Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
    Name string
    The name of the Cloud Run v2 Job.
    mountPath String
    Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
    name String
    The name of the Cloud Run v2 Job.
    mountPath string
    Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
    name string
    The name of the Cloud Run v2 Job.
    mount_path str
    Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
    name str
    The name of the Cloud Run v2 Job.
    mountPath String
    Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
    name String
    The name of the Cloud Run v2 Job.

    GetJobTemplateTemplateVolume

    CloudSqlInstances List<GetJobTemplateTemplateVolumeCloudSqlInstance>
    For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
    EmptyDirs List<GetJobTemplateTemplateVolumeEmptyDir>
    Ephemeral storage used as a shared volume.
    Gcs List<GetJobTemplateTemplateVolumeGc>
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
    Name string
    The name of the Cloud Run v2 Job.
    Nfs List<GetJobTemplateTemplateVolumeNf>
    NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
    Secrets List<GetJobTemplateTemplateVolumeSecret>
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    CloudSqlInstances []GetJobTemplateTemplateVolumeCloudSqlInstance
    For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
    EmptyDirs []GetJobTemplateTemplateVolumeEmptyDir
    Ephemeral storage used as a shared volume.
    Gcs []GetJobTemplateTemplateVolumeGc
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
    Name string
    The name of the Cloud Run v2 Job.
    Nfs []GetJobTemplateTemplateVolumeNf
    NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
    Secrets []GetJobTemplateTemplateVolumeSecret
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    cloudSqlInstances List<GetJobTemplateTemplateVolumeCloudSqlInstance>
    For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
    emptyDirs List<GetJobTemplateTemplateVolumeEmptyDir>
    Ephemeral storage used as a shared volume.
    gcs List<GetJobTemplateTemplateVolumeGc>
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
    name String
    The name of the Cloud Run v2 Job.
    nfs List<GetJobTemplateTemplateVolumeNf>
    NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
    secrets List<GetJobTemplateTemplateVolumeSecret>
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    cloudSqlInstances GetJobTemplateTemplateVolumeCloudSqlInstance[]
    For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
    emptyDirs GetJobTemplateTemplateVolumeEmptyDir[]
    Ephemeral storage used as a shared volume.
    gcs GetJobTemplateTemplateVolumeGc[]
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
    name string
    The name of the Cloud Run v2 Job.
    nfs GetJobTemplateTemplateVolumeNf[]
    NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
    secrets GetJobTemplateTemplateVolumeSecret[]
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    cloud_sql_instances Sequence[GetJobTemplateTemplateVolumeCloudSqlInstance]
    For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
    empty_dirs Sequence[GetJobTemplateTemplateVolumeEmptyDir]
    Ephemeral storage used as a shared volume.
    gcs Sequence[GetJobTemplateTemplateVolumeGc]
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
    name str
    The name of the Cloud Run v2 Job.
    nfs Sequence[GetJobTemplateTemplateVolumeNf]
    NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
    secrets Sequence[GetJobTemplateTemplateVolumeSecret]
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    cloudSqlInstances List<Property Map>
    For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
    emptyDirs List<Property Map>
    Ephemeral storage used as a shared volume.
    gcs List<Property Map>
    Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
    name String
    The name of the Cloud Run v2 Job.
    nfs List<Property Map>
    NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
    secrets List<Property Map>
    Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

    GetJobTemplateTemplateVolumeCloudSqlInstance

    Instances List<string>
    The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
    Instances []string
    The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
    instances List<String>
    The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
    instances string[]
    The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
    instances Sequence[str]
    The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
    instances List<String>
    The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

    GetJobTemplateTemplateVolumeEmptyDir

    Medium string
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    SizeLimit string
    Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
    Medium string
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    SizeLimit string
    Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
    medium String
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    sizeLimit String
    Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
    medium string
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    sizeLimit string
    Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
    medium str
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    size_limit str
    Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
    medium String
    The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
    sizeLimit String
    Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.

    GetJobTemplateTemplateVolumeGc

    Bucket string
    Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
    ReadOnly bool
    If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
    Bucket string
    Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
    ReadOnly bool
    If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
    bucket String
    Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
    readOnly Boolean
    If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
    bucket string
    Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
    readOnly boolean
    If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
    bucket str
    Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
    read_only bool
    If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
    bucket String
    Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
    readOnly Boolean
    If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.

    GetJobTemplateTemplateVolumeNf

    Path string
    Path that is exported by the NFS server.
    ReadOnly bool
    If true, mount this volume as read-only in all mounts.
    Server string
    Hostname or IP address of the NFS server.
    Path string
    Path that is exported by the NFS server.
    ReadOnly bool
    If true, mount this volume as read-only in all mounts.
    Server string
    Hostname or IP address of the NFS server.
    path String
    Path that is exported by the NFS server.
    readOnly Boolean
    If true, mount this volume as read-only in all mounts.
    server String
    Hostname or IP address of the NFS server.
    path string
    Path that is exported by the NFS server.
    readOnly boolean
    If true, mount this volume as read-only in all mounts.
    server string
    Hostname or IP address of the NFS server.
    path str
    Path that is exported by the NFS server.
    read_only bool
    If true, mount this volume as read-only in all mounts.
    server str
    Hostname or IP address of the NFS server.
    path String
    Path that is exported by the NFS server.
    readOnly Boolean
    If true, mount this volume as read-only in all mounts.
    server String
    Hostname or IP address of the NFS server.

    GetJobTemplateTemplateVolumeSecret

    DefaultMode int
    Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
    Items List<GetJobTemplateTemplateVolumeSecretItem>
    If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
    Secret string
    The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
    DefaultMode int
    Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
    Items []GetJobTemplateTemplateVolumeSecretItem
    If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
    Secret string
    The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
    defaultMode Integer
    Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
    items List<GetJobTemplateTemplateVolumeSecretItem>
    If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
    secret String
    The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
    defaultMode number
    Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
    items GetJobTemplateTemplateVolumeSecretItem[]
    If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
    secret string
    The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
    default_mode int
    Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
    items Sequence[GetJobTemplateTemplateVolumeSecretItem]
    If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
    secret str
    The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
    defaultMode Number
    Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
    items List<Property Map>
    If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
    secret String
    The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.

    GetJobTemplateTemplateVolumeSecretItem

    Mode int
    Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
    Path string
    The relative path of the secret in the container.
    Version string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
    Mode int
    Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
    Path string
    The relative path of the secret in the container.
    Version string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
    mode Integer
    Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
    path String
    The relative path of the secret in the container.
    version String
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
    mode number
    Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
    path string
    The relative path of the secret in the container.
    version string
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
    mode int
    Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
    path str
    The relative path of the secret in the container.
    version str
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
    mode Number
    Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
    path String
    The relative path of the secret in the container.
    version String
    The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version

    GetJobTemplateTemplateVpcAccess

    Connector string
    VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
    Egress string
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    NetworkInterfaces List<GetJobTemplateTemplateVpcAccessNetworkInterface>
    Direct VPC egress settings. Currently only single network interface is supported.
    Connector string
    VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
    Egress string
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    NetworkInterfaces []GetJobTemplateTemplateVpcAccessNetworkInterface
    Direct VPC egress settings. Currently only single network interface is supported.
    connector String
    VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
    egress String
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    networkInterfaces List<GetJobTemplateTemplateVpcAccessNetworkInterface>
    Direct VPC egress settings. Currently only single network interface is supported.
    connector string
    VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
    egress string
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    networkInterfaces GetJobTemplateTemplateVpcAccessNetworkInterface[]
    Direct VPC egress settings. Currently only single network interface is supported.
    connector str
    VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
    egress str
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    network_interfaces Sequence[GetJobTemplateTemplateVpcAccessNetworkInterface]
    Direct VPC egress settings. Currently only single network interface is supported.
    connector String
    VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
    egress String
    Traffic VPC egress settings. Possible values: ["ALL_TRAFFIC", "PRIVATE_RANGES_ONLY"]
    networkInterfaces List<Property Map>
    Direct VPC egress settings. Currently only single network interface is supported.

    GetJobTemplateTemplateVpcAccessNetworkInterface

    Network string
    The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
    Subnetwork string
    The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
    Tags List<string>
    Network tags applied to this Cloud Run job.
    Network string
    The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
    Subnetwork string
    The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
    Tags []string
    Network tags applied to this Cloud Run job.
    network String
    The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
    subnetwork String
    The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
    tags List<String>
    Network tags applied to this Cloud Run job.
    network string
    The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
    subnetwork string
    The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
    tags string[]
    Network tags applied to this Cloud Run job.
    network str
    The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
    subnetwork str
    The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
    tags Sequence[str]
    Network tags applied to this Cloud Run job.
    network String
    The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
    subnetwork String
    The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
    tags List<String>
    Network tags applied to this Cloud Run job.

    GetJobTerminalCondition

    ExecutionReason string
    A reason for the execution condition.
    LastTransitionTime string

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Message string
    Human readable message indicating details about the current status.
    Reason string
    A common (service-level) reason for this condition.
    RevisionReason string
    A reason for the revision condition.
    Severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    State string
    State of the condition.
    Type string
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
    ExecutionReason string
    A reason for the execution condition.
    LastTransitionTime string

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Message string
    Human readable message indicating details about the current status.
    Reason string
    A common (service-level) reason for this condition.
    RevisionReason string
    A reason for the revision condition.
    Severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    State string
    State of the condition.
    Type string
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
    executionReason String
    A reason for the execution condition.
    lastTransitionTime String

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message String
    Human readable message indicating details about the current status.
    reason String
    A common (service-level) reason for this condition.
    revisionReason String
    A reason for the revision condition.
    severity String
    How to interpret failures of this condition, one of Error, Warning, Info
    state String
    State of the condition.
    type String
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
    executionReason string
    A reason for the execution condition.
    lastTransitionTime string

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message string
    Human readable message indicating details about the current status.
    reason string
    A common (service-level) reason for this condition.
    revisionReason string
    A reason for the revision condition.
    severity string
    How to interpret failures of this condition, one of Error, Warning, Info
    state string
    State of the condition.
    type string
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
    execution_reason str
    A reason for the execution condition.
    last_transition_time str

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message str
    Human readable message indicating details about the current status.
    reason str
    A common (service-level) reason for this condition.
    revision_reason str
    A reason for the revision condition.
    severity str
    How to interpret failures of this condition, one of Error, Warning, Info
    state str
    State of the condition.
    type str
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
    executionReason String
    A reason for the execution condition.
    lastTransitionTime String

    Last time the condition transitioned from one status to another.

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    message String
    Human readable message indicating details about the current status.
    reason String
    A common (service-level) reason for this condition.
    revisionReason String
    A reason for the revision condition.
    severity String
    How to interpret failures of this condition, one of Error, Warning, Info
    state String
    State of the condition.
    type String
    type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi