Class: Google::Apis::AppengineV1beta::ResourceRecord
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppengineV1beta::ResourceRecord
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta/classes.rb,
 generated/google/apis/appengine_v1beta/representations.rb,
 generated/google/apis/appengine_v1beta/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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourceRecord
Returns a new instance of ResourceRecord
| 2332 2333 2334 | # File 'generated/google/apis/appengine_v1beta/classes.rb', line 2332 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
| 2319 2320 2321 | # File 'generated/google/apis/appengine_v1beta/classes.rb', line 2319 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
| 2325 2326 2327 | # File 'generated/google/apis/appengine_v1beta/classes.rb', line 2325 def rrdata @rrdata end | 
#type ⇒ String
Resource record type. Example: AAAA.
Corresponds to the JSON property type
| 2330 2331 2332 | # File 'generated/google/apis/appengine_v1beta/classes.rb', line 2330 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2337 2338 2339 2340 2341 | # File 'generated/google/apis/appengine_v1beta/classes.rb', line 2337 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 |