v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-134069129.0 KB
responsePolicyRules

Creates a new Response Policy Rule.

post/dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules

Path parameters

projectstring required

Identifies the project addressed by this request.

responsePolicystring required

User assigned name of the Response Policy containing the Response Policy Rule.

Query parameters

clientOperationIdstring

For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.

Request body

ruleNamestring

An identifier for this rule. Must be unique with the ResponsePolicy.

dnsNamestring

The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.

behavior'behaviorUnspecified' | 'bypassResponsePolicy'

Answer this query with a behavior rather than DNS data.

kindstring

Response

Successful response