- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Updates an existing Response Policy Rule.
HTTP request
 PUT https://dns.googleapis.com/dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule} 
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| project |   Identifies the project addressed by this request. | 
| response  |   User assigned name of the Response Policy containing the Response Policy Rule. | 
| response  |   User assigned name of the Response Policy Rule addressed by this request. | 
Query parameters
| Parameters | |
|---|---|
| client  |   For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. | 
Request body
The request body contains an instance of  ResponsePolicyRule 
 
.
Response body
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
|  { 
 "responsePolicyRule" 
 : 
 { 
 object (  | 
| Fields | |
|---|---|
| response  |   | 
Authorization scopes
Requires one of the following OAuth scopes:
-  https://www.googleapis.com/auth/cloud-platform
-  https://www.googleapis.com/auth/ndev.clouddns.readwrite
For more information, see the Authentication Overview .

