Class: Google::Apis::CloudresourcemanagerV3::MoveFolderRequest

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

Overview

The MoveFolder request message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MoveFolderRequest

Returns a new instance of MoveFolderRequest.



1187
1188
1189
# File 'lib/google/apis/cloudresourcemanager_v3/classes.rb', line 1187

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

Instance Attribute Details

#destination_parentString

Required. The resource name of the folder or organization which should be the folder's new parent. Must be of the form folders/folder_idor ` organizations/`org_id. Corresponds to the JSON property destinationParent

Returns:

  • (String)


1185
1186
1187
# File 'lib/google/apis/cloudresourcemanager_v3/classes.rb', line 1185

def destination_parent
  @destination_parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1192
1193
1194
# File 'lib/google/apis/cloudresourcemanager_v3/classes.rb', line 1192

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