Method: organizations.environments.sharedflows.revisions.deployments.deploy

Deploys a revision of a shared flow.

If a shared flow revision is currently deployed, to ensure seamless deployment with zero downtime, set the override parameter to true. In this case, hybrid attempts to deploy the new revision fully before undeploying the existing revision.

You cannot use a shared flow until it has been deployed to an environment.

HTTP request

POST https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/sharedflows/*/revisions/*}/deployments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name representing a shared flow in an environment in the following format: organizations/{org}/environments/{env}/sharedflows/{sharedflow}/revisions/{rev}.

Query parameters

Parameters
override

boolean

Flag that specifies whether to force the deployment of the new revision over the currently deployed revision by overriding conflict checks.

If an existing shared flow revision is deployed, to ensure seamless deployment with no downtime, set this parameter to true. In this case, the existing revision remains deployed until the new revision is fully deployed. If set to false, you must undeploy the currently deployed revision before deploying the new revision.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Deployment.

Authorization Scopes

Requires the following OAuth scope:

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