Table of Contents

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 MobileDeviceAction

The body of the request.

customerId string

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.

resourceId string

The unique ID the API service uses to identify the mobile device.

Returns

MobiledevicesResource.ActionRequest

Delete(string, string)

Removes a mobile device.

public virtual MobiledevicesResource.DeleteRequest Delete(string customerId, string resourceId)

Parameters

customerId string

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.

resourceId string

The unique ID the API service uses to identify the mobile device.

Returns

MobiledevicesResource.DeleteRequest

Get(string, string)

Retrieves a mobile device's properties.

public virtual MobiledevicesResource.GetRequest Get(string customerId, string resourceId)

Parameters

customerId string

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.

resourceId string

The unique ID the API service uses to identify the mobile device.

Returns

MobiledevicesResource.GetRequest

List(string)

Retrieves a paginated list of all mobile devices for an account.

public virtual MobiledevicesResource.ListRequest List(string customerId)

Parameters

customerId string

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.

Returns

MobiledevicesResource.ListRequest