Class: Google::Apis::SasportalV1alpha1::SasPortalMoveDeviceRequest

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

Overview

Request for MoveDevice.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalMoveDeviceRequest

Returns a new instance of SasPortalMoveDeviceRequest.



865
866
867
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 865

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

Instance Attribute Details

#destinationString

Required. The name of the new parent resource node or customer to reparent the device under. Corresponds to the JSON property destination

Returns:

  • (String)


863
864
865
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 863

def destination
  @destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



870
871
872
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 870

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