FlexibleAppVersion

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

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

To get more information about FlexibleAppVersion, see:

Create a FlexibleAppVersion Resource

def FlexibleAppVersion(resource_name, opts=None, api_config=None, automatic_scaling=None, beta_settings=None, default_expiration=None, delete_service_on_destroy=None, deployment=None, endpoints_api_service=None, entrypoint=None, env_variables=None, handlers=None, inbound_services=None, instance_class=None, liveness_check=None, manual_scaling=None, network=None, nobuild_files_regex=None, noop_on_destroy=None, project=None, readiness_check=None, resources=None, runtime=None, runtime_api_version=None, runtime_channel=None, runtime_main_executable_path=None, service=None, serving_status=None, version_id=None, vpc_access_connector=None, __props__=None);
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.
opts ResourceOptions
A bag of options that control this 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.

FlexibleAppVersion Resource Properties

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

Inputs

The FlexibleAppVersion resource accepts the following input properties:

LivenessCheck FlexibleAppVersionLivenessCheckArgs

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

ReadinessCheck FlexibleAppVersionReadinessCheckArgs

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

Runtime string

Desired runtime. Example python27.

Service string

AppEngine service resource

ApiConfig FlexibleAppVersionApiConfigArgs

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

AutomaticScaling FlexibleAppVersionAutomaticScalingArgs

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

BetaSettings Dictionary<string, string>

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

DefaultExpiration string

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

DeleteServiceOnDestroy bool

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

Deployment FlexibleAppVersionDeploymentArgs

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

EndpointsApiService FlexibleAppVersionEndpointsApiServiceArgs

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

Entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

EnvVariables Dictionary<string, string>

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

Handlers List<FlexibleAppVersionHandlerArgs>

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

InboundServices List<string>

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

InstanceClass string

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

ManualScaling FlexibleAppVersionManualScalingArgs

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

Network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

NobuildFilesRegex string

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

NoopOnDestroy bool

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

Project string

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

Resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

RuntimeChannel string

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

RuntimeMainExecutablePath string

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

ServingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

VersionId string

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

VpcAccessConnector FlexibleAppVersionVpcAccessConnectorArgs

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

LivenessCheck FlexibleAppVersionLivenessCheck

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

ReadinessCheck FlexibleAppVersionReadinessCheck

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

Runtime string

Desired runtime. Example python27.

Service string

AppEngine service resource

ApiConfig FlexibleAppVersionApiConfig

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

AutomaticScaling FlexibleAppVersionAutomaticScaling

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

BetaSettings map[string]string

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

DefaultExpiration string

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

DeleteServiceOnDestroy bool

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

Deployment FlexibleAppVersionDeployment

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

EndpointsApiService FlexibleAppVersionEndpointsApiService

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

Entrypoint FlexibleAppVersionEntrypoint

The entrypoint for the application. Structure is documented below.

EnvVariables map[string]string

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

Handlers []FlexibleAppVersionHandler

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

InboundServices []string

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

InstanceClass string

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

ManualScaling FlexibleAppVersionManualScaling

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

Network FlexibleAppVersionNetwork

Extra network settings Structure is documented below.

NobuildFilesRegex string

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

NoopOnDestroy bool

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

Project string

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

Resources FlexibleAppVersionResources

Machine resources for a version. Structure is documented below.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

RuntimeChannel string

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

RuntimeMainExecutablePath string

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

ServingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

VersionId string

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

VpcAccessConnector FlexibleAppVersionVpcAccessConnector

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

livenessCheck FlexibleAppVersionLivenessCheck

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

readinessCheck FlexibleAppVersionReadinessCheck

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

runtime string

Desired runtime. Example python27.

service string

AppEngine service resource

apiConfig FlexibleAppVersionApiConfig

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

automaticScaling FlexibleAppVersionAutomaticScaling

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

betaSettings {[key: string]: string}

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

defaultExpiration string

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

deleteServiceOnDestroy boolean

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

deployment FlexibleAppVersionDeployment

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

endpointsApiService FlexibleAppVersionEndpointsApiService

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

entrypoint FlexibleAppVersionEntrypoint

The entrypoint for the application. Structure is documented below.

envVariables {[key: string]: string}

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

