Show / Hide Table of Contents

Class Device

A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user. Important: Device API scopes require that you use domain-wide delegation to access the API. For more information, see Set up the Devices API.

Inheritance
object
Device
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.CloudIdentity.v1beta1.Data
Assembly: Google.Apis.CloudIdentity.v1beta1.dll
Syntax
public class Device : IDirectResponseSchema

Properties

AndroidSpecificAttributes

Output only. Attributes specific to Android devices.

Declaration
[JsonProperty("androidSpecificAttributes")]
public virtual AndroidAttributes AndroidSpecificAttributes { get; set; }
Property Value
Type Description
AndroidAttributes

AssetTag

Asset tag of the device.

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

BasebandVersion

Output only. Baseband version of the device.

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

BootloaderVersion

Output only. Device bootloader version. Example: 0.6.7.

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

Brand

Output only. Device brand. Example: Samsung.

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

BuildNumber

Output only. Build number of the device.

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

ClientTypes

List of the clients the device is reporting to.

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

CompromisedState

Output only. Represents whether the Device is compromised.

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

CreateTime

object representation of CreateTimeRaw.

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

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

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

CreateTimeRaw

Output only. When the Company-Owned device was imported. This field is empty for BYOD devices.

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

DeviceId

Unique identifier for the device.

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

DeviceType

Output only. Type of device.

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

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EnabledDeveloperOptions

Output only. Whether developer options is enabled on device.

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

EnabledUsbDebugging

Output only. Whether USB debugging is enabled on device.

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

EncryptionState

Output only. Device encryption state.

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

EndpointVerificationSpecificAttributes

Output only. Attributes specific to Endpoint Verification devices.

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

Hostname

Host name of the device.

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

Imei

Output only. IMEI number of device if GSM device; empty otherwise.

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

KernelVersion

Output only. Kernel version of the device.

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

LastSyncTime

object representation of LastSyncTimeRaw.

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

LastSyncTimeDateTimeOffset

DateTimeOffset representation of LastSyncTimeRaw.

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

LastSyncTimeRaw

Most recent time when device synced with this service.

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

ManagementState

Output only. Management state of the device

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

Manufacturer

Output only. Device manufacturer. Example: Motorola.

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

Meid

Output only. MEID number of device if CDMA device; empty otherwise.

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

Model

Output only. Model name of device. Example: Pixel 3.

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

Name

Output only. Resource name of the Device in format: devices/{device_id}, where device_id is the unique id assigned to the Device.

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

NetworkOperator

Output only. Mobile or network operator of device, if available.

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

OsVersion

Output only. OS version of the device. Example: Android 8.1.0.

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

OtherAccounts

Output only. Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".

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

OwnerType

Output only. Whether the device is owned by the company or an individual

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

ReleaseVersion

Output only. OS release version. Example: 6.0.

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

SecurityPatchTime

object representation of SecurityPatchTimeRaw.

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

SecurityPatchTimeDateTimeOffset

DateTimeOffset representation of SecurityPatchTimeRaw.

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

SecurityPatchTimeRaw

Output only. OS security patch update time on device.

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

SerialNumber

Serial Number of device. Example: HT82V1A01076.

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

UnifiedDeviceId

Output only. Unified device id of the device.

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

WifiMacAddresses

WiFi MAC addresses of device.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX