GoogleApi.DNS.V1.Model.ResponsePolicyRule (google_api_dns v0.26.0) View Source
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.
Attributes
-
behavior(type:String.t, default:nil) - Answer this query with a behavior rather than DNS data. -
dnsName(type:String.t, default:nil) - The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule. -
kind(type:String.t, default:dns#responsePolicyRule) - -
localData(type:GoogleApi.DNS.V1.Model.ResponsePolicyRuleLocalData.t, default:nil) - 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. -
ruleName(type:String.t, default:nil) - An identifier for this rule. Must be unique with the ResponsePolicy.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.DNS.V1.Model.ResponsePolicyRule{
behavior: String.t() | nil,
dnsName: String.t() | nil,
kind: String.t() | nil,
localData: GoogleApi.DNS.V1.Model.ResponsePolicyRuleLocalData.t() | nil,
ruleName: String.t() | nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.