Full name: projects.locations.instances.rules.updateDeployment
Updates a RuleDeployment. Failures are not necessarily atomic. If there is a request to update multiple fields, and any update to a single field fails, an error will be returned, but other fields may remain successfully updated.
HTTP request
Path parameters
Parameters
ruleDeployment.name
string
Required. The resource name of the rule deployment. Note that RuleDeployment is a child of the overall Rule, not any individual revision, so the resource ID segment for the Rule resource must not reference a specific revision. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment
[[["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-08-25 UTC."],[[["\u003cp\u003eThis webpage details the process for updating a \u003ccode\u003eRuleDeployment\u003c/code\u003e resource using the \u003ccode\u003eprojects.locations.instances.rules.updateDeployment\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses the \u003ccode\u003ePATCH\u003c/code\u003e method and requires a URL that includes the specific \u003ccode\u003eruleDeployment.name\u003c/code\u003e within the Chronicle API path.\u003c/p\u003e\n"],["\u003cp\u003eUpdating a rule requires the \u003ccode\u003eupdateMask\u003c/code\u003e query parameter, a comma-separated string that determines which fields are being updated.\u003c/p\u003e\n"],["\u003cp\u003eThe request body and the response body both use the \u003ccode\u003eRuleDeployment\u003c/code\u003e object, which contains the new \u003ccode\u003eRuleDeployment\u003c/code\u003e data and updated properties.\u003c/p\u003e\n"],["\u003cp\u003eUpdating a \u003ccode\u003eRuleDeployment\u003c/code\u003e necessitates the \u003ccode\u003echronicle.ruleDeployments.update\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,[]]