Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="appengine_v1beta4.html">Google App Engine Admin API</a> . <a href="appengine_v1beta4.apps.html">apps</a> . <a href="appengine_v1beta4.apps.modules.html">modules</a> . <a href="appengine_v1beta4.apps.modules.versions.html">versions</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 78 | <code><a href="appengine_v1beta4.apps.modules.versions.instances.html">instances()</a></code> |
| 79 | </p> |
| 80 | <p class="firstline">Returns the instances Resource.</p> |
| 81 | |
| 82 | <p class="toc_element"> |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 83 | <code><a href="#create">create(appsId, modulesId, body, x__xgafv=None)</a></code></p> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 84 | <p class="firstline">Deploys code and resource files to a new version.</p> |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 85 | <p class="toc_element"> |
| 86 | <code><a href="#delete">delete(appsId, modulesId, versionsId, x__xgafv=None)</a></code></p> |
| 87 | <p class="firstline">Deletes an existing version.</p> |
| 88 | <p class="toc_element"> |
| 89 | <code><a href="#get">get(appsId, modulesId, versionsId, x__xgafv=None, view=None)</a></code></p> |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 90 | <p class="firstline">Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.</p> |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 91 | <p class="toc_element"> |
| 92 | <code><a href="#list">list(appsId, modulesId, pageSize=None, pageToken=None, x__xgafv=None, view=None)</a></code></p> |
| 93 | <p class="firstline">Lists the versions of a module.</p> |
| 94 | <p class="toc_element"> |
| 95 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 96 | <p class="firstline">Retrieves the next page of results.</p> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 97 | <p class="toc_element"> |
| 98 | <code><a href="#patch">patch(appsId, modulesId, versionsId, body, mask=None, x__xgafv=None)</a></code></p> |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 99 | <p class="firstline">Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:</p> |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 100 | <h3>Method Details</h3> |
| 101 | <div class="method"> |
| 102 | <code class="details" id="create">create(appsId, modulesId, body, x__xgafv=None)</code> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 103 | <pre>Deploys code and resource files to a new version. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 104 | |
| 105 | Args: |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 106 | appsId: string, Part of `name`. Name of the resource to update. Example: apps/myapp/modules/default. (required) |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 107 | modulesId: string, Part of `name`. See documentation of `appsId`. (required) |
| 108 | body: object, The request body. (required) |
| 109 | The object takes the form of: |
| 110 | |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 111 | { # A Version resource is a specific set of source code and configuration files that are deployed into a module. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 112 | "betaSettings": { # Metadata settings that are supplied to this version to enable beta runtime features. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 113 | "a_key": "A String", |
| 114 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 115 | "defaultExpiration": "A String", # 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. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 116 | "vm": True or False, # Whether to deploy this version in a container on a virtual machine. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 117 | "instanceClass": "A String", # Instance class that is used to run this version. Valid values are: |
| 118 | # AutomaticScaling: F1, F2, F4, F4_1G |
| 119 | # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 120 | "errorHandlers": [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 121 | { # Custom static error page to be served when an error occurs. |
| 122 | "errorCode": "A String", # Error condition this handler applies to. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 123 | "mimeType": "A String", # MIME type of file. Defaults to text/html. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 124 | "staticFile": "A String", # Static file content to be served for this error. |
| 125 | }, |
| 126 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 127 | "id": "A String", # Relative name of the version within the module. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-". |
| 128 | "apiConfig": { # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers. # Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 129 | "url": "A String", # URL to serve the endpoint at. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 130 | "securityLevel": "A String", # Security (HTTPS) enforcement for this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 131 | "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect. |
| 132 | "login": "A String", # Level of login required to access this resource. Defaults to optional. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 133 | "script": "A String", # Path to the script from the application root directory. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 134 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 135 | "network": { # Extra network settings. Only applicable for VM runtimes. # Extra network settings. Only applicable for VM runtimes. |
| 136 | "instanceTag": "A String", # Tag to apply to the VM instance during creation. |
| 137 | "forwardedPorts": [ # List of ports, or port pairs, to forward from the virtual machine to the application container. |
| 138 | "A String", |
| 139 | ], |
| 140 | "name": "A String", # Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default. |
| 141 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 142 | "healthCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment. # Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 143 | "restartThreshold": 42, # Number of consecutive failed health checks required before an instance is restarted. |
| 144 | "checkInterval": "A String", # Interval between health checks. |
| 145 | "unhealthyThreshold": 42, # Number of consecutive failed health checks required before removing traffic. |
| 146 | "healthyThreshold": 42, # Number of consecutive successful health checks required before receiving traffic. |
| 147 | "host": "A String", # Host header to send when performing an HTTP health check. Example: "myapp.appspot.com" |
| 148 | "timeout": "A String", # Time before the health check is considered failed. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 149 | "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance. |
| 150 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 151 | "libraries": [ # Configuration for third-party Python runtime libraries required by the application.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 152 | { # Third-party Python runtime library that is required by the application. |
| 153 | "version": "A String", # Version of the library to select, or "latest". |
| 154 | "name": "A String", # Name of the library. Example: "django". |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 155 | }, |
| 156 | ], |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 157 | "manualScaling": { # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. |
| 158 | "instances": 42, # Number of instances to assign to the module at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function. |
| 159 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 160 | "env": "A String", # App Engine execution environment to use for this version.Defaults to 1. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 161 | "automaticScaling": { # Automatic scaling is based on request rate, response latencies, and other application metrics. # Automatic scaling is based on request rate, response latencies, and other application metrics. |
| 162 | "minPendingLatency": "A String", # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. |
| 163 | "networkUtilization": { # Target scaling by network usage. Only applicable for VM runtimes. # Target scaling by network usage. |
| 164 | "targetReceivedBytesPerSec": 42, # Target bytes received per second. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 165 | "targetSentPacketsPerSec": 42, # Target packets sent per second. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 166 | "targetReceivedPacketsPerSec": 42, # Target packets received per second. |
| 167 | "targetSentBytesPerSec": 42, # Target bytes sent per second. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 168 | }, |
| 169 | "diskUtilization": { # Target scaling by disk usage. Only applicable for VM runtimes. # Target scaling by disk usage. |
| 170 | "targetWriteOpsPerSec": 42, # Target ops written per second. |
| 171 | "targetReadBytesPerSec": 42, # Target bytes read per second. |
| 172 | "targetReadOpsPerSec": 42, # Target ops read per second. |
| 173 | "targetWriteBytesPerSec": 42, # Target bytes written per second. |
| 174 | }, |
| 175 | "maxPendingLatency": "A String", # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. |
| 176 | "maxIdleInstances": 42, # Maximum number of idle instances that should be maintained for this version. |
| 177 | "minIdleInstances": 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a module. |
| 178 | "requestUtilization": { # Target scaling by request utilization. Only applicable for VM runtimes. # Target scaling by request utilization. |
| 179 | "targetConcurrentRequests": 42, # Target number of concurrent requests. |
| 180 | "targetRequestCountPerSec": 42, # Target requests per second. |
| 181 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 182 | "coolDownPeriod": "A String", # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 183 | "maxTotalInstances": 42, # Maximum number of instances that should be started to handle requests. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 184 | "maxConcurrentRequests": 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 185 | "minTotalInstances": 42, # Minimum number of instances that should be maintained for this version. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 186 | "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 187 | "targetUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1. |
| 188 | "aggregationWindowLength": "A String", # Period of time over which CPU utilization is calculated. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 189 | }, |
| 190 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 191 | "envVariables": { # Environment variables made available to the application.Only returned in GET requests if view=FULL is set. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 192 | "a_key": "A String", |
| 193 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 194 | "resources": { # Machine resources for a version. # Machine resources for this version. Only applicable for VM runtimes. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 195 | "volumes": [ # User specified volumes. |
| 196 | { # Volumes mounted within the app container. Only applicable for VM runtimes. |
| 197 | "volumeType": "A String", # Underlying volume type, e.g. 'tmpfs'. |
| 198 | "name": "A String", # Unique name for the volume. |
| 199 | "sizeGb": 3.14, # Volume size in gigabytes. |
| 200 | }, |
| 201 | ], |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 202 | "diskGb": 3.14, # Disk size (GB) needed. |
| 203 | "cpu": 3.14, # Number of CPU cores needed. |
| 204 | "memoryGb": 3.14, # Memory (GB) needed. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 205 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 206 | "deployer": "A String", # Email address of the user who created this version.@OutputOnly |
| 207 | "basicScaling": { # A module 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. # A module 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. |
| 208 | "idleTimeout": "A String", # Duration of time after the last request that an instance must wait before the instance is shut down. |
| 209 | "maxInstances": 42, # Maximum number of instances to create for this version. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 210 | }, |
| 211 | "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service. |
| 212 | "A String", |
| 213 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 214 | "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 215 | "files": { # 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. |
| 216 | "a_key": { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 217 | "mimeType": "A String", # The MIME type of the file.Defaults to the value from Google Cloud Storage. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 218 | "sourceUrl": "A String", # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 219 | "sha1Sum": "A String", # The SHA1 hash of the file, in hex. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 220 | }, |
| 221 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 222 | "sourceReferences": [ # Origin of the source code for this deployment. There can be more than one source reference per version if source code is distributed among multiple repositories. |
| 223 | { # Reference to a particular snapshot of the source tree used to build and deploy the application. |
| 224 | "revisionId": "A String", # The canonical, persistent identifier of the deployed revision. Aliases that include tags or branch names are not allowed. Example (git): "2198322f89e0bb2e25021667c2ed489d1fd34e6b" |
| 225 | "repository": "A String", # URI string identifying the repository. Example: "https://source.developers.google.com/p/app-123/r/default" |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 226 | }, |
| 227 | ], |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 228 | "container": { # Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment. # The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment. |
| 229 | "image": "A 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" |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 230 | }, |
| 231 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 232 | "threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once. |
| 233 | "runtimeApiVersion": "A 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/<language>/config/appref |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 234 | "nobuildFilesRegex": "A String", # 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. |
| 235 | "name": "A String", # Full path to the Version resource in the API. Example: apps/myapp/modules/default/versions/v1.@OutputOnly |
| 236 | "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. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 237 | { # URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code, or by serving static files uploaded with the version, such as images, CSS, or JavaScript. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 238 | "staticDirectory": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static directory handlers make it easy to serve the entire contents of a directory as static files. # Serves the entire contents of a directory as static files.This attribute is deprecated. You can mimic the behavior of static directories using static files. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 239 | "mimeType": "A String", # MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are direved from each file's filename extension. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 240 | "httpHeaders": { # HTTP headers to use for all responses from these URLs. |
| 241 | "a_key": "A String", |
| 242 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 243 | "expiration": "A String", # Time a static file served by this handler should be cached. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 244 | "directory": "A String", # Path to the directory containing the static files from the application root directory. Everything after the end of the matched URL pattern is appended to static_dir to form the full path to the requested file. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 245 | "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist. |
| 246 | "applicationReadable": True or False, # Whether files should also be uploaded as code data. By default, files declared in static directory 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. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 247 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 248 | "securityLevel": "A String", # Security (HTTPS) enforcement for this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 249 | "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 250 | "urlRegex": "A String", # A 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. |
| 251 | "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the request that matches this URL pattern. |
| 252 | "scriptPath": "A String", # Path to the script from the application root directory. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 253 | }, |
| 254 | "staticFiles": { # 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. # Returns the contents of a file, such as an image, as the response. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 255 | "mimeType": "A 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. |
| 256 | "applicationReadable": True or False, # 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. |
| 257 | "expiration": "A String", # Time a static file served by this handler should be cached. |
| 258 | "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist. |
| 259 | "uploadPathRegex": "A String", # Regular expression that matches the file paths for all files that should be referenced by this handler. |
| 260 | "path": "A 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. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 261 | "httpHeaders": { # HTTP headers to use for all responses from these URLs. |
| 262 | "a_key": "A String", |
| 263 | }, |
| 264 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 265 | "apiEndpoint": { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests. |
| 266 | "scriptPath": "A String", # Path to the script from the application root directory. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 267 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 268 | "redirectHttpResponseCode": "A String", # 30x code to use when performing redirects for the secure field. Defaults to 302. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 269 | "login": "A String", # Level of login required to access this resource. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 270 | }, |
| 271 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 272 | "creationTime": "A String", # Time that this version was created.@OutputOnly |
| 273 | "servingStatus": "A String", # 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. |
| 274 | "runtime": "A String", # Desired runtime. Example: python27. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 275 | } |
| 276 | |
| 277 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 278 | Allowed values |
| 279 | 1 - v1 error format |
| 280 | 2 - v2 error format |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 281 | |
| 282 | Returns: |
| 283 | An object of the form: |
| 284 | |
| 285 | { # This resource represents a long-running operation that is the result of a network API call. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 286 | "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). The error model is designed to be: # The error result of the operation in case of failure or cancellation. |
| 287 | # Simple to use and understand for most users |
| 288 | # Flexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc that can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include: |
| 289 | # Partial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors. |
| 290 | # Workflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting. |
| 291 | # Batch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response. |
| 292 | # Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message. |
| 293 | # Logging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 294 | "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. |
| 295 | "code": 42, # The status code, which should be an enum value of google.rpc.Code. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 296 | "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. |
| 297 | { |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 298 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 299 | }, |
| 300 | ], |
| 301 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 302 | "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 303 | "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse. |
| 304 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
| 305 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 306 | "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 307 | "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 308 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 309 | }, |
| 310 | }</pre> |
| 311 | </div> |
| 312 | |
| 313 | <div class="method"> |
| 314 | <code class="details" id="delete">delete(appsId, modulesId, versionsId, x__xgafv=None)</code> |
| 315 | <pre>Deletes an existing version. |
| 316 | |
| 317 | Args: |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 318 | appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default/versions/v1. (required) |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 319 | modulesId: string, Part of `name`. See documentation of `appsId`. (required) |
| 320 | versionsId: string, Part of `name`. See documentation of `appsId`. (required) |
| 321 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 322 | Allowed values |
| 323 | 1 - v1 error format |
| 324 | 2 - v2 error format |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 325 | |
| 326 | Returns: |
| 327 | An object of the form: |
| 328 | |
| 329 | { # This resource represents a long-running operation that is the result of a network API call. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 330 | "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). The error model is designed to be: # The error result of the operation in case of failure or cancellation. |
| 331 | # Simple to use and understand for most users |
| 332 | # Flexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc that can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include: |
| 333 | # Partial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors. |
| 334 | # Workflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting. |
| 335 | # Batch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response. |
| 336 | # Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message. |
| 337 | # Logging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 338 | "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. |
| 339 | "code": 42, # The status code, which should be an enum value of google.rpc.Code. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 340 | "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. |
| 341 | { |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 342 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 343 | }, |
| 344 | ], |
| 345 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 346 | "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 347 | "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse. |
| 348 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
| 349 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 350 | "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 351 | "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 352 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 353 | }, |
| 354 | }</pre> |
| 355 | </div> |
| 356 | |
| 357 | <div class="method"> |
| 358 | <code class="details" id="get">get(appsId, modulesId, versionsId, x__xgafv=None, view=None)</code> |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 359 | <pre>Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 360 | |
| 361 | Args: |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 362 | appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default/versions/v1. (required) |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 363 | modulesId: string, Part of `name`. See documentation of `appsId`. (required) |
| 364 | versionsId: string, Part of `name`. See documentation of `appsId`. (required) |
| 365 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 366 | Allowed values |
| 367 | 1 - v1 error format |
| 368 | 2 - v2 error format |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 369 | view: string, Controls the set of fields returned in the Get response. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 370 | |
| 371 | Returns: |
| 372 | An object of the form: |
| 373 | |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 374 | { # A Version resource is a specific set of source code and configuration files that are deployed into a module. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 375 | "betaSettings": { # Metadata settings that are supplied to this version to enable beta runtime features. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 376 | "a_key": "A String", |
| 377 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 378 | "defaultExpiration": "A String", # 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. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 379 | "vm": True or False, # Whether to deploy this version in a container on a virtual machine. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 380 | "instanceClass": "A String", # Instance class that is used to run this version. Valid values are: |
| 381 | # AutomaticScaling: F1, F2, F4, F4_1G |
| 382 | # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 383 | "errorHandlers": [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 384 | { # Custom static error page to be served when an error occurs. |
| 385 | "errorCode": "A String", # Error condition this handler applies to. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 386 | "mimeType": "A String", # MIME type of file. Defaults to text/html. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 387 | "staticFile": "A String", # Static file content to be served for this error. |
| 388 | }, |
| 389 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 390 | "id": "A String", # Relative name of the version within the module. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-". |
| 391 | "apiConfig": { # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers. # Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 392 | "url": "A String", # URL to serve the endpoint at. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 393 | "securityLevel": "A String", # Security (HTTPS) enforcement for this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 394 | "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect. |
| 395 | "login": "A String", # Level of login required to access this resource. Defaults to optional. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 396 | "script": "A String", # Path to the script from the application root directory. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 397 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 398 | "network": { # Extra network settings. Only applicable for VM runtimes. # Extra network settings. Only applicable for VM runtimes. |
| 399 | "instanceTag": "A String", # Tag to apply to the VM instance during creation. |
| 400 | "forwardedPorts": [ # List of ports, or port pairs, to forward from the virtual machine to the application container. |
| 401 | "A String", |
| 402 | ], |
| 403 | "name": "A String", # Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default. |
| 404 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 405 | "healthCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment. # Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 406 | "restartThreshold": 42, # Number of consecutive failed health checks required before an instance is restarted. |
| 407 | "checkInterval": "A String", # Interval between health checks. |
| 408 | "unhealthyThreshold": 42, # Number of consecutive failed health checks required before removing traffic. |
| 409 | "healthyThreshold": 42, # Number of consecutive successful health checks required before receiving traffic. |
| 410 | "host": "A String", # Host header to send when performing an HTTP health check. Example: "myapp.appspot.com" |
| 411 | "timeout": "A String", # Time before the health check is considered failed. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 412 | "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance. |
| 413 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 414 | "libraries": [ # Configuration for third-party Python runtime libraries required by the application.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 415 | { # Third-party Python runtime library that is required by the application. |
| 416 | "version": "A String", # Version of the library to select, or "latest". |
| 417 | "name": "A String", # Name of the library. Example: "django". |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 418 | }, |
| 419 | ], |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 420 | "manualScaling": { # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. |
| 421 | "instances": 42, # Number of instances to assign to the module at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function. |
| 422 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 423 | "env": "A String", # App Engine execution environment to use for this version.Defaults to 1. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 424 | "automaticScaling": { # Automatic scaling is based on request rate, response latencies, and other application metrics. # Automatic scaling is based on request rate, response latencies, and other application metrics. |
| 425 | "minPendingLatency": "A String", # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. |
| 426 | "networkUtilization": { # Target scaling by network usage. Only applicable for VM runtimes. # Target scaling by network usage. |
| 427 | "targetReceivedBytesPerSec": 42, # Target bytes received per second. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 428 | "targetSentPacketsPerSec": 42, # Target packets sent per second. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 429 | "targetReceivedPacketsPerSec": 42, # Target packets received per second. |
| 430 | "targetSentBytesPerSec": 42, # Target bytes sent per second. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 431 | }, |
| 432 | "diskUtilization": { # Target scaling by disk usage. Only applicable for VM runtimes. # Target scaling by disk usage. |
| 433 | "targetWriteOpsPerSec": 42, # Target ops written per second. |
| 434 | "targetReadBytesPerSec": 42, # Target bytes read per second. |
| 435 | "targetReadOpsPerSec": 42, # Target ops read per second. |
| 436 | "targetWriteBytesPerSec": 42, # Target bytes written per second. |
| 437 | }, |
| 438 | "maxPendingLatency": "A String", # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. |
| 439 | "maxIdleInstances": 42, # Maximum number of idle instances that should be maintained for this version. |
| 440 | "minIdleInstances": 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a module. |
| 441 | "requestUtilization": { # Target scaling by request utilization. Only applicable for VM runtimes. # Target scaling by request utilization. |
| 442 | "targetConcurrentRequests": 42, # Target number of concurrent requests. |
| 443 | "targetRequestCountPerSec": 42, # Target requests per second. |
| 444 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 445 | "coolDownPeriod": "A String", # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 446 | "maxTotalInstances": 42, # Maximum number of instances that should be started to handle requests. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 447 | "maxConcurrentRequests": 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 448 | "minTotalInstances": 42, # Minimum number of instances that should be maintained for this version. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 449 | "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 450 | "targetUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1. |
| 451 | "aggregationWindowLength": "A String", # Period of time over which CPU utilization is calculated. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 452 | }, |
| 453 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 454 | "envVariables": { # Environment variables made available to the application.Only returned in GET requests if view=FULL is set. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 455 | "a_key": "A String", |
| 456 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 457 | "resources": { # Machine resources for a version. # Machine resources for this version. Only applicable for VM runtimes. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 458 | "volumes": [ # User specified volumes. |
| 459 | { # Volumes mounted within the app container. Only applicable for VM runtimes. |
| 460 | "volumeType": "A String", # Underlying volume type, e.g. 'tmpfs'. |
| 461 | "name": "A String", # Unique name for the volume. |
| 462 | "sizeGb": 3.14, # Volume size in gigabytes. |
| 463 | }, |
| 464 | ], |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 465 | "diskGb": 3.14, # Disk size (GB) needed. |
| 466 | "cpu": 3.14, # Number of CPU cores needed. |
| 467 | "memoryGb": 3.14, # Memory (GB) needed. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 468 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 469 | "deployer": "A String", # Email address of the user who created this version.@OutputOnly |
| 470 | "basicScaling": { # A module 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. # A module 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. |
| 471 | "idleTimeout": "A String", # Duration of time after the last request that an instance must wait before the instance is shut down. |
| 472 | "maxInstances": 42, # Maximum number of instances to create for this version. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 473 | }, |
| 474 | "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service. |
| 475 | "A String", |
| 476 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 477 | "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 478 | "files": { # 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. |
| 479 | "a_key": { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 480 | "mimeType": "A String", # The MIME type of the file.Defaults to the value from Google Cloud Storage. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 481 | "sourceUrl": "A String", # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 482 | "sha1Sum": "A String", # The SHA1 hash of the file, in hex. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 483 | }, |
| 484 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 485 | "sourceReferences": [ # Origin of the source code for this deployment. There can be more than one source reference per version if source code is distributed among multiple repositories. |
| 486 | { # Reference to a particular snapshot of the source tree used to build and deploy the application. |
| 487 | "revisionId": "A String", # The canonical, persistent identifier of the deployed revision. Aliases that include tags or branch names are not allowed. Example (git): "2198322f89e0bb2e25021667c2ed489d1fd34e6b" |
| 488 | "repository": "A String", # URI string identifying the repository. Example: "https://source.developers.google.com/p/app-123/r/default" |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 489 | }, |
| 490 | ], |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 491 | "container": { # Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment. # The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment. |
| 492 | "image": "A 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" |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 493 | }, |
| 494 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 495 | "threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once. |
| 496 | "runtimeApiVersion": "A 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/<language>/config/appref |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 497 | "nobuildFilesRegex": "A String", # 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. |
| 498 | "name": "A String", # Full path to the Version resource in the API. Example: apps/myapp/modules/default/versions/v1.@OutputOnly |
| 499 | "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. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 500 | { # URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code, or by serving static files uploaded with the version, such as images, CSS, or JavaScript. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 501 | "staticDirectory": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static directory handlers make it easy to serve the entire contents of a directory as static files. # Serves the entire contents of a directory as static files.This attribute is deprecated. You can mimic the behavior of static directories using static files. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 502 | "mimeType": "A String", # MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are direved from each file's filename extension. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 503 | "httpHeaders": { # HTTP headers to use for all responses from these URLs. |
| 504 | "a_key": "A String", |
| 505 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 506 | "expiration": "A String", # Time a static file served by this handler should be cached. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 507 | "directory": "A String", # Path to the directory containing the static files from the application root directory. Everything after the end of the matched URL pattern is appended to static_dir to form the full path to the requested file. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 508 | "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist. |
| 509 | "applicationReadable": True or False, # Whether files should also be uploaded as code data. By default, files declared in static directory 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. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 510 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 511 | "securityLevel": "A String", # Security (HTTPS) enforcement for this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 512 | "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 513 | "urlRegex": "A String", # A 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. |
| 514 | "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the request that matches this URL pattern. |
| 515 | "scriptPath": "A String", # Path to the script from the application root directory. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 516 | }, |
| 517 | "staticFiles": { # 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. # Returns the contents of a file, such as an image, as the response. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 518 | "mimeType": "A 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. |
| 519 | "applicationReadable": True or False, # 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. |
| 520 | "expiration": "A String", # Time a static file served by this handler should be cached. |
| 521 | "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist. |
| 522 | "uploadPathRegex": "A String", # Regular expression that matches the file paths for all files that should be referenced by this handler. |
| 523 | "path": "A 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. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 524 | "httpHeaders": { # HTTP headers to use for all responses from these URLs. |
| 525 | "a_key": "A String", |
| 526 | }, |
| 527 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 528 | "apiEndpoint": { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests. |
| 529 | "scriptPath": "A String", # Path to the script from the application root directory. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 530 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 531 | "redirectHttpResponseCode": "A String", # 30x code to use when performing redirects for the secure field. Defaults to 302. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 532 | "login": "A String", # Level of login required to access this resource. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 533 | }, |
| 534 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 535 | "creationTime": "A String", # Time that this version was created.@OutputOnly |
| 536 | "servingStatus": "A String", # 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. |
| 537 | "runtime": "A String", # Desired runtime. Example: python27. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 538 | }</pre> |
| 539 | </div> |
| 540 | |
| 541 | <div class="method"> |
| 542 | <code class="details" id="list">list(appsId, modulesId, pageSize=None, pageToken=None, x__xgafv=None, view=None)</code> |
| 543 | <pre>Lists the versions of a module. |
| 544 | |
| 545 | Args: |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 546 | appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default. (required) |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 547 | modulesId: string, Part of `name`. See documentation of `appsId`. (required) |
| 548 | pageSize: integer, Maximum results to return per page. |
| 549 | pageToken: string, Continuation token for fetching the next page of results. |
| 550 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 551 | Allowed values |
| 552 | 1 - v1 error format |
| 553 | 2 - v2 error format |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 554 | view: string, Controls the set of fields returned in the List response. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 555 | |
| 556 | Returns: |
| 557 | An object of the form: |
| 558 | |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 559 | { # Response message for Versions.ListVersions. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 560 | "nextPageToken": "A String", # Continuation token for fetching the next page of results. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 561 | "versions": [ # The versions belonging to the requested module. |
| 562 | { # A Version resource is a specific set of source code and configuration files that are deployed into a module. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 563 | "betaSettings": { # Metadata settings that are supplied to this version to enable beta runtime features. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 564 | "a_key": "A String", |
| 565 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 566 | "defaultExpiration": "A String", # 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. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 567 | "vm": True or False, # Whether to deploy this version in a container on a virtual machine. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 568 | "instanceClass": "A String", # Instance class that is used to run this version. Valid values are: |
| 569 | # AutomaticScaling: F1, F2, F4, F4_1G |
| 570 | # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 571 | "errorHandlers": [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 572 | { # Custom static error page to be served when an error occurs. |
| 573 | "errorCode": "A String", # Error condition this handler applies to. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 574 | "mimeType": "A String", # MIME type of file. Defaults to text/html. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 575 | "staticFile": "A String", # Static file content to be served for this error. |
| 576 | }, |
| 577 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 578 | "id": "A String", # Relative name of the version within the module. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-". |
| 579 | "apiConfig": { # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers. # Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 580 | "url": "A String", # URL to serve the endpoint at. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 581 | "securityLevel": "A String", # Security (HTTPS) enforcement for this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 582 | "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect. |
| 583 | "login": "A String", # Level of login required to access this resource. Defaults to optional. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 584 | "script": "A String", # Path to the script from the application root directory. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 585 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 586 | "network": { # Extra network settings. Only applicable for VM runtimes. # Extra network settings. Only applicable for VM runtimes. |
| 587 | "instanceTag": "A String", # Tag to apply to the VM instance during creation. |
| 588 | "forwardedPorts": [ # List of ports, or port pairs, to forward from the virtual machine to the application container. |
| 589 | "A String", |
| 590 | ], |
| 591 | "name": "A String", # Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default. |
| 592 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 593 | "healthCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment. # Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 594 | "restartThreshold": 42, # Number of consecutive failed health checks required before an instance is restarted. |
| 595 | "checkInterval": "A String", # Interval between health checks. |
| 596 | "unhealthyThreshold": 42, # Number of consecutive failed health checks required before removing traffic. |
| 597 | "healthyThreshold": 42, # Number of consecutive successful health checks required before receiving traffic. |
| 598 | "host": "A String", # Host header to send when performing an HTTP health check. Example: "myapp.appspot.com" |
| 599 | "timeout": "A String", # Time before the health check is considered failed. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 600 | "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance. |
| 601 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 602 | "libraries": [ # Configuration for third-party Python runtime libraries required by the application.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 603 | { # Third-party Python runtime library that is required by the application. |
| 604 | "version": "A String", # Version of the library to select, or "latest". |
| 605 | "name": "A String", # Name of the library. Example: "django". |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 606 | }, |
| 607 | ], |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 608 | "manualScaling": { # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. |
| 609 | "instances": 42, # Number of instances to assign to the module at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function. |
| 610 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 611 | "env": "A String", # App Engine execution environment to use for this version.Defaults to 1. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 612 | "automaticScaling": { # Automatic scaling is based on request rate, response latencies, and other application metrics. # Automatic scaling is based on request rate, response latencies, and other application metrics. |
| 613 | "minPendingLatency": "A String", # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. |
| 614 | "networkUtilization": { # Target scaling by network usage. Only applicable for VM runtimes. # Target scaling by network usage. |
| 615 | "targetReceivedBytesPerSec": 42, # Target bytes received per second. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 616 | "targetSentPacketsPerSec": 42, # Target packets sent per second. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 617 | "targetReceivedPacketsPerSec": 42, # Target packets received per second. |
| 618 | "targetSentBytesPerSec": 42, # Target bytes sent per second. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 619 | }, |
| 620 | "diskUtilization": { # Target scaling by disk usage. Only applicable for VM runtimes. # Target scaling by disk usage. |
| 621 | "targetWriteOpsPerSec": 42, # Target ops written per second. |
| 622 | "targetReadBytesPerSec": 42, # Target bytes read per second. |
| 623 | "targetReadOpsPerSec": 42, # Target ops read per second. |
| 624 | "targetWriteBytesPerSec": 42, # Target bytes written per second. |
| 625 | }, |
| 626 | "maxPendingLatency": "A String", # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. |
| 627 | "maxIdleInstances": 42, # Maximum number of idle instances that should be maintained for this version. |
| 628 | "minIdleInstances": 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a module. |
| 629 | "requestUtilization": { # Target scaling by request utilization. Only applicable for VM runtimes. # Target scaling by request utilization. |
| 630 | "targetConcurrentRequests": 42, # Target number of concurrent requests. |
| 631 | "targetRequestCountPerSec": 42, # Target requests per second. |
| 632 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 633 | "coolDownPeriod": "A String", # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 634 | "maxTotalInstances": 42, # Maximum number of instances that should be started to handle requests. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 635 | "maxConcurrentRequests": 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 636 | "minTotalInstances": 42, # Minimum number of instances that should be maintained for this version. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 637 | "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 638 | "targetUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1. |
| 639 | "aggregationWindowLength": "A String", # Period of time over which CPU utilization is calculated. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 640 | }, |
| 641 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 642 | "envVariables": { # Environment variables made available to the application.Only returned in GET requests if view=FULL is set. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 643 | "a_key": "A String", |
| 644 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 645 | "resources": { # Machine resources for a version. # Machine resources for this version. Only applicable for VM runtimes. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 646 | "volumes": [ # User specified volumes. |
| 647 | { # Volumes mounted within the app container. Only applicable for VM runtimes. |
| 648 | "volumeType": "A String", # Underlying volume type, e.g. 'tmpfs'. |
| 649 | "name": "A String", # Unique name for the volume. |
| 650 | "sizeGb": 3.14, # Volume size in gigabytes. |
| 651 | }, |
| 652 | ], |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 653 | "diskGb": 3.14, # Disk size (GB) needed. |
| 654 | "cpu": 3.14, # Number of CPU cores needed. |
| 655 | "memoryGb": 3.14, # Memory (GB) needed. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 656 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 657 | "deployer": "A String", # Email address of the user who created this version.@OutputOnly |
| 658 | "basicScaling": { # A module 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. # A module 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. |
| 659 | "idleTimeout": "A String", # Duration of time after the last request that an instance must wait before the instance is shut down. |
| 660 | "maxInstances": 42, # Maximum number of instances to create for this version. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 661 | }, |
| 662 | "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service. |
| 663 | "A String", |
| 664 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 665 | "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 666 | "files": { # 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. |
| 667 | "a_key": { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 668 | "mimeType": "A String", # The MIME type of the file.Defaults to the value from Google Cloud Storage. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 669 | "sourceUrl": "A String", # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 670 | "sha1Sum": "A String", # The SHA1 hash of the file, in hex. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 671 | }, |
| 672 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 673 | "sourceReferences": [ # Origin of the source code for this deployment. There can be more than one source reference per version if source code is distributed among multiple repositories. |
| 674 | { # Reference to a particular snapshot of the source tree used to build and deploy the application. |
| 675 | "revisionId": "A String", # The canonical, persistent identifier of the deployed revision. Aliases that include tags or branch names are not allowed. Example (git): "2198322f89e0bb2e25021667c2ed489d1fd34e6b" |
| 676 | "repository": "A String", # URI string identifying the repository. Example: "https://source.developers.google.com/p/app-123/r/default" |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 677 | }, |
| 678 | ], |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 679 | "container": { # Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment. # The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment. |
| 680 | "image": "A 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" |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 681 | }, |
| 682 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 683 | "threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once. |
| 684 | "runtimeApiVersion": "A 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/<language>/config/appref |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 685 | "nobuildFilesRegex": "A String", # 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. |
| 686 | "name": "A String", # Full path to the Version resource in the API. Example: apps/myapp/modules/default/versions/v1.@OutputOnly |
| 687 | "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. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 688 | { # URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code, or by serving static files uploaded with the version, such as images, CSS, or JavaScript. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 689 | "staticDirectory": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static directory handlers make it easy to serve the entire contents of a directory as static files. # Serves the entire contents of a directory as static files.This attribute is deprecated. You can mimic the behavior of static directories using static files. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 690 | "mimeType": "A String", # MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are direved from each file's filename extension. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 691 | "httpHeaders": { # HTTP headers to use for all responses from these URLs. |
| 692 | "a_key": "A String", |
| 693 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 694 | "expiration": "A String", # Time a static file served by this handler should be cached. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 695 | "directory": "A String", # Path to the directory containing the static files from the application root directory. Everything after the end of the matched URL pattern is appended to static_dir to form the full path to the requested file. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 696 | "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist. |
| 697 | "applicationReadable": True or False, # Whether files should also be uploaded as code data. By default, files declared in static directory 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. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 698 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 699 | "securityLevel": "A String", # Security (HTTPS) enforcement for this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 700 | "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 701 | "urlRegex": "A String", # A 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. |
| 702 | "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the request that matches this URL pattern. |
| 703 | "scriptPath": "A String", # Path to the script from the application root directory. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 704 | }, |
| 705 | "staticFiles": { # 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. # Returns the contents of a file, such as an image, as the response. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 706 | "mimeType": "A 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. |
| 707 | "applicationReadable": True or False, # 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. |
| 708 | "expiration": "A String", # Time a static file served by this handler should be cached. |
| 709 | "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist. |
| 710 | "uploadPathRegex": "A String", # Regular expression that matches the file paths for all files that should be referenced by this handler. |
| 711 | "path": "A 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. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 712 | "httpHeaders": { # HTTP headers to use for all responses from these URLs. |
| 713 | "a_key": "A String", |
| 714 | }, |
| 715 | }, |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 716 | "apiEndpoint": { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests. |
| 717 | "scriptPath": "A String", # Path to the script from the application root directory. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 718 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 719 | "redirectHttpResponseCode": "A String", # 30x code to use when performing redirects for the secure field. Defaults to 302. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 720 | "login": "A String", # Level of login required to access this resource. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 721 | }, |
| 722 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 723 | "creationTime": "A String", # Time that this version was created.@OutputOnly |
| 724 | "servingStatus": "A String", # 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. |
| 725 | "runtime": "A String", # Desired runtime. Example: python27. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 726 | }, |
| 727 | ], |
| 728 | }</pre> |
| 729 | </div> |
| 730 | |
| 731 | <div class="method"> |
| 732 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 733 | <pre>Retrieves the next page of results. |
| 734 | |
| 735 | Args: |
| 736 | previous_request: The request for the previous page. (required) |
| 737 | previous_response: The response from the request for the previous page. (required) |
| 738 | |
| 739 | Returns: |
| 740 | A request object that you can call 'execute()' on to request the next |
| 741 | page. Returns None if there are no more items in the collection. |
| 742 | </pre> |
| 743 | </div> |
| 744 | |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 745 | <div class="method"> |
| 746 | <code class="details" id="patch">patch(appsId, modulesId, versionsId, body, mask=None, x__xgafv=None)</code> |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 747 | <pre>Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses: |
| 748 | serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment. |
| 749 | instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment. |
| 750 | automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment. |
| 751 | automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 752 | |
| 753 | Args: |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 754 | appsId: string, Part of `name`. Name of the resource to update. Example: apps/myapp/modules/default/versions/1. (required) |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 755 | modulesId: string, Part of `name`. See documentation of `appsId`. (required) |
| 756 | versionsId: string, Part of `name`. See documentation of `appsId`. (required) |
| 757 | body: object, The request body. (required) |
| 758 | The object takes the form of: |
| 759 | |
| 760 | { # A Version resource is a specific set of source code and configuration files that are deployed into a module. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 761 | "betaSettings": { # Metadata settings that are supplied to this version to enable beta runtime features. |
| 762 | "a_key": "A String", |
| 763 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 764 | "defaultExpiration": "A String", # 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. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 765 | "vm": True or False, # Whether to deploy this version in a container on a virtual machine. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 766 | "instanceClass": "A String", # Instance class that is used to run this version. Valid values are: |
| 767 | # AutomaticScaling: F1, F2, F4, F4_1G |
| 768 | # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 769 | "errorHandlers": [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 770 | { # Custom static error page to be served when an error occurs. |
| 771 | "errorCode": "A String", # Error condition this handler applies to. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 772 | "mimeType": "A String", # MIME type of file. Defaults to text/html. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 773 | "staticFile": "A String", # Static file content to be served for this error. |
| 774 | }, |
| 775 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 776 | "id": "A String", # Relative name of the version within the module. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-". |
| 777 | "apiConfig": { # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers. # Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 778 | "url": "A String", # URL to serve the endpoint at. |
| 779 | "securityLevel": "A String", # Security (HTTPS) enforcement for this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 780 | "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect. |
| 781 | "login": "A String", # Level of login required to access this resource. Defaults to optional. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 782 | "script": "A String", # Path to the script from the application root directory. |
| 783 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 784 | "network": { # Extra network settings. Only applicable for VM runtimes. # Extra network settings. Only applicable for VM runtimes. |
| 785 | "instanceTag": "A String", # Tag to apply to the VM instance during creation. |
| 786 | "forwardedPorts": [ # List of ports, or port pairs, to forward from the virtual machine to the application container. |
| 787 | "A String", |
| 788 | ], |
| 789 | "name": "A String", # Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default. |
| 790 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 791 | "healthCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment. # Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 792 | "restartThreshold": 42, # Number of consecutive failed health checks required before an instance is restarted. |
| 793 | "checkInterval": "A String", # Interval between health checks. |
| 794 | "unhealthyThreshold": 42, # Number of consecutive failed health checks required before removing traffic. |
| 795 | "healthyThreshold": 42, # Number of consecutive successful health checks required before receiving traffic. |
| 796 | "host": "A String", # Host header to send when performing an HTTP health check. Example: "myapp.appspot.com" |
| 797 | "timeout": "A String", # Time before the health check is considered failed. |
| 798 | "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance. |
| 799 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 800 | "libraries": [ # Configuration for third-party Python runtime libraries required by the application.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 801 | { # Third-party Python runtime library that is required by the application. |
| 802 | "version": "A String", # Version of the library to select, or "latest". |
| 803 | "name": "A String", # Name of the library. Example: "django". |
| 804 | }, |
| 805 | ], |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 806 | "manualScaling": { # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. |
| 807 | "instances": 42, # Number of instances to assign to the module at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function. |
| 808 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 809 | "env": "A String", # App Engine execution environment to use for this version.Defaults to 1. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 810 | "automaticScaling": { # Automatic scaling is based on request rate, response latencies, and other application metrics. # Automatic scaling is based on request rate, response latencies, and other application metrics. |
| 811 | "minPendingLatency": "A String", # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. |
| 812 | "networkUtilization": { # Target scaling by network usage. Only applicable for VM runtimes. # Target scaling by network usage. |
| 813 | "targetReceivedBytesPerSec": 42, # Target bytes received per second. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 814 | "targetSentPacketsPerSec": 42, # Target packets sent per second. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 815 | "targetReceivedPacketsPerSec": 42, # Target packets received per second. |
| 816 | "targetSentBytesPerSec": 42, # Target bytes sent per second. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 817 | }, |
| 818 | "diskUtilization": { # Target scaling by disk usage. Only applicable for VM runtimes. # Target scaling by disk usage. |
| 819 | "targetWriteOpsPerSec": 42, # Target ops written per second. |
| 820 | "targetReadBytesPerSec": 42, # Target bytes read per second. |
| 821 | "targetReadOpsPerSec": 42, # Target ops read per second. |
| 822 | "targetWriteBytesPerSec": 42, # Target bytes written per second. |
| 823 | }, |
| 824 | "maxPendingLatency": "A String", # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. |
| 825 | "maxIdleInstances": 42, # Maximum number of idle instances that should be maintained for this version. |
| 826 | "minIdleInstances": 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a module. |
| 827 | "requestUtilization": { # Target scaling by request utilization. Only applicable for VM runtimes. # Target scaling by request utilization. |
| 828 | "targetConcurrentRequests": 42, # Target number of concurrent requests. |
| 829 | "targetRequestCountPerSec": 42, # Target requests per second. |
| 830 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 831 | "coolDownPeriod": "A String", # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 832 | "maxTotalInstances": 42, # Maximum number of instances that should be started to handle requests. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 833 | "maxConcurrentRequests": 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 834 | "minTotalInstances": 42, # Minimum number of instances that should be maintained for this version. |
| 835 | "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage. |
| 836 | "targetUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1. |
| 837 | "aggregationWindowLength": "A String", # Period of time over which CPU utilization is calculated. |
| 838 | }, |
| 839 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 840 | "envVariables": { # Environment variables made available to the application.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 841 | "a_key": "A String", |
| 842 | }, |
| 843 | "resources": { # Machine resources for a version. # Machine resources for this version. Only applicable for VM runtimes. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 844 | "volumes": [ # User specified volumes. |
| 845 | { # Volumes mounted within the app container. Only applicable for VM runtimes. |
| 846 | "volumeType": "A String", # Underlying volume type, e.g. 'tmpfs'. |
| 847 | "name": "A String", # Unique name for the volume. |
| 848 | "sizeGb": 3.14, # Volume size in gigabytes. |
| 849 | }, |
| 850 | ], |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 851 | "diskGb": 3.14, # Disk size (GB) needed. |
| 852 | "cpu": 3.14, # Number of CPU cores needed. |
| 853 | "memoryGb": 3.14, # Memory (GB) needed. |
| 854 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 855 | "deployer": "A String", # Email address of the user who created this version.@OutputOnly |
| 856 | "basicScaling": { # A module 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. # A module 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. |
| 857 | "idleTimeout": "A String", # Duration of time after the last request that an instance must wait before the instance is shut down. |
| 858 | "maxInstances": 42, # Maximum number of instances to create for this version. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 859 | }, |
| 860 | "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service. |
| 861 | "A String", |
| 862 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 863 | "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 864 | "files": { # 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. |
| 865 | "a_key": { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 866 | "mimeType": "A String", # The MIME type of the file.Defaults to the value from Google Cloud Storage. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 867 | "sourceUrl": "A String", # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 868 | "sha1Sum": "A String", # The SHA1 hash of the file, in hex. |
| 869 | }, |
| 870 | }, |
| 871 | "sourceReferences": [ # Origin of the source code for this deployment. There can be more than one source reference per version if source code is distributed among multiple repositories. |
| 872 | { # Reference to a particular snapshot of the source tree used to build and deploy the application. |
| 873 | "revisionId": "A String", # The canonical, persistent identifier of the deployed revision. Aliases that include tags or branch names are not allowed. Example (git): "2198322f89e0bb2e25021667c2ed489d1fd34e6b" |
| 874 | "repository": "A String", # URI string identifying the repository. Example: "https://source.developers.google.com/p/app-123/r/default" |
| 875 | }, |
| 876 | ], |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 877 | "container": { # Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment. # The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment. |
| 878 | "image": "A 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" |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 879 | }, |
| 880 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 881 | "threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once. |
| 882 | "runtimeApiVersion": "A 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/<language>/config/appref |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 883 | "nobuildFilesRegex": "A String", # 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. |
| 884 | "name": "A String", # Full path to the Version resource in the API. Example: apps/myapp/modules/default/versions/v1.@OutputOnly |
| 885 | "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. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 886 | { # URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code, or by serving static files uploaded with the version, such as images, CSS, or JavaScript. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 887 | "staticDirectory": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static directory handlers make it easy to serve the entire contents of a directory as static files. # Serves the entire contents of a directory as static files.This attribute is deprecated. You can mimic the behavior of static directories using static files. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 888 | "mimeType": "A String", # MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are direved from each file's filename extension. |
| 889 | "httpHeaders": { # HTTP headers to use for all responses from these URLs. |
| 890 | "a_key": "A String", |
| 891 | }, |
| 892 | "expiration": "A String", # Time a static file served by this handler should be cached. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 893 | "directory": "A String", # Path to the directory containing the static files from the application root directory. Everything after the end of the matched URL pattern is appended to static_dir to form the full path to the requested file. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 894 | "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist. |
| 895 | "applicationReadable": True or False, # Whether files should also be uploaded as code data. By default, files declared in static directory 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. |
| 896 | }, |
| 897 | "securityLevel": "A String", # Security (HTTPS) enforcement for this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 898 | "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 899 | "urlRegex": "A String", # A 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. |
| 900 | "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the request that matches this URL pattern. |
| 901 | "scriptPath": "A String", # Path to the script from the application root directory. |
| 902 | }, |
| 903 | "staticFiles": { # 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. # Returns the contents of a file, such as an image, as the response. |
| 904 | "mimeType": "A 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. |
| 905 | "applicationReadable": True or False, # 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. |
| 906 | "expiration": "A String", # Time a static file served by this handler should be cached. |
| 907 | "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist. |
| 908 | "uploadPathRegex": "A String", # Regular expression that matches the file paths for all files that should be referenced by this handler. |
| 909 | "path": "A 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. |
| 910 | "httpHeaders": { # HTTP headers to use for all responses from these URLs. |
| 911 | "a_key": "A String", |
| 912 | }, |
| 913 | }, |
| 914 | "apiEndpoint": { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests. |
| 915 | "scriptPath": "A String", # Path to the script from the application root directory. |
| 916 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 917 | "redirectHttpResponseCode": "A String", # 30x code to use when performing redirects for the secure field. Defaults to 302. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 918 | "login": "A String", # Level of login required to access this resource. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 919 | }, |
| 920 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 921 | "creationTime": "A String", # Time that this version was created.@OutputOnly |
| 922 | "servingStatus": "A String", # 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. |
| 923 | "runtime": "A String", # Desired runtime. Example: python27. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 924 | } |
| 925 | |
| 926 | mask: string, Standard field mask for the set of fields to be updated. |
| 927 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 928 | Allowed values |
| 929 | 1 - v1 error format |
| 930 | 2 - v2 error format |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 931 | |
| 932 | Returns: |
| 933 | An object of the form: |
| 934 | |
| 935 | { # This resource represents a long-running operation that is the result of a network API call. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 936 | "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). The error model is designed to be: # The error result of the operation in case of failure or cancellation. |
| 937 | # Simple to use and understand for most users |
| 938 | # Flexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc that can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include: |
| 939 | # Partial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors. |
| 940 | # Workflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting. |
| 941 | # Batch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response. |
| 942 | # Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message. |
| 943 | # Logging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 944 | "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. |
| 945 | "code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 946 | "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. |
| 947 | { |
| 948 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
| 949 | }, |
| 950 | ], |
| 951 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 952 | "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 953 | "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse. |
| 954 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
| 955 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 956 | "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 957 | "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. |
| 958 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
| 959 | }, |
| 960 | }</pre> |
| 961 | </div> |
| 962 | |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 963 | </body></html> |