Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Method: apps.services.versions.create

Stay organized with collections Save and categorize content based on your preferences.

Deploys code and resource files to a new version.

HTTP request

POST https://appengine.googleapis.com/v1beta/{parent=apps/*/services/*}/versions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Name of the parent resource to create this version under. Example: apps/myapp/services/default.

Authorization requires the following IAM permission on the specified resource parent:

  • appengine.versions.create

Request body

The request body contains an instance of Version.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.