1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. cloudrunv2
  5. getJob
Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi

gcp.cloudrunv2.getJob

Explore with Pulumi AI

Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 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",
});
Copy
import pulumi
import pulumi_gcp as gcp

my_job = gcp.cloudrunv2.get_job(name="my-job",
    location="us-central1")
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  myJob:
    fn::invoke:
      function: gcp:cloudrunv2:getJob
      arguments:
        name: my-job
        location: us-central1
Copy

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>
Copy
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]
Copy
func LookupJob(ctx *Context, args *LookupJobArgs, opts ...InvokeOption) (*LookupJobResult, error)
func LookupJobOutput(ctx *Context, args *LookupJobOutputArgs, opts ...InvokeOption) LookupJobResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetJobResult> getJob(GetJobArgs args, InvokeOptions options)
public static Output<GetJobResult> getJob(GetJobArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcp:cloudrunv2/getJob:getJob
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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
DeletionProtection bool
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 Map<String,String>
binaryAuthorizations List<GetJobBinaryAuthorization>
client String
clientVersion String
conditions List<GetJobCondition>
createTime String
creator String
deleteTime String
deletionProtection Boolean
effectiveAnnotations Map<String,String>
effectiveLabels Map<String,String>
etag String
executionCount Integer
expireTime String
generation String
id String
The provider-assigned unique ID for this managed resource.
labels Map<String,String>
lastModifier String
latestCreatedExecutions List<GetJobLatestCreatedExecution>
launchStage String
name String
observedGeneration String
pulumiLabels Map<String,String>
reconciling Boolean
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
deletionProtection boolean
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 This property is required. 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
Policy This property is required. string
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
UseDefault This property is required. bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
BreakglassJustification This property is required. 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
Policy This property is required. string
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
UseDefault This property is required. bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification This property is required. 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
policy This property is required. String
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
useDefault This property is required. Boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification This property is required. 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
policy This property is required. string
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
useDefault This property is required. boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglass_justification This property is required. 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
policy This property is required. str
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
use_default This property is required. bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification This property is required. 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
policy This property is required. String
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
useDefault This property is required. Boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

GetJobCondition

ExecutionReason This property is required. string
A reason for the execution condition.
LastTransitionTime This property is required. 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 This property is required. string
Human readable message indicating details about the current status.
Reason This property is required. string
A common (service-level) reason for this condition.
RevisionReason This property is required. string
A reason for the revision condition.
Severity This property is required. string
How to interpret failures of this condition, one of Error, Warning, Info
State This property is required. string
State of the condition.
Type This property is required. 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 This property is required. string
A reason for the execution condition.
LastTransitionTime This property is required. 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 This property is required. string
Human readable message indicating details about the current status.
Reason This property is required. string
A common (service-level) reason for this condition.
RevisionReason This property is required. string
A reason for the revision condition.
Severity This property is required. string
How to interpret failures of this condition, one of Error, Warning, Info
State This property is required. string
State of the condition.
Type This property is required. 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 This property is required. String
A reason for the execution condition.
lastTransitionTime This property is required. 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 This property is required. String
Human readable message indicating details about the current status.
reason This property is required. String
A common (service-level) reason for this condition.
revisionReason This property is required. String
A reason for the revision condition.
severity This property is required. String
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. String
State of the condition.
type This property is required. 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 This property is required. string
A reason for the execution condition.
lastTransitionTime This property is required. 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 This property is required. string
Human readable message indicating details about the current status.
reason This property is required. string
A common (service-level) reason for this condition.
revisionReason This property is required. string
A reason for the revision condition.
severity This property is required. string
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. string
State of the condition.
type This property is required. 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 This property is required. str
A reason for the execution condition.
last_transition_time This property is required. 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 This property is required. str
Human readable message indicating details about the current status.
reason This property is required. str
A common (service-level) reason for this condition.
revision_reason This property is required. str
A reason for the revision condition.
severity This property is required. str
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. str
State of the condition.
type This property is required. 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 This property is required. String
A reason for the execution condition.
lastTransitionTime This property is required. 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 This property is required. String
Human readable message indicating details about the current status.
reason This property is required. String
A common (service-level) reason for this condition.
revisionReason This property is required. String
A reason for the revision condition.
severity This property is required. String
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. String
State of the condition.
type This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The name of the Cloud Run v2 Job.
CompletionTime This property is required. 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 This property is required. 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 This property is required. string
The name of the Cloud Run v2 Job.
completionTime This property is required. 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 This property is required. 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 This property is required. String
The name of the Cloud Run v2 Job.
completionTime This property is required. 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 This property is required. 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 This property is required. string
The name of the Cloud Run v2 Job.
completion_time This property is required. 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 This property is required. 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 This property is required. str
The name of the Cloud Run v2 Job.
completionTime This property is required. 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 This property is required. 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 This property is required. String
The name of the Cloud Run v2 Job.

GetJobTemplate

Annotations This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<GetJobTemplateTemplate>
Describes the task(s) that will be created when executing an execution
Annotations This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. []GetJobTemplateTemplate
Describes the task(s) that will be created when executing an execution
annotations This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<GetJobTemplateTemplate>
Describes the task(s) that will be created when executing an execution
annotations This property is required. {[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 This property is required. {[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 This property is required. 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 This property is required. 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 This property is required. GetJobTemplateTemplate[]
Describes the task(s) that will be created when executing an execution
annotations This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. Sequence[GetJobTemplateTemplate]
Describes the task(s) that will be created when executing an execution
annotations This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<Property Map>
Describes the task(s) that will be created when executing an execution

GetJobTemplateTemplate

Containers This property is required. List<GetJobTemplateTemplateContainer>
Holds the single container that defines the unit of execution for this task.
EncryptionKey This property is required. 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 This property is required. string
The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
MaxRetries This property is required. int
Number of retries allowed per Task, before marking this Task failed.
ServiceAccount This property is required. 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 This property is required. 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 This property is required. List<GetJobTemplateTemplateVolume>
A list of Volumes to make available to containers.
VpcAccesses This property is required. List<GetJobTemplateTemplateVpcAccess>
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
Containers This property is required. []GetJobTemplateTemplateContainer
Holds the single container that defines the unit of execution for this task.
EncryptionKey This property is required. 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 This property is required. string
The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
MaxRetries This property is required. int
Number of retries allowed per Task, before marking this Task failed.
ServiceAccount This property is required. 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 This property is required. 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 This property is required. []GetJobTemplateTemplateVolume
A list of Volumes to make available to containers.
VpcAccesses This property is required. []GetJobTemplateTemplateVpcAccess
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
containers This property is required. List<GetJobTemplateTemplateContainer>
Holds the single container that defines the unit of execution for this task.
encryptionKey This property is required. 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 This property is required. String
The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
maxRetries This property is required. Integer
Number of retries allowed per Task, before marking this Task failed.
serviceAccount This property is required. 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 This property is required. 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 This property is required. List<GetJobTemplateTemplateVolume>
A list of Volumes to make available to containers.
vpcAccesses This property is required. List<GetJobTemplateTemplateVpcAccess>
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
containers This property is required. GetJobTemplateTemplateContainer[]
Holds the single container that defines the unit of execution for this task.
encryptionKey This property is required. 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 This property is required. string
The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
maxRetries This property is required. number
Number of retries allowed per Task, before marking this Task failed.
serviceAccount This property is required. 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 This property is required. 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 This property is required. GetJobTemplateTemplateVolume[]
A list of Volumes to make available to containers.
vpcAccesses This property is required. GetJobTemplateTemplateVpcAccess[]
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
containers This property is required. Sequence[GetJobTemplateTemplateContainer]
Holds the single container that defines the unit of execution for this task.
encryption_key This property is required. 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 This property is required. str
The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
max_retries This property is required. int
Number of retries allowed per Task, before marking this Task failed.
service_account This property is required. 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 This property is required. 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 This property is required. Sequence[GetJobTemplateTemplateVolume]
A list of Volumes to make available to containers.
vpc_accesses This property is required. Sequence[GetJobTemplateTemplateVpcAccess]
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
containers This property is required. List<Property Map>
Holds the single container that defines the unit of execution for this task.
encryptionKey This property is required. 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 This property is required. String
The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
maxRetries This property is required. Number
Number of retries allowed per Task, before marking this Task failed.
serviceAccount This property is required. 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 This property is required. 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 This property is required. List<Property Map>
A list of Volumes to make available to containers.
vpcAccesses This property is required. 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 This property is required. List<string>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
Commands This property is required. 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 This property is required. List<GetJobTemplateTemplateContainerEnv>
List of environment variables to set in the container.
Image This property is required. string
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
Name This property is required. string
The name of the Cloud Run v2 Job.
Ports This property is required. 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 This property is required. List<GetJobTemplateTemplateContainerResource>
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
VolumeMounts This property is required. List<GetJobTemplateTemplateContainerVolumeMount>
Volume to mount into the container's filesystem.
WorkingDir This property is required. 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 This property is required. []string
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
Commands This property is required. []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 This property is required. []GetJobTemplateTemplateContainerEnv
List of environment variables to set in the container.
Image This property is required. string
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
Name This property is required. string
The name of the Cloud Run v2 Job.
Ports This property is required. []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 This property is required. []GetJobTemplateTemplateContainerResource
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
VolumeMounts This property is required. []GetJobTemplateTemplateContainerVolumeMount
Volume to mount into the container's filesystem.
WorkingDir This property is required. 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 This property is required. List<String>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
commands This property is required. 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 This property is required. List<GetJobTemplateTemplateContainerEnv>
List of environment variables to set in the container.
image This property is required. String
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
name This property is required. String
The name of the Cloud Run v2 Job.
ports This property is required. 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 This property is required. List<GetJobTemplateTemplateContainerResource>
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
volumeMounts This property is required. List<GetJobTemplateTemplateContainerVolumeMount>
Volume to mount into the container's filesystem.
workingDir This property is required. 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 This property is required. string[]
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
commands This property is required. 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 This property is required. GetJobTemplateTemplateContainerEnv[]
List of environment variables to set in the container.
image This property is required. string
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
name This property is required. string
The name of the Cloud Run v2 Job.
ports This property is required. 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 This property is required. GetJobTemplateTemplateContainerResource[]
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
volumeMounts This property is required. GetJobTemplateTemplateContainerVolumeMount[]
Volume to mount into the container's filesystem.
workingDir This property is required. 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 This property is required. Sequence[str]
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
commands This property is required. 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 This property is required. Sequence[GetJobTemplateTemplateContainerEnv]
List of environment variables to set in the container.
image This property is required. str
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
name This property is required. str
The name of the Cloud Run v2 Job.
ports This property is required. 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 This property is required. Sequence[GetJobTemplateTemplateContainerResource]
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
volume_mounts This property is required. Sequence[GetJobTemplateTemplateContainerVolumeMount]
Volume to mount into the container's filesystem.
working_dir This property is required. 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 This property is required. List<String>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
commands This property is required. 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 This property is required. List<Property Map>
List of environment variables to set in the container.
image This property is required. String
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
name This property is required. String
The name of the Cloud Run v2 Job.
ports This property is required. 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 This property is required. List<Property Map>
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
volumeMounts This property is required. List<Property Map>
Volume to mount into the container's filesystem.
workingDir This property is required. 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 This property is required. string
The name of the Cloud Run v2 Job.
Value This property is required. string
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
ValueSources This property is required. List<GetJobTemplateTemplateContainerEnvValueSource>
Source for the environment variable's value.
Name This property is required. string
The name of the Cloud Run v2 Job.
Value This property is required. string
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
ValueSources This property is required. []GetJobTemplateTemplateContainerEnvValueSource
Source for the environment variable's value.
name This property is required. String
The name of the Cloud Run v2 Job.
value This property is required. String
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
valueSources This property is required. List<GetJobTemplateTemplateContainerEnvValueSource>
Source for the environment variable's value.
name This property is required. string
The name of the Cloud Run v2 Job.
value This property is required. string
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
valueSources This property is required. GetJobTemplateTemplateContainerEnvValueSource[]
Source for the environment variable's value.
name This property is required. str
The name of the Cloud Run v2 Job.
value This property is required. str
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
value_sources This property is required. Sequence[GetJobTemplateTemplateContainerEnvValueSource]
Source for the environment variable's value.
name This property is required. String
The name of the Cloud Run v2 Job.
value This property is required. String
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
valueSources This property is required. List<Property Map>
Source for the environment variable's value.

GetJobTemplateTemplateContainerEnvValueSource

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

GetJobTemplateTemplateContainerEnvValueSourceSecretKeyRef

Secret This property is required. 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 This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
Secret This property is required. 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 This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
secret This property is required. 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 This property is required. String
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
secret This property is required. 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 This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
secret This property is required. 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 This property is required. str
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
secret This property is required. 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 This property is required. String
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.

GetJobTemplateTemplateContainerPort

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

GetJobTemplateTemplateContainerResource

Limits This property is required. 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 This property is required. 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 This property is required. 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 This property is required. {[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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The name of the Cloud Run v2 Job.
MountPath This property is required. 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 This property is required. string
The name of the Cloud Run v2 Job.
mountPath This property is required. 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 This property is required. String
The name of the Cloud Run v2 Job.
mountPath This property is required. 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 This property is required. string
The name of the Cloud Run v2 Job.
mount_path This property is required. 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 This property is required. str
The name of the Cloud Run v2 Job.
mountPath This property is required. 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 This property is required. String
The name of the Cloud Run v2 Job.

GetJobTemplateTemplateVolume

CloudSqlInstances This property is required. 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 This property is required. List<GetJobTemplateTemplateVolumeEmptyDir>
Ephemeral storage used as a shared volume.
Gcs This property is required. List<GetJobTemplateTemplateVolumeGc>
Cloud Storage bucket mounted as a volume using GCSFuse.
Name This property is required. string
The name of the Cloud Run v2 Job.
Nfs This property is required. List<GetJobTemplateTemplateVolumeNf>
NFS share mounted as a volume.
Secrets This property is required. List<GetJobTemplateTemplateVolumeSecret>
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
CloudSqlInstances This property is required. []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 This property is required. []GetJobTemplateTemplateVolumeEmptyDir
Ephemeral storage used as a shared volume.
Gcs This property is required. []GetJobTemplateTemplateVolumeGc
Cloud Storage bucket mounted as a volume using GCSFuse.
Name This property is required. string
The name of the Cloud Run v2 Job.
Nfs This property is required. []GetJobTemplateTemplateVolumeNf
NFS share mounted as a volume.
Secrets This property is required. []GetJobTemplateTemplateVolumeSecret
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
cloudSqlInstances This property is required. 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 This property is required. List<GetJobTemplateTemplateVolumeEmptyDir>
Ephemeral storage used as a shared volume.
gcs This property is required. List<GetJobTemplateTemplateVolumeGc>
Cloud Storage bucket mounted as a volume using GCSFuse.
name This property is required. String
The name of the Cloud Run v2 Job.
nfs This property is required. List<GetJobTemplateTemplateVolumeNf>
NFS share mounted as a volume.
secrets This property is required. List<GetJobTemplateTemplateVolumeSecret>
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
cloudSqlInstances This property is required. 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 This property is required. GetJobTemplateTemplateVolumeEmptyDir[]
Ephemeral storage used as a shared volume.
gcs This property is required. GetJobTemplateTemplateVolumeGc[]
Cloud Storage bucket mounted as a volume using GCSFuse.
name This property is required. string
The name of the Cloud Run v2 Job.
nfs This property is required. GetJobTemplateTemplateVolumeNf[]
NFS share mounted as a volume.
secrets This property is required. GetJobTemplateTemplateVolumeSecret[]
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
cloud_sql_instances This property is required. 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 This property is required. Sequence[GetJobTemplateTemplateVolumeEmptyDir]
Ephemeral storage used as a shared volume.
gcs This property is required. Sequence[GetJobTemplateTemplateVolumeGc]
Cloud Storage bucket mounted as a volume using GCSFuse.
name This property is required. str
The name of the Cloud Run v2 Job.
nfs This property is required. Sequence[GetJobTemplateTemplateVolumeNf]
NFS share mounted as a volume.
secrets This property is required. Sequence[GetJobTemplateTemplateVolumeSecret]
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
cloudSqlInstances This property is required. 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 This property is required. List<Property Map>
Ephemeral storage used as a shared volume.
gcs This property is required. List<Property Map>
Cloud Storage bucket mounted as a volume using GCSFuse.
name This property is required. String
The name of the Cloud Run v2 Job.
nfs This property is required. List<Property Map>
NFS share mounted as a volume.
secrets This property is required. List<Property Map>
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

GetJobTemplateTemplateVolumeCloudSqlInstance

Instances This property is required. 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 This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
SizeLimit This property is required. 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 This property is required. string
The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
SizeLimit This property is required. 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 This property is required. String
The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
sizeLimit This property is required. 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 This property is required. string
The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
sizeLimit This property is required. 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 This property is required. str
The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
size_limit This property is required. 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 This property is required. String
The different types of medium supported for EmptyDir. Default value: "MEMORY" Possible values: ["MEMORY"]
sizeLimit This property is required. 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 This property is required. string
Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
MountOptions This property is required. List<string>
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
ReadOnly This property is required. bool
If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
Bucket This property is required. string
Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
MountOptions This property is required. []string
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
ReadOnly This property is required. bool
If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
bucket This property is required. String
Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
mountOptions This property is required. List<String>
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
readOnly This property is required. Boolean
If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
bucket This property is required. string
Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
mountOptions This property is required. string[]
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
readOnly This property is required. boolean
If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
bucket This property is required. str
Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
mount_options This property is required. Sequence[str]
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
read_only This property is required. bool
If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
bucket This property is required. String
Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
mountOptions This property is required. List<String>
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
readOnly This property is required. Boolean
If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.

GetJobTemplateTemplateVolumeNf

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

GetJobTemplateTemplateVolumeSecret

DefaultMode This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The relative path of the secret in the container.
Version This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
Mode This property is required. 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 This property is required. string
The relative path of the secret in the container.
Version This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
mode This property is required. 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 This property is required. String
The relative path of the secret in the container.
version This property is required. String
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
mode This property is required. 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 This property is required. string
The relative path of the secret in the container.
version This property is required. string
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
mode This property is required. 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 This property is required. str
The relative path of the secret in the container.
version This property is required. str
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
mode This property is required. 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 This property is required. String
The relative path of the secret in the container.
version This property is required. String
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version

GetJobTemplateTemplateVpcAccess

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

GetJobTemplateTemplateVpcAccessNetworkInterface

Network This property is required. 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 This property is required. 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 This property is required. List<string>
Network tags applied to this Cloud Run job.
Network This property is required. 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 This property is required. 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 This property is required. []string
Network tags applied to this Cloud Run job.
network This property is required. 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 This property is required. 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 This property is required. List<String>
Network tags applied to this Cloud Run job.
network This property is required. 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 This property is required. 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 This property is required. string[]
Network tags applied to this Cloud Run job.
network This property is required. 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 This property is required. 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 This property is required. Sequence[str]
Network tags applied to this Cloud Run job.
network This property is required. 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 This property is required. 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 This property is required. List<String>
Network tags applied to this Cloud Run job.

GetJobTerminalCondition

ExecutionReason This property is required. string
A reason for the execution condition.
LastTransitionTime This property is required. 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 This property is required. string
Human readable message indicating details about the current status.
Reason This property is required. string
A common (service-level) reason for this condition.
RevisionReason This property is required. string
A reason for the revision condition.
Severity This property is required. string
How to interpret failures of this condition, one of Error, Warning, Info
State This property is required. string
State of the condition.
Type This property is required. 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 This property is required. string
A reason for the execution condition.
LastTransitionTime This property is required. 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 This property is required. string
Human readable message indicating details about the current status.
Reason This property is required. string
A common (service-level) reason for this condition.
RevisionReason This property is required. string
A reason for the revision condition.
Severity This property is required. string
How to interpret failures of this condition, one of Error, Warning, Info
State This property is required. string
State of the condition.
Type This property is required. 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 This property is required. String
A reason for the execution condition.
lastTransitionTime This property is required. 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 This property is required. String
Human readable message indicating details about the current status.
reason This property is required. String
A common (service-level) reason for this condition.
revisionReason This property is required. String
A reason for the revision condition.
severity This property is required. String
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. String
State of the condition.
type This property is required. 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 This property is required. string
A reason for the execution condition.
lastTransitionTime This property is required. 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 This property is required. string
Human readable message indicating details about the current status.
reason This property is required. string
A common (service-level) reason for this condition.
revisionReason This property is required. string
A reason for the revision condition.
severity This property is required. string
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. string
State of the condition.
type This property is required. 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 This property is required. str
A reason for the execution condition.
last_transition_time This property is required. 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 This property is required. str
Human readable message indicating details about the current status.
reason This property is required. str
A common (service-level) reason for this condition.
revision_reason This property is required. str
A reason for the revision condition.
severity This property is required. str
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. str
State of the condition.
type This property is required. 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 This property is required. String
A reason for the execution condition.
lastTransitionTime This property is required. 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 This property is required. String
Human readable message indicating details about the current status.
reason This property is required. String
A common (service-level) reason for this condition.
revisionReason This property is required. String
A reason for the revision condition.
severity This property is required. String
How to interpret failures of this condition, one of Error, Warning, Info
state This property is required. String
State of the condition.
type This property is required. 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.
Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi