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
System.Object
ResponsePolicyRule
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dns.v2.Data
Assembly: Google.Apis.Dns.v2.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
System.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
System.String

ETag

The ETag of the item.

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

Kind

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.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
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top