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



1141
1142
1143
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1141

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


1139
1140
1141
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1139

def device_ids
  @device_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1146
1147
1148
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1146

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