Method: projects.locations.apps.deployments.create

Creates a new deployment in the given app.

HTTP request

POST https://ces.googleapis.com/v1/{parent=projects/*/locations/*/apps/*}/deployments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent app. Format: projects/{project}/locations/{location}/apps/{app}

Query parameters

Parameters
deploymentId

string

Optional. The ID to use for the deployment, which will become the final component of the deployment's resource name. If not provided, a unique ID will be automatically assigned for the deployment.

Request body

The request body contains an instance of Deployment.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • ces.deployments.create

For more information, see the IAM documentation.