Project ID untuk permintaan ini, dalam format projects/[PROJECT_ID].
Otorisasi memerlukan izin Google IAM berikut di resource parent yang ditentukan:
runtimeconfig.configs.create
Parameter kueri
Parameter
requestId
string
requestId unik yang bersifat opsional, tetapi direkomendasikan. Jika server menerima dua permintaan create() dengan requestId yang sama, permintaan kedua akan diabaikan dan resource pertama yang dibuat dan disimpan di backend akan ditampilkan. Kolom requestId kosong akan diabaikan.
Klien bertanggung jawab untuk memastikan keunikan string requestId.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-03-04 UTC."],[[["\u003cp\u003eThis endpoint creates a new RuntimeConfig resource, which requires a unique configuration name within the project.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003ePOST\u003c/code\u003e to a specific URL structure that includes the project ID in the format \u003ccode\u003eprojects/[PROJECT_ID]\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter specifies the project ID and requires \u003ccode\u003eruntimeconfig.configs.create\u003c/code\u003e IAM permission for authorization.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003erequestId\u003c/code\u003e query parameter can be included to ensure idempotent resource creation, preventing duplicate resources.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both contain instances of the \u003ccode\u003eRuntimeConfig\u003c/code\u003e resource, and the process requires specific OAuth scopes for authorization, such as \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloudruntimeconfig\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.configs.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a new RuntimeConfig resource. The configuration name must be unique within project.\n\n### HTTP request\n\n`POST https://runtimeconfig.googleapis.com/v1beta1/{parent=projects/*}/configs`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [RuntimeConfig](/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs#RuntimeConfig).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [RuntimeConfig](/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs#RuntimeConfig).\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/cloudruntimeconfig`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\nTry it!\n-------"]]