Class: Google::Apis::CloudresourcemanagerV2beta1::MoveFolderRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudresourcemanagerV2beta1::MoveFolderRequest
- Defined in:
- generated/google/apis/cloudresourcemanager_v2beta1/classes.rb,
generated/google/apis/cloudresourcemanager_v2beta1/representations.rb,
generated/google/apis/cloudresourcemanager_v2beta1/representations.rb
Overview
The MoveFolder request message.
Instance Attribute Summary collapse
-
#destination_parent ⇒ String
The resource name of the Folder or Organization to reparent the folder under.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MoveFolderRequest
constructor
A new instance of MoveFolderRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ MoveFolderRequest
Returns a new instance of MoveFolderRequest
402 403 404 |
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 402 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_parent ⇒ String
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
400 401 402 |
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 400 def destination_parent @destination_parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
407 408 409 |
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 407 def update!(**args) @destination_parent = args[:destination_parent] if args.key?(:destination_parent) end |