Class: Google::Apis::SasportalV1alpha1::SasPortalMoveDeviceRequest
- Inherits:
-
Object
- Object
- Google::Apis::SasportalV1alpha1::SasPortalMoveDeviceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sasportal_v1alpha1/classes.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb
Overview
Request for MoveDevice method.
Instance Attribute Summary collapse
-
#destination ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalMoveDeviceRequest
constructor
A new instance of SasPortalMoveDeviceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalMoveDeviceRequest
Returns a new instance of SasPortalMoveDeviceRequest.
797 798 799 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 797 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
Required. The name of the new parent resource (Node or Customer) to reparent
the device under.
Corresponds to the JSON property destination
795 796 797 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 795 def destination @destination end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
802 803 804 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 802 def update!(**args) @destination = args[:destination] if args.key?(:destination) end |