Method: projects.deployments.create
Creates a deployment with the specified name and configuration.
HTTP request
POST https://gsuiteaddons.googleapis.com/v1/{parent=projects/*}/deployments
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. Name of the project in which to create the deployment. Example: projects/my_project .
Authorization requires the following IAM permission on the specified resource parent :
gsuiteaddons.deployments.create
|
Query parameters
Parameters |
deploymentId |
string
Required. The ID to use for this deployment. The full name of the created resource will be projects/<projectNumber>/deployments/<deploymentId> .
|
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 OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-27 UTC.
[null,null,["Last updated 2025-02-27 UTC."],[[["Creates a deployment with a specified name and configuration using an HTTP POST request."],["Requires `gsuiteaddons.deployments.create` IAM permission and `https://www.googleapis.com/auth/cloud-platform` OAuth scope."],["Utilizes path parameters for project specification and query parameters for deployment ID."],["Request and response bodies contain instances of the `Deployment` resource, allowing configuration and retrieval of deployment details."]]],["This outlines creating a deployment using a POST request to `https://gsuiteaddons.googleapis.com/v1/{parent=projects/*}/deployments`. It requires a `parent` path parameter specifying the project and a `deploymentId` query parameter. The request body defines the deployment's configuration, and a successful response returns a newly created deployment instance. Authorization requires the `gsuiteaddons.deployments.create` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope.\n"]]