Struct google_dns1::api::ResponsePolicyRule
source · pub struct ResponsePolicyRule {
pub behavior: Option<String>,
pub dns_name: Option<String>,
pub kind: Option<String>,
pub local_data: Option<ResponsePolicyRuleLocalData>,
pub rule_name: Option<String>,
}
Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- create response policy rules (request|response)
- delete response policy rules (none)
- get response policy rules (response)
- list response policy rules (none)
- patch response policy rules (request)
- update response policy rules (request)
Fields§
§behavior: Option<String>
Answer this query with a behavior rather than DNS data.
dns_name: Option<String>
The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.
kind: Option<String>
no description provided
local_data: Option<ResponsePolicyRuleLocalData>
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.
rule_name: Option<String>
An identifier for this rule. Must be unique with the ResponsePolicy.
Trait Implementations§
source§impl Clone for ResponsePolicyRule
impl Clone for ResponsePolicyRule
source§fn clone(&self) -> ResponsePolicyRule
fn clone(&self) -> ResponsePolicyRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more