class Google::Apis::DnsV1::ResourceRecordSet
A unit of data that is returned by the DNS servers.
Attributes
Corresponds to the JSON property `kind` @return [String]
For example, www.example.com. Corresponds to the JSON property `name` @return [String]
A RRSetRoutingPolicy represents ResourceRecordSet
data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. Corresponds to the JSON property `routingPolicy` @return [Google::Apis::DnsV1::RrSetRoutingPolicy]
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) – see examples. Corresponds to the JSON property `rrdatas` @return [Array<String>]
As defined in RFC 4034 (section 3.2). Corresponds to the JSON property `signatureRrdatas` @return [Array<String>]
Number of seconds that this ResourceRecordSet
can be cached by resolvers. Corresponds to the JSON property `ttl` @return [Fixnum]
The identifier of a supported record type. See the list of Supported DNS record types. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/dns_v1/classes.rb, line 2309 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dns_v1/classes.rb, line 2314 def update!(**args) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @routing_policy = args[:routing_policy] if args.key?(:routing_policy) @rrdatas = args[:rrdatas] if args.key?(:rrdatas) @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas) @ttl = args[:ttl] if args.key?(:ttl) @type = args[:type] if args.key?(:type) end