Class: Google::Apis::CloudbillingV1::MoveBillingAccountRequest

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

Overview

Request message for MoveBillingAccount RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MoveBillingAccountRequest

Returns a new instance of MoveBillingAccountRequest.



574
575
576
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 574

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

Instance Attribute Details

#destination_parentString

Required. The resource name of the Organization to move the billing account under. Must be of the form organizations/organization_id`. Corresponds to the JSON propertydestinationParent`

Returns:

  • (String)


572
573
574
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 572

def destination_parent
  @destination_parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



579
580
581
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 579

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