Method: projects.locations.apis.deployments.create

Creates a specified deployment.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*

Query parameters

Parameters
apiDeploymentId

string

Required. The ID to use for the deployment, which will become the final component of the deployment's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

Following AIP-162, IDs must not have the form of a UUID.

Request body

The request body contains an instance of ApiDeployment.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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