Class: Google::Apis::MybusinessV3::Duplicate
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MybusinessV3::Duplicate
 
- 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
Information about the location that this location duplicates.
Instance Attribute Summary collapse
- 
  
    
      #location_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resource name of the location that this duplicates. 
- 
  
    
      #ownership  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates the ownership status between this location and the location that it duplicates. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Duplicate 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Duplicate. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Duplicate
Returns a new instance of Duplicate
| 573 574 575 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 573 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#location_name ⇒ String
The resource name of the location that this duplicates. Only populated
if the authenticated user has access rights to that location and that
location is not deleted.
Corresponds to the JSON property locationName
| 565 566 567 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 565 def location_name @location_name end | 
#ownership ⇒ String
Indicates the ownership status between this location and the location
that it duplicates.
Corresponds to the JSON property ownership
| 571 572 573 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 571 def ownership @ownership end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 578 579 580 581 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 578 def update!(**args) @location_name = args[:location_name] if args.key?(:location_name) @ownership = args[:ownership] if args.key?(:ownership) end |