1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. appengine
  5. FlexibleAppVersion
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

gcp.appengine.FlexibleAppVersion

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const myProject = new gcp.organizations.Project("my_project", {
        name: "appeng-flex",
        projectId: "appeng-flex",
        orgId: "123456789",
        billingAccount: "000000-0000000-0000000-000000",
        deletionPolicy: "DELETE",
    });
    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 customServiceAccount = new gcp.serviceaccount.Account("custom_service_account", {
        project: service.project,
        accountId: "my-account",
        displayName: "Custom Service Account",
    });
    const gaeApi = new gcp.projects.IAMMember("gae_api", {
        project: service.project,
        role: "roles/compute.networkUser",
        member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
    });
    const logsWriter = new gcp.projects.IAMMember("logs_writer", {
        project: service.project,
        role: "roles/logging.logWriter",
        member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
    });
    const storageViewer = new gcp.projects.IAMMember("storage_viewer", {
        project: service.project,
        role: "roles/storage.objectViewer",
        member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
    });
    const bucket = new gcp.storage.Bucket("bucket", {
        project: myProject.projectId,
        name: "appengine-static-content",
        location: "US",
    });
    const object = new gcp.storage.BucketObject("object", {
        name: "hello-world.zip",
        bucket: bucket.name,
        source: new pulumi.asset.FileAsset("./test-fixtures/hello-world.zip"),
    });
    const myappV1 = new gcp.appengine.FlexibleAppVersion("myapp_v1", {
        versionId: "v1",
        project: gaeApi.project,
        service: "default",
        runtime: "nodejs",
        flexibleRuntimeSettings: {
            operatingSystem: "ubuntu22",
            runtimeVersion: "20",
        },
        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,
        serviceAccount: customServiceAccount.email,
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_project = gcp.organizations.Project("my_project",
        name="appeng-flex",
        project_id="appeng-flex",
        org_id="123456789",
        billing_account="000000-0000000-0000000-000000",
        deletion_policy="DELETE")
    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)
    custom_service_account = gcp.serviceaccount.Account("custom_service_account",
        project=service.project,
        account_id="my-account",
        display_name="Custom Service Account")
    gae_api = gcp.projects.IAMMember("gae_api",
        project=service.project,
        role="roles/compute.networkUser",
        member=custom_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
    logs_writer = gcp.projects.IAMMember("logs_writer",
        project=service.project,
        role="roles/logging.logWriter",
        member=custom_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
    storage_viewer = gcp.projects.IAMMember("storage_viewer",
        project=service.project,
        role="roles/storage.objectViewer",
        member=custom_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
    bucket = gcp.storage.Bucket("bucket",
        project=my_project.project_id,
        name="appengine-static-content",
        location="US")
    object = gcp.storage.BucketObject("object",
        name="hello-world.zip",
        bucket=bucket.name,
        source=pulumi.FileAsset("./test-fixtures/hello-world.zip"))
    myapp_v1 = gcp.appengine.FlexibleAppVersion("myapp_v1",
        version_id="v1",
        project=gae_api.project,
        service="default",
        runtime="nodejs",
        flexible_runtime_settings={
            "operating_system": "ubuntu22",
            "runtime_version": "20",
        },
        entrypoint={
            "shell": "node ./app.js",
        },
        deployment={
            "zip": {
                "source_url": pulumi.Output.all(
                    bucketName=bucket.name,
                    objectName=object.name
    ).apply(lambda resolved_outputs: f"https://storage.googleapis.com/{resolved_outputs['bucketName']}/{resolved_outputs['objectName']}")
    ,
            },
        },
        liveness_check={
            "path": "/",
        },
        readiness_check={
            "path": "/",
        },
        env_variables={
            "port": "8080",
        },
        handlers=[{
            "url_regex": ".*\\/my-path\\/*",
            "security_level": "SECURE_ALWAYS",
            "login": "LOGIN_REQUIRED",
            "auth_fail_action": "AUTH_FAIL_ACTION_REDIRECT",
            "static_files": {
                "path": "my-other-path",
                "upload_path_regex": ".*\\/my-path\\/*",
            },
        }],
        automatic_scaling={
            "cool_down_period": "120s",
            "cpu_utilization": {
                "target_utilization": 0.5,
            },
        },
        noop_on_destroy=True,
        service_account=custom_service_account.email)
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/appengine"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/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, "my_project", &organizations.ProjectArgs{
    			Name:           pulumi.String("appeng-flex"),
    			ProjectId:      pulumi.String("appeng-flex"),
    			OrgId:          pulumi.String("123456789"),
    			BillingAccount: pulumi.String("000000-0000000-0000000-000000"),
    			DeletionPolicy: pulumi.String("DELETE"),
    		})
    		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
    		}
    		customServiceAccount, err := serviceaccount.NewAccount(ctx, "custom_service_account", &serviceaccount.AccountArgs{
    			Project:     service.Project,
    			AccountId:   pulumi.String("my-account"),
    			DisplayName: pulumi.String("Custom Service Account"),
    		})
    		if err != nil {
    			return err
    		}
    		gaeApi, err := projects.NewIAMMember(ctx, "gae_api", &projects.IAMMemberArgs{
    			Project: service.Project,
    			Role:    pulumi.String("roles/compute.networkUser"),
    			Member: customServiceAccount.Email.ApplyT(func(email string) (string, error) {
    				return fmt.Sprintf("serviceAccount:%v", email), nil
    			}).(pulumi.StringOutput),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = projects.NewIAMMember(ctx, "logs_writer", &projects.IAMMemberArgs{
    			Project: service.Project,
    			Role:    pulumi.String("roles/logging.logWriter"),
    			Member: customServiceAccount.Email.ApplyT(func(email string) (string, error) {
    				return fmt.Sprintf("serviceAccount:%v", email), nil
    			}).(pulumi.StringOutput),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = projects.NewIAMMember(ctx, "storage_viewer", &projects.IAMMemberArgs{
    			Project: service.Project,
    			Role:    pulumi.String("roles/storage.objectViewer"),
    			Member: customServiceAccount.Email.ApplyT(func(email string) (string, error) {
    				return fmt.Sprintf("serviceAccount:%v", email), nil
    			}).(pulumi.StringOutput),
    		})
    		if err != nil {
    			return err
    		}
    		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
    			Project:  myProject.ProjectId,
    			Name:     pulumi.String("appengine-static-content"),
    			Location: pulumi.String("US"),
    		})
    		if err != nil {
    			return err
    		}
    		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
    			Name:   pulumi.String("hello-world.zip"),
    			Bucket: bucket.Name,
    			Source: pulumi.NewFileAsset("./test-fixtures/hello-world.zip"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appengine.NewFlexibleAppVersion(ctx, "myapp_v1", &appengine.FlexibleAppVersionArgs{
    			VersionId: pulumi.String("v1"),
    			Project:   gaeApi.Project,
    			Service:   pulumi.String("default"),
    			Runtime:   pulumi.String("nodejs"),
    			FlexibleRuntimeSettings: &appengine.FlexibleAppVersionFlexibleRuntimeSettingsArgs{
    				OperatingSystem: pulumi.String("ubuntu22"),
    				RuntimeVersion:  pulumi.String("20"),
    			},
    			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("https://storage.googleapis.com/%v/%v", 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),
    			ServiceAccount: customServiceAccount.Email,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var myProject = new Gcp.Organizations.Project("my_project", new()
        {
            Name = "appeng-flex",
            ProjectId = "appeng-flex",
            OrgId = "123456789",
            BillingAccount = "000000-0000000-0000000-000000",
            DeletionPolicy = "DELETE",
        });
    
        var app = new Gcp.AppEngine.Application("app", new()
        {
            Project = myProject.ProjectId,
            LocationId = "us-central",
        });
    
        var service = new Gcp.Projects.Service("service", new()
        {
            Project = myProject.ProjectId,
            ServiceName = "appengineflex.googleapis.com",
            DisableDependentServices = false,
        });
    
        var customServiceAccount = new Gcp.ServiceAccount.Account("custom_service_account", new()
        {
            Project = service.Project,
            AccountId = "my-account",
            DisplayName = "Custom Service Account",
        });
    
        var gaeApi = new Gcp.Projects.IAMMember("gae_api", new()
        {
            Project = service.Project,
            Role = "roles/compute.networkUser",
            Member = customServiceAccount.Email.Apply(email => $"serviceAccount:{email}"),
        });
    
        var logsWriter = new Gcp.Projects.IAMMember("logs_writer", new()
        {
            Project = service.Project,
            Role = "roles/logging.logWriter",
            Member = customServiceAccount.Email.Apply(email => $"serviceAccount:{email}"),
        });
    
        var storageViewer = new Gcp.Projects.IAMMember("storage_viewer", new()
        {
            Project = service.Project,
            Role = "roles/storage.objectViewer",
            Member = customServiceAccount.Email.Apply(email => $"serviceAccount:{email}"),
        });
    
        var bucket = new Gcp.Storage.Bucket("bucket", new()
        {
            Project = myProject.ProjectId,
            Name = "appengine-static-content",
            Location = "US",
        });
    
        var @object = new Gcp.Storage.BucketObject("object", new()
        {
            Name = "hello-world.zip",
            Bucket = bucket.Name,
            Source = new FileAsset("./test-fixtures/hello-world.zip"),
        });
    
        var myappV1 = new Gcp.AppEngine.FlexibleAppVersion("myapp_v1", new()
        {
            VersionId = "v1",
            Project = gaeApi.Project,
            Service = "default",
            Runtime = "nodejs",
            FlexibleRuntimeSettings = new Gcp.AppEngine.Inputs.FlexibleAppVersionFlexibleRuntimeSettingsArgs
            {
                OperatingSystem = "ubuntu22",
                RuntimeVersion = "20",
            },
            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[]
            {
                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,
            ServiceAccount = customServiceAccount.Email,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.Project;
    import com.pulumi.gcp.organizations.ProjectArgs;
    import com.pulumi.gcp.appengine.Application;
    import com.pulumi.gcp.appengine.ApplicationArgs;
    import com.pulumi.gcp.projects.Service;
    import com.pulumi.gcp.projects.ServiceArgs;
    import com.pulumi.gcp.serviceaccount.Account;
    import com.pulumi.gcp.serviceaccount.AccountArgs;
    import com.pulumi.gcp.projects.IAMMember;
    import com.pulumi.gcp.projects.IAMMemberArgs;
    import com.pulumi.gcp.storage.Bucket;
    import com.pulumi.gcp.storage.BucketArgs;
    import com.pulumi.gcp.storage.BucketObject;
    import com.pulumi.gcp.storage.BucketObjectArgs;
    import com.pulumi.gcp.appengine.FlexibleAppVersion;
    import com.pulumi.gcp.appengine.FlexibleAppVersionArgs;
    import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionFlexibleRuntimeSettingsArgs;
    import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionEntrypointArgs;
    import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionDeploymentArgs;
    import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionDeploymentZipArgs;
    import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionLivenessCheckArgs;
    import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionReadinessCheckArgs;
    import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionHandlerArgs;
    import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionHandlerStaticFilesArgs;
    import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingArgs;
    import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs;
    import com.pulumi.asset.FileAsset;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var myProject = new Project("myProject", ProjectArgs.builder()
                .name("appeng-flex")
                .projectId("appeng-flex")
                .orgId("123456789")
                .billingAccount("000000-0000000-0000000-000000")
                .deletionPolicy("DELETE")
                .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 customServiceAccount = new Account("customServiceAccount", AccountArgs.builder()
                .project(service.project())
                .accountId("my-account")
                .displayName("Custom Service Account")
                .build());
    
            var gaeApi = new IAMMember("gaeApi", IAMMemberArgs.builder()
                .project(service.project())
                .role("roles/compute.networkUser")
                .member(customServiceAccount.email().applyValue(email -> String.format("serviceAccount:%s", email)))
                .build());
    
            var logsWriter = new IAMMember("logsWriter", IAMMemberArgs.builder()
                .project(service.project())
                .role("roles/logging.logWriter")
                .member(customServiceAccount.email().applyValue(email -> String.format("serviceAccount:%s", email)))
                .build());
    
            var storageViewer = new IAMMember("storageViewer", IAMMemberArgs.builder()
                .project(service.project())
                .role("roles/storage.objectViewer")
                .member(customServiceAccount.email().applyValue(email -> String.format("serviceAccount:%s", email)))
                .build());
    
            var bucket = new Bucket("bucket", BucketArgs.builder()
                .project(myProject.projectId())
                .name("appengine-static-content")
                .location("US")
                .build());
    
            var object = new BucketObject("object", BucketObjectArgs.builder()
                .name("hello-world.zip")
                .bucket(bucket.name())
                .source(new FileAsset("./test-fixtures/hello-world.zip"))
                .build());
    
            var myappV1 = new FlexibleAppVersion("myappV1", FlexibleAppVersionArgs.builder()
                .versionId("v1")
                .project(gaeApi.project())
                .service("default")
                .runtime("nodejs")
                .flexibleRuntimeSettings(FlexibleAppVersionFlexibleRuntimeSettingsArgs.builder()
                    .operatingSystem("ubuntu22")
                    .runtimeVersion("20")
                    .build())
                .entrypoint(FlexibleAppVersionEntrypointArgs.builder()
                    .shell("node ./app.js")
                    .build())
                .deployment(FlexibleAppVersionDeploymentArgs.builder()
                    .zip(FlexibleAppVersionDeploymentZipArgs.builder()
                        .sourceUrl(Output.tuple(bucket.name(), object.name()).applyValue(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)
                .serviceAccount(customServiceAccount.email())
                .build());
    
        }
    }
    
    resources:
      myProject:
        type: gcp:organizations:Project
        name: my_project
        properties:
          name: appeng-flex
          projectId: appeng-flex
          orgId: '123456789'
          billingAccount: 000000-0000000-0000000-000000
          deletionPolicy: DELETE
      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
      customServiceAccount:
        type: gcp:serviceaccount:Account
        name: custom_service_account
        properties:
          project: ${service.project}
          accountId: my-account
          displayName: Custom Service Account
      gaeApi:
        type: gcp:projects:IAMMember
        name: gae_api
        properties:
          project: ${service.project}
          role: roles/compute.networkUser
          member: serviceAccount:${customServiceAccount.email}
      logsWriter:
        type: gcp:projects:IAMMember
        name: logs_writer
        properties:
          project: ${service.project}
          role: roles/logging.logWriter
          member: serviceAccount:${customServiceAccount.email}
      storageViewer:
        type: gcp:projects:IAMMember
        name: storage_viewer
        properties:
          project: ${service.project}
          role: roles/storage.objectViewer
          member: serviceAccount:${customServiceAccount.email}
      myappV1:
        type: gcp:appengine:FlexibleAppVersion
        name: myapp_v1
        properties:
          versionId: v1
          project: ${gaeApi.project}
          service: default
          runtime: nodejs
          flexibleRuntimeSettings:
            operatingSystem: ubuntu22
            runtimeVersion: '20'
          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
          serviceAccount: ${customServiceAccount.email}
      bucket:
        type: gcp:storage:Bucket
        properties:
          project: ${myProject.projectId}
          name: appengine-static-content
          location: US
      object:
        type: gcp:storage:BucketObject
        properties:
          name: hello-world.zip
          bucket: ${bucket.name}
          source:
            fn::FileAsset: ./test-fixtures/hello-world.zip
    

    Create FlexibleAppVersion Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FlexibleAppVersion(name: string, args: FlexibleAppVersionArgs, opts?: CustomResourceOptions);
    @overload
    def FlexibleAppVersion(resource_name: str,
                           args: FlexibleAppVersionArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def FlexibleAppVersion(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           liveness_check: Optional[FlexibleAppVersionLivenessCheckArgs] = None,
                           service: Optional[str] = None,
                           runtime: Optional[str] = None,
                           readiness_check: Optional[FlexibleAppVersionReadinessCheckArgs] = None,
                           entrypoint: Optional[FlexibleAppVersionEntrypointArgs] = None,
                           noop_on_destroy: Optional[bool] = None,
                           endpoints_api_service: Optional[FlexibleAppVersionEndpointsApiServiceArgs] = None,
                           api_config: Optional[FlexibleAppVersionApiConfigArgs] = None,
                           env_variables: Optional[Mapping[str, str]] = None,
                           flexible_runtime_settings: Optional[FlexibleAppVersionFlexibleRuntimeSettingsArgs] = None,
                           handlers: Optional[Sequence[FlexibleAppVersionHandlerArgs]] = None,
                           inbound_services: Optional[Sequence[str]] = None,
                           instance_class: Optional[str] = None,
                           delete_service_on_destroy: Optional[bool] = None,
                           manual_scaling: Optional[FlexibleAppVersionManualScalingArgs] = None,
                           network: Optional[FlexibleAppVersionNetworkArgs] = None,
                           nobuild_files_regex: Optional[str] = None,
                           deployment: Optional[FlexibleAppVersionDeploymentArgs] = None,
                           project: Optional[str] = None,
                           default_expiration: Optional[str] = None,
                           resources: Optional[FlexibleAppVersionResourcesArgs] = None,
                           beta_settings: Optional[Mapping[str, str]] = None,
                           runtime_api_version: Optional[str] = None,
                           runtime_channel: Optional[str] = None,
                           runtime_main_executable_path: Optional[str] = None,
                           automatic_scaling: Optional[FlexibleAppVersionAutomaticScalingArgs] = None,
                           service_account: Optional[str] = None,
                           serving_status: Optional[str] = None,
                           version_id: Optional[str] = None,
                           vpc_access_connector: Optional[FlexibleAppVersionVpcAccessConnectorArgs] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var flexibleAppVersionResource = new Gcp.AppEngine.FlexibleAppVersion("flexibleAppVersionResource", new()
    {
        LivenessCheck = new Gcp.AppEngine.Inputs.FlexibleAppVersionLivenessCheckArgs
        {
            Path = "string",
            CheckInterval = "string",
            FailureThreshold = 0,
            Host = "string",
            InitialDelay = "string",
            SuccessThreshold = 0,
            Timeout = "string",
        },
        Service = "string",
        Runtime = "string",
        ReadinessCheck = new Gcp.AppEngine.Inputs.FlexibleAppVersionReadinessCheckArgs
        {
            Path = "string",
            AppStartTimeout = "string",
            CheckInterval = "string",
            FailureThreshold = 0,
            Host = "string",
            SuccessThreshold = 0,
            Timeout = "string",
        },
        Entrypoint = new Gcp.AppEngine.Inputs.FlexibleAppVersionEntrypointArgs
        {
            Shell = "string",
        },
        NoopOnDestroy = false,
        EndpointsApiService = new Gcp.AppEngine.Inputs.FlexibleAppVersionEndpointsApiServiceArgs
        {
            Name = "string",
            ConfigId = "string",
            DisableTraceSampling = false,
            RolloutStrategy = "string",
        },
        ApiConfig = new Gcp.AppEngine.Inputs.FlexibleAppVersionApiConfigArgs
        {
            Script = "string",
            AuthFailAction = "string",
            Login = "string",
            SecurityLevel = "string",
            Url = "string",
        },
        EnvVariables = 
        {
            { "string", "string" },
        },
        FlexibleRuntimeSettings = new Gcp.AppEngine.Inputs.FlexibleAppVersionFlexibleRuntimeSettingsArgs
        {
            OperatingSystem = "string",
            RuntimeVersion = "string",
        },
        Handlers = new[]
        {
            new Gcp.AppEngine.Inputs.FlexibleAppVersionHandlerArgs
            {
                AuthFailAction = "string",
                Login = "string",
                RedirectHttpResponseCode = "string",
                Script = new Gcp.AppEngine.Inputs.FlexibleAppVersionHandlerScriptArgs
                {
                    ScriptPath = "string",
                },
                SecurityLevel = "string",
                StaticFiles = new Gcp.AppEngine.Inputs.FlexibleAppVersionHandlerStaticFilesArgs
                {
                    ApplicationReadable = false,
                    Expiration = "string",
                    HttpHeaders = 
                    {
                        { "string", "string" },
                    },
                    MimeType = "string",
                    Path = "string",
                    RequireMatchingFile = false,
                    UploadPathRegex = "string",
                },
                UrlRegex = "string",
            },
        },
        InboundServices = new[]
        {
            "string",
        },
        InstanceClass = "string",
        DeleteServiceOnDestroy = false,
        ManualScaling = new Gcp.AppEngine.Inputs.FlexibleAppVersionManualScalingArgs
        {
            Instances = 0,
        },
        Network = new Gcp.AppEngine.Inputs.FlexibleAppVersionNetworkArgs
        {
            Name = "string",
            ForwardedPorts = new[]
            {
                "string",
            },
            InstanceIpMode = "string",
            InstanceTag = "string",
            SessionAffinity = false,
            Subnetwork = "string",
        },
        NobuildFilesRegex = "string",
        Deployment = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentArgs
        {
            CloudBuildOptions = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentCloudBuildOptionsArgs
            {
                AppYamlPath = "string",
                CloudBuildTimeout = "string",
            },
            Container = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentContainerArgs
            {
                Image = "string",
            },
            Files = new[]
            {
                new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentFileArgs
                {
                    Name = "string",
                    SourceUrl = "string",
                    Sha1Sum = "string",
                },
            },
            Zip = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentZipArgs
            {
                SourceUrl = "string",
                FilesCount = 0,
            },
        },
        Project = "string",
        DefaultExpiration = "string",
        Resources = new Gcp.AppEngine.Inputs.FlexibleAppVersionResourcesArgs
        {
            Cpu = 0,
            DiskGb = 0,
            MemoryGb = 0,
            Volumes = new[]
            {
                new Gcp.AppEngine.Inputs.FlexibleAppVersionResourcesVolumeArgs
                {
                    Name = "string",
                    SizeGb = 0,
                    VolumeType = "string",
                },
            },
        },
        BetaSettings = 
        {
            { "string", "string" },
        },
        RuntimeApiVersion = "string",
        RuntimeChannel = "string",
        RuntimeMainExecutablePath = "string",
        AutomaticScaling = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingArgs
        {
            CpuUtilization = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs
            {
                TargetUtilization = 0,
                AggregationWindowLength = "string",
            },
            CoolDownPeriod = "string",
            DiskUtilization = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingDiskUtilizationArgs
            {
                TargetReadBytesPerSecond = 0,
                TargetReadOpsPerSecond = 0,
                TargetWriteBytesPerSecond = 0,
                TargetWriteOpsPerSecond = 0,
            },
            MaxConcurrentRequests = 0,
            MaxIdleInstances = 0,
            MaxPendingLatency = "string",
            MaxTotalInstances = 0,
            MinIdleInstances = 0,
            MinPendingLatency = "string",
            MinTotalInstances = 0,
            NetworkUtilization = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs
            {
                TargetReceivedBytesPerSecond = 0,
                TargetReceivedPacketsPerSecond = 0,
                TargetSentBytesPerSecond = 0,
                TargetSentPacketsPerSecond = 0,
            },
            RequestUtilization = new Gcp.AppEngine.Inputs.FlexibleAppVersionAutomaticScalingRequestUtilizationArgs
            {
                TargetConcurrentRequests = 0,
                TargetRequestCountPerSecond = "string",
            },
        },
        ServiceAccount = "string",
        ServingStatus = "string",
        VersionId = "string",
        VpcAccessConnector = new Gcp.AppEngine.Inputs.FlexibleAppVersionVpcAccessConnectorArgs
        {
            Name = "string",
        },
    });
    
    example, err := appengine.NewFlexibleAppVersion(ctx, "flexibleAppVersionResource", &appengine.FlexibleAppVersionArgs{
    	LivenessCheck: &appengine.FlexibleAppVersionLivenessCheckArgs{
    		Path:             pulumi.String("string"),
    		CheckInterval:    pulumi.String("string"),
    		FailureThreshold: pulumi.Float64(0),
    		Host:             pulumi.String("string"),
    		InitialDelay:     pulumi.String("string"),
    		SuccessThreshold: pulumi.Float64(0),
    		Timeout:          pulumi.String("string"),
    	},
    	Service: pulumi.String("string"),
    	Runtime: pulumi.String("string"),
    	ReadinessCheck: &appengine.FlexibleAppVersionReadinessCheckArgs{
    		Path:             pulumi.String("string"),
    		AppStartTimeout:  pulumi.String("string"),
    		CheckInterval:    pulumi.String("string"),
    		FailureThreshold: pulumi.Float64(0),
    		Host:             pulumi.String("string"),
    		SuccessThreshold: pulumi.Float64(0),
    		Timeout:          pulumi.String("string"),
    	},
    	Entrypoint: &appengine.FlexibleAppVersionEntrypointArgs{
    		Shell: pulumi.String("string"),
    	},
    	NoopOnDestroy: pulumi.Bool(false),
    	EndpointsApiService: &appengine.FlexibleAppVersionEndpointsApiServiceArgs{
    		Name:                 pulumi.String("string"),
    		ConfigId:             pulumi.String("string"),
    		DisableTraceSampling: pulumi.Bool(false),
    		RolloutStrategy:      pulumi.String("string"),
    	},
    	ApiConfig: &appengine.FlexibleAppVersionApiConfigArgs{
    		Script:         pulumi.String("string"),
    		AuthFailAction: pulumi.String("string"),
    		Login:          pulumi.String("string"),
    		SecurityLevel:  pulumi.String("string"),
    		Url:            pulumi.String("string"),
    	},
    	EnvVariables: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FlexibleRuntimeSettings: &appengine.FlexibleAppVersionFlexibleRuntimeSettingsArgs{
    		OperatingSystem: pulumi.String("string"),
    		RuntimeVersion:  pulumi.String("string"),
    	},
    	Handlers: appengine.FlexibleAppVersionHandlerArray{
    		&appengine.FlexibleAppVersionHandlerArgs{
    			AuthFailAction:           pulumi.String("string"),
    			Login:                    pulumi.String("string"),
    			RedirectHttpResponseCode: pulumi.String("string"),
    			Script: &appengine.FlexibleAppVersionHandlerScriptArgs{
    				ScriptPath: pulumi.String("string"),
    			},
    			SecurityLevel: pulumi.String("string"),
    			StaticFiles: &appengine.FlexibleAppVersionHandlerStaticFilesArgs{
    				ApplicationReadable: pulumi.Bool(false),
    				Expiration:          pulumi.String("string"),
    				HttpHeaders: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				MimeType:            pulumi.String("string"),
    				Path:                pulumi.String("string"),
    				RequireMatchingFile: pulumi.Bool(false),
    				UploadPathRegex:     pulumi.String("string"),
    			},
    			UrlRegex: pulumi.String("string"),
    		},
    	},
    	InboundServices: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	InstanceClass:          pulumi.String("string"),
    	DeleteServiceOnDestroy: pulumi.Bool(false),
    	ManualScaling: &appengine.FlexibleAppVersionManualScalingArgs{
    		Instances: pulumi.Int(0),
    	},
    	Network: &appengine.FlexibleAppVersionNetworkArgs{
    		Name: pulumi.String("string"),
    		ForwardedPorts: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		InstanceIpMode:  pulumi.String("string"),
    		InstanceTag:     pulumi.String("string"),
    		SessionAffinity: pulumi.Bool(false),
    		Subnetwork:      pulumi.String("string"),
    	},
    	NobuildFilesRegex: pulumi.String("string"),
    	Deployment: &appengine.FlexibleAppVersionDeploymentArgs{
    		CloudBuildOptions: &appengine.FlexibleAppVersionDeploymentCloudBuildOptionsArgs{
    			AppYamlPath:       pulumi.String("string"),
    			CloudBuildTimeout: pulumi.String("string"),
    		},
    		Container: &appengine.FlexibleAppVersionDeploymentContainerArgs{
    			Image: pulumi.String("string"),
    		},
    		Files: appengine.FlexibleAppVersionDeploymentFileArray{
    			&appengine.FlexibleAppVersionDeploymentFileArgs{
    				Name:      pulumi.String("string"),
    				SourceUrl: pulumi.String("string"),
    				Sha1Sum:   pulumi.String("string"),
    			},
    		},
    		Zip: &appengine.FlexibleAppVersionDeploymentZipArgs{
    			SourceUrl:  pulumi.String("string"),
    			FilesCount: pulumi.Int(0),
    		},
    	},
    	Project:           pulumi.String("string"),
    	DefaultExpiration: pulumi.String("string"),
    	Resources: &appengine.FlexibleAppVersionResourcesArgs{
    		Cpu:      pulumi.Int(0),
    		DiskGb:   pulumi.Int(0),
    		MemoryGb: pulumi.Float64(0),
    		Volumes: appengine.FlexibleAppVersionResourcesVolumeArray{
    			&appengine.FlexibleAppVersionResourcesVolumeArgs{
    				Name:       pulumi.String("string"),
    				SizeGb:     pulumi.Int(0),
    				VolumeType: pulumi.String("string"),
    			},
    		},
    	},
    	BetaSettings: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	RuntimeApiVersion:         pulumi.String("string"),
    	RuntimeChannel:            pulumi.String("string"),
    	RuntimeMainExecutablePath: pulumi.String("string"),
    	AutomaticScaling: &appengine.FlexibleAppVersionAutomaticScalingArgs{
    		CpuUtilization: &appengine.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs{
    			TargetUtilization:       pulumi.Float64(0),
    			AggregationWindowLength: pulumi.String("string"),
    		},
    		CoolDownPeriod: pulumi.String("string"),
    		DiskUtilization: &appengine.FlexibleAppVersionAutomaticScalingDiskUtilizationArgs{
    			TargetReadBytesPerSecond:  pulumi.Int(0),
    			TargetReadOpsPerSecond:    pulumi.Int(0),
    			TargetWriteBytesPerSecond: pulumi.Int(0),
    			TargetWriteOpsPerSecond:   pulumi.Int(0),
    		},
    		MaxConcurrentRequests: pulumi.Int(0),
    		MaxIdleInstances:      pulumi.Int(0),
    		MaxPendingLatency:     pulumi.String("string"),
    		MaxTotalInstances:     pulumi.Int(0),
    		MinIdleInstances:      pulumi.Int(0),
    		MinPendingLatency:     pulumi.String("string"),
    		MinTotalInstances:     pulumi.Int(0),
    		NetworkUtilization: &appengine.FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs{
    			TargetReceivedBytesPerSecond:   pulumi.Int(0),
    			TargetReceivedPacketsPerSecond: pulumi.Int(0),
    			TargetSentBytesPerSecond:       pulumi.Int(0),
    			TargetSentPacketsPerSecond:     pulumi.Int(0),
    		},
    		RequestUtilization: &appengine.FlexibleAppVersionAutomaticScalingRequestUtilizationArgs{
    			TargetConcurrentRequests:    pulumi.Float64(0),
    			TargetRequestCountPerSecond: pulumi.String("string"),
    		},
    	},
    	ServiceAccount: pulumi.String("string"),
    	ServingStatus:  pulumi.String("string"),
    	VersionId:      pulumi.String("string"),
    	VpcAccessConnector: &appengine.FlexibleAppVersionVpcAccessConnectorArgs{
    		Name: pulumi.String("string"),
    	},
    })
    
    var flexibleAppVersionResource = new FlexibleAppVersion("flexibleAppVersionResource", FlexibleAppVersionArgs.builder()
        .livenessCheck(FlexibleAppVersionLivenessCheckArgs.builder()
            .path("string")
            .checkInterval("string")
            .failureThreshold(0)
            .host("string")
            .initialDelay("string")
            .successThreshold(0)
            .timeout("string")
            .build())
        .service("string")
        .runtime("string")
        .readinessCheck(FlexibleAppVersionReadinessCheckArgs.builder()
            .path("string")
            .appStartTimeout("string")
            .checkInterval("string")
            .failureThreshold(0)
            .host("string")
            .successThreshold(0)
            .timeout("string")
            .build())
        .entrypoint(FlexibleAppVersionEntrypointArgs.builder()
            .shell("string")
            .build())
        .noopOnDestroy(false)
        .endpointsApiService(FlexibleAppVersionEndpointsApiServiceArgs.builder()
            .name("string")
            .configId("string")
            .disableTraceSampling(false)
            .rolloutStrategy("string")
            .build())
        .apiConfig(FlexibleAppVersionApiConfigArgs.builder()
            .script("string")
            .authFailAction("string")
            .login("string")
            .securityLevel("string")
            .url("string")
            .build())
        .envVariables(Map.of("string", "string"))
        .flexibleRuntimeSettings(FlexibleAppVersionFlexibleRuntimeSettingsArgs.builder()
            .operatingSystem("string")
            .runtimeVersion("string")
            .build())
        .handlers(FlexibleAppVersionHandlerArgs.builder()
            .authFailAction("string")
            .login("string")
            .redirectHttpResponseCode("string")
            .script(FlexibleAppVersionHandlerScriptArgs.builder()
                .scriptPath("string")
                .build())
            .securityLevel("string")
            .staticFiles(FlexibleAppVersionHandlerStaticFilesArgs.builder()
                .applicationReadable(false)
                .expiration("string")
                .httpHeaders(Map.of("string", "string"))
                .mimeType("string")
                .path("string")
                .requireMatchingFile(false)
                .uploadPathRegex("string")
                .build())
            .urlRegex("string")
            .build())
        .inboundServices("string")
        .instanceClass("string")
        .deleteServiceOnDestroy(false)
        .manualScaling(FlexibleAppVersionManualScalingArgs.builder()
            .instances(0)
            .build())
        .network(FlexibleAppVersionNetworkArgs.builder()
            .name("string")
            .forwardedPorts("string")
            .instanceIpMode("string")
            .instanceTag("string")
            .sessionAffinity(false)
            .subnetwork("string")
            .build())
        .nobuildFilesRegex("string")
        .deployment(FlexibleAppVersionDeploymentArgs.builder()
            .cloudBuildOptions(FlexibleAppVersionDeploymentCloudBuildOptionsArgs.builder()
                .appYamlPath("string")
                .cloudBuildTimeout("string")
                .build())
            .container(FlexibleAppVersionDeploymentContainerArgs.builder()
                .image("string")
                .build())
            .files(FlexibleAppVersionDeploymentFileArgs.builder()
                .name("string")
                .sourceUrl("string")
                .sha1Sum("string")
                .build())
            .zip(FlexibleAppVersionDeploymentZipArgs.builder()
                .sourceUrl("string")
                .filesCount(0)
                .build())
            .build())
        .project("string")
        .defaultExpiration("string")
        .resources(FlexibleAppVersionResourcesArgs.builder()
            .cpu(0)
            .diskGb(0)
            .memoryGb(0)
            .volumes(FlexibleAppVersionResourcesVolumeArgs.builder()
                .name("string")
                .sizeGb(0)
                .volumeType("string")
                .build())
            .build())
        .betaSettings(Map.of("string", "string"))
        .runtimeApiVersion("string")
        .runtimeChannel("string")
        .runtimeMainExecutablePath("string")
        .automaticScaling(FlexibleAppVersionAutomaticScalingArgs.builder()
            .cpuUtilization(FlexibleAppVersionAutomaticScalingCpuUtilizationArgs.builder()
                .targetUtilization(0)
                .aggregationWindowLength("string")
                .build())
            .coolDownPeriod("string")
            .diskUtilization(FlexibleAppVersionAutomaticScalingDiskUtilizationArgs.builder()
                .targetReadBytesPerSecond(0)
                .targetReadOpsPerSecond(0)
                .targetWriteBytesPerSecond(0)
                .targetWriteOpsPerSecond(0)
                .build())
            .maxConcurrentRequests(0)
            .maxIdleInstances(0)
            .maxPendingLatency("string")
            .maxTotalInstances(0)
            .minIdleInstances(0)
            .minPendingLatency("string")
            .minTotalInstances(0)
            .networkUtilization(FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs.builder()
                .targetReceivedBytesPerSecond(0)
                .targetReceivedPacketsPerSecond(0)
                .targetSentBytesPerSecond(0)
                .targetSentPacketsPerSecond(0)
                .build())
            .requestUtilization(FlexibleAppVersionAutomaticScalingRequestUtilizationArgs.builder()
                .targetConcurrentRequests(0)
                .targetRequestCountPerSecond("string")
                .build())
            .build())
        .serviceAccount("string")
        .servingStatus("string")
        .versionId("string")
        .vpcAccessConnector(FlexibleAppVersionVpcAccessConnectorArgs.builder()
            .name("string")
            .build())
        .build());
    
    flexible_app_version_resource = gcp.appengine.FlexibleAppVersion("flexibleAppVersionResource",
        liveness_check={
            "path": "string",
            "checkInterval": "string",
            "failureThreshold": 0,
            "host": "string",
            "initialDelay": "string",
            "successThreshold": 0,
            "timeout": "string",
        },
        service="string",
        runtime="string",
        readiness_check={
            "path": "string",
            "appStartTimeout": "string",
            "checkInterval": "string",
            "failureThreshold": 0,
            "host": "string",
            "successThreshold": 0,
            "timeout": "string",
        },
        entrypoint={
            "shell": "string",
        },
        noop_on_destroy=False,
        endpoints_api_service={
            "name": "string",
            "configId": "string",
            "disableTraceSampling": False,
            "rolloutStrategy": "string",
        },
        api_config={
            "script": "string",
            "authFailAction": "string",
            "login": "string",
            "securityLevel": "string",
            "url": "string",
        },
        env_variables={
            "string": "string",
        },
        flexible_runtime_settings={
            "operatingSystem": "string",
            "runtimeVersion": "string",
        },
        handlers=[{
            "authFailAction": "string",
            "login": "string",
            "redirectHttpResponseCode": "string",
            "script": {
                "scriptPath": "string",
            },
            "securityLevel": "string",
            "staticFiles": {
                "applicationReadable": False,
                "expiration": "string",
                "httpHeaders": {
                    "string": "string",
                },
                "mimeType": "string",
                "path": "string",
                "requireMatchingFile": False,
                "uploadPathRegex": "string",
            },
            "urlRegex": "string",
        }],
        inbound_services=["string"],
        instance_class="string",
        delete_service_on_destroy=False,
        manual_scaling={
            "instances": 0,
        },
        network={
            "name": "string",
            "forwardedPorts": ["string"],
            "instanceIpMode": "string",
            "instanceTag": "string",
            "sessionAffinity": False,
            "subnetwork": "string",
        },
        nobuild_files_regex="string",
        deployment={
            "cloudBuildOptions": {
                "appYamlPath": "string",
                "cloudBuildTimeout": "string",
            },
            "container": {
                "image": "string",
            },
            "files": [{
                "name": "string",
                "sourceUrl": "string",
                "sha1Sum": "string",
            }],
            "zip": {
                "sourceUrl": "string",
                "filesCount": 0,
            },
        },
        project="string",
        default_expiration="string",
        resources={
            "cpu": 0,
            "diskGb": 0,
            "memoryGb": 0,
            "volumes": [{
                "name": "string",
                "sizeGb": 0,
                "volumeType": "string",
            }],
        },
        beta_settings={
            "string": "string",
        },
        runtime_api_version="string",
        runtime_channel="string",
        runtime_main_executable_path="string",
        automatic_scaling={
            "cpuUtilization": {
                "targetUtilization": 0,
                "aggregationWindowLength": "string",
            },
            "coolDownPeriod": "string",
            "diskUtilization": {
                "targetReadBytesPerSecond": 0,
                "targetReadOpsPerSecond": 0,
                "targetWriteBytesPerSecond": 0,
                "targetWriteOpsPerSecond": 0,
            },
            "maxConcurrentRequests": 0,
            "maxIdleInstances": 0,
            "maxPendingLatency": "string",
            "maxTotalInstances": 0,
            "minIdleInstances": 0,
            "minPendingLatency": "string",
            "minTotalInstances": 0,
            "networkUtilization": {
                "targetReceivedBytesPerSecond": 0,
                "targetReceivedPacketsPerSecond": 0,
                "targetSentBytesPerSecond": 0,
                "targetSentPacketsPerSecond": 0,
            },
            "requestUtilization": {
                "targetConcurrentRequests": 0,
                "targetRequestCountPerSecond": "string",
            },
        },
        service_account="string",
        serving_status="string",
        version_id="string",
        vpc_access_connector={
            "name": "string",
        })
    
    const flexibleAppVersionResource = new gcp.appengine.FlexibleAppVersion("flexibleAppVersionResource", {
        livenessCheck: {
            path: "string",
            checkInterval: "string",
            failureThreshold: 0,
            host: "string",
            initialDelay: "string",
            successThreshold: 0,
            timeout: "string",
        },
        service: "string",
        runtime: "string",
        readinessCheck: {
            path: "string",
            appStartTimeout: "string",
            checkInterval: "string",
            failureThreshold: 0,
            host: "string",
            successThreshold: 0,
            timeout: "string",
        },
        entrypoint: {
            shell: "string",
        },
        noopOnDestroy: false,
        endpointsApiService: {
            name: "string",
            configId: "string",
            disableTraceSampling: false,
            rolloutStrategy: "string",
        },
        apiConfig: {
            script: "string",
            authFailAction: "string",
            login: "string",
            securityLevel: "string",
            url: "string",
        },
        envVariables: {
            string: "string",
        },
        flexibleRuntimeSettings: {
            operatingSystem: "string",
            runtimeVersion: "string",
        },
        handlers: [{
            authFailAction: "string",
            login: "string",
            redirectHttpResponseCode: "string",
            script: {
                scriptPath: "string",
            },
            securityLevel: "string",
            staticFiles: {
                applicationReadable: false,
                expiration: "string",
                httpHeaders: {
                    string: "string",
                },
                mimeType: "string",
                path: "string",
                requireMatchingFile: false,
                uploadPathRegex: "string",
            },
            urlRegex: "string",
        }],
        inboundServices: ["string"],
        instanceClass: "string",
        deleteServiceOnDestroy: false,
        manualScaling: {
            instances: 0,
        },
        network: {
            name: "string",
            forwardedPorts: ["string"],
            instanceIpMode: "string",
            instanceTag: "string",
            sessionAffinity: false,
            subnetwork: "string",
        },
        nobuildFilesRegex: "string",
        deployment: {
            cloudBuildOptions: {
                appYamlPath: "string",
                cloudBuildTimeout: "string",
            },
            container: {
                image: "string",
            },
            files: [{
                name: "string",
                sourceUrl: "string",
                sha1Sum: "string",
            }],
            zip: {
                sourceUrl: "string",
                filesCount: 0,
            },
        },
        project: "string",
        defaultExpiration: "string",
        resources: {
            cpu: 0,
            diskGb: 0,
            memoryGb: 0,
            volumes: [{
                name: "string",
                sizeGb: 0,
                volumeType: "string",
            }],
        },
        betaSettings: {
            string: "string",
        },
        runtimeApiVersion: "string",
        runtimeChannel: "string",
        runtimeMainExecutablePath: "string",
        automaticScaling: {
            cpuUtilization: {
                targetUtilization: 0,
                aggregationWindowLength: "string",
            },
            coolDownPeriod: "string",
            diskUtilization: {
                targetReadBytesPerSecond: 0,
                targetReadOpsPerSecond: 0,
                targetWriteBytesPerSecond: 0,
                targetWriteOpsPerSecond: 0,
            },
            maxConcurrentRequests: 0,
            maxIdleInstances: 0,
            maxPendingLatency: "string",
            maxTotalInstances: 0,
            minIdleInstances: 0,
            minPendingLatency: "string",
            minTotalInstances: 0,
            networkUtilization: {
                targetReceivedBytesPerSecond: 0,
                targetReceivedPacketsPerSecond: 0,
                targetSentBytesPerSecond: 0,
                targetSentPacketsPerSecond: 0,
            },
            requestUtilization: {
                targetConcurrentRequests: 0,
                targetRequestCountPerSecond: "string",
            },
        },
        serviceAccount: "string",
        servingStatus: "string",
        versionId: "string",
        vpcAccessConnector: {
            name: "string",
        },
    });
    
    type: gcp:appengine:FlexibleAppVersion
    properties:
        apiConfig:
            authFailAction: string
            login: string
            script: string
            securityLevel: string
            url: string
        automaticScaling:
            coolDownPeriod: string
            cpuUtilization:
                aggregationWindowLength: string
                targetUtilization: 0
            diskUtilization:
                targetReadBytesPerSecond: 0
                targetReadOpsPerSecond: 0
                targetWriteBytesPerSecond: 0
                targetWriteOpsPerSecond: 0
            maxConcurrentRequests: 0
            maxIdleInstances: 0
            maxPendingLatency: string
            maxTotalInstances: 0
            minIdleInstances: 0
            minPendingLatency: string
            minTotalInstances: 0
            networkUtilization:
                targetReceivedBytesPerSecond: 0
                targetReceivedPacketsPerSecond: 0
                targetSentBytesPerSecond: 0
                targetSentPacketsPerSecond: 0
            requestUtilization:
                targetConcurrentRequests: 0
                targetRequestCountPerSecond: string
        betaSettings:
            string: string
        defaultExpiration: string
        deleteServiceOnDestroy: false
        deployment:
            cloudBuildOptions:
                appYamlPath: string
                cloudBuildTimeout: string
            container:
                image: string
            files:
                - name: string
                  sha1Sum: string
                  sourceUrl: string
            zip:
                filesCount: 0
                sourceUrl: string
        endpointsApiService:
            configId: string
            disableTraceSampling: false
            name: string
            rolloutStrategy: string
        entrypoint:
            shell: string
        envVariables:
            string: string
        flexibleRuntimeSettings:
            operatingSystem: string
            runtimeVersion: string
        handlers:
            - authFailAction: string
              login: string
              redirectHttpResponseCode: string
              script:
                scriptPath: string
              securityLevel: string
              staticFiles:
                applicationReadable: false
                expiration: string
                httpHeaders:
                    string: string
                mimeType: string
                path: string
                requireMatchingFile: false
                uploadPathRegex: string
              urlRegex: string
        inboundServices:
            - string
        instanceClass: string
        livenessCheck:
            checkInterval: string
            failureThreshold: 0
            host: string
            initialDelay: string
            path: string
            successThreshold: 0
            timeout: string
        manualScaling:
            instances: 0
        network:
            forwardedPorts:
                - string
            instanceIpMode: string
            instanceTag: string
            name: string
            sessionAffinity: false
            subnetwork: string
        nobuildFilesRegex: string
        noopOnDestroy: false
        project: string
        readinessCheck:
            appStartTimeout: string
            checkInterval: string
            failureThreshold: 0
            host: string
            path: string
            successThreshold: 0
            timeout: string
        resources:
            cpu: 0
            diskGb: 0
            memoryGb: 0
            volumes:
                - name: string
                  sizeGb: 0
                  volumeType: string
        runtime: string
        runtimeApiVersion: string
        runtimeChannel: string
        runtimeMainExecutablePath: string
        service: string
        serviceAccount: string
        servingStatus: string
        versionId: string
        vpcAccessConnector:
            name: string
    

    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 FlexibleAppVersionLivenessCheck
    Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
    ReadinessCheck FlexibleAppVersionReadinessCheck
    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 FlexibleAppVersionApiConfig
    Serving configuration for Google Cloud Endpoints.
    AutomaticScaling FlexibleAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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 FlexibleAppVersionDeployment
    Code and application artifacts that make up this version.
    EndpointsApiService FlexibleAppVersionEndpointsApiService
    Code and application artifacts that make up this version.
    Entrypoint FlexibleAppVersionEntrypoint
    The entrypoint for the application.
    EnvVariables Dictionary<string, string>
    FlexibleRuntimeSettings FlexibleAppVersionFlexibleRuntimeSettings
    Runtime settings for App Engine flexible environment.
    Handlers List<FlexibleAppVersionHandler>
    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.
    InboundServices List<string>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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 FlexibleAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    Network FlexibleAppVersionNetwork
    Extra network settings
    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
    Resources FlexibleAppVersionResources
    Machine resources for a version.
    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//config/appref'\ Substitute '' 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.
    ServiceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    ServingStatus string
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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 FlexibleAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    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.
    AutomaticScaling FlexibleAppVersionAutomaticScalingArgs
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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.
    EndpointsApiService FlexibleAppVersionEndpointsApiServiceArgs
    Code and application artifacts that make up this version.
    Entrypoint FlexibleAppVersionEntrypointArgs
    The entrypoint for the application.
    EnvVariables map[string]string
    FlexibleRuntimeSettings FlexibleAppVersionFlexibleRuntimeSettingsArgs
    Runtime settings for App Engine flexible environment.
    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.
    InboundServices []string
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    Network FlexibleAppVersionNetworkArgs
    Extra network settings
    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
    Resources FlexibleAppVersionResourcesArgs
    Machine resources for a version.
    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//config/appref'\ Substitute '' 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.
    ServiceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    ServingStatus string
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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.
    livenessCheck FlexibleAppVersionLivenessCheck
    Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
    readinessCheck FlexibleAppVersionReadinessCheck
    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 FlexibleAppVersionApiConfig
    Serving configuration for Google Cloud Endpoints.
    automaticScaling FlexibleAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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 FlexibleAppVersionDeployment
    Code and application artifacts that make up this version.
    endpointsApiService FlexibleAppVersionEndpointsApiService
    Code and application artifacts that make up this version.
    entrypoint FlexibleAppVersionEntrypoint
    The entrypoint for the application.
    envVariables Map<String,String>
    flexibleRuntimeSettings FlexibleAppVersionFlexibleRuntimeSettings
    Runtime settings for App Engine flexible environment.
    handlers List<FlexibleAppVersionHandler>
    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.
    inboundServices List<String>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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 FlexibleAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    network FlexibleAppVersionNetwork
    Extra network settings
    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
    resources FlexibleAppVersionResources
    Machine resources for a version.
    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//config/appref'\ Substitute '' 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.
    serviceAccount String
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    servingStatus String
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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 FlexibleAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    livenessCheck FlexibleAppVersionLivenessCheck
    Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
    readinessCheck FlexibleAppVersionReadinessCheck
    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 FlexibleAppVersionApiConfig
    Serving configuration for Google Cloud Endpoints.
    automaticScaling FlexibleAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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 FlexibleAppVersionDeployment
    Code and application artifacts that make up this version.
    endpointsApiService FlexibleAppVersionEndpointsApiService
    Code and application artifacts that make up this version.
    entrypoint FlexibleAppVersionEntrypoint
    The entrypoint for the application.
    envVariables {[key: string]: string}
    flexibleRuntimeSettings FlexibleAppVersionFlexibleRuntimeSettings
    Runtime settings for App Engine flexible environment.
    handlers FlexibleAppVersionHandler[]
    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.
    inboundServices string[]
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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 FlexibleAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    network FlexibleAppVersionNetwork
    Extra network settings
    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
    resources FlexibleAppVersionResources
    Machine resources for a version.
    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//config/appref'\ Substitute '' 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.
    serviceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    servingStatus string
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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 FlexibleAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    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.
    automatic_scaling FlexibleAppVersionAutomaticScalingArgs
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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.
    endpoints_api_service FlexibleAppVersionEndpointsApiServiceArgs
    Code and application artifacts that make up this version.
    entrypoint FlexibleAppVersionEntrypointArgs
    The entrypoint for the application.
    env_variables Mapping[str, str]
    flexible_runtime_settings FlexibleAppVersionFlexibleRuntimeSettingsArgs
    Runtime settings for App Engine flexible environment.
    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.
    inbound_services Sequence[str]
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    network FlexibleAppVersionNetworkArgs
    Extra network settings
    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
    resources FlexibleAppVersionResourcesArgs
    Machine resources for a version.
    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//config/appref'\ Substitute '' 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_account str
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    serving_status str
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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.
    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.
    automaticScaling Property Map
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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.
    endpointsApiService Property Map
    Code and application artifacts that make up this version.
    entrypoint Property Map
    The entrypoint for the application.
    envVariables Map<String>
    flexibleRuntimeSettings Property Map
    Runtime settings for App Engine flexible environment.
    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.
    inboundServices List<String>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    network Property Map
    Extra network settings
    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
    resources Property Map
    Machine resources for a version.
    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//config/appref'\ Substitute '' 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.
    serviceAccount String
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    servingStatus String
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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.

    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 path to the Version resource in the API. Example, "v1".
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Full path to the Version resource in the API. Example, "v1".
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Full path to the Version resource in the API. Example, "v1".
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Full path to the Version resource in the API. Example, "v1".
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Full path to the Version resource in the API. Example, "v1".
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Full path to the Version resource in the API. Example, "v1".

    Look up 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,
            flexible_runtime_settings: Optional[FlexibleAppVersionFlexibleRuntimeSettingsArgs] = 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,
            service_account: 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 FlexibleAppVersionApiConfig
    Serving configuration for Google Cloud Endpoints.
    AutomaticScaling FlexibleAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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 FlexibleAppVersionDeployment
    Code and application artifacts that make up this version.
    EndpointsApiService FlexibleAppVersionEndpointsApiService
    Code and application artifacts that make up this version.
    Entrypoint FlexibleAppVersionEntrypoint
    The entrypoint for the application.
    EnvVariables Dictionary<string, string>
    FlexibleRuntimeSettings FlexibleAppVersionFlexibleRuntimeSettings
    Runtime settings for App Engine flexible environment.
    Handlers List<FlexibleAppVersionHandler>
    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.
    InboundServices List<string>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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 FlexibleAppVersionLivenessCheck
    Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
    ManualScaling FlexibleAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    Name string
    Full path to the Version resource in the API. Example, "v1".
    Network FlexibleAppVersionNetwork
    Extra network settings
    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
    ReadinessCheck FlexibleAppVersionReadinessCheck
    Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
    Resources FlexibleAppVersionResources
    Machine resources for a version.
    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//config/appref'\ Substitute '' 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.
    ServiceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    ServingStatus string
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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 FlexibleAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    ApiConfig FlexibleAppVersionApiConfigArgs
    Serving configuration for Google Cloud Endpoints.
    AutomaticScaling FlexibleAppVersionAutomaticScalingArgs
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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.
    EndpointsApiService FlexibleAppVersionEndpointsApiServiceArgs
    Code and application artifacts that make up this version.
    Entrypoint FlexibleAppVersionEntrypointArgs
    The entrypoint for the application.
    EnvVariables map[string]string
    FlexibleRuntimeSettings FlexibleAppVersionFlexibleRuntimeSettingsArgs
    Runtime settings for App Engine flexible environment.
    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.
    InboundServices []string
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    Name string
    Full path to the Version resource in the API. Example, "v1".
    Network FlexibleAppVersionNetworkArgs
    Extra network settings
    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
    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.
    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//config/appref'\ Substitute '' 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.
    ServiceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    ServingStatus string
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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.
    apiConfig FlexibleAppVersionApiConfig
    Serving configuration for Google Cloud Endpoints.
    automaticScaling FlexibleAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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 FlexibleAppVersionDeployment
    Code and application artifacts that make up this version.
    endpointsApiService FlexibleAppVersionEndpointsApiService
    Code and application artifacts that make up this version.
    entrypoint FlexibleAppVersionEntrypoint
    The entrypoint for the application.
    envVariables Map<String,String>
    flexibleRuntimeSettings FlexibleAppVersionFlexibleRuntimeSettings
    Runtime settings for App Engine flexible environment.
    handlers List<FlexibleAppVersionHandler>
    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.
    inboundServices List<String>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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 FlexibleAppVersionLivenessCheck
    Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
    manualScaling FlexibleAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    name String
    Full path to the Version resource in the API. Example, "v1".
    network FlexibleAppVersionNetwork
    Extra network settings
    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
    readinessCheck FlexibleAppVersionReadinessCheck
    Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
    resources FlexibleAppVersionResources
    Machine resources for a version.
    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//config/appref'\ Substitute '' 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.
    serviceAccount String
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    servingStatus String
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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 FlexibleAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    apiConfig FlexibleAppVersionApiConfig
    Serving configuration for Google Cloud Endpoints.
    automaticScaling FlexibleAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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 FlexibleAppVersionDeployment
    Code and application artifacts that make up this version.
    endpointsApiService FlexibleAppVersionEndpointsApiService
    Code and application artifacts that make up this version.
    entrypoint FlexibleAppVersionEntrypoint
    The entrypoint for the application.
    envVariables {[key: string]: string}
    flexibleRuntimeSettings FlexibleAppVersionFlexibleRuntimeSettings
    Runtime settings for App Engine flexible environment.
    handlers FlexibleAppVersionHandler[]
    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.
    inboundServices string[]
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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 FlexibleAppVersionLivenessCheck
    Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
    manualScaling FlexibleAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    name string
    Full path to the Version resource in the API. Example, "v1".
    network FlexibleAppVersionNetwork
    Extra network settings
    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
    readinessCheck FlexibleAppVersionReadinessCheck
    Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
    resources FlexibleAppVersionResources
    Machine resources for a version.
    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//config/appref'\ Substitute '' 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.
    serviceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    servingStatus string
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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 FlexibleAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    api_config FlexibleAppVersionApiConfigArgs
    Serving configuration for Google Cloud Endpoints.
    automatic_scaling FlexibleAppVersionAutomaticScalingArgs
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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.
    endpoints_api_service FlexibleAppVersionEndpointsApiServiceArgs
    Code and application artifacts that make up this version.
    entrypoint FlexibleAppVersionEntrypointArgs
    The entrypoint for the application.
    env_variables Mapping[str, str]
    flexible_runtime_settings FlexibleAppVersionFlexibleRuntimeSettingsArgs
    Runtime settings for App Engine flexible environment.
    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.
    inbound_services Sequence[str]
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    name str
    Full path to the Version resource in the API. Example, "v1".
    network FlexibleAppVersionNetworkArgs
    Extra network settings
    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
    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.
    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//config/appref'\ Substitute '' 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.
    service_account str
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    serving_status str
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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.
    apiConfig Property Map
    Serving configuration for Google Cloud Endpoints.
    automaticScaling Property Map
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    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.
    endpointsApiService Property Map
    Code and application artifacts that make up this version.
    entrypoint Property Map
    The entrypoint for the application.
    envVariables Map<String>
    flexibleRuntimeSettings Property Map
    Runtime settings for App Engine flexible environment.
    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.
    inboundServices List<String>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    name String
    Full path to the Version resource in the API. Example, "v1".
    network Property Map
    Extra network settings
    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
    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.
    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//config/appref'\ Substitute '' 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.
    serviceAccount String
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    servingStatus String
    Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: "SERVING" Possible values: ["SERVING", "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.

    Supporting Types

    FlexibleAppVersionApiConfig, FlexibleAppVersionApiConfigArgs

    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, 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, LOGIN_REQUIRED.
    SecurityLevel string
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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, 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, LOGIN_REQUIRED.
    SecurityLevel string
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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, 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, LOGIN_REQUIRED.
    securityLevel String
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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, 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, LOGIN_REQUIRED.
    securityLevel string
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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, 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, LOGIN_REQUIRED.
    security_level str
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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, 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, LOGIN_REQUIRED.
    securityLevel String
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, SECURE_ALWAYS.
    url String
    URL to serve the endpoint at.

    FlexibleAppVersionAutomaticScaling, FlexibleAppVersionAutomaticScalingArgs

    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, FlexibleAppVersionAutomaticScalingCpuUtilizationArgs

    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, FlexibleAppVersionAutomaticScalingDiskUtilizationArgs

    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, FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs

    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, FlexibleAppVersionAutomaticScalingRequestUtilizationArgs

    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, FlexibleAppVersionDeploymentArgs

    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, FlexibleAppVersionDeploymentCloudBuildOptionsArgs

    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, FlexibleAppVersionDeploymentContainerArgs

    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, FlexibleAppVersionDeploymentFileArgs

    Name string
    The identifier for this object. Format specified above.
    SourceUrl string
    Source URL
    Sha1Sum string
    SHA1 checksum of the file
    Name string
    The identifier for this object. Format specified above.
    SourceUrl string
    Source URL
    Sha1Sum string
    SHA1 checksum of the file
    name String
    The identifier for this object. Format specified above.
    sourceUrl String
    Source URL
    sha1Sum String
    SHA1 checksum of the file
    name string
    The identifier for this object. Format specified above.
    sourceUrl string
    Source URL
    sha1Sum string
    SHA1 checksum of the file
    name str
    The identifier for this object. Format specified above.
    source_url str
    Source URL
    sha1_sum str
    SHA1 checksum of the file
    name String
    The identifier for this object. Format specified above.
    sourceUrl String
    Source URL
    sha1Sum String
    SHA1 checksum of the file

    FlexibleAppVersionDeploymentZip, FlexibleAppVersionDeploymentZipArgs

    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, FlexibleAppVersionEndpointsApiServiceArgs

    Name string
    Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
    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, MANAGED.
    Name string
    Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
    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, MANAGED.
    name String
    Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
    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, MANAGED.
    name string
    Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
    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, MANAGED.
    name str
    Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
    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, MANAGED.
    name String
    Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
    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, MANAGED.

    FlexibleAppVersionEntrypoint, FlexibleAppVersionEntrypointArgs

    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.

    FlexibleAppVersionFlexibleRuntimeSettings, FlexibleAppVersionFlexibleRuntimeSettingsArgs

    OperatingSystem string
    Operating System of the application runtime.
    RuntimeVersion string
    The runtime version of an App Engine flexible application.
    OperatingSystem string
    Operating System of the application runtime.
    RuntimeVersion string
    The runtime version of an App Engine flexible application.
    operatingSystem String
    Operating System of the application runtime.
    runtimeVersion String
    The runtime version of an App Engine flexible application.
    operatingSystem string
    Operating System of the application runtime.
    runtimeVersion string
    The runtime version of an App Engine flexible application.
    operating_system str
    Operating System of the application runtime.
    runtime_version str
    The runtime version of an App Engine flexible application.
    operatingSystem String
    Operating System of the application runtime.
    runtimeVersion String
    The runtime version of an App Engine flexible application.

    FlexibleAppVersionHandler, FlexibleAppVersionHandlerArgs

    AuthFailAction string
    Actions to take when the user is not logged in. Possible values are: AUTH_FAIL_ACTION_REDIRECT, AUTH_FAIL_ACTION_UNAUTHORIZED.
    Login string
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, REDIRECT_HTTP_RESPONSE_CODE_307.
    Script FlexibleAppVersionHandlerScript
    Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
    SecurityLevel string
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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
    Actions to take when the user is not logged in. Possible values are: AUTH_FAIL_ACTION_REDIRECT, AUTH_FAIL_ACTION_UNAUTHORIZED.
    Login string
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, REDIRECT_HTTP_RESPONSE_CODE_307.
    Script FlexibleAppVersionHandlerScript
    Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
    SecurityLevel string
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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
    Actions to take when the user is not logged in. Possible values are: AUTH_FAIL_ACTION_REDIRECT, AUTH_FAIL_ACTION_UNAUTHORIZED.
    login String
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, REDIRECT_HTTP_RESPONSE_CODE_307.
    script FlexibleAppVersionHandlerScript
    Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
    securityLevel String
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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
    Actions to take when the user is not logged in. Possible values are: AUTH_FAIL_ACTION_REDIRECT, AUTH_FAIL_ACTION_UNAUTHORIZED.
    login string
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, REDIRECT_HTTP_RESPONSE_CODE_307.
    script FlexibleAppVersionHandlerScript
    Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
    securityLevel string
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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
    Actions to take when the user is not logged in. Possible values are: AUTH_FAIL_ACTION_REDIRECT, AUTH_FAIL_ACTION_UNAUTHORIZED.
    login str
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, REDIRECT_HTTP_RESPONSE_CODE_307.
    script FlexibleAppVersionHandlerScript
    Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
    security_level str
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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
    Actions to take when the user is not logged in. Possible values are: AUTH_FAIL_ACTION_REDIRECT, AUTH_FAIL_ACTION_UNAUTHORIZED.
    login String
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, REDIRECT_HTTP_RESPONSE_CODE_307.
    script Property Map
    Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.
    securityLevel String
    Security (HTTPS) enforcement for this URL. Possible values are: SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, 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, FlexibleAppVersionHandlerScriptArgs

    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, FlexibleAppVersionHandlerStaticFilesArgs

    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, FlexibleAppVersionLivenessCheckArgs

    Path string
    The request path.
    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
    The request path.
    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
    The request path.
    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
    The request path.
    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
    The request path.
    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
    The request path.
    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, FlexibleAppVersionManualScalingArgs

    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, FlexibleAppVersionNetworkArgs

    Name string
    Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
    ForwardedPorts List<string>
    List of ports, or port pairs, to forward from the virtual machine to the application container.
    InstanceIpMode string
    Prevent instances from receiving an ephemeral external IP address. Possible values are: EXTERNAL, INTERNAL.
    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
    Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
    ForwardedPorts []string
    List of ports, or port pairs, to forward from the virtual machine to the application container.
    InstanceIpMode string
    Prevent instances from receiving an ephemeral external IP address. Possible values are: EXTERNAL, INTERNAL.
    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
    Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
    forwardedPorts List<String>
    List of ports, or port pairs, to forward from the virtual machine to the application container.
    instanceIpMode String
    Prevent instances from receiving an ephemeral external IP address. Possible values are: EXTERNAL, INTERNAL.
    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
    Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
    forwardedPorts string[]
    List of ports, or port pairs, to forward from the virtual machine to the application container.
    instanceIpMode string
    Prevent instances from receiving an ephemeral external IP address. Possible values are: EXTERNAL, INTERNAL.
    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
    Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
    forwarded_ports Sequence[str]
    List of ports, or port pairs, to forward from the virtual machine to the application container.
    instance_ip_mode str
    Prevent instances from receiving an ephemeral external IP address. Possible values are: EXTERNAL, INTERNAL.
    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
    Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
    forwardedPorts List<String>
    List of ports, or port pairs, to forward from the virtual machine to the application container.
    instanceIpMode String
    Prevent instances from receiving an ephemeral external IP address. Possible values are: EXTERNAL, INTERNAL.
    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, FlexibleAppVersionReadinessCheckArgs

    Path string
    The request path.
    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. Default: "5s".
    FailureThreshold double
    Number of consecutive failed checks required before removing traffic. Default: 2.
    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 receiving traffic. Default: 2.
    Timeout string
    Time before the check is considered failed. Default: "4s"
    Path string
    The request path.
    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. Default: "5s".
    FailureThreshold float64
    Number of consecutive failed checks required before removing traffic. Default: 2.
    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 receiving traffic. Default: 2.
    Timeout string
    Time before the check is considered failed. Default: "4s"
    path String
    The request path.
    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. Default: "5s".
    failureThreshold Double
    Number of consecutive failed checks required before removing traffic. Default: 2.
    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 receiving traffic. Default: 2.
    timeout String
    Time before the check is considered failed. Default: "4s"
    path string
    The request path.
    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. Default: "5s".
    failureThreshold number
    Number of consecutive failed checks required before removing traffic. Default: 2.
    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 receiving traffic. Default: 2.
    timeout string
    Time before the check is considered failed. Default: "4s"
    path str
    The request path.
    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. Default: "5s".
    failure_threshold float
    Number of consecutive failed checks required before removing traffic. Default: 2.
    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 receiving traffic. Default: 2.
    timeout str
    Time before the check is considered failed. Default: "4s"
    path String
    The request path.
    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. Default: "5s".
    failureThreshold Number
    Number of consecutive failed checks required before removing traffic. Default: 2.
    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 receiving traffic. Default: 2.
    timeout String
    Time before the check is considered failed. Default: "4s"

    FlexibleAppVersionResources, FlexibleAppVersionResourcesArgs

    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, FlexibleAppVersionResourcesVolumeArgs

    Name string
    Unique name for the volume.
    SizeGb int
    Volume size in gigabytes.
    VolumeType string
    Underlying volume type, e.g. 'tmpfs'.
    Name string
    Unique name for the volume.
    SizeGb int
    Volume size in gigabytes.
    VolumeType string
    Underlying volume type, e.g. 'tmpfs'.
    name String
    Unique name for the volume.
    sizeGb Integer
    Volume size in gigabytes.
    volumeType String
    Underlying volume type, e.g. 'tmpfs'.
    name string
    Unique name for the volume.
    sizeGb number
    Volume size in gigabytes.
    volumeType string
    Underlying volume type, e.g. 'tmpfs'.
    name str
    Unique name for the volume.
    size_gb int
    Volume size in gigabytes.
    volume_type str
    Underlying volume type, e.g. 'tmpfs'.
    name String
    Unique name for the volume.
    sizeGb Number
    Volume size in gigabytes.
    volumeType String
    Underlying volume type, e.g. 'tmpfs'.

    FlexibleAppVersionVpcAccessConnector, FlexibleAppVersionVpcAccessConnectorArgs

    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:

    • apps/{{project}}/services/{{service}}/versions/{{version_id}}

    • {{project}}/{{service}}/{{version_id}}

    • {{service}}/{{version_id}}

    When using the pulumi import command, FlexibleAppVersion can be imported using one of the formats above. For example:

    $ 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}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

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