Method: projects.deployments.create
Erstellt eine Bereitstellung mit dem angegebenen Namen und der angegebenen Konfiguration.
HTTP-Anfrage
POST https://gsuiteaddons.googleapis.com/v1/{parent=projects/*}/deployments
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Name des Projekts, in dem die Bereitstellung erstellt werden soll. Beispiel: projects/my_project .
Für die Autorisierung ist die folgende IAM-Berechtigung für die angegebene Ressource parent erforderlich:
gsuiteaddons.deployments.create
|
Suchparameter
Parameter |
deploymentId |
string
Erforderlich. Die ID, die für diese Bereitstellung verwendet werden soll. Der vollständige Name der erstellten Ressource lautet projects/<projectNumber>/deployments/<deploymentId> .
|
Anfragetext
Der Anfragetext enthält eine Instanz von Deployment
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von Deployment
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/cloud-platform
Weitere Informationen finden Sie unter OAuth 2.0 Overview.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-02-27 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]