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
1598 1599 1600 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1598 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
1596 1597 1598 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1596 def to_account @to_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1603 1604 1605 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1603 def update!(**args) @to_account = args[:to_account] if args.key?(:to_account) end |