Struct google_dns1::api::ResourceRecordSet
source · pub struct ResourceRecordSet {
pub kind: Option<String>,
pub name: Option<String>,
pub routing_policy: Option<RRSetRoutingPolicy>,
pub rrdatas: Option<Vec<String>>,
pub signature_rrdatas: Option<Vec<String>>,
pub ttl: Option<i32>,
pub type_: Option<String>,
}
Expand description
A unit of data that is returned by the DNS servers.
§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 resource record sets (request|response)
- delete resource record sets (none)
- get resource record sets (response)
- list resource record sets (none)
- patch resource record sets (request|response)
Fields§
§kind: Option<String>
no description provided
name: Option<String>
For example, www.example.com.
routing_policy: Option<RRSetRoutingPolicy>
Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid ResourceRecordSet contains only rrdata (for static resolution) or a routing_policy (for dynamic resolution).
rrdatas: Option<Vec<String>>
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) – see examples.
signature_rrdatas: Option<Vec<String>>
As defined in RFC 4034 (section 3.2).
ttl: Option<i32>
Number of seconds that this ResourceRecordSet can be cached by resolvers.
type_: Option<String>
The identifier of a supported record type. See the list of Supported DNS record types.
Trait Implementations§
source§impl Clone for ResourceRecordSet
impl Clone for ResourceRecordSet
source§fn clone(&self) -> ResourceRecordSet
fn clone(&self) -> ResourceRecordSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more