handlers FlexibleAppVersionHandler[]

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

inboundServices string[]

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

instanceClass string

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

manualScaling FlexibleAppVersionManualScaling

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

network FlexibleAppVersionNetwork

Extra network settings Structure is documented below.

nobuildFilesRegex string

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

noopOnDestroy boolean

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

project string

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

resources FlexibleAppVersionResources

Machine resources for a version. Structure is documented below.

runtimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

runtimeChannel string

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

runtimeMainExecutablePath string

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

servingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

versionId string

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

vpcAccessConnector FlexibleAppVersionVpcAccessConnector

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

liveness_check Dict[FlexibleAppVersionLivenessCheck]

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

readiness_check Dict[FlexibleAppVersionReadinessCheck]

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

api_config Dict[FlexibleAppVersionApiConfig]

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

automatic_scaling Dict[FlexibleAppVersionAutomaticScaling]

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

beta_settings Dict[str, str]

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

default_expiration str

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

delete_service_on_destroy bool

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

deployment Dict[FlexibleAppVersionDeployment]

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

endpoints_api_service Dict[FlexibleAppVersionEndpointsApiService]

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

entrypoint Dict[FlexibleAppVersionEntrypoint]

The entrypoint for the application. Structure is documented below.

env_variables Dict[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 List[FlexibleAppVersionHandler]

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

inbound_services List[str]

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

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 Dict[FlexibleAppVersionManualScaling]

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 Dict[FlexibleAppVersionNetwork]

Extra network settings Structure is documented below.

nobuild_files_regex str

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

noop_on_destroy bool

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

project str

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

resources Dict[FlexibleAppVersionResources]

Machine resources for a version. Structure is documented below.

runtime_api_version str

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

runtime_channel str

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

runtime_main_executable_path str

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

serving_status str

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

version_id str

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

vpc_access_connector Dict[FlexibleAppVersionVpcAccessConnector]

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

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Name string

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

Id string
The provider-assigned unique ID for this managed resource.
Name string

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

id string
The provider-assigned unique ID for this managed resource.
name string

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

id str
The provider-assigned unique ID for this managed resource.
name str

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

Look up an Existing FlexibleAppVersion Resource

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

public static get(name: string, id: Input<ID>, state?: FlexibleAppVersionState, opts?: CustomResourceOptions): FlexibleAppVersion
static get(resource_name, id, opts=None, api_config=None, automatic_scaling=None, beta_settings=None, default_expiration=None, delete_service_on_destroy=None, deployment=None, endpoints_api_service=None, entrypoint=None, env_variables=None, handlers=None, inbound_services=None, instance_class=None, liveness_check=None, manual_scaling=None, name=None, network=None, nobuild_files_regex=None, noop_on_destroy=None, project=None, readiness_check=None, resources=None, runtime=None, runtime_api_version=None, runtime_channel=None, runtime_main_executable_path=None, service=None, serving_status=None, version_id=None, vpc_access_connector=None, __props__=None);
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)
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.

The following state arguments are supported:

ApiConfig FlexibleAppVersionApiConfigArgs

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

AutomaticScaling FlexibleAppVersionAutomaticScalingArgs

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

BetaSettings Dictionary<string, string>

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

DefaultExpiration string

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

DeleteServiceOnDestroy bool

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

Deployment FlexibleAppVersionDeploymentArgs

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

EndpointsApiService FlexibleAppVersionEndpointsApiServiceArgs

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

Entrypoint FlexibleAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

EnvVariables Dictionary<string, string>

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

Handlers List<FlexibleAppVersionHandlerArgs>

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

InboundServices List<string>

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

InstanceClass string

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

LivenessCheck FlexibleAppVersionLivenessCheckArgs

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

ManualScaling FlexibleAppVersionManualScalingArgs

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

Name string

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

Network FlexibleAppVersionNetworkArgs

Extra network settings Structure is documented below.

NobuildFilesRegex string

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

NoopOnDestroy bool

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

Project string

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

ReadinessCheck FlexibleAppVersionReadinessCheckArgs

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

Resources FlexibleAppVersionResourcesArgs

Machine resources for a version. Structure is documented below.

Runtime string

Desired runtime. Example python27.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

