Class: Google::Apis::CloudresourcemanagerV3::MoveProjectRequest

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 request sent to MoveProject method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MoveProjectRequest

Returns a new instance of MoveProjectRequest.



1106
1107
1108
# File 'lib/google/apis/cloudresourcemanager_v3/classes.rb', line 1106

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

Instance Attribute Details

#destination_parentString

Required. The new parent to move the Project under. Corresponds to the JSON property destinationParent

Returns:

  • (String)


1104
1105
1106
# File 'lib/google/apis/cloudresourcemanager_v3/classes.rb', line 1104

def destination_parent
  @destination_parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1111
1112
1113
# File 'lib/google/apis/cloudresourcemanager_v3/classes.rb', line 1111

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