Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalMoveDeviceRequest

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

Overview

Request for MoveDevice method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SasPortalMoveDeviceRequest

Returns a new instance of SasPortalMoveDeviceRequest.



757
758
759
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 757

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)


755
756
757
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 755

def destination
  @destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



762
763
764
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 762

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