Show / Hide Table of Contents

Class MobiledevicesResource

The "mobiledevices" collection of methods.

Inheritance
System.Object
MobiledevicesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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.

System.String customerId

The unique ID for the customer's G Suite 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.

System.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
System.String customerId

The unique ID for the customer's G Suite 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.

System.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
System.String customerId

The unique ID for the customer's G Suite 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.

System.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 mobile devices for an account.

Declaration
public virtual MobiledevicesResource.ListRequest List(string customerId)
Parameters
Type Name Description
System.String customerId

The unique ID for the customer's G Suite 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
Back to top