Class: Google::Apis::MybusinessbusinessinformationV1::Attributes
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::MybusinessbusinessinformationV1::Attributes
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/mybusinessbusinessinformation_v1/classes.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb 
Overview
A container for all the attributes for a given location.
Instance Attribute Summary collapse
- 
  
    
      #attributes  ⇒ Array<Google::Apis::MybusinessbusinessinformationV1::Attribute> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A collection of attributes that need to be updated.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Attributes 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Attributes.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ Attributes
Returns a new instance of Attributes.
      209 210 211  | 
    
      # File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 209 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#attributes ⇒ Array<Google::Apis::MybusinessbusinessinformationV1::Attribute>
A collection of attributes that need to be updated.
Corresponds to the JSON property attributes
      201 202 203  | 
    
      # File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 201 def attributes @attributes end  | 
  
#name ⇒ String
Required. Google identifier for this location in the form of locations/
location_id/attributes.
Corresponds to the JSON property name
      207 208 209  | 
    
      # File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 207 def name @name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      214 215 216 217  | 
    
      # File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 214 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @name = args[:name] if args.key?(:name) end  |