ResponsePolicyRules: create

Creates a new Response Policy Rule.

Request

HTTP request

POST https://dns.googleapis.com/dns/v1/projects/project/responsePolicies/responsePolicy/rules

Parameters

Parameter name Value Description
Path parameters
project string Identifies the project addressed by this request.
responsePolicy string User assigned name of the Response Policy containing the Response Policy Rule.
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.

Authorization

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

Scope
https://www.googleapis.com/auth/ndev.clouddns.readwrite
https://www.googleapis.com/auth/cloud-platform

Request body

In the request body, supply a ResponsePolicyRules resource.

Response

If successful, this method returns a ResponsePolicyRules resource in the response body.