gcp.appengine.FlexibleAppVersion
Explore with Pulumi AI
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 theappengineflex.googleapis.com
service is enabled.
To get more information about FlexibleAppVersion, see:
- API documentation
- How-to Guides
Example Usage
App Engine Flexible App Version
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var myProject = new Gcp.Organizations.Project("myProject", new()
{
ProjectId = "appeng-flex",
OrgId = "123456789",
BillingAccount = "000000-0000000-0000000-000000",
});
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("customServiceAccount", new()
{
Project = service.Project,
AccountId = "my-account",
DisplayName = "Custom Service Account",
});
var gaeApi = new Gcp.Projects.IAMMember("gaeApi", new()
{
Project = service.Project,
Role = "roles/compute.networkUser",
Member = customServiceAccount.Email.Apply(email => $"serviceAccount:{email}"),
});
var logsWriter = new Gcp.Projects.IAMMember("logsWriter", new()
{
Project = service.Project,
Role = "roles/logging.logWriter",
Member = customServiceAccount.Email.Apply(email => $"serviceAccount:{email}"),
});
var storageViewer = new Gcp.Projects.IAMMember("storageViewer", 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,
Location = "US",
});
var @object = new Gcp.Storage.BucketObject("object", new()
{
Bucket = bucket.Name,
Source = new FileAsset("./test-fixtures/appengine/hello-world.zip"),
});
var myappV1 = new Gcp.AppEngine.FlexibleAppVersion("myappV1", new()
{
VersionId = "v1",
Project = gaeApi.Project,
Service = "default",
Runtime = "nodejs",
Entrypoint = new Gcp.AppEngine.Inputs.FlexibleAppVersionEntrypointArgs
{
Shell = "node ./app.js",
},
Deployment = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentArgs
{
Zip = new Gcp.AppEngine.Inputs.FlexibleAppVersionDeploymentZipArgs
{
SourceUrl = Output.Tuple(bucket.Name, @object.Name).Apply(values =>
{
var bucketName = values.Item1;
var objectName = values.Item2;
return $"https://storage.googleapis.com/{bucketName}/{objectName}";
}),
},
},
LivenessCheck = new Gcp.AppEngine.Inputs.FlexibleAppVersionLivenessCheckArgs
{
Path = "/",
},
ReadinessCheck = new Gcp.AppEngine.Inputs.FlexibleAppVersionReadinessCheckArgs
{
Path = "/",
},
EnvVariables =
{
{ "port", "8080" },
},
Handlers = new[]
{
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 main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/appengine"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/projects"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/serviceAccount"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myProject, err := organizations.NewProject(ctx, "myProject", &organizations.ProjectArgs{
ProjectId: pulumi.String("appeng-flex"),
OrgId: pulumi.String("123456789"),
BillingAccount: pulumi.String("000000-0000000-0000000-000000"),
})
if err != nil {
return err
}
_, err = appengine.NewApplication(ctx, "app", &appengine.ApplicationArgs{
Project: myProject.ProjectId,
LocationId: pulumi.String("us-central"),
})
if err != nil {
return err
}
service, err := projects.NewService(ctx, "service", &projects.ServiceArgs{
Project: myProject.ProjectId,
Service: pulumi.String("appengineflex.googleapis.com"),
DisableDependentServices: pulumi.Bool(false),
})
if err != nil {
return err
}
customServiceAccount, err := serviceAccount.NewAccount(ctx, "customServiceAccount", &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, "gaeApi", &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, "logsWriter", &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, "storageViewer", &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,
Location: pulumi.String("US"),
})
if err != nil {
return err
}
object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
Bucket: bucket.Name,
Source: pulumi.NewFileAsset("./test-fixtures/appengine/hello-world.zip"),
})
if err != nil {
return err
}
_, err = appengine.NewFlexibleAppVersion(ctx, "myappV1", &appengine.FlexibleAppVersionArgs{
VersionId: pulumi.String("v1"),
Project: gaeApi.Project,
Service: pulumi.String("default"),
Runtime: pulumi.String("nodejs"),
Entrypoint: &appengine.FlexibleAppVersionEntrypointArgs{
Shell: pulumi.String("node ./app.js"),
},
Deployment: &appengine.FlexibleAppVersionDeploymentArgs{
Zip: &appengine.FlexibleAppVersionDeploymentZipArgs{
SourceUrl: pulumi.All(bucket.Name, object.Name).ApplyT(func(_args []interface{}) (string, error) {
bucketName := _args[0].(string)
objectName := _args[1].(string)
return fmt.Sprintf("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
})
}
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.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()
.projectId("appeng-flex")
.orgId("123456789")
.billingAccount("000000-0000000-0000000-000000")
.build());
var app = new Application("app", ApplicationArgs.builder()
.project(myProject.projectId())
.locationId("us-central")
.build());
var service = new Service("service", ServiceArgs.builder()
.project(myProject.projectId())
.service("appengineflex.googleapis.com")
.disableDependentServices(false)
.build());
var 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())
.location("US")
.build());
var object = new BucketObject("object", BucketObjectArgs.builder()
.bucket(bucket.name())
.source(new FileAsset("./test-fixtures/appengine/hello-world.zip"))
.build());
var myappV1 = new FlexibleAppVersion("myappV1", FlexibleAppVersionArgs.builder()
.versionId("v1")
.project(gaeApi.project())
.service("default")
.runtime("nodejs")
.entrypoint(FlexibleAppVersionEntrypointArgs.builder()
.shell("node ./app.js")
.build())
.deployment(FlexibleAppVersionDeploymentArgs.builder()
.zip(FlexibleAppVersionDeploymentZipArgs.builder()
.sourceUrl(Output.tuple(bucket.name(), object.name()).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());
}
}
import pulumi
import pulumi_gcp as gcp
my_project = gcp.organizations.Project("myProject",
project_id="appeng-flex",
org_id="123456789",
billing_account="000000-0000000-0000000-000000")
app = gcp.appengine.Application("app",
project=my_project.project_id,
location_id="us-central")
service = gcp.projects.Service("service",
project=my_project.project_id,
service="appengineflex.googleapis.com",
disable_dependent_services=False)
custom_service_account = gcp.service_account.Account("customServiceAccount",
project=service.project,
account_id="my-account",
display_name="Custom Service Account")
gae_api = gcp.projects.IAMMember("gaeApi",
project=service.project,
role="roles/compute.networkUser",
member=custom_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
logs_writer = gcp.projects.IAMMember("logsWriter",
project=service.project,
role="roles/logging.logWriter",
member=custom_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
storage_viewer = gcp.projects.IAMMember("storageViewer",
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,
location="US")
object = gcp.storage.BucketObject("object",
bucket=bucket.name,
source=pulumi.FileAsset("./test-fixtures/appengine/hello-world.zip"))
myapp_v1 = gcp.appengine.FlexibleAppVersion("myappV1",
version_id="v1",
project=gae_api.project,
service="default",
runtime="nodejs",
entrypoint=gcp.appengine.FlexibleAppVersionEntrypointArgs(
shell="node ./app.js",
),
deployment=gcp.appengine.FlexibleAppVersionDeploymentArgs(
zip=gcp.appengine.FlexibleAppVersionDeploymentZipArgs(
source_url=pulumi.Output.all(bucket.name, object.name).apply(lambda bucketName, objectName: f"https://storage.googleapis.com/{bucket_name}/{object_name}"),
),
),
liveness_check=gcp.appengine.FlexibleAppVersionLivenessCheckArgs(
path="/",
),
readiness_check=gcp.appengine.FlexibleAppVersionReadinessCheckArgs(
path="/",
),
env_variables={
"port": "8080",
},
handlers=[gcp.appengine.FlexibleAppVersionHandlerArgs(
url_regex=".*\\/my-path\\/*",
security_level="SECURE_ALWAYS",
login="LOGIN_REQUIRED",
auth_fail_action="AUTH_FAIL_ACTION_REDIRECT",
static_files=gcp.appengine.FlexibleAppVersionHandlerStaticFilesArgs(
path="my-other-path",
upload_path_regex=".*\\/my-path\\/*",
),
)],
automatic_scaling=gcp.appengine.FlexibleAppVersionAutomaticScalingArgs(
cool_down_period="120s",
cpu_utilization=gcp.appengine.FlexibleAppVersionAutomaticScalingCpuUtilizationArgs(
target_utilization=0.5,
),
),
noop_on_destroy=True,
service_account=custom_service_account.email)
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myProject = new gcp.organizations.Project("myProject", {
projectId: "appeng-flex",
orgId: "123456789",
billingAccount: "000000-0000000-0000000-000000",
});
const app = new gcp.appengine.Application("app", {
project: myProject.projectId,
locationId: "us-central",
});
const service = new gcp.projects.Service("service", {
project: myProject.projectId,
service: "appengineflex.googleapis.com",
disableDependentServices: false,
});
const customServiceAccount = new gcp.serviceaccount.Account("customServiceAccount", {
project: service.project,
accountId: "my-account",
displayName: "Custom Service Account",
});
const gaeApi = new gcp.projects.IAMMember("gaeApi", {
project: service.project,
role: "roles/compute.networkUser",
member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
});
const logsWriter = new gcp.projects.IAMMember("logsWriter", {
project: service.project,
role: "roles/logging.logWriter",
member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
});
const storageViewer = new gcp.projects.IAMMember("storageViewer", {
project: service.project,
role: "roles/storage.objectViewer",
member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
});
const bucket = new gcp.storage.Bucket("bucket", {
project: myProject.projectId,
location: "US",
});
const object = new gcp.storage.BucketObject("object", {
bucket: bucket.name,
source: new pulumi.asset.FileAsset("./test-fixtures/appengine/hello-world.zip"),
});
const myappV1 = new gcp.appengine.FlexibleAppVersion("myappV1", {
versionId: "v1",
project: gaeApi.project,
service: "default",
runtime: "nodejs",
entrypoint: {
shell: "node ./app.js",
},
deployment: {
zip: {
sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
},
},
livenessCheck: {
path: "/",
},
readinessCheck: {
path: "/",
},
envVariables: {
port: "8080",
},
handlers: [{
urlRegex: ".*\\/my-path\\/*",
securityLevel: "SECURE_ALWAYS",
login: "LOGIN_REQUIRED",
authFailAction: "AUTH_FAIL_ACTION_REDIRECT",
staticFiles: {
path: "my-other-path",
uploadPathRegex: ".*\\/my-path\\/*",
},
}],
automaticScaling: {
coolDownPeriod: "120s",
cpuUtilization: {
targetUtilization: 0.5,
},
},
noopOnDestroy: true,
serviceAccount: customServiceAccount.email,
});
resources:
myProject:
type: gcp:organizations:Project
properties:
projectId: appeng-flex
orgId: '123456789'
billingAccount: 000000-0000000-0000000-000000
app:
type: gcp:appengine:Application
properties:
project: ${myProject.projectId}
locationId: us-central
service:
type: gcp:projects:Service
properties:
project: ${myProject.projectId}
service: appengineflex.googleapis.com
disableDependentServices: false
customServiceAccount:
type: gcp:serviceAccount:Account
properties:
project: ${service.project}
accountId: my-account
displayName: Custom Service Account
gaeApi:
type: gcp:projects:IAMMember
properties:
project: ${service.project}
role: roles/compute.networkUser
member: serviceAccount:${customServiceAccount.email}
logsWriter:
type: gcp:projects:IAMMember
properties:
project: ${service.project}
role: roles/logging.logWriter
member: serviceAccount:${customServiceAccount.email}
storageViewer:
type: gcp:projects:IAMMember
properties:
project: ${service.project}
role: roles/storage.objectViewer
member: serviceAccount:${customServiceAccount.email}
myappV1:
type: gcp:appengine:FlexibleAppVersion
properties:
versionId: v1
project: ${gaeApi.project}
service: default
runtime: nodejs
entrypoint:
shell: node ./app.js
deployment:
zip:
sourceUrl: https://storage.googleapis.com/${bucket.name}/${object.name}
livenessCheck:
path: /
readinessCheck:
path: /
envVariables:
port: '8080'
handlers:
- urlRegex: .*\/my-path\/*
securityLevel: SECURE_ALWAYS
login: LOGIN_REQUIRED
authFailAction: AUTH_FAIL_ACTION_REDIRECT
staticFiles:
path: my-other-path
uploadPathRegex: .*\/my-path\/*
automaticScaling:
coolDownPeriod: 120s
cpuUtilization:
targetUtilization: 0.5
noopOnDestroy: true
serviceAccount: ${customServiceAccount.email}
bucket:
type: gcp:storage:Bucket
properties:
project: ${myProject.projectId}
location: US
object:
type: gcp:storage:BucketObject
properties:
bucket: ${bucket.name}
source:
fn::FileAsset: ./test-fixtures/appengine/hello-world.zip
Create FlexibleAppVersion Resource
new FlexibleAppVersion(name: string, args: FlexibleAppVersionArgs, opts?: CustomResourceOptions);
@overload
def FlexibleAppVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_config: Optional[FlexibleAppVersionApiConfigArgs] = None,
automatic_scaling: Optional[FlexibleAppVersionAutomaticScalingArgs] = None,
beta_settings: Optional[Mapping[str, str]] = None,
default_expiration: Optional[str] = None,
delete_service_on_destroy: Optional[bool] = None,
deployment: Optional[FlexibleAppVersionDeploymentArgs] = None,
endpoints_api_service: Optional[FlexibleAppVersionEndpointsApiServiceArgs] = None,
entrypoint: Optional[FlexibleAppVersionEntrypointArgs] = None,
env_variables: Optional[Mapping[str, str]] = None,
handlers: Optional[Sequence[FlexibleAppVersionHandlerArgs]] = None,
inbound_services: Optional[Sequence[str]] = None,
instance_class: Optional[str] = None,
liveness_check: Optional[FlexibleAppVersionLivenessCheckArgs] = None,
manual_scaling: Optional[FlexibleAppVersionManualScalingArgs] = None,
network: Optional[FlexibleAppVersionNetworkArgs] = None,
nobuild_files_regex: Optional[str] = None,
noop_on_destroy: Optional[bool] = None,
project: Optional[str] = None,
readiness_check: Optional[FlexibleAppVersionReadinessCheckArgs] = None,
resources: Optional[FlexibleAppVersionResourcesArgs] = None,
runtime: Optional[str] = None,
runtime_api_version: Optional[str] = None,
runtime_channel: Optional[str] = None,
runtime_main_executable_path: Optional[str] = None,
service: Optional[str] = None,
service_account: Optional[str] = None,
serving_status: Optional[str] = None,
version_id: Optional[str] = None,
vpc_access_connector: Optional[FlexibleAppVersionVpcAccessConnectorArgs] = None)
@overload
def FlexibleAppVersion(resource_name: str,
args: FlexibleAppVersionArgs,
opts: Optional[ResourceOptions] = None)
func NewFlexibleAppVersion(ctx *Context, name string, args FlexibleAppVersionArgs, opts ...ResourceOption) (*FlexibleAppVersion, error)
public FlexibleAppVersion(string name, FlexibleAppVersionArgs args, CustomResourceOptions? opts = null)
public FlexibleAppVersion(String name, FlexibleAppVersionArgs args)
public FlexibleAppVersion(String name, FlexibleAppVersionArgs args, CustomResourceOptions options)
type: gcp:appengine:FlexibleAppVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FlexibleAppVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FlexibleAppVersionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FlexibleAppVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FlexibleAppVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FlexibleAppVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
FlexibleAppVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The FlexibleAppVersion resource accepts the following input properties:
- Liveness
Check FlexibleApp Version Liveness Check Args Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- Readiness
Check FlexibleApp Version Readiness Check Args 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.
- Api
Config FlexibleApp Version Api Config Args Serving configuration for Google Cloud Endpoints. Structure is documented below.
- Automatic
Scaling FlexibleApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- Beta
Settings Dictionary<string, string> Metadata settings that are supplied to this version to enable beta runtime features.
- Default
Expiration 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.
- Delete
Service boolOn Destroy If set to
true
, the service will be deleted if it is the last version.- Deployment
Flexible
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- Endpoints
Api FlexibleService App Version Endpoints Api Service Args Code and application artifacts that make up this version. Structure is documented below.
- Entrypoint
Flexible
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- Env
Variables Dictionary<string, string> Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- Handlers
List<Flexible
App Version Handler Args> An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- Inbound
Services List<string> A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,INBOUND_SERVICE_WARMUP
.- Instance
Class 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.
- Manual
Scaling FlexibleApp Version Manual Scaling Args A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- Network
Flexible
App Version Network Args Extra network settings Structure is documented below.
- Nobuild
Files stringRegex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- Noop
On boolDestroy If set to
true
, the application version will not be deleted.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Resources
Flexible
App Version Resources Args Machine resources for a version. Structure is documented below.
- Runtime
Api stringVersion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- Runtime
Channel string The channel of the runtime to use. Only available for some runtimes.
- Runtime
Main stringExecutable Path The path or name of the app's main executable.
- Service
Account 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.
- Serving
Status string Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is
SERVING
. Possible values are:SERVING
,STOPPED
.- Version
Id 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-".- Vpc
Access FlexibleConnector App Version Vpc Access Connector Args Enables VPC connectivity for standard apps. Structure is documented below.
- Liveness
Check FlexibleApp Version Liveness Check Args Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- Readiness
Check FlexibleApp Version Readiness Check Args 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.
- Api
Config FlexibleApp Version Api Config Args Serving configuration for Google Cloud Endpoints. Structure is documented below.
- Automatic
Scaling FlexibleApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- Beta
Settings map[string]string Metadata settings that are supplied to this version to enable beta runtime features.
- Default
Expiration 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.
- Delete
Service boolOn Destroy If set to
true
, the service will be deleted if it is the last version.- Deployment
Flexible
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- Endpoints
Api FlexibleService App Version Endpoints Api Service Args Code and application artifacts that make up this version. Structure is documented below.
- Entrypoint
Flexible
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- Env
Variables map[string]string Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- Handlers
[]Flexible
App Version Handler Args An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- Inbound
Services []string A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,INBOUND_SERVICE_WARMUP
.- Instance
Class 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.
- Manual
Scaling FlexibleApp Version Manual Scaling Args A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- Network
Flexible
App Version Network Args Extra network settings Structure is documented below.
- Nobuild
Files stringRegex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- Noop
On boolDestroy If set to
true
, the application version will not be deleted.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Resources
Flexible
App Version Resources Args Machine resources for a version. Structure is documented below.
- Runtime
Api stringVersion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- Runtime
Channel string The channel of the runtime to use. Only available for some runtimes.
- Runtime
Main stringExecutable Path The path or name of the app's main executable.
- Service
Account 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.
- Serving
Status string Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is
SERVING
. Possible values are:SERVING
,STOPPED
.- Version
Id 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-".- Vpc
Access FlexibleConnector App Version Vpc Access Connector Args Enables VPC connectivity for standard apps. Structure is documented below.
- liveness
Check FlexibleApp Version Liveness Check Args Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- readiness
Check FlexibleApp Version Readiness Check Args 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.
- api
Config FlexibleApp Version Api Config Args Serving configuration for Google Cloud Endpoints. Structure is documented below.
- automatic
Scaling FlexibleApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- beta
Settings Map<String,String> Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration 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.
- delete
Service BooleanOn Destroy If set to
true
, the service will be deleted if it is the last version.- deployment
Flexible
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- endpoints
Api FlexibleService App Version Endpoints Api Service Args Code and application artifacts that make up this version. Structure is documented below.
- entrypoint
Flexible
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- env
Variables Map<String,String> Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- handlers
List<Flexible
App Version Handler Args> An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- inbound
Services List<String> A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,INBOUND_SERVICE_WARMUP
.- instance
Class 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.
- manual
Scaling FlexibleApp Version Manual Scaling Args A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- network
Flexible
App Version Network Args Extra network settings Structure is documented below.
- nobuild
Files StringRegex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On BooleanDestroy If set to
true
, the application version will not be deleted.- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resources
Flexible
App Version Resources Args Machine resources for a version. Structure is documented below.
- runtime
Api StringVersion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- runtime
Channel String The channel of the runtime to use. Only available for some runtimes.
- runtime
Main StringExecutable Path The path or name of the app's main executable.
- service
Account 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.
- serving
Status String Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is
SERVING
. Possible values are:SERVING
,STOPPED
.- version
Id 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-".- vpc
Access FlexibleConnector App Version Vpc Access Connector Args Enables VPC connectivity for standard apps. Structure is documented below.
- liveness
Check FlexibleApp Version Liveness Check Args Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- readiness
Check FlexibleApp Version Readiness Check Args 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.
- api
Config FlexibleApp Version Api Config Args Serving configuration for Google Cloud Endpoints. Structure is documented below.
- automatic
Scaling FlexibleApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- beta
Settings {[key: string]: string} Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration 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.
- delete
Service booleanOn Destroy If set to
true
, the service will be deleted if it is the last version.- deployment
Flexible
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- endpoints
Api FlexibleService App Version Endpoints Api Service Args Code and application artifacts that make up this version. Structure is documented below.
- entrypoint
Flexible
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- env
Variables {[key: string]: string} Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- handlers
Flexible
App Version Handler Args[] An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- inbound
Services string[] A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,INBOUND_SERVICE_WARMUP
.- instance
Class 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.
- manual
Scaling FlexibleApp Version Manual Scaling Args A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- network
Flexible
App Version Network Args Extra network settings Structure is documented below.
- nobuild
Files stringRegex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On booleanDestroy If set to
true
, the application version will not be deleted.- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resources
Flexible
App Version Resources Args Machine resources for a version. Structure is documented below.
- runtime
Api stringVersion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- runtime
Channel string The channel of the runtime to use. Only available for some runtimes.
- runtime
Main stringExecutable Path The path or name of the app's main executable.
- service
Account 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.
- serving
Status string Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is
SERVING
. Possible values are:SERVING
,STOPPED
.- version
Id 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-".- vpc
Access FlexibleConnector App Version Vpc Access Connector Args Enables VPC connectivity for standard apps. Structure is documented below.
- liveness_
check FlexibleApp Version Liveness Check Args Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- readiness_
check FlexibleApp Version Readiness Check Args 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 FlexibleApp Version Api Config Args Serving configuration for Google Cloud Endpoints. Structure is documented below.
- automatic_
scaling FlexibleApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- beta_
settings Mapping[str, str] Metadata settings that are supplied to this version to enable beta runtime features.
- default_
expiration str Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- delete_
service_ boolon_ destroy If set to
true
, the service will be deleted if it is the last version.- deployment
Flexible
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- endpoints_
api_ Flexibleservice App Version Endpoints Api Service Args Code and application artifacts that make up this version. Structure is documented below.
- entrypoint
Flexible
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- env_
variables Mapping[str, str] Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- handlers
Sequence[Flexible
App Version Handler Args] An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- inbound_
services Sequence[str] A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,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 FlexibleApp Version Manual Scaling Args A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- network
Flexible
App Version Network Args Extra network settings Structure is documented below.
- nobuild_
files_ strregex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop_
on_ booldestroy If set to
true
, the application version will not be deleted.- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resources
Flexible
App Version Resources Args Machine resources for a version. Structure is documented below.
- runtime_
api_ strversion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- runtime_
channel str The channel of the runtime to use. Only available for some runtimes.
- runtime_
main_ strexecutable_ path 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 is
SERVING
. Possible values are: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_ Flexibleconnector App Version Vpc Access Connector Args Enables VPC connectivity for standard apps. Structure is documented below.
- liveness
Check Property Map Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- readiness
Check 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.
- api
Config Property Map Serving configuration for Google Cloud Endpoints. Structure is documented below.
- automatic
Scaling Property Map Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- beta
Settings Map<String> Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration 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.
- delete
Service BooleanOn Destroy If set to
true
, the service will be deleted if it is the last version.- deployment Property Map
Code and application artifacts that make up this version. Structure is documented below.
- endpoints
Api Property MapService Code and application artifacts that make up this version. Structure is documented below.
- entrypoint Property Map
The entrypoint for the application. Structure is documented below.
- env
Variables Map<String> Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- handlers List<Property Map>
An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- inbound
Services List<String> A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,INBOUND_SERVICE_WARMUP
.- instance
Class 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.
- manual
Scaling Property Map A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- network Property Map
Extra network settings Structure is documented below.
- nobuild
Files StringRegex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On BooleanDestroy If set to
true
, the application version will not be deleted.- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resources Property Map
Machine resources for a version. Structure is documented below.
- runtime
Api StringVersion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- runtime
Channel String The channel of the runtime to use. Only available for some runtimes.
- runtime
Main StringExecutable Path The path or name of the app's main executable.
- service
Account 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.
- serving
Status String Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is
SERVING
. Possible values are:SERVING
,STOPPED
.- version
Id 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-".- vpc
Access Property MapConnector Enables VPC connectivity for standard apps. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the FlexibleAppVersion resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- id String
The provider-assigned unique ID for this managed resource.
- name String
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- id string
The provider-assigned unique ID for this managed resource.
- name string
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- id str
The provider-assigned unique ID for this managed resource.
- name str
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- id String
The provider-assigned unique ID for this managed resource.
- name String
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
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,
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.
- Api
Config FlexibleApp Version Api Config Args Serving configuration for Google Cloud Endpoints. Structure is documented below.
- Automatic
Scaling FlexibleApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- Beta
Settings Dictionary<string, string> Metadata settings that are supplied to this version to enable beta runtime features.
- Default
Expiration 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.
- Delete
Service boolOn Destroy If set to
true
, the service will be deleted if it is the last version.- Deployment
Flexible
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- Endpoints
Api FlexibleService App Version Endpoints Api Service Args Code and application artifacts that make up this version. Structure is documented below.
- Entrypoint
Flexible
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- Env
Variables Dictionary<string, string> Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- Handlers
List<Flexible
App Version Handler Args> An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- Inbound
Services List<string> A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,INBOUND_SERVICE_WARMUP
.- Instance
Class 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.
- Liveness
Check FlexibleApp Version Liveness Check Args Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- Manual
Scaling FlexibleApp Version Manual Scaling Args A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- Name string
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- Network
Flexible
App Version Network Args Extra network settings Structure is documented below.
- Nobuild
Files stringRegex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- Noop
On boolDestroy If set to
true
, the application version will not be deleted.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Readiness
Check FlexibleApp Version Readiness Check Args Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- Resources
Flexible
App Version Resources Args Machine resources for a version. Structure is documented below.
- Runtime string
Desired runtime. Example python27.
- Runtime
Api stringVersion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- Runtime
Channel string The channel of the runtime to use. Only available for some runtimes.
- Runtime
Main stringExecutable Path The path or name of the app's main executable.
- Service string
AppEngine service resource. Can contain numbers, letters, and hyphens.
- Service
Account 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.
- Serving
Status string Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is
SERVING
. Possible values are:SERVING
,STOPPED
.- Version
Id 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-".- Vpc
Access FlexibleConnector App Version Vpc Access Connector Args Enables VPC connectivity for standard apps. Structure is documented below.
- Api
Config FlexibleApp Version Api Config Args Serving configuration for Google Cloud Endpoints. Structure is documented below.
- Automatic
Scaling FlexibleApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- Beta
Settings map[string]string Metadata settings that are supplied to this version to enable beta runtime features.
- Default
Expiration 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.
- Delete
Service boolOn Destroy If set to
true
, the service will be deleted if it is the last version.- Deployment
Flexible
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- Endpoints
Api FlexibleService App Version Endpoints Api Service Args Code and application artifacts that make up this version. Structure is documented below.
- Entrypoint
Flexible
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- Env
Variables map[string]string Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- Handlers
[]Flexible
App Version Handler Args An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- Inbound
Services []string A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,INBOUND_SERVICE_WARMUP
.- Instance
Class 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.
- Liveness
Check FlexibleApp Version Liveness Check Args Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- Manual
Scaling FlexibleApp Version Manual Scaling Args A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- Name string
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- Network
Flexible
App Version Network Args Extra network settings Structure is documented below.
- Nobuild
Files stringRegex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- Noop
On boolDestroy If set to
true
, the application version will not be deleted.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Readiness
Check FlexibleApp Version Readiness Check Args Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- Resources
Flexible
App Version Resources Args Machine resources for a version. Structure is documented below.
- Runtime string
Desired runtime. Example python27.
- Runtime
Api stringVersion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- Runtime
Channel string The channel of the runtime to use. Only available for some runtimes.
- Runtime
Main stringExecutable Path The path or name of the app's main executable.
- Service string
AppEngine service resource. Can contain numbers, letters, and hyphens.
- Service
Account 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.
- Serving
Status string Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is
SERVING
. Possible values are:SERVING
,STOPPED
.- Version
Id 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-".- Vpc
Access FlexibleConnector App Version Vpc Access Connector Args Enables VPC connectivity for standard apps. Structure is documented below.
- api
Config FlexibleApp Version Api Config Args Serving configuration for Google Cloud Endpoints. Structure is documented below.
- automatic
Scaling FlexibleApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- beta
Settings Map<String,String> Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration 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.
- delete
Service BooleanOn Destroy If set to
true
, the service will be deleted if it is the last version.- deployment
Flexible
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- endpoints
Api FlexibleService App Version Endpoints Api Service Args Code and application artifacts that make up this version. Structure is documented below.
- entrypoint
Flexible
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- env
Variables Map<String,String> Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- handlers
List<Flexible
App Version Handler Args> An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- inbound
Services List<String> A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,INBOUND_SERVICE_WARMUP
.- instance
Class 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.
- liveness
Check FlexibleApp Version Liveness Check Args Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- manual
Scaling FlexibleApp Version Manual Scaling Args A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- name String
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- network
Flexible
App Version Network Args Extra network settings Structure is documented below.
- nobuild
Files StringRegex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On BooleanDestroy If set to
true
, the application version will not be deleted.- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- readiness
Check FlexibleApp Version Readiness Check Args Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- resources
Flexible
App Version Resources Args Machine resources for a version. Structure is documented below.
- runtime String
Desired runtime. Example python27.
- runtime
Api StringVersion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- runtime
Channel String The channel of the runtime to use. Only available for some runtimes.
- runtime
Main StringExecutable Path The path or name of the app's main executable.
- service String
AppEngine service resource. Can contain numbers, letters, and hyphens.
- service
Account 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.
- serving
Status String Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is
SERVING
. Possible values are:SERVING
,STOPPED
.- version
Id 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-".- vpc
Access FlexibleConnector App Version Vpc Access Connector Args Enables VPC connectivity for standard apps. Structure is documented below.
- api
Config FlexibleApp Version Api Config Args Serving configuration for Google Cloud Endpoints. Structure is documented below.
- automatic
Scaling FlexibleApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- beta
Settings {[key: string]: string} Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration 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.
- delete
Service booleanOn Destroy If set to
true
, the service will be deleted if it is the last version.- deployment
Flexible
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- endpoints
Api FlexibleService App Version Endpoints Api Service Args Code and application artifacts that make up this version. Structure is documented below.
- entrypoint
Flexible
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- env
Variables {[key: string]: string} Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- handlers
Flexible
App Version Handler Args[] An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- inbound
Services string[] A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,INBOUND_SERVICE_WARMUP
.- instance
Class 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.
- liveness
Check FlexibleApp Version Liveness Check Args Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- manual
Scaling FlexibleApp Version Manual Scaling Args A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- name string
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- network
Flexible
App Version Network Args Extra network settings Structure is documented below.
- nobuild
Files stringRegex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On booleanDestroy If set to
true
, the application version will not be deleted.- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- readiness
Check FlexibleApp Version Readiness Check Args Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- resources
Flexible
App Version Resources Args Machine resources for a version. Structure is documented below.
- runtime string
Desired runtime. Example python27.
- runtime
Api stringVersion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- runtime
Channel string The channel of the runtime to use. Only available for some runtimes.
- runtime
Main stringExecutable Path The path or name of the app's main executable.
- service string
AppEngine service resource. Can contain numbers, letters, and hyphens.
- service
Account 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.
- serving
Status string Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is
SERVING
. Possible values are:SERVING
,STOPPED
.- version
Id 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-".- vpc
Access FlexibleConnector App Version Vpc Access Connector Args Enables VPC connectivity for standard apps. Structure is documented below.
- api_
config FlexibleApp Version Api Config Args Serving configuration for Google Cloud Endpoints. Structure is documented below.
- automatic_
scaling FlexibleApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- beta_
settings Mapping[str, str] Metadata settings that are supplied to this version to enable beta runtime features.
- default_
expiration str Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
- delete_
service_ boolon_ destroy If set to
true
, the service will be deleted if it is the last version.- deployment
Flexible
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- endpoints_
api_ Flexibleservice App Version Endpoints Api Service Args Code and application artifacts that make up this version. Structure is documented below.
- entrypoint
Flexible
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- env_
variables Mapping[str, str] Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- handlers
Sequence[Flexible
App Version Handler Args] An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- inbound_
services Sequence[str] A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,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 FlexibleApp Version Liveness Check Args Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- manual_
scaling FlexibleApp Version Manual Scaling Args A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- name str
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- network
Flexible
App Version Network Args Extra network settings Structure is documented below.
- nobuild_
files_ strregex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop_
on_ booldestroy If set to
true
, the application version will not be deleted.- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- readiness_
check FlexibleApp Version Readiness Check Args Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- resources
Flexible
App Version Resources Args Machine resources for a version. Structure is documented below.
- runtime str
Desired runtime. Example python27.
- runtime_
api_ strversion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- runtime_
channel str The channel of the runtime to use. Only available for some runtimes.
- runtime_
main_ strexecutable_ path 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 is
SERVING
. Possible values are: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_ Flexibleconnector App Version Vpc Access Connector Args Enables VPC connectivity for standard apps. Structure is documented below.
- api
Config Property Map Serving configuration for Google Cloud Endpoints. Structure is documented below.
- automatic
Scaling Property Map Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- beta
Settings Map<String> Metadata settings that are supplied to this version to enable beta runtime features.
- default
Expiration 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.
- delete
Service BooleanOn Destroy If set to
true
, the service will be deleted if it is the last version.- deployment Property Map
Code and application artifacts that make up this version. Structure is documented below.
- endpoints
Api Property MapService Code and application artifacts that make up this version. Structure is documented below.
- entrypoint Property Map
The entrypoint for the application. Structure is documented below.
- env
Variables Map<String> Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
- handlers List<Property Map>
An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
- inbound
Services List<String> A list of the types of messages that this application is able to receive. Each value may be one of:
INBOUND_SERVICE_MAIL
,INBOUND_SERVICE_MAIL_BOUNCE
,INBOUND_SERVICE_XMPP_ERROR
,INBOUND_SERVICE_XMPP_MESSAGE
,INBOUND_SERVICE_XMPP_SUBSCRIBE
,INBOUND_SERVICE_XMPP_PRESENCE
,INBOUND_SERVICE_CHANNEL_PRESENCE
,INBOUND_SERVICE_WARMUP
.- instance
Class 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.
- liveness
Check Property Map Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
- manual
Scaling Property Map A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
- name String
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. (Required) Unique name for the volume. (Required) Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" (Required) Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- network Property Map
Extra network settings Structure is documented below.
- nobuild
Files StringRegex Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
- noop
On BooleanDestroy If set to
true
, the application version will not be deleted.- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- readiness
Check Property Map Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
- resources Property Map
Machine resources for a version. Structure is documented below.
- runtime String
Desired runtime. Example python27.
- runtime
Api StringVersion The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at
https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute<language>
withpython
,java
,php
,ruby
,go
ornodejs
.- runtime
Channel String The channel of the runtime to use. Only available for some runtimes.
- runtime
Main StringExecutable Path The path or name of the app's main executable.
- service String
AppEngine service resource. Can contain numbers, letters, and hyphens.
- service
Account 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.
- serving
Status String Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is
SERVING
. Possible values are:SERVING
,STOPPED
.- version
Id 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-".- vpc
Access Property MapConnector Enables VPC connectivity for standard apps. Structure is documented below.
Supporting Types
FlexibleAppVersionApiConfig
- Script string
Path to the script from the application root directory.
- Auth
Fail stringAction 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
.- Security
Level 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.
- Auth
Fail stringAction 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
.- Security
Level 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.
- auth
Fail StringAction 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
.- security
Level 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.
- auth
Fail stringAction 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
.- security
Level 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_ straction 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.
- auth
Fail StringAction 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
.- security
Level 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
- Cpu
Utilization FlexibleApp Version Automatic Scaling Cpu Utilization Target scaling by CPU usage. Structure is documented below.
- Cool
Down stringPeriod 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 FlexibleApp Version Automatic Scaling Disk Utilization Target scaling by disk usage. Structure is documented below.
- Max
Concurrent intRequests 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 intInstances Maximum number of idle instances that should be maintained for this version.
- Max
Pending stringLatency Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- Max
Total intInstances Maximum number of instances that should be started to handle requests for this version. Default: 20
- Min
Idle intInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- Min
Pending stringLatency Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- Min
Total intInstances Minimum number of running instances that should be maintained for this version. Default: 2
- Network
Utilization FlexibleApp Version Automatic Scaling Network Utilization Target scaling by network usage. Structure is documented below.
- Request
Utilization FlexibleApp Version Automatic Scaling Request Utilization Target scaling by request utilization. Structure is documented below.
- Cpu
Utilization FlexibleApp Version Automatic Scaling Cpu Utilization Target scaling by CPU usage. Structure is documented below.
- Cool
Down stringPeriod 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 FlexibleApp Version Automatic Scaling Disk Utilization Target scaling by disk usage. Structure is documented below.
- Max
Concurrent intRequests 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 intInstances Maximum number of idle instances that should be maintained for this version.
- Max
Pending stringLatency Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- Max
Total intInstances Maximum number of instances that should be started to handle requests for this version. Default: 20
- Min
Idle intInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- Min
Pending stringLatency Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- Min
Total intInstances Minimum number of running instances that should be maintained for this version. Default: 2
- Network
Utilization FlexibleApp Version Automatic Scaling Network Utilization Target scaling by network usage. Structure is documented below.
- Request
Utilization FlexibleApp Version Automatic Scaling Request Utilization Target scaling by request utilization. Structure is documented below.
- cpu
Utilization FlexibleApp Version Automatic Scaling Cpu Utilization Target scaling by CPU usage. Structure is documented below.
- cool
Down StringPeriod 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 FlexibleApp Version Automatic Scaling Disk Utilization Target scaling by disk usage. Structure is documented below.
- max
Concurrent IntegerRequests 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 IntegerInstances Maximum number of idle instances that should be maintained for this version.
- max
Pending StringLatency Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- max
Total IntegerInstances Maximum number of instances that should be started to handle requests for this version. Default: 20
- min
Idle IntegerInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- min
Pending StringLatency Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- min
Total IntegerInstances Minimum number of running instances that should be maintained for this version. Default: 2
- network
Utilization FlexibleApp Version Automatic Scaling Network Utilization Target scaling by network usage. Structure is documented below.
- request
Utilization FlexibleApp Version Automatic Scaling Request Utilization Target scaling by request utilization. Structure is documented below.
- cpu
Utilization FlexibleApp Version Automatic Scaling Cpu Utilization Target scaling by CPU usage. Structure is documented below.
- cool
Down stringPeriod 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 FlexibleApp Version Automatic Scaling Disk Utilization Target scaling by disk usage. Structure is documented below.
- max
Concurrent numberRequests 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 numberInstances Maximum number of idle instances that should be maintained for this version.
- max
Pending stringLatency Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- max
Total numberInstances Maximum number of instances that should be started to handle requests for this version. Default: 20
- min
Idle numberInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- min
Pending stringLatency Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- min
Total numberInstances Minimum number of running instances that should be maintained for this version. Default: 2
- network
Utilization FlexibleApp Version Automatic Scaling Network Utilization Target scaling by network usage. Structure is documented below.
- request
Utilization FlexibleApp Version Automatic Scaling Request Utilization Target scaling by request utilization. Structure is documented below.
- cpu_
utilization FlexibleApp Version Automatic Scaling Cpu Utilization Target scaling by CPU usage. Structure is documented below.
- cool_
down_ strperiod 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 FlexibleApp Version Automatic Scaling Disk Utilization Target scaling by disk usage. Structure is documented below.
- max_
concurrent_ intrequests 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_ intinstances Maximum number of idle instances that should be maintained for this version.
- max_
pending_ strlatency Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- max_
total_ intinstances Maximum number of instances that should be started to handle requests for this version. Default: 20
- min_
idle_ intinstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- min_
pending_ strlatency Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- min_
total_ intinstances Minimum number of running instances that should be maintained for this version. Default: 2
- network_
utilization FlexibleApp Version Automatic Scaling Network Utilization Target scaling by network usage. Structure is documented below.
- request_
utilization FlexibleApp Version Automatic Scaling Request Utilization Target scaling by request utilization. Structure is documented below.
- cpu
Utilization Property Map Target scaling by CPU usage. Structure is documented below.
- cool
Down StringPeriod 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 Property Map Target scaling by disk usage. Structure is documented below.
- max
Concurrent NumberRequests 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 NumberInstances Maximum number of idle instances that should be maintained for this version.
- max
Pending StringLatency Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
- max
Total NumberInstances Maximum number of instances that should be started to handle requests for this version. Default: 20
- min
Idle NumberInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- min
Pending StringLatency Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
- min
Total NumberInstances Minimum number of running instances that should be maintained for this version. Default: 2
- network
Utilization Property Map Target scaling by network usage. Structure is documented below.
- request
Utilization Property Map Target scaling by request utilization. Structure is documented below.
FlexibleAppVersionAutomaticScalingCpuUtilization
- Target
Utilization double Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- Aggregation
Window stringLength Period of time over which CPU utilization is calculated.
- Target
Utilization float64 Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- Aggregation
Window stringLength Period of time over which CPU utilization is calculated.
- target
Utilization Double Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- aggregation
Window StringLength Period of time over which CPU utilization is calculated.
- target
Utilization number Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- aggregation
Window stringLength 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_ strlength Period of time over which CPU utilization is calculated.
- target
Utilization Number Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
- aggregation
Window StringLength Period of time over which CPU utilization is calculated.
FlexibleAppVersionAutomaticScalingDiskUtilization
- Target
Read intBytes Per Second Target bytes read per second.
- Target
Read intOps Per Second Target ops read per seconds.
- Target
Write intBytes Per Second Target bytes written per second.
- Target
Write intOps Per Second Target ops written per second.
- Target
Read intBytes Per Second Target bytes read per second.
- Target
Read intOps Per Second Target ops read per seconds.
- Target
Write intBytes Per Second Target bytes written per second.
- Target
Write intOps Per Second Target ops written per second.
- target
Read IntegerBytes Per Second Target bytes read per second.
- target
Read IntegerOps Per Second Target ops read per seconds.
- target
Write IntegerBytes Per Second Target bytes written per second.
- target
Write IntegerOps Per Second Target ops written per second.
- target
Read numberBytes Per Second Target bytes read per second.
- target
Read numberOps Per Second Target ops read per seconds.
- target
Write numberBytes Per Second Target bytes written per second.
- target
Write numberOps Per Second Target ops written per second.
- target_
read_ intbytes_ per_ second Target bytes read per second.
- target_
read_ intops_ per_ second Target ops read per seconds.
- target_
write_ intbytes_ per_ second Target bytes written per second.
- target_
write_ intops_ per_ second Target ops written per second.
- target
Read NumberBytes Per Second Target bytes read per second.
- target
Read NumberOps Per Second Target ops read per seconds.
- target
Write NumberBytes Per Second Target bytes written per second.
- target
Write NumberOps Per Second Target ops written per second.
FlexibleAppVersionAutomaticScalingNetworkUtilization
- Target
Received intBytes Per Second Target bytes received per second.
- Target
Received intPackets Per Second Target packets received per second.
- Target
Sent intBytes Per Second Target bytes sent per second.
- Target
Sent intPackets Per Second Target packets sent per second.
- Target
Received intBytes Per Second Target bytes received per second.
- Target
Received intPackets Per Second Target packets received per second.
- Target
Sent intBytes Per Second Target bytes sent per second.
- Target
Sent intPackets Per Second Target packets sent per second.
- target
Received IntegerBytes Per Second Target bytes received per second.
- target
Received IntegerPackets Per Second Target packets received per second.
- target
Sent IntegerBytes Per Second Target bytes sent per second.
- target
Sent IntegerPackets Per Second Target packets sent per second.
- target
Received numberBytes Per Second Target bytes received per second.
- target
Received numberPackets Per Second Target packets received per second.
- target
Sent numberBytes Per Second Target bytes sent per second.
- target
Sent numberPackets Per Second Target packets sent per second.
- target_
received_ intbytes_ per_ second Target bytes received per second.
- target_
received_ intpackets_ per_ second Target packets received per second.
- target_
sent_ intbytes_ per_ second Target bytes sent per second.
- target_
sent_ intpackets_ per_ second Target packets sent per second.
- target
Received NumberBytes Per Second Target bytes received per second.
- target
Received NumberPackets Per Second Target packets received per second.
- target
Sent NumberBytes Per Second Target bytes sent per second.
- target
Sent NumberPackets Per Second Target packets sent per second.
FlexibleAppVersionAutomaticScalingRequestUtilization
- Target
Concurrent doubleRequests Target number of concurrent requests.
- Target
Request stringCount Per Second Target requests per second.
- Target
Concurrent float64Requests Target number of concurrent requests.
- Target
Request stringCount Per Second Target requests per second.
- target
Concurrent DoubleRequests Target number of concurrent requests.
- target
Request StringCount Per Second Target requests per second.
- target
Concurrent numberRequests Target number of concurrent requests.
- target
Request stringCount Per Second Target requests per second.
- target_
concurrent_ floatrequests Target number of concurrent requests.
- target_
request_ strcount_ per_ second Target requests per second.
- target
Concurrent NumberRequests Target number of concurrent requests.
- target
Request StringCount Per Second Target requests per second.
FlexibleAppVersionDeployment
- Cloud
Build FlexibleOptions App Version Deployment Cloud Build Options 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
Flexible
App Version Deployment Container The Docker image for the container that runs the version. Structure is documented below.
- Files
List<Flexible
App Version Deployment File> 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
Flexible
App Version Deployment Zip Zip File Structure is documented below.
- Cloud
Build FlexibleOptions App Version Deployment Cloud Build Options 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
Flexible
App Version Deployment Container The Docker image for the container that runs the version. Structure is documented below.
- Files
[]Flexible
App Version Deployment File 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
Flexible
App Version Deployment Zip Zip File Structure is documented below.
- cloud
Build FlexibleOptions App Version Deployment Cloud Build Options 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
Flexible
App Version Deployment Container The Docker image for the container that runs the version. Structure is documented below.
- files
List<Flexible
App Version Deployment File> 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
Flexible
App Version Deployment Zip Zip File Structure is documented below.
- cloud
Build FlexibleOptions App Version Deployment Cloud Build Options 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
Flexible
App Version Deployment Container The Docker image for the container that runs the version. Structure is documented below.
- files
Flexible
App Version Deployment File[] 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
Flexible
App Version Deployment Zip Zip File Structure is documented below.
- cloud_
build_ Flexibleoptions App Version Deployment Cloud Build Options 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
Flexible
App Version Deployment Container The Docker image for the container that runs the version. Structure is documented below.
- files
Sequence[Flexible
App Version Deployment File] 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
Flexible
App Version Deployment Zip Zip File Structure is documented below.
- cloud
Build Property MapOptions 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
- App
Yaml stringPath Path to the yaml file used in deployment, used to determine runtime configuration details.
- Cloud
Build stringTimeout 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 stringPath Path to the yaml file used in deployment, used to determine runtime configuration details.
- Cloud
Build stringTimeout 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 StringPath Path to the yaml file used in deployment, used to determine runtime configuration details.
- cloud
Build StringTimeout 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 stringPath Path to the yaml file used in deployment, used to determine runtime configuration details.
- cloud
Build stringTimeout 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_ strpath Path to the yaml file used in deployment, used to determine runtime configuration details.
- cloud_
build_ strtimeout 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 StringPath Path to the yaml file used in deployment, used to determine runtime configuration details.
- cloud
Build StringTimeout The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
FlexibleAppVersionDeploymentContainer
- Image string
URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
- Image string
URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
- image String
URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
- image string
URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
- image str
URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
- image String
URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
FlexibleAppVersionDeploymentFile
- name str
The identifier for this object. Format specified above.
- source_
url str Source URL
- sha1_
sum str SHA1 checksum of the file
FlexibleAppVersionDeploymentZip
- Source
Url string Source URL
- Files
Count int files count
- Source
Url string Source URL
- Files
Count int files count
- source
Url String Source URL
- files
Count Integer files count
- source
Url string Source URL
- files
Count number files count
- source_
url str Source URL
- files_
count int files count
- source
Url String Source URL
- files
Count Number files count
FlexibleAppVersionEndpointsApiService
- 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"
- Config
Id 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.
- Disable
Trace boolSampling Enable or disable trace sampling. By default, this is set to false for enabled.
- Rollout
Strategy 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"
- Config
Id 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.
- Disable
Trace boolSampling Enable or disable trace sampling. By default, this is set to false for enabled.
- Rollout
Strategy 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"
- config
Id 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.
- disable
Trace BooleanSampling Enable or disable trace sampling. By default, this is set to false for enabled.
- rollout
Strategy 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"
- config
Id 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.
- disable
Trace booleanSampling Enable or disable trace sampling. By default, this is set to false for enabled.
- rollout
Strategy 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_ boolsampling 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"
- config
Id 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.
- disable
Trace BooleanSampling Enable or disable trace sampling. By default, this is set to false for enabled.
- rollout
Strategy 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
- Shell string
The format should be a shell command that can be fed to bash -c.
- Shell string
The format should be a shell command that can be fed to bash -c.
- shell String
The format should be a shell command that can be fed to bash -c.
- shell string
The format should be a shell command that can be fed to bash -c.
- shell str
The format should be a shell command that can be fed to bash -c.
- shell String
The format should be a shell command that can be fed to bash -c.
FlexibleAppVersionHandler
- Auth
Fail stringAction 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
.- Redirect
Http stringResponse Code 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
Flexible
App Version Handler Script 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 string Security (HTTPS) enforcement for this URL. Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
.- Static
Files FlexibleApp Version Handler Static Files 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 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 stringAction 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
.- Redirect
Http stringResponse Code 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
Flexible
App Version Handler Script 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 string Security (HTTPS) enforcement for this URL. Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
.- Static
Files FlexibleApp Version Handler Static Files 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 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 StringAction 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
.- redirect
Http StringResponse Code 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
Flexible
App Version Handler Script 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 String Security (HTTPS) enforcement for this URL. Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
.- static
Files FlexibleApp Version Handler Static Files 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 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 stringAction 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
.- redirect
Http stringResponse Code 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
Flexible
App Version Handler Script 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 string Security (HTTPS) enforcement for this URL. Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
.- static
Files FlexibleApp Version Handler Static Files 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 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_ straction 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_ strresponse_ code 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
Flexible
App Version Handler Script 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 FlexibleApp Version Handler Static Files 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.
- auth
Fail StringAction 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
.- redirect
Http StringResponse Code 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.
- security
Level String Security (HTTPS) enforcement for this URL. Possible values are:
SECURE_DEFAULT
,SECURE_NEVER
,SECURE_OPTIONAL
,SECURE_ALWAYS
.- static
Files 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.
- url
Regex 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
- Script
Path string Path to the script from the application root directory.
- Script
Path string Path to the script from the application root directory.
- script
Path String Path to the script from the application root directory.
- script
Path string Path to the script from the application root directory.
- script_
path str Path to the script from the application root directory.
- script
Path String Path to the script from the application root directory.
FlexibleAppVersionHandlerStaticFiles
- 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 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'
- Http
Headers Dictionary<string, string> HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- Mime
Type 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.
- Require
Matching boolFile Whether this handler should match the request if the file referenced by the handler does not exist.
- Upload
Path stringRegex 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 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'
- Http
Headers map[string]string HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- Mime
Type 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.
- Require
Matching boolFile Whether this handler should match the request if the file referenced by the handler does not exist.
- Upload
Path stringRegex Regular expression that matches the file paths for all files that should be referenced by this handler.
- application
Readable 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'
- http
Headers Map<String,String> HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- mime
Type 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.
- require
Matching BooleanFile Whether this handler should match the request if the file referenced by the handler does not exist.
- upload
Path StringRegex Regular expression that matches the file paths for all files that should be referenced by this handler.
- application
Readable 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'
- http
Headers {[key: string]: string} HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- mime
Type 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.
- require
Matching booleanFile Whether this handler should match the request if the file referenced by the handler does not exist.
- upload
Path stringRegex 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_ boolfile Whether this handler should match the request if the file referenced by the handler does not exist.
- upload_
path_ strregex Regular expression that matches the file paths for all files that should be referenced by this handler.
- application
Readable 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'
- http
Headers Map<String> HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".
- mime
Type 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.
- require
Matching BooleanFile Whether this handler should match the request if the file referenced by the handler does not exist.
- upload
Path StringRegex Regular expression that matches the file paths for all files that should be referenced by this handler.
FlexibleAppVersionLivenessCheck
- Path string
The request path.
- Check
Interval string Interval between health checks.
- Failure
Threshold 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"
- Initial
Delay string The initial delay before starting to execute the checks. Default: "300s"
- Success
Threshold 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.
- Check
Interval string Interval between health checks.
- Failure
Threshold 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"
- Initial
Delay string The initial delay before starting to execute the checks. Default: "300s"
- Success
Threshold 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.
- check
Interval String Interval between health checks.
- failure
Threshold 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"
- initial
Delay String The initial delay before starting to execute the checks. Default: "300s"
- success
Threshold 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.
- check
Interval string Interval between health checks.
- failure
Threshold 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"
- initial
Delay string The initial delay before starting to execute the checks. Default: "300s"
- success
Threshold 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.
- check
Interval String Interval between health checks.
- failure
Threshold 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"
- initial
Delay String The initial delay before starting to execute the checks. Default: "300s"
- success
Threshold Number Number of consecutive successful checks required before considering the VM healthy. Default: 2.
- timeout String
Time before the check is considered failed. Default: "4s"
FlexibleAppVersionManualScaling
- Instances int
Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
- Instances int
Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
- instances Integer
Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
- instances number
Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
- instances int
Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
- instances Number
Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]
to prevent drift detection.
FlexibleAppVersionNetwork
- Name string
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.
- Forwarded
Ports List<string> List of ports, or port pairs, to forward from the virtual machine to the application container.
- Instance
Tag string Tag to apply to the instance during creation.
- Session
Affinity 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.
- Forwarded
Ports []string List of ports, or port pairs, to forward from the virtual machine to the application container.
- Instance
Tag string Tag to apply to the instance during creation.
- Session
Affinity 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.
- forwarded
Ports List<String> List of ports, or port pairs, to forward from the virtual machine to the application container.
- instance
Tag String Tag to apply to the instance during creation.
- session
Affinity 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.
- forwarded
Ports string[] List of ports, or port pairs, to forward from the virtual machine to the application container.
- instance
Tag string Tag to apply to the instance during creation.
- session
Affinity 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_
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.
- forwarded
Ports List<String> List of ports, or port pairs, to forward from the virtual machine to the application container.
- instance
Tag String Tag to apply to the instance during creation.
- session
Affinity Boolean Enable session affinity.
- subnetwork String
Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
FlexibleAppVersionReadinessCheck
- Path string
The request path.
- App
Start stringTimeout 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 string Interval between health checks. Default: "5s".
- Failure
Threshold 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"
- Success
Threshold 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.
- App
Start stringTimeout 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 string Interval between health checks. Default: "5s".
- Failure
Threshold 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"
- Success
Threshold 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.
- app
Start StringTimeout 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 String Interval between health checks. Default: "5s".
- failure
Threshold 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"
- success
Threshold 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.
- app
Start stringTimeout 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 string Interval between health checks. Default: "5s".
- failure
Threshold 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"
- success
Threshold 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_ strtimeout 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.
- app
Start StringTimeout 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 String Interval between health checks. Default: "5s".
- failure
Threshold 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"
- success
Threshold Number Number of consecutive successful checks required before receiving traffic. Default: 2.
- timeout String
Time before the check is considered failed. Default: "4s"
FlexibleAppVersionResources
- Cpu int
Number of CPU cores needed.
- Disk
Gb int Disk size (GB) needed.
- Memory
Gb double Memory (GB) needed.
- Volumes
List<Flexible
App Version Resources Volume> 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 float64 Memory (GB) needed.
- Volumes
[]Flexible
App Version Resources Volume 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.
- disk
Gb Integer Disk size (GB) needed.
- memory
Gb Double Memory (GB) needed.
- volumes
List<Flexible
App Version Resources Volume> 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.
- disk
Gb number Disk size (GB) needed.
- memory
Gb number Memory (GB) needed.
- volumes
Flexible
App Version Resources Volume[] 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[Flexible
App Version Resources Volume] 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.
- disk
Gb Number Disk size (GB) needed.
- memory
Gb Number Memory (GB) needed.
- volumes List<Property Map>
List of ports, or port pairs, to forward from the virtual machine to the application container. Structure is documented below.
FlexibleAppVersionResourcesVolume
- Name string
Unique name for the volume.
- Size
Gb int Volume size in gigabytes.
- Volume
Type string Underlying volume type, e.g. 'tmpfs'.
- Name string
Unique name for the volume.
- Size
Gb int Volume size in gigabytes.
- Volume
Type string Underlying volume type, e.g. 'tmpfs'.
- name String
Unique name for the volume.
- size
Gb Integer Volume size in gigabytes.
- volume
Type String Underlying volume type, e.g. 'tmpfs'.
- name string
Unique name for the volume.
- size
Gb number Volume size in gigabytes.
- volume
Type 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.
- size
Gb Number Volume size in gigabytes.
- volume
Type String Underlying volume type, e.g. 'tmpfs'.
FlexibleAppVersionVpcAccessConnector
- Name string
Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- Name string
Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- name String
Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- name string
Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- name str
Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
- name String
Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
Import
FlexibleAppVersion can be imported using any of these accepted formats
$ pulumi import gcp:appengine/flexibleAppVersion:FlexibleAppVersion default apps/{{project}}/services/{{service}}/versions/{{version_id}}
$ pulumi import gcp:appengine/flexibleAppVersion:FlexibleAppVersion default {{project}}/{{service}}/{{version_id}}
$ pulumi import gcp:appengine/flexibleAppVersion:FlexibleAppVersion default {{service}}/{{version_id}}
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
google-beta
Terraform Provider.