Class MobiledevicesResource
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
The "mobiledevices" collection of methods.
public class MobiledevicesResource
- Inheritance
-
MobiledevicesResource
- Inherited Members
Constructors
MobiledevicesResource(IClientService)
Constructs a new resource.
public MobiledevicesResource(IClientService service)
Parameters
service
IClientService
Methods
Action(MobileDeviceAction, string, string)
Takes an action that affects a mobile device. For example, remotely wiping a device.
public virtual MobiledevicesResource.ActionRequest Action(MobileDeviceAction body, string customerId, string resourceId)
Parameters
body
MobileDeviceActionThe body of the request.
customerId
stringThe 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'scustomerId
. ThecustomerId
is also returned as part of the Users resource.resourceId
stringThe unique ID the API service uses to identify the mobile device.
Returns
Delete(string, string)
Removes a mobile device.
public virtual MobiledevicesResource.DeleteRequest Delete(string customerId, string resourceId)
Parameters
customerId
stringThe 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'scustomerId
. ThecustomerId
is also returned as part of the Users resource.resourceId
stringThe unique ID the API service uses to identify the mobile device.
Returns
Get(string, string)
Retrieves a mobile device's properties.
public virtual MobiledevicesResource.GetRequest Get(string customerId, string resourceId)
Parameters
customerId
stringThe 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'scustomerId
. ThecustomerId
is also returned as part of the Users resource.resourceId
stringThe unique ID the API service uses to identify the mobile device.
Returns
List(string)
Retrieves a paginated list of all mobile devices for an account.
public virtual MobiledevicesResource.ListRequest List(string customerId)
Parameters
customerId
stringThe 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'scustomerId
. ThecustomerId
is also returned as part of the Users resource.