Method: projects.deployments.create
तय किए गए नाम और कॉन्फ़िगरेशन के साथ डिप्लॉयमेंट बनाता है.
एचटीटीपी अनुरोध
POST https://gsuiteaddons.googleapis.com/v1/{parent=projects/*}/deployments
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. उस प्रोजेक्ट का नाम जिसमें डिप्लॉयमेंट बनाना है. उदाहरण: projects/my_project .
अनुमति पाने के लिए, दिए गए संसाधन parent पर IAM की यह अनुमति ज़रूरी है:
gsuiteaddons.deployments.create
|
क्वेरी पैरामीटर
पैरामीटर |
deploymentId |
string
ज़रूरी है. इस डिप्लॉयमेंट के लिए इस्तेमाल किया जाने वाला आईडी. बनाए गए संसाधन का पूरा नाम projects/<projectNumber>/deployments/<deploymentId> होगा.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में Deployment
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Deployment
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/cloud-platform
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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"]]