target.apidocs.com.google.api.services.directory.Directory.Mobiledevices.html Maven / Gradle / Ivy
Directory.Mobiledevices (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory
Class Directory.Mobiledevices
- java.lang.Object
-
- com.google.api.services.directory.Directory.Mobiledevices
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.Mobiledevices.Action
class
Directory.Mobiledevices.Delete
class
Directory.Mobiledevices.Get
class
Directory.Mobiledevices.List
-
Constructor Summary
Constructors
Constructor and Description
Mobiledevices()
-
Method Summary
All Methods Instance Methods Concrete Methods
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 user-owned mobile devices for an account.
-
-
Method Detail
-
action
public Directory.Mobiledevices.Action action(String customerId,
String resourceId,
MobileDeviceAction content)
throws IOException
Takes an action that affects a mobile device. For example, remotely wiping a device.
Create a request for the method "mobiledevices.action".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
- Returns:
- the request
- Throws:
IOException
-
delete
public Directory.Mobiledevices.Delete delete(String customerId,
String resourceId)
throws IOException
Removes a mobile device.
Create a request for the method "mobiledevices.delete".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
- Returns:
- the request
- Throws:
IOException
-
get
public Directory.Mobiledevices.Get get(String customerId,
String resourceId)
throws IOException
Retrieves a mobile device's properties.
Create a request for the method "mobiledevices.get".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
- Returns:
- the request
- Throws:
IOException
-
list
public Directory.Mobiledevices.List list(String customerId)
throws IOException
Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list
that includes company-owned devices, use the Cloud Identity [Devices
API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead.
Create a request for the method "mobiledevices.list".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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).
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.