Policies: patch

Applies a partial update to an existing Policy.


HTTP request

PATCH https://dns.googleapis.com/dns/v1/projects/project/policies/policy


Parameter name Value Description
Path parameters
policy string User given friendly name of the policy addressed by this request.
project string Identifies the project addressed by this request.
Optional query parameters
clientOperationId string For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.


This request requires authorization with at least one of the following scopes:


Request body

In the request body, supply the relevant portions of a Policies resource, according to the rules of patch semantics.


If successful, this method returns a response body with the following structure:

  "header": {
    "operationId": string
  "policy": policies Resource
Property name Value Description Notes
header.operationId string For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).
policy nested object