1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. cloudrunv2
  5. getService
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

gcp.cloudrunv2.getService

Explore with Pulumi AI

Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

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

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const myService = gcp.cloudrunv2.getService({
    name: "my-service",
    location: "us-central1",
});
Copy
import pulumi
import pulumi_gcp as gcp

my_service = gcp.cloudrunv2.get_service(name="my-service",
    location="us-central1")
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudrunv2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.LookupService(ctx, &cloudrunv2.LookupServiceArgs{
			Name:     "my-service",
			Location: pulumi.StringRef("us-central1"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var myService = Gcp.CloudRunV2.GetService.Invoke(new()
    {
        Name = "my-service",
        Location = "us-central1",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.cloudrunv2.Cloudrunv2Functions;
import com.pulumi.gcp.cloudrunv2.inputs.GetServiceArgs;
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 myService = Cloudrunv2Functions.getService(GetServiceArgs.builder()
            .name("my-service")
            .location("us-central1")
            .build());

    }
}
Copy
variables:
  myService:
    fn::invoke:
      function: gcp:cloudrunv2:getService
      arguments:
        name: my-service
        location: us-central1
Copy

Using getService

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 getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
Copy
def get_service(location: Optional[str] = None,
                name: Optional[str] = None,
                project: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(location: Optional[pulumi.Input[str]] = None,
                name: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
Copy
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
Copy

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

public static class GetService 
{
    public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcp:cloudrunv2/getService:getService
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the Cloud Run v2 Service.
Location string
The location of the instance. eg us-central1


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


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


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


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


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


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

getService Result

The following output properties are available:

Annotations Dictionary<string, string>
BinaryAuthorizations List<GetServiceBinaryAuthorization>
BuildConfigs List<GetServiceBuildConfig>
Client string
ClientVersion string
Conditions List<GetServiceCondition>
CreateTime string
Creator string
CustomAudiences List<string>
DefaultUriDisabled bool
DeleteTime string
DeletionProtection bool
Description string
EffectiveAnnotations Dictionary<string, string>
EffectiveLabels Dictionary<string, string>
Etag string
ExpireTime string
Generation string
Id string
The provider-assigned unique ID for this managed resource.
Ingress string
InvokerIamDisabled bool
Labels Dictionary<string, string>
LastModifier string
LatestCreatedRevision string
LatestReadyRevision string
LaunchStage string
Name string
ObservedGeneration string
PulumiLabels Dictionary<string, string>
Reconciling bool
Scalings List<GetServiceScaling>
Templates List<GetServiceTemplate>
TerminalConditions List<GetServiceTerminalCondition>
TrafficStatuses List<GetServiceTrafficStatus>
Traffics List<GetServiceTraffic>
Uid string
UpdateTime string
Uri string
Urls List<string>
Location string
Project string
Annotations map[string]string
BinaryAuthorizations []GetServiceBinaryAuthorization
BuildConfigs []GetServiceBuildConfig
Client string
ClientVersion string
Conditions []GetServiceCondition
CreateTime string
Creator string
CustomAudiences []string
DefaultUriDisabled bool
DeleteTime string
DeletionProtection bool
Description string
EffectiveAnnotations map[string]string
EffectiveLabels map[string]string
Etag string
ExpireTime string
Generation string
Id string
The provider-assigned unique ID for this managed resource.
Ingress string
InvokerIamDisabled bool
Labels map[string]string
LastModifier string
LatestCreatedRevision string
LatestReadyRevision string
LaunchStage string
Name string
ObservedGeneration string
PulumiLabels map[string]string
Reconciling bool
Scalings []GetServiceScaling
Templates []GetServiceTemplate
TerminalConditions []GetServiceTerminalCondition
TrafficStatuses []GetServiceTrafficStatus
Traffics []GetServiceTraffic
Uid string
UpdateTime string
Uri string
Urls []string
Location string
Project string
annotations Map<String,String>
binaryAuthorizations List<GetServiceBinaryAuthorization>
buildConfigs List<GetServiceBuildConfig>
client String
clientVersion String
conditions List<GetServiceCondition>
createTime String
creator String
customAudiences List<String>
defaultUriDisabled Boolean
deleteTime String
deletionProtection Boolean
description String
effectiveAnnotations Map<String,String>
effectiveLabels Map<String,String>
etag String
expireTime String
generation String
id String
The provider-assigned unique ID for this managed resource.
ingress String
invokerIamDisabled Boolean
labels Map<String,String>
lastModifier String
latestCreatedRevision String
latestReadyRevision String
launchStage String
name String
observedGeneration String
pulumiLabels Map<String,String>
reconciling Boolean
scalings List<GetServiceScaling>
templates List<GetServiceTemplate>
terminalConditions List<GetServiceTerminalCondition>
trafficStatuses List<GetServiceTrafficStatus>
traffics List<GetServiceTraffic>
uid String
updateTime String
uri String
urls List<String>
location String
project String
annotations Mapping[str, str]
binary_authorizations Sequence[GetServiceBinaryAuthorization]
build_configs Sequence[GetServiceBuildConfig]
client str
client_version str
conditions Sequence[GetServiceCondition]
create_time str
creator str
custom_audiences Sequence[str]
default_uri_disabled bool
delete_time str
deletion_protection bool
description str
effective_annotations Mapping[str, str]
effective_labels Mapping[str, str]
etag str
expire_time str
generation str
id str
The provider-assigned unique ID for this managed resource.
ingress str
invoker_iam_disabled bool
labels Mapping[str, str]
last_modifier str
latest_created_revision str
latest_ready_revision str
launch_stage str
name str
observed_generation str
pulumi_labels Mapping[str, str]
reconciling bool
scalings Sequence[GetServiceScaling]
templates Sequence[GetServiceTemplate]
terminal_conditions Sequence[GetServiceTerminalCondition]
traffic_statuses Sequence[GetServiceTrafficStatus]
traffics Sequence[GetServiceTraffic]
uid str
update_time str
uri str
urls Sequence[str]
location str
project str
annotations Map<String>
binaryAuthorizations List<Property Map>
buildConfigs List<Property Map>
client String
clientVersion String
conditions List<Property Map>
createTime String
creator String
customAudiences List<String>
defaultUriDisabled Boolean
deleteTime String
deletionProtection Boolean
description String
effectiveAnnotations Map<String>
effectiveLabels Map<String>
etag String
expireTime String
generation String
id String
The provider-assigned unique ID for this managed resource.
ingress String
invokerIamDisabled Boolean
labels Map<String>
lastModifier String
latestCreatedRevision String
latestReadyRevision String
launchStage String
name String
observedGeneration String
pulumiLabels Map<String>
reconciling Boolean
scalings List<Property Map>
templates List<Property Map>
terminalConditions List<Property Map>
trafficStatuses List<Property Map>
traffics List<Property Map>
uid String
updateTime String
uri String
urls List<String>
location String
project String

Supporting Types

GetServiceBinaryAuthorization

BreakglassJustification This property is required. string
If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
Policy This property is required. string
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
UseDefault This property is required. bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
BreakglassJustification This property is required. string
If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
Policy This property is required. string
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
UseDefault This property is required. bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification This property is required. String
If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
policy This property is required. String
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
useDefault This property is required. Boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification This property is required. string
If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
policy This property is required. string
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
useDefault This property is required. boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglass_justification This property is required. str
If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
policy This property is required. str
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
use_default This property is required. bool
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
breakglassJustification This property is required. String
If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
policy This property is required. String
The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
useDefault This property is required. Boolean
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

GetServiceBuildConfig

BaseImage This property is required. string
The base image used to build the function.
EnableAutomaticUpdates This property is required. bool
Sets whether the function will receive automatic base image updates.
EnvironmentVariables This property is required. Dictionary<string, string>
User-provided build-time environment variables for the function.
FunctionTarget This property is required. string
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
ImageUri This property is required. string
Artifact Registry URI to store the built image.
Name This property is required. string
The name of the Cloud Run v2 Service.
ServiceAccount This property is required. string
Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
SourceLocation This property is required. string
The Cloud Storage bucket URI where the function source code is located.
WorkerPool This property is required. string
Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
BaseImage This property is required. string
The base image used to build the function.
EnableAutomaticUpdates This property is required. bool
Sets whether the function will receive automatic base image updates.
EnvironmentVariables This property is required. map[string]string
User-provided build-time environment variables for the function.
FunctionTarget This property is required. string
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
ImageUri This property is required. string
Artifact Registry URI to store the built image.
Name This property is required. string
The name of the Cloud Run v2 Service.
ServiceAccount This property is required. string
Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
SourceLocation This property is required. string
The Cloud Storage bucket URI where the function source code is located.
WorkerPool This property is required. string
Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
baseImage This property is required. String
The base image used to build the function.
enableAutomaticUpdates This property is required. Boolean
Sets whether the function will receive automatic base image updates.
environmentVariables This property is required. Map<String,String>
User-provided build-time environment variables for the function.
functionTarget This property is required. String
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
imageUri This property is required. String
Artifact Registry URI to store the built image.
name This property is required. String
The name of the Cloud Run v2 Service.
serviceAccount This property is required. String
Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
sourceLocation This property is required. String
The Cloud Storage bucket URI where the function source code is located.
workerPool This property is required. String
Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
baseImage This property is required. string
The base image used to build the function.
enableAutomaticUpdates This property is required. boolean
Sets whether the function will receive automatic base image updates.
environmentVariables This property is required. {[key: string]: string}
User-provided build-time environment variables for the function.
functionTarget This property is required. string
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
imageUri This property is required. string
Artifact Registry URI to store the built image.
name This property is required. string
The name of the Cloud Run v2 Service.
serviceAccount This property is required. string
Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
sourceLocation This property is required. string
The Cloud Storage bucket URI where the function source code is located.
workerPool This property is required. string
Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
base_image This property is required. str
The base image used to build the function.
enable_automatic_updates This property is required. bool
Sets whether the function will receive automatic base image updates.
environment_variables This property is required. Mapping[str, str]
User-provided build-time environment variables for the function.
function_target This property is required. str
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
image_uri This property is required. str
Artifact Registry URI to store the built image.
name This property is required. str
The name of the Cloud Run v2 Service.
service_account This property is required. str
Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
source_location This property is required. str
The Cloud Storage bucket URI where the function source code is located.
worker_pool This property is required. str
Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
baseImage This property is required. String
The base image used to build the function.
enableAutomaticUpdates This property is required. Boolean
Sets whether the function will receive automatic base image updates.
environmentVariables This property is required. Map<String>
User-provided build-time environment variables for the function.
functionTarget This property is required. String
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
imageUri This property is required. String
Artifact Registry URI to store the built image.
name This property is required. String
The name of the Cloud Run v2 Service.
serviceAccount This property is required. String
Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
sourceLocation This property is required. String
The Cloud Storage bucket URI where the function source code is located.
workerPool This property is required. String
Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is 'projects/{project}/locations/{region}/workerPools/{workerPool}' where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

GetServiceCondition

ExecutionReason This property is required. string
A reason for the execution condition.
LastTransitionTime This property is required. string

Last time the condition transitioned from one status to another.

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

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

Last time the condition transitioned from one status to another.

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

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

Last time the condition transitioned from one status to another.

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

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

Last time the condition transitioned from one status to another.

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

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

Last time the condition transitioned from one status to another.

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

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

Last time the condition transitioned from one status to another.

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

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

GetServiceScaling

MinInstanceCount This property is required. int
Minimum number of instances for the service, to be divided among all revisions receiving traffic.
MinInstanceCount This property is required. int
Minimum number of instances for the service, to be divided among all revisions receiving traffic.
minInstanceCount This property is required. Integer
Minimum number of instances for the service, to be divided among all revisions receiving traffic.
minInstanceCount This property is required. number
Minimum number of instances for the service, to be divided among all revisions receiving traffic.
min_instance_count This property is required. int
Minimum number of instances for the service, to be divided among all revisions receiving traffic.
minInstanceCount This property is required. Number
Minimum number of instances for the service, to be divided among all revisions receiving traffic.

GetServiceTemplate

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

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

Containers This property is required. List<GetServiceTemplateContainer>
Holds the containers that define the unit of execution for this Service.
EncryptionKey This property is required. string
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
ExecutionEnvironment This property is required. string
The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
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 RevisionTemplate.

MaxInstanceRequestConcurrency This property is required. int
Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
NodeSelectors This property is required. List<GetServiceTemplateNodeSelector>
Node Selector describes the hardware requirements of the resources.
Revision This property is required. string
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
Scalings This property is required. List<GetServiceTemplateScaling>
Scaling settings for this Revision.
ServiceAccount This property is required. string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
ServiceMeshes This property is required. List<GetServiceTemplateServiceMesh>
Enables Cloud Service Mesh for this Revision.
SessionAffinity This property is required. bool
Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
Timeout This property is required. string

Max allowed time for an instance to respond to a request.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

Volumes This property is required. List<GetServiceTemplateVolume>
A list of Volumes to make available to containers.
VpcAccesses This property is required. List<GetServiceTemplateVpcAccess>
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
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 RevisionTemplate.

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

Containers This property is required. []GetServiceTemplateContainer
Holds the containers that define the unit of execution for this Service.
EncryptionKey This property is required. string
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
ExecutionEnvironment This property is required. string
The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
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 RevisionTemplate.

MaxInstanceRequestConcurrency This property is required. int
Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
NodeSelectors This property is required. []GetServiceTemplateNodeSelector
Node Selector describes the hardware requirements of the resources.
Revision This property is required. string
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
Scalings This property is required. []GetServiceTemplateScaling
Scaling settings for this Revision.
ServiceAccount This property is required. string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
ServiceMeshes This property is required. []GetServiceTemplateServiceMesh
Enables Cloud Service Mesh for this Revision.
SessionAffinity This property is required. bool
Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
Timeout This property is required. string

Max allowed time for an instance to respond to a request.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

Volumes This property is required. []GetServiceTemplateVolume
A list of Volumes to make available to containers.
VpcAccesses This property is required. []GetServiceTemplateVpcAccess
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
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 RevisionTemplate.

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

containers This property is required. List<GetServiceTemplateContainer>
Holds the containers that define the unit of execution for this Service.
encryptionKey This property is required. String
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
executionEnvironment This property is required. String
The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
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 RevisionTemplate.

maxInstanceRequestConcurrency This property is required. Integer
Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
nodeSelectors This property is required. List<GetServiceTemplateNodeSelector>
Node Selector describes the hardware requirements of the resources.
revision This property is required. String
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scalings This property is required. List<GetServiceTemplateScaling>
Scaling settings for this Revision.
serviceAccount This property is required. String
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
serviceMeshes This property is required. List<GetServiceTemplateServiceMesh>
Enables Cloud Service Mesh for this Revision.
sessionAffinity This property is required. Boolean
Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
timeout This property is required. String

Max allowed time for an instance to respond to a request.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

volumes This property is required. List<GetServiceTemplateVolume>
A list of Volumes to make available to containers.
vpcAccesses This property is required. List<GetServiceTemplateVpcAccess>
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
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 RevisionTemplate.

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

containers This property is required. GetServiceTemplateContainer[]
Holds the containers that define the unit of execution for this Service.
encryptionKey This property is required. string
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
executionEnvironment This property is required. string
The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
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 RevisionTemplate.

maxInstanceRequestConcurrency This property is required. number
Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
nodeSelectors This property is required. GetServiceTemplateNodeSelector[]
Node Selector describes the hardware requirements of the resources.
revision This property is required. string
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scalings This property is required. GetServiceTemplateScaling[]
Scaling settings for this Revision.
serviceAccount This property is required. string
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
serviceMeshes This property is required. GetServiceTemplateServiceMesh[]
Enables Cloud Service Mesh for this Revision.
sessionAffinity This property is required. boolean
Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
timeout This property is required. string

Max allowed time for an instance to respond to a request.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

volumes This property is required. GetServiceTemplateVolume[]
A list of Volumes to make available to containers.
vpcAccesses This property is required. GetServiceTemplateVpcAccess[]
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
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 RevisionTemplate.

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

containers This property is required. Sequence[GetServiceTemplateContainer]
Holds the containers that define the unit of execution for this Service.
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 sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
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 RevisionTemplate.

max_instance_request_concurrency This property is required. int
Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
node_selectors This property is required. Sequence[GetServiceTemplateNodeSelector]
Node Selector describes the hardware requirements of the resources.
revision This property is required. str
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scalings This property is required. Sequence[GetServiceTemplateScaling]
Scaling settings for this Revision.
service_account This property is required. str
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
service_meshes This property is required. Sequence[GetServiceTemplateServiceMesh]
Enables Cloud Service Mesh for this Revision.
session_affinity This property is required. bool
Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
timeout This property is required. str

Max allowed time for an instance to respond to a request.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

volumes This property is required. Sequence[GetServiceTemplateVolume]
A list of Volumes to make available to containers.
vpc_accesses This property is required. Sequence[GetServiceTemplateVpcAccess]
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
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 RevisionTemplate.

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

containers This property is required. List<Property Map>
Holds the containers that define the unit of execution for this Service.
encryptionKey This property is required. String
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
executionEnvironment This property is required. String
The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]
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 RevisionTemplate.

maxInstanceRequestConcurrency This property is required. Number
Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
nodeSelectors This property is required. List<Property Map>
Node Selector describes the hardware requirements of the resources.
revision This property is required. String
The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
scalings This property is required. List<Property Map>
Scaling settings for this Revision.
serviceAccount This property is required. String
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
serviceMeshes This property is required. List<Property Map>
Enables Cloud Service Mesh for this Revision.
sessionAffinity This property is required. Boolean
Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
timeout This property is required. String

Max allowed time for an instance to respond to a request.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

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

GetServiceTemplateContainer

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.
BaseImageUri This property is required. string
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
BuildInfos This property is required. List<GetServiceTemplateContainerBuildInfo>
The build info of the container image.
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
DependsOns This property is required. List<string>
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
Envs This property is required. List<GetServiceTemplateContainerEnv>
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
LivenessProbes This property is required. List<GetServiceTemplateContainerLivenessProbe>
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Name This property is required. string
The name of the Cloud Run v2 Service.
Ports This property is required. List<GetServiceTemplateContainerPort>

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<GetServiceTemplateContainerResource>
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
StartupProbes This property is required. List<GetServiceTemplateContainerStartupProbe>
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
VolumeMounts This property is required. List<GetServiceTemplateContainerVolumeMount>
Volume to mount into the container's filesystem.
WorkingDir This property is required. string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
Args This property is required. []string
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
BaseImageUri This property is required. string
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
BuildInfos This property is required. []GetServiceTemplateContainerBuildInfo
The build info of the container image.
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
DependsOns This property is required. []string
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
Envs This property is required. []GetServiceTemplateContainerEnv
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
LivenessProbes This property is required. []GetServiceTemplateContainerLivenessProbe
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Name This property is required. string
The name of the Cloud Run v2 Service.
Ports This property is required. []GetServiceTemplateContainerPort

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. []GetServiceTemplateContainerResource
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
StartupProbes This property is required. []GetServiceTemplateContainerStartupProbe
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
VolumeMounts This property is required. []GetServiceTemplateContainerVolumeMount
Volume to mount into the container's filesystem.
WorkingDir This property is required. string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. List<String>
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
baseImageUri This property is required. String
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
buildInfos This property is required. List<GetServiceTemplateContainerBuildInfo>
The build info of the container image.
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
dependsOns This property is required. List<String>
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
envs This property is required. List<GetServiceTemplateContainerEnv>
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
livenessProbes This property is required. List<GetServiceTemplateContainerLivenessProbe>
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
name This property is required. String
The name of the Cloud Run v2 Service.
ports This property is required. List<GetServiceTemplateContainerPort>

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<GetServiceTemplateContainerResource>
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
startupProbes This property is required. List<GetServiceTemplateContainerStartupProbe>
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
volumeMounts This property is required. List<GetServiceTemplateContainerVolumeMount>
Volume to mount into the container's filesystem.
workingDir This property is required. String
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. string[]
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
baseImageUri This property is required. string
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
buildInfos This property is required. GetServiceTemplateContainerBuildInfo[]
The build info of the container image.
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
dependsOns This property is required. string[]
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
envs This property is required. GetServiceTemplateContainerEnv[]
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
livenessProbes This property is required. GetServiceTemplateContainerLivenessProbe[]
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
name This property is required. string
The name of the Cloud Run v2 Service.
ports This property is required. GetServiceTemplateContainerPort[]

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. GetServiceTemplateContainerResource[]
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
startupProbes This property is required. GetServiceTemplateContainerStartupProbe[]
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
volumeMounts This property is required. GetServiceTemplateContainerVolumeMount[]
Volume to mount into the container's filesystem.
workingDir This property is required. string
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
args This property is required. Sequence[str]
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
base_image_uri This property is required. str
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
build_infos This property is required. Sequence[GetServiceTemplateContainerBuildInfo]
The build info of the container image.
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
depends_ons This property is required. Sequence[str]
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
envs This property is required. Sequence[GetServiceTemplateContainerEnv]
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
liveness_probes This property is required. Sequence[GetServiceTemplateContainerLivenessProbe]
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
name This property is required. str
The name of the Cloud Run v2 Service.
ports This property is required. Sequence[GetServiceTemplateContainerPort]

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[GetServiceTemplateContainerResource]
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
startup_probes This property is required. Sequence[GetServiceTemplateContainerStartupProbe]
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
volume_mounts This property is required. Sequence[GetServiceTemplateContainerVolumeMount]
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.
baseImageUri This property is required. String
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
buildInfos This property is required. List<Property Map>
The build info of the container image.
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
dependsOns This property is required. List<String>
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
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
livenessProbes This property is required. List<Property Map>
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
name This property is required. String
The name of the Cloud Run v2 Service.
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
startupProbes This property is required. List<Property Map>
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
volumeMounts This property is required. List<Property Map>
Volume to mount into the container's filesystem.
workingDir This property is required. String
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.

GetServiceTemplateContainerBuildInfo

FunctionTarget This property is required. string
Entry point of the function when the image is a Cloud Run function.
SourceLocation This property is required. string
Source code location of the image.
FunctionTarget This property is required. string
Entry point of the function when the image is a Cloud Run function.
SourceLocation This property is required. string
Source code location of the image.
functionTarget This property is required. String
Entry point of the function when the image is a Cloud Run function.
sourceLocation This property is required. String
Source code location of the image.
functionTarget This property is required. string
Entry point of the function when the image is a Cloud Run function.
sourceLocation This property is required. string
Source code location of the image.
function_target This property is required. str
Entry point of the function when the image is a Cloud Run function.
source_location This property is required. str
Source code location of the image.
functionTarget This property is required. String
Entry point of the function when the image is a Cloud Run function.
sourceLocation This property is required. String
Source code location of the image.

GetServiceTemplateContainerEnv

Name This property is required. string
The name of the Cloud Run v2 Service.
Value This property is required. string
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
ValueSources This property is required. List<GetServiceTemplateContainerEnvValueSource>
Source for the environment variable's value.
Name This property is required. string
The name of the Cloud Run v2 Service.
Value This property is required. string
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
ValueSources This property is required. []GetServiceTemplateContainerEnvValueSource
Source for the environment variable's value.
name This property is required. String
The name of the Cloud Run v2 Service.
value This property is required. String
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
valueSources This property is required. List<GetServiceTemplateContainerEnvValueSource>
Source for the environment variable's value.
name This property is required. string
The name of the Cloud Run v2 Service.
value This property is required. string
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
valueSources This property is required. GetServiceTemplateContainerEnvValueSource[]
Source for the environment variable's value.
name This property is required. str
The name of the Cloud Run v2 Service.
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[GetServiceTemplateContainerEnvValueSource]
Source for the environment variable's value.
name This property is required. String
The name of the Cloud Run v2 Service.
value This property is required. String
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
valueSources This property is required. List<Property Map>
Source for the environment variable's value.

GetServiceTemplateContainerEnvValueSource

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

GetServiceTemplateContainerEnvValueSourceSecretKeyRef

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.

GetServiceTemplateContainerLivenessProbe

FailureThreshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpcs This property is required. List<GetServiceTemplateContainerLivenessProbeGrpc>
GRPC specifies an action involving a GRPC port.
HttpGets This property is required. List<GetServiceTemplateContainerLivenessProbeHttpGet>
HTTPGet specifies the http request to perform.
InitialDelaySeconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
PeriodSeconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
TcpSockets This property is required. List<GetServiceTemplateContainerLivenessProbeTcpSocket>
TCPSocketAction describes an action based on opening a socket
TimeoutSeconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
FailureThreshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpcs This property is required. []GetServiceTemplateContainerLivenessProbeGrpc
GRPC specifies an action involving a GRPC port.
HttpGets This property is required. []GetServiceTemplateContainerLivenessProbeHttpGet
HTTPGet specifies the http request to perform.
InitialDelaySeconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
PeriodSeconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
TcpSockets This property is required. []GetServiceTemplateContainerLivenessProbeTcpSocket
TCPSocketAction describes an action based on opening a socket
TimeoutSeconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
failureThreshold This property is required. Integer
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. List<GetServiceTemplateContainerLivenessProbeGrpc>
GRPC specifies an action involving a GRPC port.
httpGets This property is required. List<GetServiceTemplateContainerLivenessProbeHttpGet>
HTTPGet specifies the http request to perform.
initialDelaySeconds This property is required. Integer
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
periodSeconds This property is required. Integer
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
tcpSockets This property is required. List<GetServiceTemplateContainerLivenessProbeTcpSocket>
TCPSocketAction describes an action based on opening a socket
timeoutSeconds This property is required. Integer
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
failureThreshold This property is required. number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. GetServiceTemplateContainerLivenessProbeGrpc[]
GRPC specifies an action involving a GRPC port.
httpGets This property is required. GetServiceTemplateContainerLivenessProbeHttpGet[]
HTTPGet specifies the http request to perform.
initialDelaySeconds This property is required. number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
periodSeconds This property is required. number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
tcpSockets This property is required. GetServiceTemplateContainerLivenessProbeTcpSocket[]
TCPSocketAction describes an action based on opening a socket
timeoutSeconds This property is required. number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
failure_threshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. Sequence[GetServiceTemplateContainerLivenessProbeGrpc]
GRPC specifies an action involving a GRPC port.
http_gets This property is required. Sequence[GetServiceTemplateContainerLivenessProbeHttpGet]
HTTPGet specifies the http request to perform.
initial_delay_seconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
period_seconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
tcp_sockets This property is required. Sequence[GetServiceTemplateContainerLivenessProbeTcpSocket]
TCPSocketAction describes an action based on opening a socket
timeout_seconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
failureThreshold This property is required. Number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. List<Property Map>
GRPC specifies an action involving a GRPC port.
httpGets This property is required. List<Property Map>
HTTPGet specifies the http request to perform.
initialDelaySeconds This property is required. Number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
periodSeconds This property is required. Number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
tcpSockets This property is required. List<Property Map>
TCPSocketAction describes an action based on opening a socket
timeoutSeconds This property is required. Number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

GetServiceTemplateContainerLivenessProbeGrpc

Port This property is required. int
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
Service This property is required. string
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
Port This property is required. int
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
Service This property is required. string
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
port This property is required. Integer
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
service This property is required. String
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
port This property is required. number
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
service This property is required. string
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
port This property is required. int
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
service This property is required. str
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
port This property is required. Number
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
service This property is required. String
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.

GetServiceTemplateContainerLivenessProbeHttpGet

HttpHeaders This property is required. List<GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader>
Custom headers to set in the request. HTTP allows repeated headers.
Path This property is required. string
Path to access on the HTTP server. Defaults to '/'.
Port This property is required. int
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
HttpHeaders This property is required. []GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader
Custom headers to set in the request. HTTP allows repeated headers.
Path This property is required. string
Path to access on the HTTP server. Defaults to '/'.
Port This property is required. int
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
httpHeaders This property is required. List<GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader>
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. String
Path to access on the HTTP server. Defaults to '/'.
port This property is required. Integer
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
httpHeaders This property is required. GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader[]
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. string
Path to access on the HTTP server. Defaults to '/'.
port This property is required. number
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
http_headers This property is required. Sequence[GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader]
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. str
Path to access on the HTTP server. Defaults to '/'.
port This property is required. int
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
httpHeaders This property is required. List<Property Map>
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. String
Path to access on the HTTP server. Defaults to '/'.
port This property is required. Number
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

GetServiceTemplateContainerLivenessProbeHttpGetHttpHeader

Name This property is required. string
The name of the Cloud Run v2 Service.
Value This property is required. string
The header field value
Name This property is required. string
The name of the Cloud Run v2 Service.
Value This property is required. string
The header field value
name This property is required. String
The name of the Cloud Run v2 Service.
value This property is required. String
The header field value
name This property is required. string
The name of the Cloud Run v2 Service.
value This property is required. string
The header field value
name This property is required. str
The name of the Cloud Run v2 Service.
value This property is required. str
The header field value
name This property is required. String
The name of the Cloud Run v2 Service.
value This property is required. String
The header field value

GetServiceTemplateContainerLivenessProbeTcpSocket

Port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
Port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port This property is required. Integer
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port This property is required. number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
port This property is required. Number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.

GetServiceTemplateContainerPort

ContainerPort This property is required. int
Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
Name This property is required. string
The name of the Cloud Run v2 Service.
ContainerPort This property is required. int
Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
Name This property is required. string
The name of the Cloud Run v2 Service.
containerPort This property is required. Integer
Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
name This property is required. String
The name of the Cloud Run v2 Service.
containerPort This property is required. number
Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
name This property is required. string
The name of the Cloud Run v2 Service.
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 Service.
containerPort This property is required. Number
Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
name This property is required. String
The name of the Cloud Run v2 Service.

GetServiceTemplateContainerResource

CpuIdle This property is required. bool
Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
Limits This property is required. Dictionary<string, string>
Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu 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
StartupCpuBoost This property is required. bool
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
CpuIdle This property is required. bool
Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
Limits This property is required. map[string]string
Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu 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
StartupCpuBoost This property is required. bool
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpuIdle This property is required. Boolean
Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
limits This property is required. Map<String,String>
Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu 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
startupCpuBoost This property is required. Boolean
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpuIdle This property is required. boolean
Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
limits This property is required. {[key: string]: string}
Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu 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
startupCpuBoost This property is required. boolean
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpu_idle This property is required. bool
Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
limits This property is required. Mapping[str, str]
Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu 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
startup_cpu_boost This property is required. bool
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
cpuIdle This property is required. Boolean
Determines whether CPU is only allocated during requests. True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior.
limits This property is required. Map<String>
Only memory, CPU, and nvidia.com/gpu are supported. Use key 'cpu' for CPU limit, 'memory' for memory limit, 'nvidia.com/gpu' for gpu 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
startupCpuBoost This property is required. Boolean
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.

GetServiceTemplateContainerStartupProbe

FailureThreshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpcs This property is required. List<GetServiceTemplateContainerStartupProbeGrpc>
GRPC specifies an action involving a GRPC port.
HttpGets This property is required. List<GetServiceTemplateContainerStartupProbeHttpGet>
HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
InitialDelaySeconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
PeriodSeconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
TcpSockets This property is required. List<GetServiceTemplateContainerStartupProbeTcpSocket>
TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
TimeoutSeconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
FailureThreshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Grpcs This property is required. []GetServiceTemplateContainerStartupProbeGrpc
GRPC specifies an action involving a GRPC port.
HttpGets This property is required. []GetServiceTemplateContainerStartupProbeHttpGet
HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
InitialDelaySeconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
PeriodSeconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
TcpSockets This property is required. []GetServiceTemplateContainerStartupProbeTcpSocket
TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
TimeoutSeconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
failureThreshold This property is required. Integer
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. List<GetServiceTemplateContainerStartupProbeGrpc>
GRPC specifies an action involving a GRPC port.
httpGets This property is required. List<GetServiceTemplateContainerStartupProbeHttpGet>
HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
initialDelaySeconds This property is required. Integer
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
periodSeconds This property is required. Integer
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
tcpSockets This property is required. List<GetServiceTemplateContainerStartupProbeTcpSocket>
TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
timeoutSeconds This property is required. Integer
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
failureThreshold This property is required. number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. GetServiceTemplateContainerStartupProbeGrpc[]
GRPC specifies an action involving a GRPC port.
httpGets This property is required. GetServiceTemplateContainerStartupProbeHttpGet[]
HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
initialDelaySeconds This property is required. number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
periodSeconds This property is required. number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
tcpSockets This property is required. GetServiceTemplateContainerStartupProbeTcpSocket[]
TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
timeoutSeconds This property is required. number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
failure_threshold This property is required. int
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. Sequence[GetServiceTemplateContainerStartupProbeGrpc]
GRPC specifies an action involving a GRPC port.
http_gets This property is required. Sequence[GetServiceTemplateContainerStartupProbeHttpGet]
HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
initial_delay_seconds This property is required. int
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
period_seconds This property is required. int
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
tcp_sockets This property is required. Sequence[GetServiceTemplateContainerStartupProbeTcpSocket]
TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
timeout_seconds This property is required. int
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
failureThreshold This property is required. Number
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs This property is required. List<Property Map>
GRPC specifies an action involving a GRPC port.
httpGets This property is required. List<Property Map>
HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
initialDelaySeconds This property is required. Number
Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
periodSeconds This property is required. Number
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
tcpSockets This property is required. List<Property Map>
TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
timeoutSeconds This property is required. Number
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

GetServiceTemplateContainerStartupProbeGrpc

Port This property is required. int
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
Service This property is required. string
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
Port This property is required. int
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
Service This property is required. string
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
port This property is required. Integer
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
service This property is required. String
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
port This property is required. number
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
service This property is required. string
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
port This property is required. int
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
service This property is required. str
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
port This property is required. Number
Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
service This property is required. String
The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.

GetServiceTemplateContainerStartupProbeHttpGet

HttpHeaders This property is required. List<GetServiceTemplateContainerStartupProbeHttpGetHttpHeader>
Custom headers to set in the request. HTTP allows repeated headers.
Path This property is required. string
Path to access on the HTTP server. Defaults to '/'.
Port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
HttpHeaders This property is required. []GetServiceTemplateContainerStartupProbeHttpGetHttpHeader
Custom headers to set in the request. HTTP allows repeated headers.
Path This property is required. string
Path to access on the HTTP server. Defaults to '/'.
Port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
httpHeaders This property is required. List<GetServiceTemplateContainerStartupProbeHttpGetHttpHeader>
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. String
Path to access on the HTTP server. Defaults to '/'.
port This property is required. Integer
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
httpHeaders This property is required. GetServiceTemplateContainerStartupProbeHttpGetHttpHeader[]
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. string
Path to access on the HTTP server. Defaults to '/'.
port This property is required. number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
http_headers This property is required. Sequence[GetServiceTemplateContainerStartupProbeHttpGetHttpHeader]
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. str
Path to access on the HTTP server. Defaults to '/'.
port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
httpHeaders This property is required. List<Property Map>
Custom headers to set in the request. HTTP allows repeated headers.
path This property is required. String
Path to access on the HTTP server. Defaults to '/'.
port This property is required. Number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

GetServiceTemplateContainerStartupProbeHttpGetHttpHeader

Name This property is required. string
The name of the Cloud Run v2 Service.
Value This property is required. string
The header field value
Name This property is required. string
The name of the Cloud Run v2 Service.
Value This property is required. string
The header field value
name This property is required. String
The name of the Cloud Run v2 Service.
value This property is required. String
The header field value
name This property is required. string
The name of the Cloud Run v2 Service.
value This property is required. string
The header field value
name This property is required. str
The name of the Cloud Run v2 Service.
value This property is required. str
The header field value
name This property is required. String
The name of the Cloud Run v2 Service.
value This property is required. String
The header field value

GetServiceTemplateContainerStartupProbeTcpSocket

Port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
Port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
port This property is required. Integer
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
port This property is required. number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
port This property is required. int
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.
port This property is required. Number
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

GetServiceTemplateContainerVolumeMount

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

GetServiceTemplateNodeSelector

Accelerator This property is required. string
The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
Accelerator This property is required. string
The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
accelerator This property is required. String
The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
accelerator This property is required. string
The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
accelerator This property is required. str
The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.
accelerator This property is required. String
The GPU to attach to an instance. See https://cloud.google.com/run/docs/configuring/services/gpu for configuring GPU.

GetServiceTemplateScaling

MaxInstanceCount This property is required. int
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
MinInstanceCount This property is required. int
Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
MaxInstanceCount This property is required. int
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
MinInstanceCount This property is required. int
Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
maxInstanceCount This property is required. Integer
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
minInstanceCount This property is required. Integer
Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
maxInstanceCount This property is required. number
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
minInstanceCount This property is required. number
Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
max_instance_count This property is required. int
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
min_instance_count This property is required. int
Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
maxInstanceCount This property is required. Number
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
minInstanceCount This property is required. Number
Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.

GetServiceTemplateServiceMesh

Mesh This property is required. string
The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
Mesh This property is required. string
The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
mesh This property is required. String
The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
mesh This property is required. string
The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
mesh This property is required. str
The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
mesh This property is required. String
The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.

GetServiceTemplateVolume

CloudSqlInstances This property is required. List<GetServiceTemplateVolumeCloudSqlInstance>
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
EmptyDirs This property is required. List<GetServiceTemplateVolumeEmptyDir>
Ephemeral storage used as a shared volume.
Gcs This property is required. List<GetServiceTemplateVolumeGc>
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
Name This property is required. string
The name of the Cloud Run v2 Service.
Nfs This property is required. List<GetServiceTemplateVolumeNf>
Represents an NFS mount.
Secrets This property is required. List<GetServiceTemplateVolumeSecret>
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
CloudSqlInstances This property is required. []GetServiceTemplateVolumeCloudSqlInstance
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
EmptyDirs This property is required. []GetServiceTemplateVolumeEmptyDir
Ephemeral storage used as a shared volume.
Gcs This property is required. []GetServiceTemplateVolumeGc
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
Name This property is required. string
The name of the Cloud Run v2 Service.
Nfs This property is required. []GetServiceTemplateVolumeNf
Represents an NFS mount.
Secrets This property is required. []GetServiceTemplateVolumeSecret
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
cloudSqlInstances This property is required. List<GetServiceTemplateVolumeCloudSqlInstance>
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
emptyDirs This property is required. List<GetServiceTemplateVolumeEmptyDir>
Ephemeral storage used as a shared volume.
gcs This property is required. List<GetServiceTemplateVolumeGc>
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
name This property is required. String
The name of the Cloud Run v2 Service.
nfs This property is required. List<GetServiceTemplateVolumeNf>
Represents an NFS mount.
secrets This property is required. List<GetServiceTemplateVolumeSecret>
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
cloudSqlInstances This property is required. GetServiceTemplateVolumeCloudSqlInstance[]
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
emptyDirs This property is required. GetServiceTemplateVolumeEmptyDir[]
Ephemeral storage used as a shared volume.
gcs This property is required. GetServiceTemplateVolumeGc[]
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
name This property is required. string
The name of the Cloud Run v2 Service.
nfs This property is required. GetServiceTemplateVolumeNf[]
Represents an NFS mount.
secrets This property is required. GetServiceTemplateVolumeSecret[]
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[GetServiceTemplateVolumeCloudSqlInstance]
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[GetServiceTemplateVolumeEmptyDir]
Ephemeral storage used as a shared volume.
gcs This property is required. Sequence[GetServiceTemplateVolumeGc]
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
name This property is required. str
The name of the Cloud Run v2 Service.
nfs This property is required. Sequence[GetServiceTemplateVolumeNf]
Represents an NFS mount.
secrets This property is required. Sequence[GetServiceTemplateVolumeSecret]
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
cloudSqlInstances This property is required. List<Property Map>
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
emptyDirs This property is required. List<Property Map>
Ephemeral storage used as a shared volume.
gcs This property is required. List<Property Map>
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
name This property is required. String
The name of the Cloud Run v2 Service.
nfs This property is required. List<Property Map>
Represents an NFS mount.
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

GetServiceTemplateVolumeCloudSqlInstance

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}

GetServiceTemplateVolumeEmptyDir

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

GetServiceTemplateVolumeGc

Bucket This property is required. string
GCS Bucket name
MountOptions This property is required. List<string>
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
ReadOnly This property is required. bool
If true, mount the GCS bucket as read-only
Bucket This property is required. string
GCS Bucket name
MountOptions This property is required. []string
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
ReadOnly This property is required. bool
If true, mount the GCS bucket as read-only
bucket This property is required. String
GCS Bucket name
mountOptions This property is required. List<String>
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
readOnly This property is required. Boolean
If true, mount the GCS bucket as read-only
bucket This property is required. string
GCS Bucket name
mountOptions This property is required. string[]
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
readOnly This property is required. boolean
If true, mount the GCS bucket as read-only
bucket This property is required. str
GCS Bucket name
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 the GCS bucket as read-only
bucket This property is required. String
GCS Bucket name
mountOptions This property is required. List<String>
A list of flags to pass to the gcsfuse command for configuring this volume. Flags should be passed without leading dashes.
readOnly This property is required. Boolean
If true, mount the GCS bucket as read-only

GetServiceTemplateVolumeNf

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

GetServiceTemplateVolumeSecret

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

GetServiceTemplateVolumeSecretItem

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

GetServiceTemplateVpcAccess

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

GetServiceTemplateVpcAccessNetworkInterface

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

GetServiceTerminalCondition

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

GetServiceTraffic

Percent This property is required. int
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
Revision This property is required. string
Revision to which to send this portion of traffic, if traffic allocation is by revision.
Tag This property is required. string
Indicates a string to be part of the URI to exclusively reference this target.
Type This property is required. string
The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
Percent This property is required. int
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
Revision This property is required. string
Revision to which to send this portion of traffic, if traffic allocation is by revision.
Tag This property is required. string
Indicates a string to be part of the URI to exclusively reference this target.
Type This property is required. string
The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
percent This property is required. Integer
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision This property is required. String
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag This property is required. String
Indicates a string to be part of the URI to exclusively reference this target.
type This property is required. String
The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
percent This property is required. number
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision This property is required. string
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag This property is required. string
Indicates a string to be part of the URI to exclusively reference this target.
type This property is required. string
The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
percent This property is required. int
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision This property is required. str
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag This property is required. str
Indicates a string to be part of the URI to exclusively reference this target.
type This property is required. str
The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
percent This property is required. Number
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
revision This property is required. String
Revision to which to send this portion of traffic, if traffic allocation is by revision.
tag This property is required. String
Indicates a string to be part of the URI to exclusively reference this target.
type This property is required. String
The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]

GetServiceTrafficStatus

Percent This property is required. int
Specifies percent of the traffic to this Revision.
Revision This property is required. string
Revision to which this traffic is sent.
Tag This property is required. string
Indicates the string used in the URI to exclusively reference this target.
Type This property is required. string
The allocation type for this traffic target.
Uri This property is required. string
Displays the target URI.
Percent This property is required. int
Specifies percent of the traffic to this Revision.
Revision This property is required. string
Revision to which this traffic is sent.
Tag This property is required. string
Indicates the string used in the URI to exclusively reference this target.
Type This property is required. string
The allocation type for this traffic target.
Uri This property is required. string
Displays the target URI.
percent This property is required. Integer
Specifies percent of the traffic to this Revision.
revision This property is required. String
Revision to which this traffic is sent.
tag This property is required. String
Indicates the string used in the URI to exclusively reference this target.
type This property is required. String
The allocation type for this traffic target.
uri This property is required. String
Displays the target URI.
percent This property is required. number
Specifies percent of the traffic to this Revision.
revision This property is required. string
Revision to which this traffic is sent.
tag This property is required. string
Indicates the string used in the URI to exclusively reference this target.
type This property is required. string
The allocation type for this traffic target.
uri This property is required. string
Displays the target URI.
percent This property is required. int
Specifies percent of the traffic to this Revision.
revision This property is required. str
Revision to which this traffic is sent.
tag This property is required. str
Indicates the string used in the URI to exclusively reference this target.
type This property is required. str
The allocation type for this traffic target.
uri This property is required. str
Displays the target URI.
percent This property is required. Number
Specifies percent of the traffic to this Revision.
revision This property is required. String
Revision to which this traffic is sent.
tag This property is required. String
Indicates the string used in the URI to exclusively reference this target.
type This property is required. String
The allocation type for this traffic target.
uri This property is required. String
Displays the target URI.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi