Google is committed to advancing racial equity for Black communities. See how.

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


The URL uses gRPC Transcoding syntax.

Path parameters



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

Query parameters



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: