projects
Updates the metadata for an existing data policy. The target data policy can be specified by the resource name.
patch/v2/{+name}
Path parameters
namestring required
Identifier. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.
Query parameters
allowMissingboolean
Optional. If set to true, and the data policy is not found, a new data policy will be created. In this situation, update_mask is ignored.
updateMaskstring
Optional. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the name and dataPolicyId fields are not allowed.
Request body
Response
Successful response