Show / Hide Table of Contents

Class MobileDevice

Google Workspace Mobile Management includes Android, Google Sync, and iOS devices. For more information about common group mobile device API tasks, see the Developer's Guide.

Inheritance
object
MobileDevice
Implements
IDirectResponseSchema
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.Data
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class MobileDevice : IDirectResponseSchema

Properties

AdbStatus

Adb (USB debugging) enabled or disabled on device (Read-only)

Declaration
[JsonProperty("adbStatus")]
public virtual bool? AdbStatus { get; set; }
Property Value
Type Description
bool?

Applications

The list of applications installed on an Android mobile device. It is not applicable to Google Sync and iOS devices. The list includes any Android applications that access Google Workspace data. When updating an applications list, it is important to note that updates replace the existing list. If the Android device has two existing applications and the API updates the list with five applications, the is now the updated list of five applications.

Declaration
[JsonProperty("applications")]
public virtual IList<MobileDevice.ApplicationsData> Applications { get; set; }
Property Value
Type Description
IList<MobileDevice.ApplicationsData>

BasebandVersion

The device's baseband version.

Declaration
[JsonProperty("basebandVersion")]
public virtual string BasebandVersion { get; set; }
Property Value
Type Description
string

BootloaderVersion

Mobile Device Bootloader version (Read-only)

Declaration
[JsonProperty("bootloaderVersion")]
public virtual string BootloaderVersion { get; set; }
Property Value
Type Description
string

Brand

Mobile Device Brand (Read-only)

Declaration
[JsonProperty("brand")]
public virtual string Brand { get; set; }
Property Value
Type Description
string

BuildNumber

The device's operating system build number.

Declaration
[JsonProperty("buildNumber")]
public virtual string BuildNumber { get; set; }
Property Value
Type Description
string

DefaultLanguage

The default locale used on the device.

Declaration
[JsonProperty("defaultLanguage")]
public virtual string DefaultLanguage { get; set; }
Property Value
Type Description
string

DeveloperOptionsStatus

Developer options enabled or disabled on device (Read-only)

Declaration
[JsonProperty("developerOptionsStatus")]
public virtual bool? DeveloperOptionsStatus { get; set; }
Property Value
Type Description
bool?

DeviceCompromisedStatus

The compromised device status.

Declaration
[JsonProperty("deviceCompromisedStatus")]
public virtual string DeviceCompromisedStatus { get; set; }
Property Value
Type Description
string

DeviceId

The serial number for a Google Sync mobile device. For Android and iOS devices, this is a software generated unique identifier.

Declaration
[JsonProperty("deviceId")]
public virtual string DeviceId { get; set; }
Property Value
Type Description
string

DevicePasswordStatus

DevicePasswordStatus (Read-only)

Declaration
[JsonProperty("devicePasswordStatus")]
public virtual string DevicePasswordStatus { get; set; }
Property Value
Type Description
string

ETag

ETag of the resource.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
string

Email

The list of the owner's email addresses. If your application needs the current list of user emails, use the get method. For additional information, see the retrieve a user method.

Declaration
[JsonProperty("email")]
public virtual IList<string> Email { get; set; }
Property Value
Type Description
IList<string>

EncryptionStatus

Mobile Device Encryption Status (Read-only)

Declaration
[JsonProperty("encryptionStatus")]
public virtual string EncryptionStatus { get; set; }
Property Value
Type Description
string

FirstSync

DateTime representation of FirstSyncRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use FirstSyncDateTimeOffset instead.")]
public virtual DateTime? FirstSync { get; set; }
Property Value
Type Description
DateTime?

FirstSyncDateTimeOffset

DateTimeOffset representation of FirstSyncRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? FirstSyncDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

FirstSyncRaw

Date and time the device was first synchronized with the policy settings in the G Suite administrator control panel (Read-only)

Declaration
[JsonProperty("firstSync")]
public virtual string FirstSyncRaw { get; set; }
Property Value
Type Description
string

Hardware

Mobile Device Hardware (Read-only)

Declaration
[JsonProperty("hardware")]
public virtual string Hardware { get; set; }
Property Value
Type Description
string

HardwareId

The IMEI/MEID unique identifier for Android hardware. It is not applicable to Google Sync devices. When adding an Android mobile device, this is an optional property. When updating one of these devices, this is a read-only property.

Declaration
[JsonProperty("hardwareId")]
public virtual string HardwareId { get; set; }
Property Value
Type Description
string

Imei

The device's IMEI number.

