Class: Google::Apis::CloudresourcemanagerV2::MoveFolderRequest

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

Overview

The MoveFolder request message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MoveFolderRequest

Returns a new instance of MoveFolderRequest.



485
486
487
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 485

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

Instance Attribute Details

#destination_parentString

Required. The resource name of the Folder or Organization to reparent the folder under. Must be of the form folders/folder_idor `organizations/`org_id. Corresponds to the JSON property destinationParent

Returns:

  • (String)


483
484
485
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 483

def destination_parent
  @destination_parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



490
491
492
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 490

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