Modifier and Type | Class and Description |
---|---|
class |
Directory.Chromeosdevices.Action |
class |
Directory.Chromeosdevices.Get |
class |
Directory.Chromeosdevices.List |
class |
Directory.Chromeosdevices.MoveDevicesToOu |
class |
Directory.Chromeosdevices.Patch |
class |
Directory.Chromeosdevices.Update |
Constructor and Description |
---|
Chromeosdevices() |
Modifier and Type | Method and Description |
---|---|
Directory.Chromeosdevices.Action |
action(String customerId,
String resourceId,
ChromeOsDeviceAction content)
Takes an action that affects a Chrome OS Device.
|
Directory.Chromeosdevices.Get |
get(String customerId,
String deviceId)
Retrieves a Chrome OS device's properties.
|
Directory.Chromeosdevices.List |
list(String customerId)
Retrieves a paginated list of Chrome OS devices within an account.
|
Directory.Chromeosdevices.MoveDevicesToOu |
moveDevicesToOu(String customerId,
String orgUnitPath,
ChromeOsMoveDevicesToOu content)
Move or insert multiple Chrome OS devices to an organizational unit.
|
Directory.Chromeosdevices.Patch |
patch(String customerId,
String deviceId,
ChromeOsDevice content)
Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`,
`orgUnitPath`, or `annotatedAssetId`.
|
Directory.Chromeosdevices.Update |
update(String customerId,
String deviceId,
ChromeOsDevice content)
Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`,
`orgUnitPath`, or `annotatedAssetId`.
|
public Directory.Chromeosdevices.Action action(String customerId, String resourceId, ChromeOsDeviceAction content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's `customerId`. The `customerId` is
also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).resourceId
- The unique ID of the device. The `resourceId`s are returned in the response from the
[chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method.content
- the ChromeOsDeviceAction
IOException
public Directory.Chromeosdevices.Get get(String customerId, String deviceId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's `customerId`. The `customerId` is
also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).deviceId
- The unique ID of the device. The `deviceId`s are returned in the response from the
[chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method.IOException
public Directory.Chromeosdevices.List list(String customerId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's `customerId`. The `customerId` is
also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).IOException
public Directory.Chromeosdevices.MoveDevicesToOu moveDevicesToOu(String customerId, String orgUnitPath, ChromeOsMoveDevicesToOu content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the Google Workspace accountorgUnitPath
- Full path of the target organizational unit or its IDcontent
- the ChromeOsMoveDevicesToOu
IOException
public Directory.Chromeosdevices.Patch patch(String customerId, String deviceId, ChromeOsDevice content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's `customerId`. The `customerId` is
also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).deviceId
- The unique ID of the device. The `deviceId`s are returned in the response from the
[chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method.content
- the ChromeOsDevice
IOException
public Directory.Chromeosdevices.Update update(String customerId, String deviceId, ChromeOsDevice content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's `customerId`. The `customerId` is
also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).deviceId
- The unique ID of the device. The `deviceId`s are returned in the response from the
[chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method.content
- the ChromeOsDevice
IOException
Copyright © 2011–2021 Google. All rights reserved.