Declaration
[JsonProperty("imei")]
public virtual string Imei { get; set; }
Property Value
Type Description
string

KernelVersion

The device's kernel version.

Declaration
[JsonProperty("kernelVersion")]
public virtual string KernelVersion { get; set; }
Property Value
Type Description
string

Kind

The type of the API resource. For Mobiledevices resources, the value is admin#directory#mobiledevice.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

LastSync

DateTime representation of LastSyncRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LastSyncDateTimeOffset instead.")]
public virtual DateTime? LastSync { get; set; }
Property Value
Type Description
DateTime?

LastSyncDateTimeOffset

DateTimeOffset representation of LastSyncRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? LastSyncDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

LastSyncRaw

Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only)

Declaration
[JsonProperty("lastSync")]
public virtual string LastSyncRaw { get; set; }
Property Value
Type Description
string

ManagedAccountIsOnOwnerProfile

Boolean indicating if this account is on owner/primary profile or not.

Declaration
[JsonProperty("managedAccountIsOnOwnerProfile")]
public virtual bool? ManagedAccountIsOnOwnerProfile { get; set; }
Property Value
Type Description
bool?

Manufacturer

Mobile Device manufacturer (Read-only)

Declaration
[JsonProperty("manufacturer")]
public virtual string Manufacturer { get; set; }
Property Value
Type Description
string

Meid

The device's MEID number.

Declaration
[JsonProperty("meid")]
public virtual string Meid { get; set; }
Property Value
Type Description
string

Model

The mobile device's model name, for example Nexus S. This property can be updated. For more information, see the Developer's Guide.

Declaration
[JsonProperty("model")]
public virtual string Model { get; set; }
Property Value
Type Description
string

Name

The list of the owner's user names. If your application needs the current list of device owner names, use the get method. For more information about retrieving mobile device user information, see the Developer's Guide.

Declaration
[JsonProperty("name")]
public virtual IList<string> Name { get; set; }
Property Value
Type Description
IList<string>

NetworkOperator

Mobile Device mobile or network operator (if available) (Read-only)

Declaration
[JsonProperty("networkOperator")]
public virtual string NetworkOperator { get; set; }
Property Value
Type Description
string

Os

The mobile device's operating system, for example IOS 4.3 or Android 2.3.5. This property can be updated. For more information, see the Developer's Guide.

Declaration
[JsonProperty("os")]
public virtual string Os { get; set; }
Property Value
Type Description
string

OtherAccountsInfo

The list of accounts added on device (Read-only)

Declaration
[JsonProperty("otherAccountsInfo")]
public virtual IList<string> OtherAccountsInfo { get; set; }
Property Value
Type Description
IList<string>

Privilege

DMAgentPermission (Read-only)

Declaration
[JsonProperty("privilege")]
public virtual string Privilege { get; set; }
Property Value
Type Description
string

ReleaseVersion

Mobile Device release version version (Read-only)

Declaration
[JsonProperty("releaseVersion")]
public virtual string ReleaseVersion { get; set; }
Property Value
Type Description
string

ResourceId

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

Declaration
[JsonProperty("resourceId")]
public virtual string ResourceId { get; set; }
Property Value
Type Description
string

SecurityPatchLevel

Mobile Device Security patch level (Read-only)

Declaration
[JsonProperty("securityPatchLevel")]
public virtual long? SecurityPatchLevel { get; set; }
Property Value
Type Description
long?

SerialNumber

The device's serial number.

Declaration
[JsonProperty("serialNumber")]
public virtual string SerialNumber { get; set; }
Property Value
Type Description
string

Status

The device's status.

Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type Description
string

SupportsWorkProfile

Work profile supported on device (Read-only)

Declaration
[JsonProperty("supportsWorkProfile")]
public virtual bool? SupportsWorkProfile { get; set; }
Property Value
Type Description
bool?

Type

The type of mobile device.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

UnknownSourcesStatus

Unknown sources enabled or disabled on device (Read-only)

Declaration
[JsonProperty("unknownSourcesStatus")]
public virtual bool? UnknownSourcesStatus { get; set; }
Property Value
Type Description
bool?

UserAgent

Gives information about the device such as os version. This property can be updated. For more information, see the Developer's Guide.

Declaration
[JsonProperty("userAgent")]
public virtual string UserAgent { get; set; }
Property Value
Type Description
string

WifiMacAddress

The device's MAC address on Wi-Fi networks.

Declaration
[JsonProperty("wifiMacAddress")]
public virtual string WifiMacAddress { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX