Obrigatório. Nome do lançamento. O formato é projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.
Corpo da solicitação
O corpo da solicitação precisa estar vazio.
Corpo da resposta
Se a solicitação for concluída, o corpo da resposta estará vazio.
[[["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 2024-06-26 UTC."],[[["\u003cp\u003eThis webpage details how to cancel a rollout within a specified project, location, delivery pipeline, and release using a POST HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires a fully qualified \u003ccode\u003ename\u003c/code\u003e parameter that identifies the rollout using its project, location, delivery pipeline, release, and rollout IDs.\u003c/p\u003e\n"],["\u003cp\u003eThe request body accepts an optional array of \u003ccode\u003eoverrideDeployPolicy\u003c/code\u003e strings that are deploy policies that will be overridden, which are themselves identified by a \u003ccode\u003eprojects/{project}/locations/{location}/deployPolicies/{deployPolicy}\u003c/code\u003e path.\u003c/p\u003e\n"],["\u003cp\u003eSuccessfully cancelling a rollout will result in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eCancelling a rollout requires the \u003ccode\u003eclouddeploy.rollouts.cancel\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.deliveryPipelines.releases.rollouts.cancel\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nCancels a Rollout in a given project and location.\n\n### HTTP request\n\n`POST https://clouddeploy.googleapis.com/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:cancel`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `clouddeploy.rollouts.cancel`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]