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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#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)


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