Class: Google::Apis::AdminDirectoryV1::ChromeOsMoveDevicesToOu

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

Overview

JSON request template for moving ChromeOs Device to given OU in Directory Devices API.

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) ⇒ ChromeOsMoveDevicesToOu

Returns a new instance of ChromeOsMoveDevicesToOu.



1174
1175
1176
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1174

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

Instance Attribute Details

#device_idsArray<String>

ChromeOs Devices to be moved to OU Corresponds to the JSON property deviceIds

Returns:

  • (Array<String>)


1172
1173
1174
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1172

def device_ids
  @device_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1179
1180
1181
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1179

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