Class: Google::Apis::MybusinessV3::TransferLocationRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MybusinessV3::TransferLocationRequest
 
- 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
Request message for MyBusiness.TransferLocation to transfer a location from its current account to another.
Instance Attribute Summary collapse
- 
  
    
      #to_account  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of the account resource to transfer the location to (e.g. "accounts/8675309") Corresponds to the JSON property toAccount.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TransferLocationRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TransferLocationRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TransferLocationRequest
Returns a new instance of TransferLocationRequest
| 1853 1854 1855 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1853 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#to_account ⇒ String
Name of the account resource to transfer the location to (e.g.
"accounts/8675309")
Corresponds to the JSON property toAccount
| 1851 1852 1853 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1851 def to_account @to_account end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1858 1859 1860 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1858 def update!(**args) @to_account = args[:to_account] if args.key?(:to_account) end |