View Source GoogleApi.Admin.Directory_v1.Model.BatchChangeChromeOsDeviceStatusRequest (google_api_admin v0.40.0)

A request for changing the status of a batch of ChromeOS devices.

Attributes

  • changeChromeOsDeviceStatusAction (type: String.t, default: nil) - Required. The action to take on the ChromeOS device in order to change its status.
  • deprovisionReason (type: String.t, default: nil) - Optional. The reason behind a device deprovision. Must be provided if 'changeChromeOsDeviceStatusAction' is set to 'CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION'. Otherwise, omit this field.
  • deviceIds (type: list(String.t), default: nil) - Required. List of the IDs of the ChromeOS devices to change. Maximum 50.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Admin.Directory_v1.Model.BatchChangeChromeOsDeviceStatusRequest{
    changeChromeOsDeviceStatusAction: String.t() | nil,
    deprovisionReason: String.t() | nil,
    deviceIds: [String.t()] | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.