Modifier and Type | Class and Description |
---|---|
class |
Directory.Mobiledevices.Action |
class |
Directory.Mobiledevices.Delete |
class |
Directory.Mobiledevices.Get |
class |
Directory.Mobiledevices.List |
Constructor and Description |
---|
Mobiledevices() |
Modifier and Type | Method and Description |
---|---|
Directory.Mobiledevices.Action |
action(String customerId,
String resourceId,
MobileDeviceAction content)
Takes an action that affects a mobile device.
|
Directory.Mobiledevices.Delete |
delete(String customerId,
String resourceId)
Removes a mobile device.
|
Directory.Mobiledevices.Get |
get(String customerId,
String resourceId)
Retrieves a mobile device's properties.
|
Directory.Mobiledevices.List |
list(String customerId)
Retrieves a paginated list of all mobile devices for an account.
|
public Directory.Mobiledevices.Action action(String customerId, String resourceId, MobileDeviceAction 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 the API service uses to identify the mobile device.content
- the MobileDeviceAction
IOException
public Directory.Mobiledevices.Delete delete(String customerId, String resourceId) 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 the API service uses to identify the mobile device.IOException
public Directory.Mobiledevices.Get get(String customerId, String resourceId) 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 the API service uses to identify the mobile device.IOException
public Directory.Mobiledevices.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
Copyright © 2011–2021 Google. All rights reserved.