Cria um recurso Waiter. Isso retorna um recurso de operação de longa duração cuja conclusão pode ser monitorada. Esse waiter com o nome fornecido existe e pode ser recuperado antes da conclusão da operação. Quando há uma falha na operação, o recurso ainda existe e precisa ser excluído antes de outras tentativas de criação.
Solicitação HTTP
POST https://runtimeconfig.googleapis.com/v1beta1/{parent=projects/*/configs/*}/waiters
O caminho da configuração que será responsável pelo waiter. A configuração precisa existir antes. O caminho precisa estar no formato:
projects/[PROJECT_ID]/configs/[CONFIG_NAME]
A autorização requer a seguinte permissão do Google IAM no recurso especificado parent:
runtimeconfig.waiters.create
Parâmetros de consulta
Parâmetros
requestId
string
Um requestId exclusivo opcional, mas recomendado. Se o servidor receber duas solicitações create() com o mesmo requestId, a segunda solicitação será ignorada e o primeiro recurso criado e armazenado no back-end será retornado. Os campos requestId vazios são ignorados.
É responsabilidade do cliente garantir a exclusividade das strings requestId.
As strings requestId são limitadas a 64 caracteres.
Corpo da solicitação
O corpo da solicitação contém uma instância de Waiter.
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta incluirá uma instância de Operation.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-03-04 UTC."],[[["\u003cp\u003eThis webpage details how to create a Waiter resource using a POST request to a specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter indicating the configuration that will own the waiter, and an optional but recommended \u003ccode\u003erequestId\u003c/code\u003e query parameter for request uniqueness.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain an instance of a \u003ccode\u003eWaiter\u003c/code\u003e resource, while a successful response will include a newly created instance of an \u003ccode\u003eOperation\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eCreating a Waiter requires the \u003ccode\u003eruntimeconfig.waiters.create\u003c/code\u003e Google IAM permission and one of the specified OAuth scopes.\u003c/p\u003e\n"]]],[],null,["# Method: projects.configs.waiters.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 Waiter resource. This operation returns a long-running Operation resource which can be polled for completion. However, a waiter with the given name will exist (and can be retrieved) prior to the operation completing. If the operation fails, the failed Waiter resource will still exist and must be deleted prior to subsequent creation attempts.\n\n### HTTP request\n\n`POST https://runtimeconfig.googleapis.com/v1beta1/{parent=projects/*/configs/*}/waiters`\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 [Waiter](/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs.waiters#Waiter).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/deployment-manager/runtime-configurator/reference/rest/Shared.Types/Operation).\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-------"]]