Required. Field mask is used to specify the fields to be overwritten by the update in the Automation resource. The fields specified in the updateMask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten.
This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".
requestId
string
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
allowMissing
boolean
Optional. If set to true, updating a Automation that does not exist will result in the creation of a new Automation.
validateOnly
boolean
Optional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Request body
The request body contains an instance of Automation.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-13 UTC."],[[["\u003cp\u003eThis webpage details how to update the parameters of a single Automation resource using a PATCH request to a specific URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eautomation.name\u003c/code\u003e parameter, found in the URL's path, is required to identify the specific Automation to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter is required and specifies which fields within the Automation resource should be overwritten during the update, with the option to overwrite all fields if no mask is provided.\u003c/p\u003e\n"],["\u003cp\u003eSeveral other optional query parameters exist, including \u003ccode\u003erequestId\u003c/code\u003e for request tracking, \u003ccode\u003eallowMissing\u003c/code\u003e to allow creation of new Automations, and \u003ccode\u003evalidateOnly\u003c/code\u003e for testing the update without making changes.\u003c/p\u003e\n"],["\u003cp\u003eThe request body needs to include an \u003ccode\u003eAutomation\u003c/code\u003e resource and a successful operation will return an \u003ccode\u003eOperation\u003c/code\u003e resource, with authorization requiring the \u003ccode\u003ecloud-platform\u003c/code\u003e scope and \u003ccode\u003eclouddeploy.automations.update\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,[]]