Class: Google::Apis::AppengineV1::ResourceRecord
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1::ResourceRecord
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1/classes.rb,
generated/google/apis/appengine_v1/representations.rb,
generated/google/apis/appengine_v1/representations.rb
Overview
A DNS resource record.
Instance Attribute Summary collapse
-
#name ⇒ String
Relative name of the object affected by this record.
-
#rrdata ⇒ String
Data for this record.
-
#type ⇒ String
Resource record type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceRecord
constructor
A new instance of ResourceRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceRecord
Returns a new instance of ResourceRecord.
2191 2192 2193 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 2191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Relative name of the object affected by this record. Only applicable for CNAME
records. Example: 'www'.
Corresponds to the JSON property name
2178 2179 2180 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 2178 def name @name end |
#rrdata ⇒ String
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
2184 2185 2186 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 2184 def rrdata @rrdata end |
#type ⇒ String
Resource record type. Example: AAAA.
Corresponds to the JSON property type
2189 2190 2191 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 2189 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2196 2197 2198 2199 2200 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 2196 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 |