GetVersionResult

data class GetVersionResult(val apiConfig: ApiConfigHandlerResponse, val appEngineApis: Boolean, val automaticScaling: AutomaticScalingResponse, val basicScaling: BasicScalingResponse, val betaSettings: Map<String, String>, val buildEnvVariables: Map<String, String>, val createTime: String, val createdBy: String, val defaultExpiration: String, val deployment: DeploymentResponse, val diskUsageBytes: String, val endpointsApiService: EndpointsApiServiceResponse, val entrypoint: EntrypointResponse, val env: String, val envVariables: Map<String, String>, val errorHandlers: List<ErrorHandlerResponse>, val flexibleRuntimeSettings: FlexibleRuntimeSettingsResponse, val handlers: List<UrlMapResponse>, val healthCheck: HealthCheckResponse, val inboundServices: List<String>, val instanceClass: String, val libraries: List<LibraryResponse>, val livenessCheck: LivenessCheckResponse, val manualScaling: ManualScalingResponse, val name: String, val network: NetworkResponse, val nobuildFilesRegex: String, val readinessCheck: ReadinessCheckResponse, val resources: ResourcesResponse, val runtime: String, val runtimeApiVersion: String, val runtimeChannel: String, val runtimeMainExecutablePath: String, val serviceAccount: String, val servingStatus: String, val threadsafe: Boolean, val versionUrl: String, val vm: Boolean, val vpcAccessConnector: VpcAccessConnectorResponse, val zones: List<String>)

Constructors

Link copied to clipboard
fun GetVersionResult(apiConfig: ApiConfigHandlerResponse, appEngineApis: Boolean, automaticScaling: AutomaticScalingResponse, basicScaling: BasicScalingResponse, betaSettings: Map<String, String>, buildEnvVariables: Map<String, String>, createTime: String, createdBy: String, defaultExpiration: String, deployment: DeploymentResponse, diskUsageBytes: String, endpointsApiService: EndpointsApiServiceResponse, entrypoint: EntrypointResponse, env: String, envVariables: Map<String, String>, errorHandlers: List<ErrorHandlerResponse>, flexibleRuntimeSettings: FlexibleRuntimeSettingsResponse, handlers: List<UrlMapResponse>, healthCheck: HealthCheckResponse, inboundServices: List<String>, instanceClass: String, libraries: List<LibraryResponse>, livenessCheck: LivenessCheckResponse, manualScaling: ManualScalingResponse, name: String, network: NetworkResponse, nobuildFilesRegex: String, readinessCheck: ReadinessCheckResponse, resources: ResourcesResponse, runtime: String, runtimeApiVersion: String, runtimeChannel: String, runtimeMainExecutablePath: String, serviceAccount: String, servingStatus: String, threadsafe: Boolean, versionUrl: String, vm: Boolean, vpcAccessConnector: VpcAccessConnectorResponse, zones: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

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

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

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

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

Link copied to clipboard

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

Link copied to clipboard

Email address of the user who created this version.

Link copied to clipboard

Time that this version was created.

Link copied to clipboard

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

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

Link copied to clipboard

Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.

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

The entrypoint for the application.

Link copied to clipboard
val env: String

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

Link copied to clipboard

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

Link copied to clipboard

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

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

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

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

Link copied to clipboard

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

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

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

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

Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.

Link copied to clipboard

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

Link copied to clipboard

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

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

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

Link copied to clipboard

Desired runtime. Example: python27.

Link copied to clipboard

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

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

Link copied to clipboard

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

Link copied to clipboard

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

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

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

Link copied to clipboard

Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"

Link copied to clipboard
val vm: Boolean

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

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