RuntimeChannel string

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

RuntimeMainExecutablePath string

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

Service string

AppEngine service resource

ServingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

VersionId string

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

VpcAccessConnector FlexibleAppVersionVpcAccessConnectorArgs

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

ApiConfig FlexibleAppVersionApiConfig

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

AutomaticScaling FlexibleAppVersionAutomaticScaling

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

BetaSettings map[string]string

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

DefaultExpiration string

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

DeleteServiceOnDestroy bool

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

Deployment FlexibleAppVersionDeployment

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

EndpointsApiService FlexibleAppVersionEndpointsApiService

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

Entrypoint FlexibleAppVersionEntrypoint

The entrypoint for the application. Structure is documented below.

EnvVariables map[string]string

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

Handlers []FlexibleAppVersionHandler

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

InboundServices []string

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

InstanceClass string

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

LivenessCheck FlexibleAppVersionLivenessCheck

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

ManualScaling FlexibleAppVersionManualScaling

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

Name string

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

Network FlexibleAppVersionNetwork

Extra network settings Structure is documented below.

NobuildFilesRegex string

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

NoopOnDestroy bool

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

Project string

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

ReadinessCheck FlexibleAppVersionReadinessCheck

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

Resources FlexibleAppVersionResources

Machine resources for a version. Structure is documented below.

Runtime string

Desired runtime. Example python27.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

RuntimeChannel string

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

RuntimeMainExecutablePath string

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

Service string

AppEngine service resource

ServingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

VersionId string

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

VpcAccessConnector FlexibleAppVersionVpcAccessConnector

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

apiConfig FlexibleAppVersionApiConfig

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

automaticScaling FlexibleAppVersionAutomaticScaling

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

betaSettings {[key: string]: string}

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

defaultExpiration string

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

deleteServiceOnDestroy boolean

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

deployment FlexibleAppVersionDeployment

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

endpointsApiService FlexibleAppVersionEndpointsApiService

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

entrypoint FlexibleAppVersionEntrypoint

The entrypoint for the application. Structure is documented below.

envVariables {[key: string]: string}

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

handlers FlexibleAppVersionHandler[]

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

inboundServices string[]

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

instanceClass string

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

livenessCheck FlexibleAppVersionLivenessCheck

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

manualScaling FlexibleAppVersionManualScaling

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

name string

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

network FlexibleAppVersionNetwork

Extra network settings Structure is documented below.

nobuildFilesRegex string

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

noopOnDestroy boolean

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

project string

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

readinessCheck FlexibleAppVersionReadinessCheck

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

resources FlexibleAppVersionResources

Machine resources for a version. Structure is documented below.

runtime string

Desired runtime. Example python27.

runtimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

runtimeChannel string

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

runtimeMainExecutablePath string

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

service string

AppEngine service resource

servingStatus string

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

versionId string

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

vpcAccessConnector FlexibleAppVersionVpcAccessConnector

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

api_config Dict[FlexibleAppVersionApiConfig]

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

automatic_scaling Dict[FlexibleAppVersionAutomaticScaling]

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

beta_settings Dict[str, str]

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

default_expiration str

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

delete_service_on_destroy bool

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

deployment Dict[FlexibleAppVersionDeployment]

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

endpoints_api_service Dict[FlexibleAppVersionEndpointsApiService]

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

entrypoint Dict[FlexibleAppVersionEntrypoint]

The entrypoint for the application. Structure is documented below.

