Show / Hide Table of Contents

Class ResponsePolicyRule

A Response Policy Rule is a selector that applies its behavior to queries that match the selector. Selectors are DNS names, which may be wildcards or exact matches. Each DNS query subject to a Response Policy matches at most one ResponsePolicyRule, as identified by the dns_name field with the longest matching suffix.

Inheritance
object
ResponsePolicyRule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dns.v1beta2.Data
Assembly: Google.Apis.Dns.v1beta2.dll
Syntax
public class ResponsePolicyRule : IDirectResponseSchema

Properties

Behavior

Answer this query with a behavior rather than DNS data.

Declaration
[JsonProperty("behavior")]
public virtual string Behavior { get; set; }
Property Value
Type Description
string

DnsName

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

Declaration
[JsonProperty("dnsName")]
public virtual string DnsName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Kind

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

LocalData

Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed.

Declaration
[JsonProperty("localData")]
public virtual ResponsePolicyRuleLocalData LocalData { get; set; }
Property Value
Type Description
ResponsePolicyRuleLocalData

RuleName

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

Declaration
[JsonProperty("ruleName")]
public virtual string RuleName { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX