Show / Hide Table of Contents

Class MobiledevicesResource

The "mobiledevices" collection of methods.

Inheritance
object
MobiledevicesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class MobiledevicesResource

Constructors

MobiledevicesResource(IClientService)

Constructs a new resource.

Declaration
public MobiledevicesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Action(MobileDeviceAction, string, string)

Takes an action that affects a mobile device. For example, remotely wiping a device.

Declaration
public virtual MobiledevicesResource.ActionRequest Action(MobileDeviceAction body, string customerId, string resourceId)
Parameters
Type Name Description
MobileDeviceAction body

The body of the request.

string 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.

string resourceId

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

Returns
Type Description
MobiledevicesResource.ActionRequest

Delete(string, string)

Removes a mobile device.

Declaration
public virtual MobiledevicesResource.DeleteRequest Delete(string customerId, string resourceId)
Parameters
Type Name Description
string 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.

string resourceId

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

Returns
Type Description
MobiledevicesResource.DeleteRequest

Get(string, string)

Retrieves a mobile device's properties.

Declaration
public virtual MobiledevicesResource.GetRequest Get(string customerId, string resourceId)
Parameters
Type Name Description
string 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.

string resourceId

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

Returns
Type Description
MobiledevicesResource.GetRequest

List(string)

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 instead. This method times out after 60 minutes. For more information, see Troubleshoot error codes.

Declaration
public virtual MobiledevicesResource.ListRequest List(string customerId)
Parameters
Type Name Description
string 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.

Returns
Type Description
MobiledevicesResource.ListRequest
In this article
Back to top Generated by DocFX