class Google::Apis::ServicenetworkingV1beta::DnsRecordSet
Represents a DNS record set resource.
Attributes
data[RW]
Required. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) for examples see cloud.google.com/dns/records/json-record. Corresponds to the JSON property `data` @return [Array<String>]
domain[RW]
Required. The DNS or domain name of the record set, e.g. `test.example.com`. Corresponds to the JSON property `domain` @return [String]
ttl[RW]
Required. The period of time for which this RecordSet can be cached by resolvers. Corresponds to the JSON property `ttl` @return [String]
type[RW]
Required. The identifier of a supported record type. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/servicenetworking_v1beta/classes.rb, line 1033 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/servicenetworking_v1beta/classes.rb, line 1038 def update!(**args) @data = args[:data] if args.key?(:data) @domain = args[:domain] if args.key?(:domain) @ttl = args[:ttl] if args.key?(:ttl) @type = args[:type] if args.key?(:type) end