gcp.cloudrunv2.getJob
Explore with Pulumi AI
Get information about a Google Cloud Run v2 Job. For more information see the official documentation and API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myJob = gcp.cloudrunv2.getJob({
name: "my-job",
location: "us-central1",
});
import pulumi
import pulumi_gcp as gcp
my_job = gcp.cloudrunv2.get_job(name="my-job",
location="us-central1")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var myJob = Gcp.CloudRunV2.GetJob.Invoke(new()
{
Name = "my-job",
Location = "us-central1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.cloudrunv2.Cloudrunv2Functions;
import com.pulumi.gcp.cloudrunv2.inputs.GetJobArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var myJob = Cloudrunv2Functions.getJob(GetJobArgs.builder()
.name("my-job")
.location("us-central1")
.build());
}
}
variables:
myJob:
fn::invoke:
function: gcp:cloudrunv2:getJob
arguments:
name: my-job
location: us-central1
Using getJob
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getJob(args: GetJobArgs, opts?: InvokeOptions): Promise<GetJobResult>
function getJobOutput(args: GetJobOutputArgs, opts?: InvokeOptions): Output<GetJobResult>
def get_job(location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJobResult
def get_job_output(location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJobResult]
func LookupJob(ctx *Context, args *LookupJobArgs, opts ...InvokeOption) (*LookupJobResult, error)
func LookupJobOutput(ctx *Context, args *LookupJobOutputArgs, opts ...InvokeOption) LookupJobResultOutput
> Note: This function is named LookupJob
in the Go SDK.
public static class GetJob
{
public static Task<GetJobResult> InvokeAsync(GetJobArgs args, InvokeOptions? opts = null)
public static Output<GetJobResult> Invoke(GetJobInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJobResult> getJob(GetJobArgs args, InvokeOptions options)
public static Output<GetJobResult> getJob(GetJobArgs args, InvokeOptions options)
fn::invoke:
function: gcp:cloudrunv2/getJob:getJob
arguments:
# arguments dictionary
The following arguments are supported:
getJob Result
The following output properties are available:
- Annotations Dictionary<string, string>
- List<Get
Job Binary Authorization> - Client string
- Client
Version string - Conditions
List<Get
Job Condition> - Create
Time string - Creator string
- Delete
Time string - Deletion
Protection bool - Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - Etag string
- Execution
Count int - Expire
Time string - Generation string
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Last
Modifier string - Latest
Created List<GetExecutions Job Latest Created Execution> - Launch
Stage string - Name string
- Observed
Generation string - Pulumi
Labels Dictionary<string, string> - Reconciling bool
- Run
Execution stringToken - Start
Execution stringToken - Templates
List<Get
Job Template> - Terminal
Conditions List<GetJob Terminal Condition> - Uid string
- Update
Time string - Location string
- Project string
- Annotations map[string]string
- []Get
Job Binary Authorization - Client string
- Client
Version string - Conditions
[]Get
Job Condition - Create
Time string - Creator string
- Delete
Time string - Deletion
Protection bool - Effective
Annotations map[string]string - Effective
Labels map[string]string - Etag string
- Execution
Count int - Expire
Time string - Generation string
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Last
Modifier string - Latest
Created []GetExecutions Job Latest Created Execution - Launch
Stage string - Name string
- Observed
Generation string - Pulumi
Labels map[string]string - Reconciling bool
- Run
Execution stringToken - Start
Execution stringToken - Templates
[]Get
Job Template - Terminal
Conditions []GetJob Terminal Condition - Uid string
- Update
Time string - Location string
- Project string
- annotations Map<String,String>
- List<Get
Job Binary Authorization> - client String
- client
Version String - conditions
List<Get
Job Condition> - create
Time String - creator String
- delete
Time String - deletion
Protection Boolean - effective
Annotations Map<String,String> - effective
Labels Map<String,String> - etag String
- execution
Count Integer - expire
Time String - generation String
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- last
Modifier String - latest
Created List<GetExecutions Job Latest Created Execution> - launch
Stage String - name String
- observed
Generation String - pulumi
Labels Map<String,String> - reconciling Boolean
- run
Execution StringToken - start
Execution StringToken - templates
List<Get
Job Template> - terminal
Conditions List<GetJob Terminal Condition> - uid String
- update
Time String - location String
- project String
- annotations {[key: string]: string}
- Get
Job Binary Authorization[] - client string
- client
Version string - conditions
Get
Job Condition[] - create
Time string - creator string
- delete
Time string - deletion
Protection boolean - effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - etag string
- execution
Count number - expire
Time string - generation string
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- last
Modifier string - latest
Created GetExecutions Job Latest Created Execution[] - launch
Stage string - name string
- observed
Generation string - pulumi
Labels {[key: string]: string} - reconciling boolean
- run
Execution stringToken - start
Execution stringToken - templates
Get
Job Template[] - terminal
Conditions GetJob Terminal Condition[] - uid string
- update
Time string - location string
- project string
- annotations Mapping[str, str]
- Sequence[Get
Job Binary Authorization] - client str
- client_
version str - conditions
Sequence[Get
Job Condition] - create_
time str - creator str
- delete_
time str - deletion_
protection bool - effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - etag str
- execution_
count int - expire_
time str - generation str
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- last_
modifier str - latest_
created_ Sequence[Getexecutions Job Latest Created Execution] - launch_
stage str - name str
- observed_
generation str - pulumi_
labels Mapping[str, str] - reconciling bool
- run_
execution_ strtoken - start_
execution_ strtoken - templates
Sequence[Get
Job Template] - terminal_
conditions Sequence[GetJob Terminal Condition] - uid str
- update_
time str - location str
- project str
- annotations Map<String>
- List<Property Map>
- client String
- client
Version String - conditions List<Property Map>
- create
Time String - creator String
- delete
Time String - deletion
Protection Boolean - effective
Annotations Map<String> - effective
Labels Map<String> - etag String
- execution
Count Number - expire
Time String - generation String
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- last
Modifier String - latest
Created List<Property Map>Executions - launch
Stage String - name String
- observed
Generation String - pulumi
Labels Map<String> - reconciling Boolean
- run
Execution StringToken - start
Execution StringToken - templates List<Property Map>
- terminal
Conditions List<Property Map> - uid String
- update
Time String - location String
- project String
Supporting Types
GetJobBinaryAuthorization
- Breakglass
Justification 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}
- 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.
- Breakglass
Justification 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}
- 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.
- breakglass
Justification 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}
- use
Default 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. 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}
- use
Default 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.
- breakglass
Justification 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}
- use
Default 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
- Execution
Reason This property is required. string - A reason for the execution condition.
- Last
Transition Time 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.
- Revision
Reason 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. string - A reason for the execution condition.
- Last
Transition Time 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.
- Revision
Reason 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. String - A reason for the execution condition.
- last
Transition Time 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.
- revision
Reason 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. string - A reason for the execution condition.
- last
Transition Time 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.
- revision
Reason 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.
- execution
Reason This property is required. String - A reason for the execution condition.
- last
Transition Time 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.
- revision
Reason 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
- Completion
Time 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".
- Create
Time 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. 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".
- Create
Time 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. 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".
- create
Time 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. 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".
- create
Time 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.
- completion
Time 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".
- create
Time 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.
- 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. List<GetJob Template Template> - 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.
- 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. []GetJob Template Template - 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.
- task
Count 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<GetJob Template Template> - 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.
- task
Count 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. GetJob Template Template[] - 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[GetJob Template Template] - 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.
- task
Count 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<GetJob Template Template Container> - Holds the single container that defines the unit of execution for this task.
- Encryption
Key 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
- Execution
Environment This property is required. string - 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. 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<GetJob Template Template Volume> - A list of Volumes to make available to containers.
- Vpc
Accesses This property is required. List<GetJob Template Template Vpc Access> - 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. []GetJob Template Template Container - Holds the single container that defines the unit of execution for this task.
- Encryption
Key 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
- Execution
Environment This property is required. string - 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. 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. []GetJob Template Template Volume - A list of Volumes to make available to containers.
- Vpc
Accesses This property is required. []GetJob Template Template Vpc Access - 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<GetJob Template Template Container> - Holds the single container that defines the unit of execution for this task.
- encryption
Key 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
- execution
Environment This property is required. String - The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- max
Retries This property is required. Integer - Number of retries allowed per Task, before marking this Task failed.
- service
Account 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<GetJob Template Template Volume> - A list of Volumes to make available to containers.
- vpc
Accesses This property is required. List<GetJob Template Template Vpc Access> - 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. GetJob Template Template Container[] - Holds the single container that defines the unit of execution for this task.
- encryption
Key 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
- execution
Environment This property is required. string - The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- max
Retries This property is required. number - Number of retries allowed per Task, before marking this Task failed.
- service
Account 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. GetJob Template Template Volume[] - A list of Volumes to make available to containers.
- vpc
Accesses This property is required. GetJob Template Template Vpc Access[] - 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[GetJob Template Template Container] - 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[GetJob Template Template Volume] - A list of Volumes to make available to containers.
- vpc_
accesses This property is required. Sequence[GetJob Template Template Vpc Access] - 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.
- encryption
Key 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
- execution
Environment This property is required. String - The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
- max
Retries This property is required. Number - Number of retries allowed per Task, before marking this Task failed.
- service
Account 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.
- vpc
Accesses 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<GetJob Template Template Container Env> - 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<GetJob Template Template Container Port> 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<GetJob Template Template Container Resource> - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Volume
Mounts This property is required. List<GetJob Template Template Container Volume Mount> - Volume to mount into the container's filesystem.
- Working
Dir 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. []GetJob Template Template Container Env - 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. []GetJob Template Template Container Port 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. []GetJob Template Template Container Resource - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Volume
Mounts This property is required. []GetJob Template Template Container Volume Mount - Volume to mount into the container's filesystem.
- Working
Dir 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<GetJob Template Template Container Env> - 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<GetJob Template Template Container Port> 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<GetJob Template Template Container Resource> - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- volume
Mounts This property is required. List<GetJob Template Template Container Volume Mount> - Volume to mount into the container's filesystem.
- working
Dir 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. GetJob Template Template Container Env[] - 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. GetJob Template Template Container Port[] 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. GetJob Template Template Container Resource[] - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- volume
Mounts This property is required. GetJob Template Template Container Volume Mount[] - Volume to mount into the container's filesystem.
- working
Dir 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[GetJob Template Template Container Env] - 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[GetJob Template Template Container Port] 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[GetJob Template Template Container Resource] - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- volume_
mounts This property is required. Sequence[GetJob Template Template Container Volume Mount] - 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
- volume
Mounts This property is required. List<Property Map> - Volume to mount into the container's filesystem.
- working
Dir 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.
- Value
Sources This property is required. List<GetJob Template Template Container Env Value Source> - 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.
- Value
Sources This property is required. []GetJob Template Template Container Env Value Source - 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.
- value
Sources This property is required. List<GetJob Template Template Container Env Value Source> - 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.
- value
Sources This property is required. GetJob Template Template Container Env Value Source[] - 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[GetJob Template Template Container Env Value Source] - 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.
- value
Sources This property is required. List<Property Map> - Source for the environment variable's value.
GetJobTemplateTemplateContainerEnvValueSource
- Secret
Key Reves This property is required. List<GetJob Template Template Container Env Value Source Secret Key Ref> - Selects a secret and a specific version from Cloud Secret Manager.
- Secret
Key Reves This property is required. []GetJob Template Template Container Env Value Source Secret Key Ref - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key Reves This property is required. List<GetJob Template Template Container Env Value Source Secret Key Ref> - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key Reves This property is required. GetJob Template Template Container Env Value Source Secret Key Ref[] - Selects a secret and a specific version from Cloud Secret Manager.
- secret_
key_ reves This property is required. Sequence[GetJob Template Template Container Env Value Source Secret Key Ref] - Selects a secret and a specific version from Cloud Secret Manager.
- secret
Key Reves 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
- 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. 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. string - The name of the Cloud Run v2 Job.
- container
Port 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.
- container
Port 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.
- container
Port 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
- Mount
Path 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. 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. 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. 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.
- mount
Path 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
- Cloud
Sql Instances This property is required. List<GetJob Template Template Volume Cloud Sql Instance> - 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. List<GetJob Template Template Volume Empty Dir> - Ephemeral storage used as a shared volume.
- Gcs
This property is required. List<GetJob Template Template Volume Gc> - 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<GetJob Template Template Volume Nf> - NFS share mounted as a volume.
- Secrets
This property is required. List<GetJob Template Template Volume Secret> - 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. []GetJob Template Template Volume Cloud Sql Instance - 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. []GetJob Template Template Volume Empty Dir - Ephemeral storage used as a shared volume.
- Gcs
This property is required. []GetJob Template Template Volume Gc - 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. []GetJob Template Template Volume Nf - NFS share mounted as a volume.
- Secrets
This property is required. []GetJob Template Template Volume Secret - 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. List<GetJob Template Template Volume Cloud Sql Instance> - 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. List<GetJob Template Template Volume Empty Dir> - Ephemeral storage used as a shared volume.
- gcs
This property is required. List<GetJob Template Template Volume Gc> - 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<GetJob Template Template Volume Nf> - NFS share mounted as a volume.
- secrets
This property is required. List<GetJob Template Template Volume Secret> - 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. GetJob Template Template Volume Cloud Sql Instance[] - 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. GetJob Template Template Volume Empty Dir[] - Ephemeral storage used as a shared volume.
- gcs
This property is required. GetJob Template Template Volume Gc[] - 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. GetJob Template Template Volume Nf[] - NFS share mounted as a volume.
- secrets
This property is required. GetJob Template Template Volume Secret[] - 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[GetJob Template Template Volume Cloud Sql Instance] - 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[GetJob Template Template Volume Empty Dir] - Ephemeral storage used as a shared volume.
- gcs
This property is required. Sequence[GetJob Template Template Volume Gc] - 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[GetJob Template Template Volume Nf] - NFS share mounted as a volume.
- secrets
This property is required. Sequence[GetJob Template Template Volume Secret] - 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. 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.
- empty
Dirs 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"]
- Size
Limit 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"]
- Size
Limit 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"]
- size
Limit 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"]
- size
Limit 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"]
- size
Limit 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.
- Mount
Options 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.
- 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.
- Mount
Options 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.
- 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.
- mount
Options 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.
- read
Only 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.
- mount
Options 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.
- read
Only 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.
- mount
Options 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.
- read
Only 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
GetJobTemplateTemplateVolumeSecret
- 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. List<GetJob Template Template Volume Secret Item> - 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. []GetJob Template Template Volume Secret Item - 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. 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<GetJob Template Template Volume Secret Item> - 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. 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. GetJob Template Template Volume Secret Item[] - 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[GetJob Template Template Volume Secret Item] - 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.
- default
Mode 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"]
- Network
Interfaces This property is required. List<GetJob Template Template Vpc Access Network Interface> - 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"]
- Network
Interfaces This property is required. []GetJob Template Template Vpc Access Network Interface - 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"]
- network
Interfaces This property is required. List<GetJob Template Template Vpc Access Network Interface> - 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"]
- network
Interfaces This property is required. GetJob Template Template Vpc Access Network Interface[] - 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[GetJob Template Template Vpc Access Network Interface] - 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"]
- network
Interfaces 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.
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.
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.
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.
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.
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.
This property is required. List<String>- Network tags applied to this Cloud Run job.
GetJobTerminalCondition
- Execution
Reason This property is required. string - A reason for the execution condition.
- Last
Transition Time 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.
- Revision
Reason 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. string - A reason for the execution condition.
- Last
Transition Time 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.
- Revision
Reason 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. String - A reason for the execution condition.
- last
Transition Time 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.
- revision
Reason 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. string - A reason for the execution condition.
- last
Transition Time 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.
- revision
Reason 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.
- execution
Reason This property is required. String - A reason for the execution condition.
- last
Transition Time 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.
- revision
Reason 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.