class Google::Apis::AppengineV1::ResourceRecord

A DNS resource record.

Attributes

name[RW]

Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'. Corresponds to the JSON property `name` @return [String]

rrdata[RW]

Data for this record. Values vary by record type, as defined in RFC 1035 ( section 5) and RFC 1034 (section 3.6.1). Corresponds to the JSON property `rrdata` @return [String]

type[RW]

Resource record type. Example: AAAA. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/appengine_v1/classes.rb, line 2386
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/appengine_v1/classes.rb, line 2391
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @rrdata = args[:rrdata] if args.key?(:rrdata)
  @type = args[:type] if args.key?(:type)
end