Google Cloud (GCP) Classic

Pulumi Official
Package maintained by Pulumi
v6.32.0 published on Wednesday, Jul 20, 2022 by Pulumi

FlexibleAppVersion

Flexible App Version resource to create a new version of flexible GAE Application. Based on Google Compute Engine, the App Engine flexible environment automatically scales your app up and down while also balancing the load. Learn about the differences between the standard environment and the flexible environment at https://cloud.google.com/appengine/docs/the-appengine-environments.

Note: The App Engine flexible environment service account uses the member ID service-[YOUR_PROJECT_NUMBER]@gae-api-prod.google.com.iam.gserviceaccount.com It should have the App Engine Flexible Environment Service Agent role, which will be applied when the appengineflex.googleapis.com service is enabled.

To get more information about FlexibleAppVersion, see:

Example Usage

App Engine Flexible App Version

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
    public MyStack()
    {
        var myProject = new Gcp.Organizations.Project("myProject", new Gcp.Organizations.ProjectArgs
        {
            ProjectId = "appeng-flex",
            OrgId = "123456789",
            BillingAccount = "000000-0000000-0000000-000000",
        });
        var app = new Gcp.AppEngine.Application("app", new Gcp.AppEngine.ApplicationArgs
        {
            Project = myProject.ProjectId,
            LocationId = "us-central",
        });
        var service = new Gcp.Projects.Service("service", new Gcp.Projects.ServiceArgs
        {
            Project = myProject.ProjectId,
            Service = "appengineflex.googleapis.com",
            DisableDependentServices = false,
        });
        var gaeApi = new Gcp.Projects.IAMMember("gaeApi", new Gcp.Projects.IAMMemberArgs
        {
            Project = service.Project,
            Role = "roles/compute.networkUser",
            Member = myProject.Number.Apply(number => $"serviceAccount:service-{number}@gae-api-prod.google.com.iam.gserviceaccount.com"),
        });
        var bucket = new Gcp.Storage.Bucket("bucket", new Gcp.Storage.BucketArgs
        {
            Project = myProject.ProjectId,
            Location = "US",
        });
        var @object = new Gcp.Storage.BucketObject("object", new Gcp.Storage.BucketObjectArgs
        {
            Bucket = bucket.Name,
            Source = new FileAsset("./test-fixtures/appengine/hello-world.zip"),
        });
        var myappV1 = new Gcp.AppEngine.FlexibleAppVersion("myappV1", new Gcp.AppEngine.FlexibleAppVersionArgs
        {
            VersionId = "v1",
            Project = gaeApi.Project,
            Service = "default",
            Runtime = "nodejs",
            Entrypoint = new Gcp.AppEngine.Inputs.FlexibleAppVersionEntrypointArgs
            {
                Shell = "node ./app.js",
            },
            Deployment = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentArgs
            {
                Zip = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentZipArgs
                {
                    SourceUrl = Output.Tuple(bucket.Name, @object.Name).Apply(values =>
                    {
                        var bucketName = values.Item1;
                        var objectName = values.Item2;
                        return $"https://storage.googleapis.com/{bucketName}/{objectName}";
                    }),
                },
            },
            LivenessCheck = new Gcp.AppEngine.Inputs.FlexibleAppVersionLivenessCheckArgs
            {
                Path = "/",
            },
            ReadinessCheck = new Gcp.AppEngine.Inputs.FlexibleAppVersionReadinessCheckArgs
            {
                Path = "/",
            },
            EnvVariables = 
            {
                { "port", "8080" },
            },
            Handlers = 
            {
                new Gcp.AppEngine.Inputs.FlexibleAppVersionHandlerArgs
                {
                    UrlRegex = ".*\\/my-path\\/*",
                    SecurityLevel = "SECURE_ALWAYS",
                    Login = "LOGIN_REQUIRED",
                    AuthFailAction = "AUTH_FAIL_ACTION_REDIRECT",
                    StaticFiles = new Gcp.AppEngine.Inputs.FlexibleAppVersionHandlerStaticFilesArgs
                    {
                        Path = "my-other-path",
                        UploadPathRegex = ".*\\/my-path\\/*",
                    },
                },
            },
            AutomaticScaling = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingArgs
            {
                CoolDownPeriod = "120s",
                CpuUtilization = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs
                {
                    TargetUtilization = 0.5,
                },
            },
            NoopOnDestroy = true,
        });
    }

}
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/appengine"
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/projects"
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myProject, err := organizations.NewProject(ctx, "myProject", &organizations.ProjectArgs{
			ProjectId:      pulumi.String("appeng-flex"),
			OrgId:          pulumi.String("123456789"),
			BillingAccount: pulumi.String("000000-0000000-0000000-000000"),
		})
		if err != nil {
			return err
		}
		_, err = appengine.NewApplication(ctx, "app", &appengine.ApplicationArgs{
			Project:    myProject.ProjectId,
			LocationId: pulumi.String("us-central"),
		})
		if err != nil {
			return err
		}
		service, err := projects.NewService(ctx, "service", &projects.ServiceArgs{
			Project:                  myProject.ProjectId,
			Service:                  pulumi.String("appengineflex.googleapis.com"),
			DisableDependentServices: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		gaeApi, err := projects.NewIAMMember(ctx, "gaeApi", &projects.IAMMemberArgs{
			Project: service.Project,
			Role:    pulumi.String("roles/compute.networkUser"),
			Member: myProject.Number.ApplyT(func(number string) (string, error) {
				return fmt.Sprintf("%v%v%v", "serviceAccount:service-", number, "@gae-api-prod.google.com.iam.gserviceaccount.com"), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Project:  myProject.ProjectId,
			Location: pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
			Bucket: bucket.Name,
			Source: pulumi.NewFileAsset("./test-fixtures/appengine/hello-world.zip"),
		})
		if err != nil {
			return err
		}
		_, err = appengine.NewFlexibleAppVersion(ctx, "myappV1", &appengine.FlexibleAppVersionArgs{
			VersionId: pulumi.String("v1"),
			Project:   gaeApi.Project,
			Service:   pulumi.String("default"),
			Runtime:   pulumi.String("nodejs"),
			Entrypoint: &appengine.FlexibleAppVersionEntrypointArgs{
				Shell: pulumi.String("node ./app.js"),
			},
			Deployment: &appengine.FlexibleAppVersionDeploymentArgs{
				Zip: &appengine.FlexibleAppVersionDeploymentZipArgs{
					SourceUrl: pulumi.All(bucket.Name, object.Name).ApplyT(func(_args []interface{}) (string, error) {
						bucketName := _args[0].(string)
						objectName := _args[1].(string)
						return fmt.Sprintf("%v%v%v%v", "https://storage.googleapis.com/", bucketName, "/", objectName), nil
					}).(pulumi.StringOutput),
				},
			},
			LivenessCheck: &appengine.FlexibleAppVersionLivenessCheckArgs{
				Path: pulumi.String("/"),
			},
			ReadinessCheck: &appengine.FlexibleAppVersionReadinessCheckArgs{
				Path: pulumi.String("/"),
			},
			EnvVariables: pulumi.StringMap{
				"port": pulumi.String("8080"),
			},
			Handlers: appengine.FlexibleAppVersionHandlerArray{
				&appengine.FlexibleAppVersionHandlerArgs{
					UrlRegex:       pulumi.String(".*\\/my-path\\/*"),
					SecurityLevel:  pulumi.String("SECURE_ALWAYS"),
					Login:          pulumi.String("LOGIN_REQUIRED"),
					AuthFailAction: pulumi.String("AUTH_FAIL_ACTION_REDIRECT"),
					StaticFiles: &appengine.FlexibleAppVersionHandlerStaticFilesArgs{
						Path:            pulumi.String("my-other-path"),
						UploadPathRegex: pulumi.String(".*\\/my-path\\/*"),
					},
				},
			},
			AutomaticScaling: &appengine.FlexibleAppVersionAutomaticScalingArgs{
				CoolDownPeriod: pulumi.String("120s"),
				CpuUtilization: &appengine.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs{
					TargetUtilization: pulumi.Float64(0.5),
				},
			},
			NoopOnDestroy: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var myProject = new Project("myProject", ProjectArgs.builder()        
            .projectId("appeng-flex")
            .orgId("123456789")
            .billingAccount("000000-0000000-0000000-000000")
            .build());

        var app = new Application("app", ApplicationArgs.builder()        
            .project(myProject.projectId())
            .locationId("us-central")
            .build());

        var service = new Service("service", ServiceArgs.builder()        
            .project(myProject.projectId())
            .service("appengineflex.googleapis.com")
            .disableDependentServices(false)
            .build());

        var gaeApi = new IAMMember("gaeApi", IAMMemberArgs.builder()        
            .project(service.project())
            .role("roles/compute.networkUser")
            .member(myProject.number().apply(number -> String.format("serviceAccount:service-%s@gae-api-prod.google.com.iam.gserviceaccount.com", number)))
            .build());

        var bucket = new Bucket("bucket", BucketArgs.builder()        
            .project(myProject.projectId())
            .location("US")
            .build());

        var object = new BucketObject("object", BucketObjectArgs.builder()        
            .bucket(bucket.name())
            .source(new FileAsset("./test-fixtures/appengine/hello-world.zip"))
            .build());

        var myappV1 = new FlexibleAppVersion("myappV1", FlexibleAppVersionArgs.builder()        
            .versionId("v1")
            .project(gaeApi.project())
            .service("default")
            .runtime("nodejs")
            .entrypoint(FlexibleAppVersionEntrypointArgs.builder()
                .shell("node ./app.js")
                .build())
            .deployment(FlexibleAppVersionDeploymentArgs.builder()
                .zip(FlexibleAppVersionDeploymentZipArgs.builder()
                    .sourceUrl(Output.tuple(bucket.name(), object.name()).apply(values -> {
                        var bucketName = values.t1;
                        var objectName = values.t2;
                        return String.format("https://storage.googleapis.com/%s/%s", bucketName,objectName);
                    }))
                    .build())
                .build())
            .livenessCheck(FlexibleAppVersionLivenessCheckArgs.builder()
                .path("/")
                .build())
            .readinessCheck(FlexibleAppVersionReadinessCheckArgs.builder()
                .path("/")
                .build())
            .envVariables(Map.of("port", "8080"))
            .handlers(FlexibleAppVersionHandlerArgs.builder()
                .urlRegex(".*\\/my-path\\/*")
                .securityLevel("SECURE_ALWAYS")
                .login("LOGIN_REQUIRED")
                .authFailAction("AUTH_FAIL_ACTION_REDIRECT")
                .staticFiles(FlexibleAppVersionHandlerStaticFilesArgs.builder()
                    .path("my-other-path")
                    .uploadPathRegex(".*\\/my-path\\/*")
                    .build())
                .build())
            .automaticScaling(FlexibleAppVersionAutomaticScalingArgs.builder()
                .coolDownPeriod("120s")
                .cpuUtilization(FlexibleAppVersionAutomaticScalingCpuUtilizationArgs.builder()
                    .targetUtilization(0.5)
                    .build())
                .build())
            .noopOnDestroy(true)
            .build());

    }
}
import pulumi
import pulumi_gcp as gcp

my_project = gcp.organizations.Project("myProject",
    project_id="appeng-flex",
    org_id="123456789",
    billing_account="000000-0000000-0000000-000000")
app = gcp.appengine.Application("app",
    project=my_project.project_id,
    location_id="us-central")
service = gcp.projects.Service("service",
    project=my_project.project_id,
    service="appengineflex.googleapis.com",
    disable_dependent_services=False)
gae_api = gcp.projects.IAMMember("gaeApi",
    project=service.project,
    role="roles/compute.networkUser",
    member=my_project.number.apply(lambda number: f"serviceAccount:service-{number}@gae-api-prod.google.com.iam.gserviceaccount.com"))
bucket = gcp.storage.Bucket("bucket",
    project=my_project.project_id,
    location="US")
object = gcp.storage.BucketObject("object",
    bucket=bucket.name,
    source=pulumi.FileAsset("./test-fixtures/appengine/hello-world.zip"))
myapp_v1 = gcp.appengine.FlexibleAppVersion("myappV1",
    version_id="v1",
    project=gae_api.project,
    service="default",
    runtime="nodejs",
    entrypoint=gcp.appengine.FlexibleAppVersionEntrypointArgs(
        shell="node ./app.js",
    ),
    deployment=gcp.appengine.FlexibleAppVersionDeploymentArgs(
        zip=gcp.appengine.FlexibleAppVersionDeploymentZipArgs(
            source_url=pulumi.Output.all(bucket.name, object.name).apply(lambda bucketName, objectName: f"https://storage.googleapis.com/{bucket_name}/{object_name}"),
        ),
    ),
    liveness_check=gcp.appengine.FlexibleAppVersionLivenessCheckArgs(
        path="/",
    ),
    readiness_check=gcp.appengine.FlexibleAppVersionReadinessCheckArgs(
        path="/",
    ),
    env_variables={
        "port": "8080",
    },
    handlers=[gcp.appengine.FlexibleAppVersionHandlerArgs(
        url_regex=".*\\/my-path\\/*",
        security_level="SECURE_ALWAYS",
        login="LOGIN_REQUIRED",
        auth_fail_action="AUTH_FAIL_ACTION_REDIRECT",
        static_files=gcp.appengine.FlexibleAppVersionHandlerStaticFilesArgs(
            path="my-other-path",
            upload_path_regex=".*\\/my-path\\/*",
        ),
    )],
    automatic_scaling=gcp.appengine.FlexibleAppVersionAutomaticScalingArgs(
        cool_down_period="120s",
        cpu_utilization=gcp.appengine.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs(
            target_utilization=0.5,
        ),
    ),
    noop_on_destroy=True)
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const myProject = new gcp.organizations.Project("myProject", {
    projectId: "appeng-flex",
    orgId: "123456789",
    billingAccount: "000000-0000000-0000000-000000",
});
const app = new gcp.appengine.Application("app", {
    project: myProject.projectId,
    locationId: "us-central",
});
const service = new gcp.projects.Service("service", {
    project: myProject.projectId,
    service: "appengineflex.googleapis.com",
    disableDependentServices: false,
});
const gaeApi = new gcp.projects.IAMMember("gaeApi", {
    project: service.project,
    role: "roles/compute.networkUser",
    member: pulumi.interpolate`serviceAccount:service-${myProject.number}@gae-api-prod.google.com.iam.gserviceaccount.com`,
});
const bucket = new gcp.storage.Bucket("bucket", {
    project: myProject.projectId,
    location: "US",
});
const object = new gcp.storage.BucketObject("object", {
    bucket: bucket.name,
    source: new pulumi.asset.FileAsset("./test-fixtures/appengine/hello-world.zip"),
});
const myappV1 = new gcp.appengine.FlexibleAppVersion("myappV1", {
    versionId: "v1",
    project: gaeApi.project,
    service: "default",
    runtime: "nodejs",
    entrypoint: {
        shell: "node ./app.js",
    },
    deployment: {
        zip: {
            sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
        },
    },
    livenessCheck: {
        path: "/",
    },
    readinessCheck: {
        path: "/",
    },
    envVariables: {
        port: "8080",
    },
    handlers: [{
        urlRegex: ".*\\/my-path\\/*",
        securityLevel: "SECURE_ALWAYS",
        login: "LOGIN_REQUIRED",
        authFailAction: "AUTH_FAIL_ACTION_REDIRECT",
        staticFiles: {
            path: "my-other-path",
            uploadPathRegex: ".*\\/my-path\\/*",
        },
    }],
    automaticScaling: {
        coolDownPeriod: "120s",
        cpuUtilization: {
            targetUtilization: 0.5,
        },
    },
    noopOnDestroy: true,
});
resources:
  myProject:
    type: gcp:organizations:Project
    properties:
      projectId: appeng-flex
      orgId: 123456789
      billingAccount: 000000-0000000-0000000-000000
  app:
    type: gcp:appengine:Application
    properties:
      project: ${myProject.projectId}
      locationId: us-central
  service:
    type: gcp:projects:Service
    properties:
      project: ${myProject.projectId}
      service: appengineflex.googleapis.com
      disableDependentServices: false
  gaeApi:
    type: gcp:projects:IAMMember
    properties:
      project: ${service.project}
      role: roles/compute.networkUser
      member: serviceAccount:service-${myProject.number}@gae-api-prod.google.com.iam.gserviceaccount.com
  myappV1:
    type: gcp:appengine:FlexibleAppVersion
    properties:
      versionId: v1
      project: ${gaeApi.project}
      service: default
      runtime: nodejs
      entrypoint:
        shell: node ./app.js
      deployment:
        zip:
          sourceUrl: https://storage.googleapis.com/${bucket.name}/${object.name}
      livenessCheck:
        path: /
      readinessCheck:
        path: /
      envVariables:
        port: 8080
      handlers:
        - urlRegex: .*\/my-path\/*
          securityLevel: SECURE_ALWAYS
          login: LOGIN_REQUIRED
          authFailAction: AUTH_FAIL_ACTION_REDIRECT
          staticFiles:
            path: my-other-path
            uploadPathRegex: .*\/my-path\/*
      automaticScaling:
        coolDownPeriod: 120s
        cpuUtilization:
          targetUtilization: 0.5
      noopOnDestroy: true
  bucket:
    type: gcp:storage:Bucket
    properties:
      project: ${myProject.projectId}
      location: US
  object:
    type: gcp:storage:BucketObject
    properties:
      bucket: ${bucket.name}
      source:
        Fn::FileAsset: ./test-fixtures/appengine/hello-world.zip

Create a FlexibleAppVersion Resource

new FlexibleAppVersion(name: string, args: FlexibleAppVersionArgs, opts?: CustomResourceOptions);
@overload
def FlexibleAppVersion(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       api_config: Optional[FlexibleAppVersionApiConfigArgs] = None,
                       automatic_scaling: Optional[FlexibleAppVersionAutomaticScalingArgs] = None,
                       beta_settings: Optional[Mapping[str, str]] = None,
                       default_expiration: Optional[str] = None,
                       delete_service_on_destroy: Optional[bool] = None,
                       deployment: Optional[FlexibleAppVersionDeploymentArgs] = None,
                       endpoints_api_service: Optional[FlexibleAppVersionEndpointsApiServiceArgs] = None,
                       entrypoint: Optional[FlexibleAppVersionEntrypointArgs] = None,
                       env_variables: Optional[Mapping[str, str]] = None,
                       handlers: Optional[Sequence[FlexibleAppVersionHandlerArgs]] = None,
                       inbound_services: Optional[Sequence[str]] = None,
                       instance_class: Optional[str] = None,
                       liveness_check: Optional[FlexibleAppVersionLivenessCheckArgs] = None,
                       manual_scaling: Optional[FlexibleAppVersionManualScalingArgs] = None,
                       network: Optional[FlexibleAppVersionNetworkArgs] = None,
                       nobuild_files_regex: Optional[str] = None,
                       noop_on_destroy: Optional[bool] = None,
                       project: Optional[str] = None,
                       readiness_check: Optional[FlexibleAppVersionReadinessCheckArgs] = None,
                       resources: Optional[FlexibleAppVersionResourcesArgs] = None,
                       runtime: Optional[str] = None,
                       runtime_api_version: Optional[str] = None,
                       runtime_channel: Optional[str] = None,
                       runtime_main_executable_path: Optional[str] = None,
                       service: Optional[str] = None,
                       serving_status: Optional[str] = None,
                       version_id: Optional[str] = None,
                       vpc_access_connector: Optional[FlexibleAppVersionVpcAccessConnectorArgs] = None)
@overload
def FlexibleAppVersion(resource_name: str,
                       args: FlexibleAppVersionArgs,
                       opts: Optional[ResourceOptions] = None)
func NewFlexibleAppVersion(ctx *Context, name string, args FlexibleAppVersionArgs, opts ...ResourceOption) (*FlexibleAppVersion, error)
public FlexibleAppVersion(string name, FlexibleAppVersionArgs args, CustomResourceOptions? opts = null)
public FlexibleAppVersion(String name, FlexibleAppVersionArgs args)
public FlexibleAppVersion(String name, FlexibleAppVersionArgs args, CustomResourceOptions options)
type: gcp:appengine:FlexibleAppVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FlexibleAppVersionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args FlexibleAppVersionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FlexibleAppVersionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FlexibleAppVersionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FlexibleAppVersionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FlexibleAppVersion Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The FlexibleAppVersion resource accepts the following input properties:

LivenessCheck FlexibleAppVersionLivenessCheckArgs

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

ReadinessCheck FlexibleAppVersionReadinessCheckArgs

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

Runtime string

Desired runtime. Example python27.

Service string

AppEngine service resource. Can contain numbers, letters, and hyphens.

ApiConfig FlexibleAppVersionApiConfigArgs

Serving configuration for Google Cloud Endpoints. Structure is documented below.

AutomaticScaling FlexibleAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

BetaSettings Dictionary<string, string>

Metadata settings that are supplied to this version to enable beta runtime features.

DefaultExpiration string

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

DeleteServiceOnDestroy bool

If set to true, the service will be deleted if it is the last version.

Deployment FlexibleAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

EndpointsApiService FlexibleAppVersionEndpointsApiServiceArgs

Code and application artifacts that make up this version. Structure is documented below.

Entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

EnvVariables Dictionary<string, string>

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

Handlers List<FlexibleAppVersionHandlerArgs>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

InboundServices List<string>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

InstanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

ManualScaling FlexibleAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

Network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

NobuildFilesRegex string

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

NoopOnDestroy bool

If set to true, the application version will not be deleted.

Project string

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

Resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

RuntimeChannel string

The channel of the runtime to use. Only available for some runtimes.

RuntimeMainExecutablePath string

The path or name of the app's main executable.

ServingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

VersionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

VpcAccessConnector FlexibleAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

LivenessCheck FlexibleAppVersionLivenessCheckArgs

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

ReadinessCheck FlexibleAppVersionReadinessCheckArgs

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

Runtime string

Desired runtime. Example python27.

Service string

AppEngine service resource. Can contain numbers, letters, and hyphens.

ApiConfig FlexibleAppVersionApiConfigArgs

Serving configuration for Google Cloud Endpoints. Structure is documented below.

AutomaticScaling FlexibleAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

BetaSettings map[string]string

Metadata settings that are supplied to this version to enable beta runtime features.

DefaultExpiration string

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

DeleteServiceOnDestroy bool

If set to true, the service will be deleted if it is the last version.

Deployment FlexibleAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

EndpointsApiService FlexibleAppVersionEndpointsApiServiceArgs

Code and application artifacts that make up this version. Structure is documented below.

Entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

EnvVariables map[string]string

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

Handlers []FlexibleAppVersionHandlerArgs

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

InboundServices []string

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

InstanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

ManualScaling FlexibleAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

Network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

NobuildFilesRegex string

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

NoopOnDestroy bool

If set to true, the application version will not be deleted.

Project string

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

Resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

RuntimeChannel string

The channel of the runtime to use. Only available for some runtimes.

RuntimeMainExecutablePath string

The path or name of the app's main executable.

ServingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

VersionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

VpcAccessConnector FlexibleAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

livenessCheck FlexibleAppVersionLivenessCheckArgs

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

readinessCheck FlexibleAppVersionReadinessCheckArgs

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

runtime String

Desired runtime. Example python27.

service String

AppEngine service resource. Can contain numbers, letters, and hyphens.

apiConfig FlexibleAppVersionApiConfigArgs

Serving configuration for Google Cloud Endpoints. Structure is documented below.

automaticScaling FlexibleAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

betaSettings Map<String,String>

Metadata settings that are supplied to this version to enable beta runtime features.

defaultExpiration String

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

deleteServiceOnDestroy Boolean

If set to true, the service will be deleted if it is the last version.

deployment FlexibleAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

endpointsApiService FlexibleAppVersionEndpointsApiServiceArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

envVariables Map<String,String>

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

handlers List<FlexibleAppVersionHandlerArgs>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices List<String>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass String

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

manualScaling FlexibleAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

nobuildFilesRegex String

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

noopOnDestroy Boolean

If set to true, the application version will not be deleted.

project String

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

resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

runtimeApiVersion String

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

runtimeChannel String

The channel of the runtime to use. Only available for some runtimes.

runtimeMainExecutablePath String

The path or name of the app's main executable.

servingStatus String

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

versionId String

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector FlexibleAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

livenessCheck FlexibleAppVersionLivenessCheckArgs

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

readinessCheck FlexibleAppVersionReadinessCheckArgs

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

runtime string

Desired runtime. Example python27.

service string

AppEngine service resource. Can contain numbers, letters, and hyphens.

apiConfig FlexibleAppVersionApiConfigArgs

Serving configuration for Google Cloud Endpoints. Structure is documented below.

automaticScaling FlexibleAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

betaSettings {[key: string]: string}

Metadata settings that are supplied to this version to enable beta runtime features.

defaultExpiration string

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

deleteServiceOnDestroy boolean

If set to true, the service will be deleted if it is the last version.

deployment FlexibleAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

endpointsApiService FlexibleAppVersionEndpointsApiServiceArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

envVariables {[key: string]: string}

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

handlers FlexibleAppVersionHandlerArgs[]

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices string[]

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

manualScaling FlexibleAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

nobuildFilesRegex string

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

noopOnDestroy boolean

If set to true, the application version will not be deleted.

project string

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

resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

runtimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

runtimeChannel string

The channel of the runtime to use. Only available for some runtimes.

runtimeMainExecutablePath string

The path or name of the app's main executable.

servingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

versionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector FlexibleAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

liveness_check FlexibleAppVersionLivenessCheckArgs

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

readiness_check FlexibleAppVersionReadinessCheckArgs

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

runtime str

Desired runtime. Example python27.

service str

AppEngine service resource. Can contain numbers, letters, and hyphens.

api_config FlexibleAppVersionApiConfigArgs

Serving configuration for Google Cloud Endpoints. Structure is documented below.

automatic_scaling FlexibleAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

beta_settings Mapping[str, str]

Metadata settings that are supplied to this version to enable beta runtime features.

default_expiration str

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

delete_service_on_destroy bool

If set to true, the service will be deleted if it is the last version.

deployment FlexibleAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

endpoints_api_service FlexibleAppVersionEndpointsApiServiceArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

env_variables Mapping[str, str]

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

handlers Sequence[FlexibleAppVersionHandlerArgs]

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inbound_services Sequence[str]

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instance_class str

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

manual_scaling FlexibleAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

nobuild_files_regex str

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

noop_on_destroy bool

If set to true, the application version will not be deleted.

project str

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

resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

runtime_api_version str

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

runtime_channel str

The channel of the runtime to use. Only available for some runtimes.

runtime_main_executable_path str

The path or name of the app's main executable.

serving_status str

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

version_id str

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpc_access_connector FlexibleAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

livenessCheck Property Map

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

readinessCheck Property Map

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

runtime String

Desired runtime. Example python27.

service String

AppEngine service resource. Can contain numbers, letters, and hyphens.

apiConfig Property Map

Serving configuration for Google Cloud Endpoints. Structure is documented below.

automaticScaling Property Map

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

betaSettings Map<String>

Metadata settings that are supplied to this version to enable beta runtime features.

defaultExpiration String

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

deleteServiceOnDestroy Boolean

If set to true, the service will be deleted if it is the last version.

deployment Property Map

Code and application artifacts that make up this version. Structure is documented below.

endpointsApiService Property Map

Code and application artifacts that make up this version. Structure is documented below.

entrypoint Property Map

The entrypoint for the application. Structure is documented below.

envVariables Map<String>

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

handlers List<Property Map>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices List<String>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass String

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

manualScaling Property Map

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

network Property Map

Extra network settings Structure is documented below.

nobuildFilesRegex String

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

noopOnDestroy Boolean

If set to true, the application version will not be deleted.

project String

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

resources Property Map

Machine resources for a version. Structure is documented below.

runtimeApiVersion String

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

runtimeChannel String

The channel of the runtime to use. Only available for some runtimes.

runtimeMainExecutablePath String

The path or name of the app's main executable.

servingStatus String

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

versionId String

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector Property Map

Enables VPC connectivity for standard apps. Structure is documented below.

Outputs

All input properties are implicitly available as output properties. Additionally, the FlexibleAppVersion resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

id String

The provider-assigned unique ID for this managed resource.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

id string

The provider-assigned unique ID for this managed resource.

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

id str

The provider-assigned unique ID for this managed resource.

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

id String

The provider-assigned unique ID for this managed resource.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Look up an Existing FlexibleAppVersion Resource

Get an existing FlexibleAppVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: FlexibleAppVersionState, opts?: CustomResourceOptions): FlexibleAppVersion
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_config: Optional[FlexibleAppVersionApiConfigArgs] = None,
        automatic_scaling: Optional[FlexibleAppVersionAutomaticScalingArgs] = None,
        beta_settings: Optional[Mapping[str, str]] = None,
        default_expiration: Optional[str] = None,
        delete_service_on_destroy: Optional[bool] = None,
        deployment: Optional[FlexibleAppVersionDeploymentArgs] = None,
        endpoints_api_service: Optional[FlexibleAppVersionEndpointsApiServiceArgs] = None,
        entrypoint: Optional[FlexibleAppVersionEntrypointArgs] = None,
        env_variables: Optional[Mapping[str, str]] = None,
        handlers: Optional[Sequence[FlexibleAppVersionHandlerArgs]] = None,
        inbound_services: Optional[Sequence[str]] = None,
        instance_class: Optional[str] = None,
        liveness_check: Optional[FlexibleAppVersionLivenessCheckArgs] = None,
        manual_scaling: Optional[FlexibleAppVersionManualScalingArgs] = None,
        name: Optional[str] = None,
        network: Optional[FlexibleAppVersionNetworkArgs] = None,
        nobuild_files_regex: Optional[str] = None,
        noop_on_destroy: Optional[bool] = None,
        project: Optional[str] = None,
        readiness_check: Optional[FlexibleAppVersionReadinessCheckArgs] = None,
        resources: Optional[FlexibleAppVersionResourcesArgs] = None,
        runtime: Optional[str] = None,
        runtime_api_version: Optional[str] = None,
        runtime_channel: Optional[str] = None,
        runtime_main_executable_path: Optional[str] = None,
        service: Optional[str] = None,
        serving_status: Optional[str] = None,
        version_id: Optional[str] = None,
        vpc_access_connector: Optional[FlexibleAppVersionVpcAccessConnectorArgs] = None) -> FlexibleAppVersion
func GetFlexibleAppVersion(ctx *Context, name string, id IDInput, state *FlexibleAppVersionState, opts ...ResourceOption) (*FlexibleAppVersion, error)
public static FlexibleAppVersion Get(string name, Input<string> id, FlexibleAppVersionState? state, CustomResourceOptions? opts = null)
public static FlexibleAppVersion get(String name, Output<String> id, FlexibleAppVersionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ApiConfig FlexibleAppVersionApiConfigArgs

Serving configuration for Google Cloud Endpoints. Structure is documented below.

AutomaticScaling FlexibleAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

BetaSettings Dictionary<string, string>

Metadata settings that are supplied to this version to enable beta runtime features.

DefaultExpiration string

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

DeleteServiceOnDestroy bool

If set to true, the service will be deleted if it is the last version.

Deployment FlexibleAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

EndpointsApiService FlexibleAppVersionEndpointsApiServiceArgs

Code and application artifacts that make up this version. Structure is documented below.

Entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

EnvVariables Dictionary<string, string>

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

Handlers List<FlexibleAppVersionHandlerArgs>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

InboundServices List<string>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

InstanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

LivenessCheck FlexibleAppVersionLivenessCheckArgs

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

ManualScaling FlexibleAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

NobuildFilesRegex string

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

NoopOnDestroy bool

If set to true, the application version will not be deleted.

Project string

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

ReadinessCheck FlexibleAppVersionReadinessCheckArgs

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

Resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

Runtime string

Desired runtime. Example python27.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

RuntimeChannel string

The channel of the runtime to use. Only available for some runtimes.

RuntimeMainExecutablePath string

The path or name of the app's main executable.

Service string

AppEngine service resource. Can contain numbers, letters, and hyphens.

ServingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

VersionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

VpcAccessConnector FlexibleAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

ApiConfig FlexibleAppVersionApiConfigArgs

Serving configuration for Google Cloud Endpoints. Structure is documented below.

AutomaticScaling FlexibleAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

BetaSettings map[string]string

Metadata settings that are supplied to this version to enable beta runtime features.

DefaultExpiration string

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

DeleteServiceOnDestroy bool

If set to true, the service will be deleted if it is the last version.

Deployment FlexibleAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

EndpointsApiService FlexibleAppVersionEndpointsApiServiceArgs

Code and application artifacts that make up this version. Structure is documented below.

Entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

EnvVariables map[string]string

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

Handlers []FlexibleAppVersionHandlerArgs

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

InboundServices []string

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

InstanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

LivenessCheck FlexibleAppVersionLivenessCheckArgs

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

ManualScaling FlexibleAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

NobuildFilesRegex string

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

NoopOnDestroy bool

If set to true, the application version will not be deleted.

Project string

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

ReadinessCheck FlexibleAppVersionReadinessCheckArgs

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

Resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

Runtime string

Desired runtime. Example python27.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

RuntimeChannel string

The channel of the runtime to use. Only available for some runtimes.

RuntimeMainExecutablePath string

The path or name of the app's main executable.

Service string

AppEngine service resource. Can contain numbers, letters, and hyphens.

ServingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

VersionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

VpcAccessConnector FlexibleAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

apiConfig FlexibleAppVersionApiConfigArgs

Serving configuration for Google Cloud Endpoints. Structure is documented below.

automaticScaling FlexibleAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

betaSettings Map<String,String>

Metadata settings that are supplied to this version to enable beta runtime features.

defaultExpiration String

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

deleteServiceOnDestroy Boolean

If set to true, the service will be deleted if it is the last version.

deployment FlexibleAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

endpointsApiService FlexibleAppVersionEndpointsApiServiceArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

envVariables Map<String,String>

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

handlers List<FlexibleAppVersionHandlerArgs>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices List<String>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass String

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

livenessCheck FlexibleAppVersionLivenessCheckArgs

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

manualScaling FlexibleAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

nobuildFilesRegex String

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

noopOnDestroy Boolean

If set to true, the application version will not be deleted.

project String

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

readinessCheck FlexibleAppVersionReadinessCheckArgs

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

runtime String

Desired runtime. Example python27.

runtimeApiVersion String

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

runtimeChannel String

The channel of the runtime to use. Only available for some runtimes.

runtimeMainExecutablePath String

The path or name of the app's main executable.

service String

AppEngine service resource. Can contain numbers, letters, and hyphens.

servingStatus String

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

versionId String

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector FlexibleAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

apiConfig FlexibleAppVersionApiConfigArgs

Serving configuration for Google Cloud Endpoints. Structure is documented below.

automaticScaling FlexibleAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

betaSettings {[key: string]: string}

Metadata settings that are supplied to this version to enable beta runtime features.

defaultExpiration string

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

deleteServiceOnDestroy boolean

If set to true, the service will be deleted if it is the last version.

deployment FlexibleAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

endpointsApiService FlexibleAppVersionEndpointsApiServiceArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

envVariables {[key: string]: string}

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

handlers FlexibleAppVersionHandlerArgs[]

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices string[]

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

livenessCheck FlexibleAppVersionLivenessCheckArgs

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

manualScaling FlexibleAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

nobuildFilesRegex string

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

noopOnDestroy boolean

If set to true, the application version will not be deleted.

project string

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

readinessCheck FlexibleAppVersionReadinessCheckArgs

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

runtime string

Desired runtime. Example python27.

runtimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

runtimeChannel string

The channel of the runtime to use. Only available for some runtimes.

runtimeMainExecutablePath string

The path or name of the app's main executable.

service string

AppEngine service resource. Can contain numbers, letters, and hyphens.

servingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

versionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector FlexibleAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

api_config FlexibleAppVersionApiConfigArgs

Serving configuration for Google Cloud Endpoints. Structure is documented below.

automatic_scaling FlexibleAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

beta_settings Mapping[str, str]

Metadata settings that are supplied to this version to enable beta runtime features.

default_expiration str

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

delete_service_on_destroy bool

If set to true, the service will be deleted if it is the last version.

deployment FlexibleAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

endpoints_api_service FlexibleAppVersionEndpointsApiServiceArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

env_variables Mapping[str, str]

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

handlers Sequence[FlexibleAppVersionHandlerArgs]

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inbound_services Sequence[str]

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instance_class str

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

liveness_check FlexibleAppVersionLivenessCheckArgs

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

manual_scaling FlexibleAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

nobuild_files_regex str

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

noop_on_destroy bool

If set to true, the application version will not be deleted.

project str

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

readiness_check FlexibleAppVersionReadinessCheckArgs

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

runtime str

Desired runtime. Example python27.

runtime_api_version str

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

runtime_channel str

The channel of the runtime to use. Only available for some runtimes.

runtime_main_executable_path str

The path or name of the app's main executable.

service str

AppEngine service resource. Can contain numbers, letters, and hyphens.

serving_status str

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

version_id str

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpc_access_connector FlexibleAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

apiConfig Property Map

Serving configuration for Google Cloud Endpoints. Structure is documented below.

automaticScaling Property Map

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

betaSettings Map<String>

Metadata settings that are supplied to this version to enable beta runtime features.

defaultExpiration String

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

deleteServiceOnDestroy Boolean

If set to true, the service will be deleted if it is the last version.

deployment Property Map

Code and application artifacts that make up this version. Structure is documented below.

endpointsApiService Property Map

Code and application artifacts that make up this version. Structure is documented below.

entrypoint Property Map

The entrypoint for the application. Structure is documented below.

envVariables Map<String>

Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.

handlers List<Property Map>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices List<String>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass String

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.

livenessCheck Property Map

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.

manualScaling Property Map

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

network Property Map

Extra network settings Structure is documented below.

nobuildFilesRegex String

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

noopOnDestroy Boolean

If set to true, the application version will not be deleted.

project String

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

readinessCheck Property Map

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.

resources Property Map

Machine resources for a version. Structure is documented below.

runtime String

Desired runtime. Example python27.

runtimeApiVersion String

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

runtimeChannel String

The channel of the runtime to use. Only available for some runtimes.

runtimeMainExecutablePath String

The path or name of the app's main executable.

service String

AppEngine service resource. Can contain numbers, letters, and hyphens.

servingStatus String

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is SERVING. Possible values are SERVING and STOPPED.

versionId String

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector Property Map

Enables VPC connectivity for standard apps. Structure is documented below.

Supporting Types

FlexibleAppVersionApiConfig

Script string

Path to the script from the application root directory.

AuthFailAction string

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

Login string

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

SecurityLevel string

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

Url string

URL to serve the endpoint at.

Script string

Path to the script from the application root directory.

AuthFailAction string

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

Login string

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

SecurityLevel string

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

Url string

URL to serve the endpoint at.

script String

Path to the script from the application root directory.

authFailAction String

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login String

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

securityLevel String

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

url String

URL to serve the endpoint at.

script string

Path to the script from the application root directory.

authFailAction string

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login string

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

securityLevel string

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

url string

URL to serve the endpoint at.

script str

Path to the script from the application root directory.

auth_fail_action str

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login str

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

security_level str

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

url str

URL to serve the endpoint at.

script String

Path to the script from the application root directory.

authFailAction String

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login String

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

securityLevel String

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

url String

URL to serve the endpoint at.

FlexibleAppVersionAutomaticScaling

CpuUtilization FlexibleAppVersionAutomaticScalingCpuUtilization

Target scaling by CPU usage. Structure is documented below.

CoolDownPeriod string

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s

DiskUtilization FlexibleAppVersionAutomaticScalingDiskUtilization

Target scaling by disk usage. Structure is documented below.

MaxConcurrentRequests int

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

MaxIdleInstances int

Maximum number of idle instances that should be maintained for this version.

MaxPendingLatency string

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

MaxTotalInstances int

Maximum number of instances that should be started to handle requests for this version. Default: 20

MinIdleInstances int

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

MinPendingLatency string

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

MinTotalInstances int

Minimum number of running instances that should be maintained for this version. Default: 2

NetworkUtilization FlexibleAppVersionAutomaticScalingNetworkUtilization

Target scaling by network usage. Structure is documented below.

RequestUtilization FlexibleAppVersionAutomaticScalingRequestUtilization

Target scaling by request utilization. Structure is documented below.

CpuUtilization FlexibleAppVersionAutomaticScalingCpuUtilization

Target scaling by CPU usage. Structure is documented below.

CoolDownPeriod string

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s

DiskUtilization FlexibleAppVersionAutomaticScalingDiskUtilization

Target scaling by disk usage. Structure is documented below.

MaxConcurrentRequests int

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

MaxIdleInstances int

Maximum number of idle instances that should be maintained for this version.

MaxPendingLatency string

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

MaxTotalInstances int

Maximum number of instances that should be started to handle requests for this version. Default: 20

MinIdleInstances int

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

MinPendingLatency string

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

MinTotalInstances int

Minimum number of running instances that should be maintained for this version. Default: 2

NetworkUtilization FlexibleAppVersionAutomaticScalingNetworkUtilization

Target scaling by network usage. Structure is documented below.

RequestUtilization FlexibleAppVersionAutomaticScalingRequestUtilization

Target scaling by request utilization. Structure is documented below.

cpuUtilization FlexibleAppVersionAutomaticScalingCpuUtilization

Target scaling by CPU usage. Structure is documented below.

coolDownPeriod String

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s

diskUtilization FlexibleAppVersionAutomaticScalingDiskUtilization

Target scaling by disk usage. Structure is documented below.

maxConcurrentRequests Integer

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

maxIdleInstances Integer

Maximum number of idle instances that should be maintained for this version.

maxPendingLatency String

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

maxTotalInstances Integer

Maximum number of instances that should be started to handle requests for this version. Default: 20

minIdleInstances Integer

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

minPendingLatency String

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

minTotalInstances Integer

Minimum number of running instances that should be maintained for this version. Default: 2

networkUtilization FlexibleAppVersionAutomaticScalingNetworkUtilization

Target scaling by network usage. Structure is documented below.

requestUtilization FlexibleAppVersionAutomaticScalingRequestUtilization

Target scaling by request utilization. Structure is documented below.

cpuUtilization FlexibleAppVersionAutomaticScalingCpuUtilization

Target scaling by CPU usage. Structure is documented below.

coolDownPeriod string

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s

diskUtilization FlexibleAppVersionAutomaticScalingDiskUtilization

Target scaling by disk usage. Structure is documented below.

maxConcurrentRequests number

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

maxIdleInstances number

Maximum number of idle instances that should be maintained for this version.

maxPendingLatency string

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

maxTotalInstances number

Maximum number of instances that should be started to handle requests for this version. Default: 20

minIdleInstances number

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

minPendingLatency string

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

minTotalInstances number

Minimum number of running instances that should be maintained for this version. Default: 2

networkUtilization FlexibleAppVersionAutomaticScalingNetworkUtilization

Target scaling by network usage. Structure is documented below.

requestUtilization FlexibleAppVersionAutomaticScalingRequestUtilization

Target scaling by request utilization. Structure is documented below.

cpu_utilization FlexibleAppVersionAutomaticScalingCpuUtilization

Target scaling by CPU usage. Structure is documented below.

cool_down_period str

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s

disk_utilization FlexibleAppVersionAutomaticScalingDiskUtilization

Target scaling by disk usage. Structure is documented below.

max_concurrent_requests int

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

max_idle_instances int

Maximum number of idle instances that should be maintained for this version.

max_pending_latency str

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

max_total_instances int

Maximum number of instances that should be started to handle requests for this version. Default: 20

min_idle_instances int

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

min_pending_latency str

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

min_total_instances int

Minimum number of running instances that should be maintained for this version. Default: 2

network_utilization FlexibleAppVersionAutomaticScalingNetworkUtilization

Target scaling by network usage. Structure is documented below.

request_utilization FlexibleAppVersionAutomaticScalingRequestUtilization

Target scaling by request utilization. Structure is documented below.

cpuUtilization Property Map

Target scaling by CPU usage. Structure is documented below.

coolDownPeriod String

The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s

diskUtilization Property Map

Target scaling by disk usage. Structure is documented below.

maxConcurrentRequests Number

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

maxIdleInstances Number

Maximum number of idle instances that should be maintained for this version.

maxPendingLatency String

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

maxTotalInstances Number

Maximum number of instances that should be started to handle requests for this version. Default: 20

minIdleInstances Number

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

minPendingLatency String

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

minTotalInstances Number

Minimum number of running instances that should be maintained for this version. Default: 2

networkUtilization Property Map

Target scaling by network usage. Structure is documented below.

requestUtilization Property Map

Target scaling by request utilization. Structure is documented below.

FlexibleAppVersionAutomaticScalingCpuUtilization

TargetUtilization double

Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.

AggregationWindowLength string

Period of time over which CPU utilization is calculated.

TargetUtilization float64

Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.

AggregationWindowLength string

Period of time over which CPU utilization is calculated.

targetUtilization Double

Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.

aggregationWindowLength String

Period of time over which CPU utilization is calculated.

targetUtilization number

Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.

aggregationWindowLength string

Period of time over which CPU utilization is calculated.

target_utilization float

Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.

aggregation_window_length str

Period of time over which CPU utilization is calculated.

targetUtilization Number

Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.

aggregationWindowLength String

Period of time over which CPU utilization is calculated.

FlexibleAppVersionAutomaticScalingDiskUtilization

TargetReadBytesPerSecond int

Target bytes read per second.

TargetReadOpsPerSecond int

Target ops read per seconds.

TargetWriteBytesPerSecond int

Target bytes written per second.

TargetWriteOpsPerSecond int

Target ops written per second.

TargetReadBytesPerSecond int

Target bytes read per second.

TargetReadOpsPerSecond int

Target ops read per seconds.

TargetWriteBytesPerSecond int

Target bytes written per second.

TargetWriteOpsPerSecond int

Target ops written per second.

targetReadBytesPerSecond Integer

Target bytes read per second.

targetReadOpsPerSecond Integer

Target ops read per seconds.

targetWriteBytesPerSecond Integer

Target bytes written per second.

targetWriteOpsPerSecond Integer

Target ops written per second.

targetReadBytesPerSecond number

Target bytes read per second.

targetReadOpsPerSecond number

Target ops read per seconds.

targetWriteBytesPerSecond number

Target bytes written per second.

targetWriteOpsPerSecond number

Target ops written per second.

target_read_bytes_per_second int

Target bytes read per second.

target_read_ops_per_second int

Target ops read per seconds.

target_write_bytes_per_second int

Target bytes written per second.

target_write_ops_per_second int

Target ops written per second.

targetReadBytesPerSecond Number

Target bytes read per second.

targetReadOpsPerSecond Number

Target ops read per seconds.

targetWriteBytesPerSecond Number

Target bytes written per second.

targetWriteOpsPerSecond Number

Target ops written per second.

FlexibleAppVersionAutomaticScalingNetworkUtilization

TargetReceivedBytesPerSecond int

Target bytes received per second.

TargetReceivedPacketsPerSecond int

Target packets received per second.

TargetSentBytesPerSecond int

Target bytes sent per second.

TargetSentPacketsPerSecond int

Target packets sent per second.

TargetReceivedBytesPerSecond int

Target bytes received per second.

TargetReceivedPacketsPerSecond int

Target packets received per second.

TargetSentBytesPerSecond int

Target bytes sent per second.

TargetSentPacketsPerSecond int

Target packets sent per second.

targetReceivedBytesPerSecond Integer

Target bytes received per second.

targetReceivedPacketsPerSecond Integer

Target packets received per second.

targetSentBytesPerSecond Integer

Target bytes sent per second.

targetSentPacketsPerSecond Integer

Target packets sent per second.

targetReceivedBytesPerSecond number

Target bytes received per second.

targetReceivedPacketsPerSecond number

Target packets received per second.

targetSentBytesPerSecond number

Target bytes sent per second.

targetSentPacketsPerSecond number

Target packets sent per second.

target_received_bytes_per_second int

Target bytes received per second.

target_received_packets_per_second int

Target packets received per second.

target_sent_bytes_per_second int

Target bytes sent per second.

target_sent_packets_per_second int

Target packets sent per second.

targetReceivedBytesPerSecond Number

Target bytes received per second.

targetReceivedPacketsPerSecond Number

Target packets received per second.

targetSentBytesPerSecond Number

Target bytes sent per second.

targetSentPacketsPerSecond Number

Target packets sent per second.

FlexibleAppVersionAutomaticScalingRequestUtilization

TargetConcurrentRequests double

Target number of concurrent requests.

TargetRequestCountPerSecond string

Target requests per second.

TargetConcurrentRequests float64

Target number of concurrent requests.

TargetRequestCountPerSecond string

Target requests per second.

targetConcurrentRequests Double

Target number of concurrent requests.

targetRequestCountPerSecond String

Target requests per second.

targetConcurrentRequests number

Target number of concurrent requests.

targetRequestCountPerSecond string

Target requests per second.

target_concurrent_requests float

Target number of concurrent requests.

target_request_count_per_second str

Target requests per second.

targetConcurrentRequests Number

Target number of concurrent requests.

targetRequestCountPerSecond String

Target requests per second.

FlexibleAppVersionDeployment

CloudBuildOptions FlexibleAppVersionDeploymentCloudBuildOptions

Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.

Container FlexibleAppVersionDeploymentContainer

The Docker image for the container that runs the version. Structure is documented below.

Files List<FlexibleAppVersionDeploymentFile>

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

Zip FlexibleAppVersionDeploymentZip

Zip File Structure is documented below.

CloudBuildOptions FlexibleAppVersionDeploymentCloudBuildOptions

Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.

Container FlexibleAppVersionDeploymentContainer

The Docker image for the container that runs the version. Structure is documented below.

Files []FlexibleAppVersionDeploymentFile

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

Zip FlexibleAppVersionDeploymentZip

Zip File Structure is documented below.

cloudBuildOptions FlexibleAppVersionDeploymentCloudBuildOptions

Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.

container FlexibleAppVersionDeploymentContainer

The Docker image for the container that runs the version. Structure is documented below.

files List<FlexibleAppVersionDeploymentFile>

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

zip FlexibleAppVersionDeploymentZip

Zip File Structure is documented below.

cloudBuildOptions FlexibleAppVersionDeploymentCloudBuildOptions

Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.

container FlexibleAppVersionDeploymentContainer

The Docker image for the container that runs the version. Structure is documented below.

files FlexibleAppVersionDeploymentFile[]

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

zip FlexibleAppVersionDeploymentZip

Zip File Structure is documented below.

cloud_build_options FlexibleAppVersionDeploymentCloudBuildOptions

Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.

container FlexibleAppVersionDeploymentContainer

The Docker image for the container that runs the version. Structure is documented below.

files Sequence[FlexibleAppVersionDeploymentFile]

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

zip FlexibleAppVersionDeploymentZip

Zip File Structure is documented below.

cloudBuildOptions Property Map

Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly. Structure is documented below.

container Property Map

The Docker image for the container that runs the version. Structure is documented below.

files List<Property Map>

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

zip Property Map

Zip File Structure is documented below.

FlexibleAppVersionDeploymentCloudBuildOptions

AppYamlPath string

Path to the yaml file used in deployment, used to determine runtime configuration details.

CloudBuildTimeout string

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

AppYamlPath string

Path to the yaml file used in deployment, used to determine runtime configuration details.

CloudBuildTimeout string

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

appYamlPath String

Path to the yaml file used in deployment, used to determine runtime configuration details.

cloudBuildTimeout String

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

appYamlPath string

Path to the yaml file used in deployment, used to determine runtime configuration details.

cloudBuildTimeout string

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

app_yaml_path str

Path to the yaml file used in deployment, used to determine runtime configuration details.

cloud_build_timeout str

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

appYamlPath String

Path to the yaml file used in deployment, used to determine runtime configuration details.

cloudBuildTimeout String

The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

FlexibleAppVersionDeploymentContainer

Image string

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

Image string

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

image String

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

image string

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

image str

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

image String

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

FlexibleAppVersionDeploymentFile

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

SourceUrl string

Source URL

Sha1Sum string

SHA1 checksum of the file

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

SourceUrl string

Source URL

Sha1Sum string

SHA1 checksum of the file

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

sourceUrl String

Source URL

sha1Sum String

SHA1 checksum of the file

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

sourceUrl string

Source URL

sha1Sum string

SHA1 checksum of the file

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

source_url str

Source URL

sha1_sum str

SHA1 checksum of the file

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

sourceUrl String

Source URL

sha1Sum String

SHA1 checksum of the file

FlexibleAppVersionDeploymentZip

SourceUrl string

Source URL

FilesCount int

files count

SourceUrl string

Source URL

FilesCount int

files count

sourceUrl String

Source URL

filesCount Integer

files count

sourceUrl string

Source URL

filesCount number

files count

source_url str

Source URL

files_count int

files count

sourceUrl String

Source URL

filesCount Number

files count

FlexibleAppVersionEndpointsApiService

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

ConfigId string

Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.

DisableTraceSampling bool

Enable or disable trace sampling. By default, this is set to false for enabled.

RolloutStrategy string

Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted. Default value is FIXED. Possible values are FIXED and MANAGED.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

ConfigId string

Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.

DisableTraceSampling bool

Enable or disable trace sampling. By default, this is set to false for enabled.

RolloutStrategy string

Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted. Default value is FIXED. Possible values are FIXED and MANAGED.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

configId String

Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.

disableTraceSampling Boolean

Enable or disable trace sampling. By default, this is set to false for enabled.

rolloutStrategy String

Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted. Default value is FIXED. Possible values are FIXED and MANAGED.

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

configId string

Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.

disableTraceSampling boolean

Enable or disable trace sampling. By default, this is set to false for enabled.

rolloutStrategy string

Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted. Default value is FIXED. Possible values are FIXED and MANAGED.

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

config_id str

Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.

disable_trace_sampling bool

Enable or disable trace sampling. By default, this is set to false for enabled.

rollout_strategy str

Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted. Default value is FIXED. Possible values are FIXED and MANAGED.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

configId String

Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, configId must be omitted.

disableTraceSampling Boolean

Enable or disable trace sampling. By default, this is set to false for enabled.

rolloutStrategy String

Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted. Default value is FIXED. Possible values are FIXED and MANAGED.

FlexibleAppVersionEntrypoint

Shell string

The format should be a shell command that can be fed to bash -c.

Shell string

The format should be a shell command that can be fed to bash -c.

shell String

The format should be a shell command that can be fed to bash -c.

shell string

The format should be a shell command that can be fed to bash -c.

shell str

The format should be a shell command that can be fed to bash -c.

shell String

The format should be a shell command that can be fed to bash -c.

FlexibleAppVersionHandler

AuthFailAction string

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

Login string

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

RedirectHttpResponseCode string

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

Script FlexibleAppVersionHandlerScript

Path to the script from the application root directory.

SecurityLevel string

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

StaticFiles FlexibleAppVersionHandlerStaticFiles

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

UrlRegex string

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

AuthFailAction string

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

Login string

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

RedirectHttpResponseCode string

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

Script FlexibleAppVersionHandlerScript

Path to the script from the application root directory.

SecurityLevel string

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

StaticFiles FlexibleAppVersionHandlerStaticFiles

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

UrlRegex string

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

authFailAction String

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login String

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

redirectHttpResponseCode String

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

script FlexibleAppVersionHandlerScript

Path to the script from the application root directory.

securityLevel String

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

staticFiles FlexibleAppVersionHandlerStaticFiles

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

urlRegex String

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

authFailAction string

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login string

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

redirectHttpResponseCode string

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

script FlexibleAppVersionHandlerScript

Path to the script from the application root directory.

securityLevel string

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

staticFiles FlexibleAppVersionHandlerStaticFiles

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

urlRegex string

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

auth_fail_action str

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login str

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

redirect_http_response_code str

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

script FlexibleAppVersionHandlerScript

Path to the script from the application root directory.

security_level str

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

static_files FlexibleAppVersionHandlerStaticFiles

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

url_regex str

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

authFailAction String

Action to take when users access resources that require authentication. Default value is AUTH_FAIL_ACTION_REDIRECT. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login String

Level of login required to access this resource. Default value is LOGIN_OPTIONAL. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

redirectHttpResponseCode String

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

script Property Map

Path to the script from the application root directory.

securityLevel String

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

staticFiles Property Map

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

urlRegex String

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

FlexibleAppVersionHandlerScript

ScriptPath string

Path to the script from the application root directory.

ScriptPath string

Path to the script from the application root directory.

scriptPath String

Path to the script from the application root directory.

scriptPath string

Path to the script from the application root directory.

script_path str

Path to the script from the application root directory.

scriptPath String

Path to the script from the application root directory.

FlexibleAppVersionHandlerStaticFiles

ApplicationReadable bool

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

Expiration string

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'

HttpHeaders Dictionary<string, string>

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

MimeType string

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

Path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

RequireMatchingFile bool

Whether this handler should match the request if the file referenced by the handler does not exist.

UploadPathRegex string

Regular expression that matches the file paths for all files that should be referenced by this handler.

ApplicationReadable bool

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

Expiration string

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'

HttpHeaders map[string]string

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

MimeType string

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

Path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

RequireMatchingFile bool

Whether this handler should match the request if the file referenced by the handler does not exist.

UploadPathRegex string

Regular expression that matches the file paths for all files that should be referenced by this handler.

applicationReadable Boolean

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

expiration String

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'

httpHeaders Map<String,String>

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

mimeType String

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

path String

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

requireMatchingFile Boolean

Whether this handler should match the request if the file referenced by the handler does not exist.

uploadPathRegex String

Regular expression that matches the file paths for all files that should be referenced by this handler.

applicationReadable boolean

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

expiration string

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'

httpHeaders {[key: string]: string}

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

mimeType string

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

requireMatchingFile boolean

Whether this handler should match the request if the file referenced by the handler does not exist.

uploadPathRegex string

Regular expression that matches the file paths for all files that should be referenced by this handler.

application_readable bool

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

expiration str

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'

http_headers Mapping[str, str]

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

mime_type str

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

path str

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

require_matching_file bool

Whether this handler should match the request if the file referenced by the handler does not exist.

upload_path_regex str

Regular expression that matches the file paths for all files that should be referenced by this handler.

applicationReadable Boolean

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

expiration String

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s'

httpHeaders Map<String>

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

mimeType String

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

path String

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

requireMatchingFile Boolean

Whether this handler should match the request if the file referenced by the handler does not exist.

uploadPathRegex String

Regular expression that matches the file paths for all files that should be referenced by this handler.

FlexibleAppVersionLivenessCheck

Path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

CheckInterval string

Interval between health checks.

FailureThreshold double

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

Host string

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

InitialDelay string

The initial delay before starting to execute the checks. Default: "300s"

SuccessThreshold double

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

Timeout string

Time before the check is considered failed. Default: "4s"

Path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

CheckInterval string

Interval between health checks.

FailureThreshold float64

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

Host string

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

InitialDelay string

The initial delay before starting to execute the checks. Default: "300s"

SuccessThreshold float64

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

Timeout string

Time before the check is considered failed. Default: "4s"

path String

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

checkInterval String

Interval between health checks.

failureThreshold Double

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

host String

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

initialDelay String

The initial delay before starting to execute the checks. Default: "300s"

successThreshold Double

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

timeout String

Time before the check is considered failed. Default: "4s"

path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

checkInterval string

Interval between health checks.

failureThreshold number

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

host string

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

initialDelay string

The initial delay before starting to execute the checks. Default: "300s"

successThreshold number

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

timeout string

Time before the check is considered failed. Default: "4s"

path str

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

check_interval str

Interval between health checks.

failure_threshold float

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

host str

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

initial_delay str

The initial delay before starting to execute the checks. Default: "300s"

success_threshold float

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

timeout str

Time before the check is considered failed. Default: "4s"

path String

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

checkInterval String

Interval between health checks.

failureThreshold Number

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

host String

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

initialDelay String

The initial delay before starting to execute the checks. Default: "300s"

successThreshold Number

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

timeout String

Time before the check is considered failed. Default: "4s"

FlexibleAppVersionManualScaling

Instances int

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

Instances int

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

instances Integer

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

instances number

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

instances int

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

instances Number

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

FlexibleAppVersionNetwork

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

ForwardedPorts List<string>

List of ports, or port pairs, to forward from the virtual machine to the application container.

InstanceTag string

Tag to apply to the instance during creation.

SessionAffinity bool

Enable session affinity.

Subnetwork string

Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

ForwardedPorts []string

List of ports, or port pairs, to forward from the virtual machine to the application container.

InstanceTag string

Tag to apply to the instance during creation.

SessionAffinity bool

Enable session affinity.

Subnetwork string

Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

forwardedPorts List<String>

List of ports, or port pairs, to forward from the virtual machine to the application container.

instanceTag String

Tag to apply to the instance during creation.

sessionAffinity Boolean

Enable session affinity.

subnetwork String

Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

forwardedPorts string[]

List of ports, or port pairs, to forward from the virtual machine to the application container.

instanceTag string

Tag to apply to the instance during creation.

sessionAffinity boolean

Enable session affinity.

subnetwork string

Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

forwarded_ports Sequence[str]

List of ports, or port pairs, to forward from the virtual machine to the application container.

instance_tag str

Tag to apply to the instance during creation.

session_affinity bool

Enable session affinity.

subnetwork str

Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

forwardedPorts List<String>

List of ports, or port pairs, to forward from the virtual machine to the application container.

instanceTag String

Tag to apply to the instance during creation.

sessionAffinity Boolean

Enable session affinity.

subnetwork String

Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.

FlexibleAppVersionReadinessCheck

Path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

AppStartTimeout string

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"

CheckInterval string

Interval between health checks.

FailureThreshold double

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

Host string

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

SuccessThreshold double

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

Timeout string

Time before the check is considered failed. Default: "4s"

Path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

AppStartTimeout string

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"

CheckInterval string

Interval between health checks.

FailureThreshold float64

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

Host string

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

SuccessThreshold float64

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

Timeout string

Time before the check is considered failed. Default: "4s"

path String

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

appStartTimeout String

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"

checkInterval String

Interval between health checks.

failureThreshold Double

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

host String

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

successThreshold Double

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

timeout String

Time before the check is considered failed. Default: "4s"

path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

appStartTimeout string

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"

checkInterval string

Interval between health checks.

failureThreshold number

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

host string

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

successThreshold number

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

timeout string

Time before the check is considered failed. Default: "4s"

path str

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

app_start_timeout str

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"

check_interval str

Interval between health checks.

failure_threshold float

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

host str

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

success_threshold float

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

timeout str

Time before the check is considered failed. Default: "4s"

path String

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

appStartTimeout String

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Default: "300s"

checkInterval String

Interval between health checks.

failureThreshold Number

Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.

host String

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

successThreshold Number

Number of consecutive successful checks required before considering the VM healthy. Default: 2.

timeout String

Time before the check is considered failed. Default: "4s"

FlexibleAppVersionResources

Cpu int

Number of CPU cores needed.

DiskGb int

Disk size (GB) needed.

MemoryGb double

Memory (GB) needed.

Volumes List<FlexibleAppVersionResourcesVolume>

List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.

Cpu int

Number of CPU cores needed.

DiskGb int

Disk size (GB) needed.

MemoryGb float64

Memory (GB) needed.

Volumes []FlexibleAppVersionResourcesVolume

List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.

cpu Integer

Number of CPU cores needed.

diskGb Integer

Disk size (GB) needed.

memoryGb Double

Memory (GB) needed.

volumes List<FlexibleAppVersionResourcesVolume>

List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.

cpu number

Number of CPU cores needed.

diskGb number

Disk size (GB) needed.

memoryGb number

Memory (GB) needed.

volumes FlexibleAppVersionResourcesVolume[]

List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.

cpu int

Number of CPU cores needed.

disk_gb int

Disk size (GB) needed.

memory_gb float

Memory (GB) needed.

volumes Sequence[FlexibleAppVersionResourcesVolume]

List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.

cpu Number

Number of CPU cores needed.

diskGb Number

Disk size (GB) needed.

memoryGb Number

Memory (GB) needed.

volumes List<Property Map>

List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.

FlexibleAppVersionResourcesVolume

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

SizeGb int

Volume size in gigabytes.

VolumeType string

Underlying volume type, e.g. 'tmpfs'.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

SizeGb int

Volume size in gigabytes.

VolumeType string

Underlying volume type, e.g. 'tmpfs'.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

sizeGb Integer

Volume size in gigabytes.

volumeType String

Underlying volume type, e.g. 'tmpfs'.

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

sizeGb number

Volume size in gigabytes.

volumeType string

Underlying volume type, e.g. 'tmpfs'.

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

size_gb int

Volume size in gigabytes.

volume_type str

Underlying volume type, e.g. 'tmpfs'.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

sizeGb Number

Volume size in gigabytes.

volumeType String

Underlying volume type, e.g. 'tmpfs'.

FlexibleAppVersionVpcAccessConnector

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Import

FlexibleAppVersion can be imported using any of these accepted formats

 $ pulumi import gcp:appengine/flexibleAppVersion:FlexibleAppVersion default apps/{{project}}/services/{{service}}/versions/{{version_id}}
 $ pulumi import gcp:appengine/flexibleAppVersion:FlexibleAppVersion default {{project}}/{{service}}/{{version_id}}
 $ pulumi import gcp:appengine/flexibleAppVersion:FlexibleAppVersion default {{service}}/{{version_id}}

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes

This Pulumi package is based on the google-beta Terraform Provider.