Class: Google::Apis::MybusinessV3::GoogleUpdatedLocation
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MybusinessV3::GoogleUpdatedLocation
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mybusiness_v3/classes.rb,
 generated/google/apis/mybusiness_v3/representations.rb,
 generated/google/apis/mybusiness_v3/representations.rb
Overview
Represents a location that was modified by Google.
Instance Attribute Summary collapse
- 
  
    
      #diff_mask  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The fields that Google updated. 
- 
  
    
      #location  ⇒ Google::Apis::MybusinessV3::Location 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A location. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleUpdatedLocation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleUpdatedLocation. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleUpdatedLocation
Returns a new instance of GoogleUpdatedLocation
| 685 686 687 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 685 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#diff_mask ⇒ String
The fields that Google updated.
Corresponds to the JSON property diffMask
| 673 674 675 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 673 def diff_mask @diff_mask end | 
#location ⇒ Google::Apis::MybusinessV3::Location
A location.
See the help center article for a detailed
description of these fields, or the [category
list](/my-business/content/categories] for a list of valid business
categories.
Corresponds to the JSON property location
| 683 684 685 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 683 def location @location end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 690 691 692 693 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 690 def update!(**args) @diff_mask = args[:diff_mask] if args.key?(:diff_mask) @location = args[:location] if args.key?(:location) end |