Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.
Field mask used to specify the fields to be overwritten in the policy
by the set. The fields specified in the update_mask are relative to the
policy, not the full request.
Field mask used to specify the fields to be overwritten in the policy
by the set. The fields specified in the update_mask are relative to the
policy, not the full request.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Org Policy V2 Client - Class UpdatePolicyRequest (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-org-policy/latest/V2.UpdatePolicyRequest)\n- [1.2.1](/php/docs/reference/cloud-org-policy/1.2.1/V2.UpdatePolicyRequest)\n- [1.1.3](/php/docs/reference/cloud-org-policy/1.1.3/V2.UpdatePolicyRequest)\n- [1.0.0](/php/docs/reference/cloud-org-policy/1.0.0/V2.UpdatePolicyRequest)\n- [0.7.0](/php/docs/reference/cloud-org-policy/0.7.0/V2.UpdatePolicyRequest)\n- [0.6.5](/php/docs/reference/cloud-org-policy/0.6.5/V2.UpdatePolicyRequest)\n- [0.5.3](/php/docs/reference/cloud-org-policy/0.5.3/V2.UpdatePolicyRequest)\n- [0.4.2](/php/docs/reference/cloud-org-policy/0.4.2/V2.UpdatePolicyRequest)\n- [0.3.7](/php/docs/reference/cloud-org-policy/0.3.7/V2.UpdatePolicyRequest) \nReference documentation and code samples for the Google Cloud Org Policy V2 Client class UpdatePolicyRequest.\n\nThe request sent to the [UpdatePolicyRequest](/php/docs/reference/cloud-org-policy/latest/V2.Client.OrgPolicyClient#_Google_Cloud_OrgPolicy_V2_Client_OrgPolicyClient__updatePolicy__) method.\n\nGenerated from protobuf message `google.cloud.orgpolicy.v2.UpdatePolicyRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OrgPolicy \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPolicy\n\nRequired. Policy to update.\n\n### hasPolicy\n\n### clearPolicy\n\n### setPolicy\n\nRequired. Policy to update.\n\n### getUpdateMask\n\nField mask used to specify the fields to be overwritten in the policy\nby the set. The fields specified in the update_mask are relative to the\npolicy, not the full request.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nField mask used to specify the fields to be overwritten in the policy\nby the set. The fields specified in the update_mask are relative to the\npolicy, not the full request.\n\n### static::build"]]