Die Projekt-ID für diese Anfrage im Format projects/[PROJECT_ID].
Zur Autorisierung ist die folgende Google IAM-Berechtigung für die angegebene Ressource parent erforderlich:
runtimeconfig.configs.create
Abfrageparameter
Parameter
requestId
string
Optional, aber empfohlen: Ein eindeutiger Wert für requestId. Wenn der Server zwei create()-Anfragen mit demselben requestId empfängt, wird die zweite Anfrage ignoriert und die erste im Back-End erstellte und gespeicherte Ressource zurückgegeben. Leere requestId-Felder werden ignoriert.
Der Kunde ist dafür verantwortlich, dass die requestId-Strings eindeutig sind.
requestId-Strings sind auf 64 Zeichen beschränkt.
Anfragetext
Der Anfragetext enthält eine Instanz von RuntimeConfig.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von RuntimeConfig.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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-------"]]