VersionArgs

data class VersionArgs(val apiConfig: Output<ApiConfigHandlerArgs>? = null, val appEngineApis: Output<Boolean>? = null, val appId: Output<String>? = null, val automaticScaling: Output<AutomaticScalingArgs>? = null, val basicScaling: Output<BasicScalingArgs>? = null, val betaSettings: Output<Map<String, String>>? = null, val buildEnvVariables: Output<Map<String, String>>? = null, val defaultExpiration: Output<String>? = null, val deployment: Output<DeploymentArgs>? = null, val endpointsApiService: Output<EndpointsApiServiceArgs>? = null, val entrypoint: Output<EntrypointArgs>? = null, val env: Output<String>? = null, val envVariables: Output<Map<String, String>>? = null, val errorHandlers: Output<List<ErrorHandlerArgs>>? = null, val flexibleRuntimeSettings: Output<FlexibleRuntimeSettingsArgs>? = null, val handlers: Output<List<UrlMapArgs>>? = null, val healthCheck: Output<HealthCheckArgs>? = null, val id: Output<String>? = null, val inboundServices: Output<List<VersionInboundServicesItem>>? = null, val instanceClass: Output<String>? = null, val libraries: Output<List<LibraryArgs>>? = null, val livenessCheck: Output<LivenessCheckArgs>? = null, val manualScaling: Output<ManualScalingArgs>? = null, val network: Output<NetworkArgs>? = null, val nobuildFilesRegex: Output<String>? = null, val readinessCheck: Output<ReadinessCheckArgs>? = null, val resources: Output<ResourcesArgs>? = null, val runtime: Output<String>? = null, val runtimeApiVersion: Output<String>? = null, val runtimeChannel: Output<String>? = null, val runtimeMainExecutablePath: Output<String>? = null, val serviceAccount: Output<String>? = null, val serviceId: Output<String>? = null, val servingStatus: Output<VersionServingStatus>? = null, val threadsafe: Output<Boolean>? = null, val vm: Output<Boolean>? = null, val vpcAccessConnector: Output<VpcAccessConnectorArgs>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<VersionArgs>

Deploys code and resource files to a new version. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun VersionArgs(apiConfig: Output<ApiConfigHandlerArgs>? = null, appEngineApis: Output<Boolean>? = null, appId: Output<String>? = null, automaticScaling: Output<AutomaticScalingArgs>? = null, basicScaling: Output<BasicScalingArgs>? = null, betaSettings: Output<Map<String, String>>? = null, buildEnvVariables: Output<Map<String, String>>? = null, defaultExpiration: Output<String>? = null, deployment: Output<DeploymentArgs>? = null, endpointsApiService: Output<EndpointsApiServiceArgs>? = null, entrypoint: Output<EntrypointArgs>? = null, env: Output<String>? = null, envVariables: Output<Map<String, String>>? = null, errorHandlers: Output<List<ErrorHandlerArgs>>? = null, flexibleRuntimeSettings: Output<FlexibleRuntimeSettingsArgs>? = null, handlers: Output<List<UrlMapArgs>>? = null, healthCheck: Output<HealthCheckArgs>? = null, id: Output<String>? = null, inboundServices: Output<List<VersionInboundServicesItem>>? = null, instanceClass: Output<String>? = null, libraries: Output<List<LibraryArgs>>? = null, livenessCheck: Output<LivenessCheckArgs>? = null, manualScaling: Output<ManualScalingArgs>? = null, network: Output<NetworkArgs>? = null, nobuildFilesRegex: Output<String>? = null, readinessCheck: Output<ReadinessCheckArgs>? = null, resources: Output<ResourcesArgs>? = null, runtime: Output<String>? = null, runtimeApiVersion: Output<String>? = null, runtimeChannel: Output<String>? = null, runtimeMainExecutablePath: Output<String>? = null, serviceAccount: Output<String>? = null, serviceId: Output<String>? = null, servingStatus: Output<VersionServingStatus>? = null, threadsafe: Output<Boolean>? = null, vm: Output<Boolean>? = null, vpcAccessConnector: Output<VpcAccessConnectorArgs>? = null, zones: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): VersionArgs

Properties

Link copied to clipboard
val apiConfig: Output<ApiConfigHandlerArgs>? = null

Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set.

Link copied to clipboard
val appEngineApis: Output<Boolean>? = null

Allows App Engine second generation runtimes to access the legacy bundled services.

Link copied to clipboard
val appId: Output<String>? = null
Link copied to clipboard

Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic.

Link copied to clipboard
val basicScaling: Output<BasicScalingArgs>? = null

A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.

Link copied to clipboard
val betaSettings: Output<Map<String, String>>? = null

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

Link copied to clipboard
val buildEnvVariables: Output<Map<String, String>>? = null

Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.

Link copied to clipboard
val defaultExpiration: Output<String>? = null

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.

Link copied to clipboard
val deployment: Output<DeploymentArgs>? = null

Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set.

Link copied to clipboard

Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app.

Link copied to clipboard
val entrypoint: Output<EntrypointArgs>? = null

The entrypoint for the application.

Link copied to clipboard
val env: Output<String>? = null

App Engine execution environment for this version.Defaults to standard.

Link copied to clipboard
val envVariables: Output<Map<String, String>>? = null

Environment variables available to the application.Only returned in GET requests if view=FULL is set.

Link copied to clipboard
val errorHandlers: Output<List<ErrorHandlerArgs>>? = null

Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.

Link copied to clipboard

Settings for App Engine flexible runtimes.

Link copied to clipboard
val handlers: Output<List<UrlMapArgs>>? = null

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.Only returned in GET requests if view=FULL is set.

Link copied to clipboard
val healthCheck: Output<HealthCheckArgs>? = null

Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.Only returned in GET requests if view=FULL is set.

Link copied to clipboard
val id: Output<String>? = null

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

Link copied to clipboard

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

Link copied to clipboard
val instanceClass: Output<String>? = null

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

Link copied to clipboard
val libraries: Output<List<LibraryArgs>>? = null

Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.

Link copied to clipboard
val livenessCheck: Output<LivenessCheckArgs>? = null

Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set.

Link copied to clipboard
val manualScaling: Output<ManualScalingArgs>? = null

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends".

Link copied to clipboard
val network: Output<NetworkArgs>? = null

Extra network settings. Only applicable in the App Engine flexible environment.

Link copied to clipboard
val nobuildFilesRegex: Output<String>? = null

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set.

Link copied to clipboard
val readinessCheck: Output<ReadinessCheckArgs>? = null

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set.

Link copied to clipboard
val resources: Output<ResourcesArgs>? = null

Machine resources for this version. Only applicable in the App Engine flexible environment.

Link copied to clipboard
val runtime: Output<String>? = null

Desired runtime. Example: python27.

Link copied to clipboard
val runtimeApiVersion: Output<String>? = null

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

Link copied to clipboard
val runtimeChannel: Output<String>? = null

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

Link copied to clipboard
val runtimeMainExecutablePath: Output<String>? = null

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

Link copied to clipboard
val serviceAccount: Output<String>? = null

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.

Link copied to clipboard
val serviceId: Output<String>? = null
Link copied to clipboard
val servingStatus: Output<VersionServingStatus>? = null

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.

Link copied to clipboard
val threadsafe: Output<Boolean>? = null

Whether multiple requests can be dispatched to this version at once.

Link copied to clipboard
val vm: Output<Boolean>? = null

Whether to deploy this version in a container on a virtual machine.

Link copied to clipboard

Enables VPC connectivity for standard apps.

Link copied to clipboard
val zones: Output<List<String>>? = null

The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.