env_variables Dict[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 List[FlexibleAppVersionHandler]

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

inbound_services List[str]

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

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 Dict[FlexibleAppVersionLivenessCheck]

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

manual_scaling Dict[FlexibleAppVersionManualScaling]

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

name str

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

network Dict[FlexibleAppVersionNetwork]

Extra network settings Structure is documented below.

nobuild_files_regex str

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

noop_on_destroy bool

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

project str

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

readiness_check Dict[FlexibleAppVersionReadinessCheck]

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

resources Dict[FlexibleAppVersionResources]

Machine resources for a version. Structure is documented below.

runtime str

Desired runtime. Example python27.

runtime_api_version str

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

runtime_channel str

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

runtime_main_executable_path str

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

service str

AppEngine service resource

serving_status str

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

version_id str

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

vpc_access_connector Dict[FlexibleAppVersionVpcAccessConnector]

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

Supporting Types

FlexibleAppVersionApiConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Script string

Path to the script from the application root directory.

AuthFailAction string

Action to take when users access resources that require authentication.

Login string

Level of login required to access this resource.

SecurityLevel string

Security (HTTPS) enforcement for this URL.

Url string

URL to serve the endpoint at.

Script string

Path to the script from the application root directory.

AuthFailAction string

Action to take when users access resources that require authentication.

Login string

Level of login required to access this resource.

SecurityLevel string

Security (HTTPS) enforcement for this URL.

Url string

URL to serve the endpoint at.

script string

Path to the script from the application root directory.

authFailAction string

Action to take when users access resources that require authentication.

login string

Level of login required to access this resource.

securityLevel string

Security (HTTPS) enforcement for this URL.

url string

URL to serve the endpoint at.

script str

Path to the script from the application root directory.

authFailAction str

Action to take when users access resources that require authentication.

login str

Level of login required to access this resource.

securityLevel str

Security (HTTPS) enforcement for this URL.

url str

URL to serve the endpoint at.

FlexibleAppVersionAutomaticScaling

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CpuUtilization FlexibleAppVersionAutomaticScalingCpuUtilizationArgs

Target scaling by CPU usage. Structure is documented below.

CoolDownPeriod string

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

DiskUtilization FlexibleAppVersionAutomaticScalingDiskUtilizationArgs

Target scaling by disk usage. Structure is documented below.

MaxConcurrentRequests int

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

MaxIdleInstances int

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

MaxPendingLatency string

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

MaxTotalInstances int

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

MinIdleInstances int

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

MinPendingLatency string

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

MinTotalInstances int

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

NetworkUtilization FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs

Target scaling by network usage. Structure is documented below.

RequestUtilization FlexibleAppVersionAutomaticScalingRequestUtilizationArgs

Target scaling by request utilization. Structure is documented below.

CpuUtilization FlexibleAppVersionAutomaticScalingCpuUtilization

Target scaling by CPU usage. Structure is documented below.

CoolDownPeriod string

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

DiskUtilization FlexibleAppVersionAutomaticScalingDiskUtilization

Target scaling by disk usage. Structure is documented below.

MaxConcurrentRequests int

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

MaxIdleInstances int

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

MaxPendingLatency string

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

MaxTotalInstances int

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

MinIdleInstances int

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

MinPendingLatency string

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

MinTotalInstances int

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

NetworkUtilization FlexibleAppVersionAutomaticScalingNetworkUtilization

Target scaling by network usage. Structure is documented below.

RequestUtilization FlexibleAppVersionAutomaticScalingRequestUtilization

Target scaling by request utilization. Structure is documented below.

cpuUtilization FlexibleAppVersionAutomaticScalingCpuUtilization

Target scaling by CPU usage. Structure is documented below.

coolDownPeriod string

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

diskUtilization FlexibleAppVersionAutomaticScalingDiskUtilization

Target scaling by disk usage. Structure is documented below.

maxConcurrentRequests number

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

maxIdleInstances number

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

maxPendingLatency string

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

maxTotalInstances number

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

minIdleInstances number

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

minPendingLatency string

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

minTotalInstances number

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

networkUtilization FlexibleAppVersionAutomaticScalingNetworkUtilization

Target scaling by network usage. Structure is documented below.

requestUtilization FlexibleAppVersionAutomaticScalingRequestUtilization

Target scaling by request utilization. Structure is documented below.

cpuUtilization Dict[FlexibleAppVersionAutomaticScalingCpuUtilization]

Target scaling by CPU usage. Structure is documented below.

coolDownPeriod str

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

diskUtilization Dict[FlexibleAppVersionAutomaticScalingDiskUtilization]

Target scaling by disk usage. Structure is documented below.

maxConcurrentRequests float

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

maxIdleInstances float

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

maxPendingLatency str

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

maxTotalInstances float

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

minIdleInstances float

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

minPendingLatency str

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

minTotalInstances float

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

networkUtilization Dict[FlexibleAppVersionAutomaticScalingNetworkUtilization]

Target scaling by network usage. Structure is documented below.

requestUtilization Dict[FlexibleAppVersionAutomaticScalingRequestUtilization]

Target scaling by request utilization. Structure is documented below.

FlexibleAppVersionAutomaticScalingCpuUtilization

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

TargetUtilization double

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

AggregationWindowLength string

Period of time over which CPU utilization is calculated.

TargetUtilization float64

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

AggregationWindowLength string

Period of time over which CPU utilization is calculated.

targetUtilization number

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

aggregationWindowLength string

Period of time over which CPU utilization is calculated.

targetUtilization float

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

aggregationWindowLength str

Period of time over which CPU utilization is calculated.

FlexibleAppVersionAutomaticScalingDiskUtilization

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

TargetReadBytesPerSecond int

Target bytes read per second.

TargetReadOpsPerSecond int

Target ops read per seconds.

TargetWriteBytesPerSecond int

Target bytes written per second.

TargetWriteOpsPerSecond int

Target ops written per second.

TargetReadBytesPerSecond int

Target bytes read per second.

TargetReadOpsPerSecond int

Target ops read per seconds.

TargetWriteBytesPerSecond int

Target bytes written per second.

TargetWriteOpsPerSecond int

Target ops written per second.

targetReadBytesPerSecond number

Target bytes read per second.

targetReadOpsPerSecond number

Target ops read per seconds.

targetWriteBytesPerSecond number

Target bytes written per second.

targetWriteOpsPerSecond number

Target ops written per second.

targetReadBytesPerSecond float

Target bytes read per second.

targetReadOpsPerSecond float

Target ops read per seconds.

targetWriteBytesPerSecond float

Target bytes written per second.

targetWriteOpsPerSecond float

Target ops written per second.

FlexibleAppVersionAutomaticScalingNetworkUtilization

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

TargetReceivedBytesPerSecond int

Target bytes received per second.

TargetReceivedPacketsPerSecond int

Target packets received per second.

TargetSentBytesPerSecond int

Target bytes sent per second.

TargetSentPacketsPerSecond int

Target packets sent per second.

TargetReceivedBytesPerSecond int

Target bytes received per second.

TargetReceivedPacketsPerSecond int

Target packets received per second.

TargetSentBytesPerSecond int

Target bytes sent per second.

TargetSentPacketsPerSecond int

Target packets sent per second.

targetReceivedBytesPerSecond number

Target bytes received per second.

targetReceivedPacketsPerSecond number

Target packets received per second.

targetSentBytesPerSecond number

Target bytes sent per second.

targetSentPacketsPerSecond number

Target packets sent per second.

targetReceivedBytesPerSecond float

Target bytes received per second.

targetReceivedPacketsPerSecond float

Target packets received per second.

targetSentBytesPerSecond float

Target bytes sent per second.

targetSentPacketsPerSecond float

Target packets sent per second.

FlexibleAppVersionAutomaticScalingRequestUtilization

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

TargetConcurrentRequests double

Target number of concurrent requests.

TargetRequestCountPerSecond string

Target requests per second.

TargetConcurrentRequests float64

Target number of concurrent requests.

TargetRequestCountPerSecond string

Target requests per second.

targetConcurrentRequests number

Target number of concurrent requests.

targetRequestCountPerSecond string

Target requests per second.

targetConcurrentRequests float

Target number of concurrent requests.

targetRequestCountPerSecond str

Target requests per second.

FlexibleAppVersionDeployment

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CloudBuildOptions FlexibleAppVersionDeploymentCloudBuildOptionsArgs

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 FlexibleAppVersionDeploymentContainerArgs

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

Files List<FlexibleAppVersionDeploymentFileArgs>

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 FlexibleAppVersionDeploymentZipArgs

Zip File Structure is documented below.

CloudBuildOptions FlexibleAppVersionDeploymentCloudBuildOptions

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

Container FlexibleAppVersionDeploymentContainer

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

Files []FlexibleAppVersionDeploymentFile

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

Zip FlexibleAppVersionDeploymentZip

Zip File Structure is documented below.

cloudBuildOptions FlexibleAppVersionDeploymentCloudBuildOptions

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

container FlexibleAppVersionDeploymentContainer

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

files FlexibleAppVersionDeploymentFile[]

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

zip FlexibleAppVersionDeploymentZip

Zip File Structure is documented below.

cloudBuildOptions Dict[FlexibleAppVersionDeploymentCloudBuildOptions]

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

container Dict[FlexibleAppVersionDeploymentContainer]

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

files List[FlexibleAppVersionDeploymentFile]

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

zip Dict[FlexibleAppVersionDeploymentZip]

Zip File Structure is documented below.

FlexibleAppVersionDeploymentCloudBuildOptions

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AppYamlPath string

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

CloudBuildTimeout string

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

AppYamlPath string

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

CloudBuildTimeout string

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

appYamlPath string

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

cloudBuildTimeout string

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

appYamlPath str

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

cloudBuildTimeout str

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

FlexibleAppVersionDeploymentContainer

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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”

FlexibleAppVersionDeploymentFile

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

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

SourceUrl string

Source URL

Sha1Sum string

SHA1 checksum of the file

Name string

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

SourceUrl string

Source URL

Sha1Sum string

SHA1 checksum of the file

name string

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

sourceUrl string

Source URL

sha1Sum string

SHA1 checksum of the file

name str

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

sourceUrl str

Source URL

sha1Sum str

SHA1 checksum of the file

FlexibleAppVersionDeploymentZip

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

SourceUrl string

Source URL

FilesCount int

files count

SourceUrl string

Source URL

FilesCount int

files count

sourceUrl string

Source URL

filesCount number

files count

sourceUrl str

Source URL

filesCount float

files count

FlexibleAppVersionEndpointsApiService

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

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

ConfigId string

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

DisableTraceSampling bool

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

RolloutStrategy string

Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.

Name string

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

ConfigId string

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

DisableTraceSampling bool

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

RolloutStrategy string

Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.

name string

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

configId string

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

disableTraceSampling boolean

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

rolloutStrategy string

Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.

name str

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

config_id str

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

disableTraceSampling bool

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

rolloutStrategy str

Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.

FlexibleAppVersionEntrypoint

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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.

FlexibleAppVersionHandler

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AuthFailAction string

Action to take when users access resources that require authentication.

Login string

Level of login required to access this resource.

RedirectHttpResponseCode string

30x code to use when performing redirects for the secure field.

Script FlexibleAppVersionHandlerScriptArgs

Path to the script from the application root directory.

SecurityLevel string

Security (HTTPS) enforcement for this URL.

StaticFiles FlexibleAppVersionHandlerStaticFilesArgs

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

UrlRegex string

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

AuthFailAction string

Action to take when users access resources that require authentication.

Login string

Level of login required to access this resource.

RedirectHttpResponseCode string

30x code to use when performing redirects for the secure field.

Script FlexibleAppVersionHandlerScript

Path to the script from the application root directory.

SecurityLevel string

Security (HTTPS) enforcement for this URL.

StaticFiles FlexibleAppVersionHandlerStaticFiles

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

UrlRegex string

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

authFailAction string

Action to take when users access resources that require authentication.

login string

Level of login required to access this resource.

redirectHttpResponseCode string

30x code to use when performing redirects for the secure field.

script FlexibleAppVersionHandlerScript

Path to the script from the application root directory.

securityLevel string

Security (HTTPS) enforcement for this URL.

staticFiles FlexibleAppVersionHandlerStaticFiles

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

urlRegex string

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

authFailAction str

Action to take when users access resources that require authentication.

login str

Level of login required to access this resource.

redirectHttpResponseCode str

30x code to use when performing redirects for the secure field.

script Dict[FlexibleAppVersionHandlerScript]

Path to the script from the application root directory.

securityLevel str

Security (HTTPS) enforcement for this URL.

staticFiles Dict[FlexibleAppVersionHandlerStaticFiles]

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

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

FlexibleAppVersionHandlerScript

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ScriptPath string

Path to the script from the application root directory.

ScriptPath string

Path to the script from the application root directory.

scriptPath string

Path to the script from the application root directory.

scriptPath str

Path to the script from the application root directory.

FlexibleAppVersionHandlerStaticFiles

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ApplicationReadable bool

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

Expiration string

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

HttpHeaders Dictionary<string, string>

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

MimeType string

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

Path string

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

RequireMatchingFile bool

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

UploadPathRegex string

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

ApplicationReadable bool

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

Expiration string

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

HttpHeaders map[string]string

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

MimeType string

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

Path string

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

RequireMatchingFile bool

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

UploadPathRegex string

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

applicationReadable boolean

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

expiration string

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

httpHeaders {[key: string]: string}

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

mimeType string

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

path string

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

requireMatchingFile boolean

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

uploadPathRegex string

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

applicationReadable bool

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

expiration 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’

httpHeaders Dict[str, str]

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

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

requireMatchingFile bool

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

uploadPathRegex str

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

FlexibleAppVersionLivenessCheck

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Path string

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

CheckInterval string

Interval between health checks.

FailureThreshold double

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

Host string

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

InitialDelay string

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

SuccessThreshold double

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

Timeout string

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

Path string

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

CheckInterval string

Interval between health checks.

FailureThreshold float64

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

Host string

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

InitialDelay string

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

SuccessThreshold float64

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

Timeout string

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

path string

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

checkInterval string

Interval between health checks.

failureThreshold number

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

host string

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

initialDelay string

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

successThreshold number

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

timeout string

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

path str

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

checkInterval str

Interval between health checks.

failureThreshold 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”

initialDelay str

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

successThreshold 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”

FlexibleAppVersionManualScaling

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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 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 float

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

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

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

ForwardedPorts List<string>

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

InstanceTag string

Tag to apply to the instance during creation.

SessionAffinity bool

Enable session affinity.

Subnetwork string

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

Name string

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

ForwardedPorts []string

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

InstanceTag string

Tag to apply to the instance during creation.

SessionAffinity bool

Enable session affinity.

Subnetwork string

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

name string

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

forwardedPorts string[]

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

instanceTag string

Tag to apply to the instance during creation.

sessionAffinity boolean

Enable session affinity.

subnetwork string

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

name str

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

forwardedPorts List[str]

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

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

FlexibleAppVersionReadinessCheck

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Path string

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

AppStartTimeout string

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

CheckInterval string

Interval between health checks.

FailureThreshold double

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

Host string

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

SuccessThreshold double

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

Timeout string

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

Path string

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

AppStartTimeout string

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

CheckInterval string

Interval between health checks.

FailureThreshold float64

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

Host string

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

SuccessThreshold float64

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

Timeout string

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

path string

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

appStartTimeout string

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

checkInterval string

Interval between health checks.

failureThreshold number

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

host string

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

successThreshold number

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

timeout string

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

path str

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

appStartTimeout str

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

checkInterval str

Interval between health checks.

failureThreshold 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”

successThreshold 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”

FlexibleAppVersionResources

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Cpu int

Number of CPU cores needed.

DiskGb int

Disk size (GB) needed.

MemoryGb double

Memory (GB) needed.

Volumes List<FlexibleAppVersionResourcesVolumeArgs>

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

Cpu int

Number of CPU cores needed.

DiskGb int

Disk size (GB) needed.

MemoryGb float64

Memory (GB) needed.

Volumes []FlexibleAppVersionResourcesVolume

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

cpu number

Number of CPU cores needed.

diskGb number

Disk size (GB) needed.

memoryGb number

Memory (GB) needed.

volumes FlexibleAppVersionResourcesVolume[]

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

cpu float

Number of CPU cores needed.

diskGb float

Disk size (GB) needed.

memoryGb float

Memory (GB) needed.

volumes List[FlexibleAppVersionResourcesVolume]

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

FlexibleAppVersionResourcesVolume

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

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

SizeGb int

Volume size in gigabytes.

VolumeType string

Underlying volume type, e.g. ‘tmpfs’.

Name string

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

SizeGb int

Volume size in gigabytes.

VolumeType string

Underlying volume type, e.g. ‘tmpfs’.

name string

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

sizeGb number

Volume size in gigabytes.

volumeType string

Underlying volume type, e.g. ‘tmpfs’.

name str

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

sizeGb float

Volume size in gigabytes.

volumeType str

Underlying volume type, e.g. ‘tmpfs’.

FlexibleAppVersionVpcAccessConnector

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.