Class: Google::Apis::MybusinessaccountmanagementV1::TransferLocationRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/mybusinessaccountmanagement_v1/classes.rb,
lib/google/apis/mybusinessaccountmanagement_v1/representations.rb,
lib/google/apis/mybusinessaccountmanagement_v1/representations.rb

Overview

Request message for AccessControl.TransferLocation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TransferLocationRequest

Returns a new instance of TransferLocationRequest.



552
553
554
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 552

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destination_accountString

Required. Name of the account resource to transfer the location to (for example, "accounts/account"). Corresponds to the JSON property destinationAccount

Returns:

  • (String)


550
551
552
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 550

def 
  @destination_account
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



557
558
559
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 557

def update!(**args)
  @destination_account = args[:destination_account] if args.key?(:destination_account)
end