Class: Google::Apis::AdminDirectoryV1::ChromeOsMoveDevicesToOu
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::ChromeOsMoveDevicesToOu
- 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
-
#device_ids ⇒ Array<String>
ChromeOs Devices to be moved to OU Corresponds to the JSON property
deviceIds
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChromeOsMoveDevicesToOu
constructor
A new instance of ChromeOsMoveDevicesToOu.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_ids ⇒ Array<String>
ChromeOs Devices to be moved to OU
Corresponds to the JSON property deviceIds
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 |