VersionArgs constructor
- Input<
ApiConfigHandler> ? apiConfig, - Input<
bool> ? appEngineApis, - required Input<
String> appId, - Input<
AutomaticScaling> ? automaticScaling, - Input<
BasicScaling> ? basicScaling, - Input<
Map< ? betaSettings,String, String> > - Input<
Map< ? buildEnvVariables,String, String> > - Input<
String> ? defaultExpiration, - Input<
DeploymentType> ? deployment, - Input<
EndpointsApiService> ? endpointsApiService, - Input<
Entrypoint> ? entrypoint, - Input<
String> ? env, - Input<
Map< ? envVariables,String, String> > - Input<
List< ? errorHandlers,ErrorHandler> > - Input<
FlexibleRuntimeSettings> ? flexibleRuntimeSettings, - Input<
Map< ? generatedCustomerMetadata,String, String> > - Input<
List< ? handlers,UrlMap> > - Input<
HealthCheck> ? healthCheck, - Input<
String> ? id, - Input<
List< ? inboundServices,VersionInboundServicesItem> > - Input<
String> ? instanceClass, - Input<
List< ? libraries,Library> > - Input<
LivenessCheck> ? livenessCheck, - Input<
ManualScaling> ? manualScaling, - Input<
Network> ? network, - Input<
String> ? nobuildFilesRegex, - Input<
ReadinessCheck> ? readinessCheck, - Input<
Resources> ? resources, - Input<
String> ? runtime, - Input<
String> ? runtimeApiVersion, - Input<
String> ? runtimeChannel, - Input<
String> ? runtimeMainExecutablePath, - Input<
String> ? serviceAccount, - required Input<
String> serviceId, - Input<
VersionServingStatus> ? servingStatus, - Input<
bool> ? threadsafe, - Input<
bool> ? vm, - Input<
VpcAccessConnector> ? vpcAccessConnector, - Input<
List< ? zones,String> >
Creates a new VersionArgs.
apiConfig Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set.
appEngineApis Allows App Engine second generation runtimes to access the legacy bundled services.
appId Required.
automaticScaling 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.
basicScaling 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.
betaSettings Metadata settings that are supplied to this version to enable beta runtime features.
buildEnvVariables Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
defaultExpiration 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/v1/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
deployment Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set.
endpointsApiService 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.
entrypoint The entrypoint for the application.
env App Engine execution environment for this version.Defaults to standard.
envVariables Environment variables available to the application.Only returned in GET requests if view=FULL is set.
errorHandlers Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
flexibleRuntimeSettings Settings for App Engine flexible runtimes.
generatedCustomerMetadata Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetVersionRequest
handlers 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.
healthCheck Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.
id 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-".
inboundServices Before an application can receive email or XMPP messages, the application must be configured to enable the service.
instanceClass 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.
libraries Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
livenessCheck Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances
manualScaling 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".
network Extra network settings. Only applicable in the App Engine flexible environment.
nobuildFilesRegex 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.
readinessCheck Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.
resources Machine resources for this version. Only applicable in the App Engine flexible environment.
runtime Desired runtime. Example: python27.
runtimeApiVersion 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 The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
runtimeMainExecutablePath The path or name of the app's main executable.
serviceAccount 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.
serviceId Required.
servingStatus 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.
threadsafe Whether multiple requests can be dispatched to this version at once.
vm Whether to deploy this version in a container on a virtual machine.
vpcAccessConnector Enables VPC connectivity for standard apps.
zones The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
Implementation
const VersionArgs({
this.apiConfig,
this.appEngineApis,
required this.appId,
this.automaticScaling,
this.basicScaling,
this.betaSettings,
this.buildEnvVariables,
this.defaultExpiration,
this.deployment,
this.endpointsApiService,
this.entrypoint,
this.env,
this.envVariables,
this.errorHandlers,
this.flexibleRuntimeSettings,
this.generatedCustomerMetadata,
this.handlers,
this.healthCheck,
this.id,
this.inboundServices,
this.instanceClass,
this.libraries,
this.livenessCheck,
this.manualScaling,
this.network,
this.nobuildFilesRegex,
this.readinessCheck,
this.resources,
this.runtime,
this.runtimeApiVersion,
this.runtimeChannel,
this.runtimeMainExecutablePath,
this.serviceAccount,
required this.serviceId,
this.servingStatus,
this.threadsafe,
this.vm,
this.vpcAccessConnector,
this.zones,
});