Obligatoire. Nom du déploiement. Format : projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}
Corps de la requête
Le corps de la requête contient des données présentant la structure suivante :
Représentation JSON
{"phaseId": string,"jobId": string}
Champs
phaseId
string
Obligatoire. ID de phase auquel appartient la tâche à nouveau.
jobId
string
Obligatoire. ID du job à réessayer.
Corps de la réponse
Si la requête aboutit, le corps de la réponse est vide.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/05/29 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2024/05/29 (UTC)."],[[["\u003cp\u003eThis API endpoint allows retrying a specific job within a rollout using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the \u003ccode\u003erollout\u003c/code\u003e path parameter in the URL, along with the \u003ccode\u003ephaseId\u003c/code\u003e and \u003ccode\u003ejobId\u003c/code\u003e in the request body to identify the job to retry.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, you can provide a list of \u003ccode\u003eoverrideDeployPolicy\u003c/code\u003e in the request body, to override specific policies.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful execution of the API returns an empty response body, signifying that the job retry request has been accepted.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to utilize this endpoint requires the \u003ccode\u003eclouddeploy.rollouts.retryJob\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.retryJob\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\nRetries the specified Job in a Rollout.\n\n### HTTP request\n\n`POST https://clouddeploy.googleapis.com/v1/{rollout=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:retryJob`\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 `rollout` resource:\n\n- `clouddeploy.rollouts.retryJob`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]