{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-workspace/json-schema/google-workspace-google-apps-cloudidentity-devices-v1-device-schema.json",
  "title": "GoogleAppsCloudidentityDevicesV1Device",
  "description": " 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.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-workspace-cloudidentity-devices-api-openapi.yml#/components/schemas/GoogleAppsCloudidentityDevicesV1Device",
  "type": "object",
  "properties": {
    "unifiedDeviceId": {
      "description": "Output only. Unified device id of the device.",
      "readOnly": true,
      "type": "string"
    },
    "name": {
      "type": "string",
      "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique id assigned to the Device. Important: Device API scopes require that you use domain-wide delegation to access the API. For more information, see [Set up the Devices API](https://cloud.google.com/identity/docs/how-to/setup-devices).",
      "readOnly": true
    },
    "model": {
      "description": "Output only. Model name of device. Example: Pixel 3.",
      "readOnly": true,
      "type": "string"
    },
    "lastSyncTime": {
      "description": "Most recent time when device synced with this service.",
      "format": "google-datetime",
      "type": "string"
    },
    "endpointVerificationSpecificAttributes": {
      "$ref": "#/$defs/GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes",
      "description": "Output only. Attributes specific to [Endpoint Verification](https://cloud.google.com/endpoint-verification/docs/overview) devices."
    },
    "brand": {
      "readOnly": true,
      "description": "Output only. Device brand. Example: Samsung.",
      "type": "string"
    },
    "wifiMacAddresses": {
      "description": "WiFi MAC addresses of device.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "deviceType": {
      "description": "Output only. Type of device.",
      "type": "string",
      "readOnly": true,
      "enum": [
        "DEVICE_TYPE_UNSPECIFIED",
        "ANDROID",
        "IOS",
        "GOOGLE_SYNC",
        "WINDOWS",
        "MAC_OS",
        "LINUX",
        "CHROME_OS",
        "GOOGLEBOOK"
      ]
    },
    "securityPatchTime": {
      "description": "Output only. OS security patch update time on device.",
      "readOnly": true,
      "type": "string",
      "format": "google-datetime"
    },
    "serialNumber": {
      "type": "string",
      "description": "Serial Number of device. Example: HT82V1A01076."
    },
    "basebandVersion": {
      "description": "Output only. Baseband version of the device.",
      "type": "string",
      "readOnly": true
    },
    "imei": {
      "description": "Output only. IMEI number of device if GSM device; empty otherwise.",
      "readOnly": true,
      "type": "string"
    },
    "kernelVersion": {
      "description": "Output only. Kernel version of the device.",
      "readOnly": true,
      "type": "string"
    },
    "encryptionState": {
      "description": "Output only. Device encryption state.",
      "type": "string",
      "enum": [
        "ENCRYPTION_STATE_UNSPECIFIED",
        "UNSUPPORTED_BY_DEVICE",
        "ENCRYPTED",
        "NOT_ENCRYPTED"
      ],
      "readOnly": true
    },
    "enabledUsbDebugging": {
      "description": "Output only. Whether USB debugging is enabled on device.",
      "readOnly": true,
      "type": "boolean"
    },
    "enabledDeveloperOptions": {
      "readOnly": true,
      "type": "boolean",
      "description": "Output only. Whether developer options is enabled on device."
    },
    "hostname": {
      "description": "Host name of the device.",
      "type": "string"
    },
    "androidSpecificAttributes": {
      "$ref": "#/$defs/GoogleAppsCloudidentityDevicesV1AndroidAttributes",
      "description": "Output only. Attributes specific to Android devices."
    },
    "createTime": {
      "readOnly": true,
      "description": "Output only. When the Company-Owned device was imported. This field is empty for BYOD devices.",
      "format": "google-datetime",
      "type": "string"
    },
    "otherAccounts": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "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\".",
      "readOnly": true
    },
    "networkOperator": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. Mobile or network operator of device, if available."
    },
    "buildNumber": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. Build number of the device."
    },
    "bootloaderVersion": {
      "readOnly": true,
      "description": "Output only. Device bootloader version. Example: 0.6.7.",
      "type": "string"
    },
    "compromisedState": {
      "readOnly": true,
      "type": "string",
      "enum": [
        "COMPROMISED_STATE_UNSPECIFIED",
        "COMPROMISED",
        "UNCOMPROMISED"
      ],
      "description": "Output only. Represents whether the Device is compromised."
    },
    "deviceId": {
      "description": "Unique identifier for the device.",
      "type": "string"
    },
    "manufacturer": {
      "readOnly": true,
      "description": "Output only. Device manufacturer. Example: Motorola.",
      "type": "string"
    },
    "assetTag": {
      "type": "string",
      "description": "Asset tag of the device."
    },
    "meid": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. MEID number of device if CDMA device; empty otherwise."
    },
    "ownerType": {
      "readOnly": true,
      "type": "string",
      "enum": [
        "DEVICE_OWNERSHIP_UNSPECIFIED",
        "COMPANY",
        "BYOD"
      ],
      "description": "Output only. Whether the device is owned by the company or an individual"
    },
    "osVersion": {
      "description": "Output only. OS version of the device. Example: Android 8.1.0.",
      "type": "string",
      "readOnly": true
    },
    "managementState": {
      "readOnly": true,
      "enum": [
        "MANAGEMENT_STATE_UNSPECIFIED",
        "APPROVED",
        "BLOCKED",
        "PENDING",
        "UNPROVISIONED",
        "WIPING",
        "WIPED"
      ],
      "type": "string",
      "description": "Output only. Management state of the device"
    },
    "releaseVersion": {
      "type": "string",
      "description": "Output only. OS release version. Example: 6.0.",
      "readOnly": true
    }
  },
  "$defs": {
    "GoogleAppsCloudidentityDevicesV1AndroidAttributes": {
      "type": "object",
      "properties": {
        "enabledUnknownSources": {
          "type": "boolean",
          "description": "Whether applications from unknown sources can be installed on device."
        },
        "verifiedBoot": {
          "description": "Whether Android verified boot status is GREEN.",
          "type": "boolean"
        },
        "hasPotentiallyHarmfulApps": {
          "description": "Whether any potentially harmful apps were detected on the device.",
          "type": "boolean"
        },
        "supportsWorkProfile": {
          "description": "Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the \"Enforce Work Profile\" policy.",
          "type": "boolean"
        },
        "verifyAppsEnabled": {
          "description": "Whether Google Play Protect Verify Apps is enabled.",
          "type": "boolean"
        },
        "ctsProfileMatch": {
          "description": "Whether the device passes Android CTS compliance.",
          "type": "boolean"
        },
        "ownerProfileAccount": {
          "type": "boolean",
          "description": "Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles."
        },
        "ownershipPrivilege": {
          "description": "Ownership privileges on device.",
          "enum": [
            "OWNERSHIP_PRIVILEGE_UNSPECIFIED",
            "DEVICE_ADMINISTRATOR",
            "PROFILE_OWNER",
            "DEVICE_OWNER"
          ],
          "type": "string"
        }
      },
      "description": "Resource representing the Android specific attributes of a Device."
    },
    "GoogleAppsCloudidentityDevicesV1BrowserAttributes": {
      "description": "Contains information about browser profiles reported by the [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1).",
      "type": "object",
      "properties": {
        "chromeBrowserInfo": {
          "$ref": "#/$defs/GoogleAppsCloudidentityDevicesV1BrowserInfo",
          "description": "Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)."
        },
        "lastProfileSyncTime": {
          "type": "string",
          "description": "Timestamp in milliseconds since the Unix epoch when the profile/gcm id was last synced.",
          "format": "google-datetime"
        },
        "chromeProfileId": {
          "description": "Chrome profile ID that is exposed by the Chrome API. It is unique for each device.",
          "type": "string"
        }
      }
    },
    "GoogleAppsCloudidentityDevicesV1BrowserInfo": {
      "properties": {
        "isSiteIsolationEnabled": {
          "description": "Current state of [site isolation](https://chromeenterprise.google/policies/?policy=IsolateOrigins).",
          "type": "boolean"
        },
        "isChromeRemoteDesktopAppBlocked": {
          "description": "Current state of [Chrome Remote Desktop app](https://chromeenterprise.google/policies/#URLBlocklist).",
          "type": "boolean"
        },
        "isChromeCleanupEnabled": {
          "type": "boolean",
          "description": "Deprecated: This field is not used for Chrome version 118 and later. Current state of [Chrome Cleanup](https://chromeenterprise.google/policies/#ChromeCleanupEnabled).",
          "deprecated": true
        },
        "isBulkDataEntryAnalysisEnabled": {
          "description": "Current state of [bulk data analysis](https://chromeenterprise.google/policies/#OnBulkDataEntryEnterpriseConnector). Set to true if provider list from Chrome is non-empty.",
          "type": "boolean"
        },
        "isFileUploadAnalysisEnabled": {
          "type": "boolean",
          "description": "Current state of [file upload analysis](https://chromeenterprise.google/policies/#OnFileAttachedEnterpriseConnector). Set to true if provider list from Chrome is non-empty."
        },
        "browserManagementState": {
          "description": "Output only. Browser's management state.",
          "type": "string",
          "enum": [
            "UNSPECIFIED",
            "UNMANAGED",
            "MANAGED_BY_OTHER_DOMAIN",
            "PROFILE_MANAGED",
            "BROWSER_MANAGED"
          ],
          "readOnly": true
        },
        "isBuiltInDnsClientEnabled": {
          "description": "Current state of [built-in DNS client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled).",
          "type": "boolean"
        },
        "isSecurityEventAnalysisEnabled": {
          "type": "boolean",
          "description": "Current state of [security event analysis](https://chromeenterprise.google/policies/#OnSecurityEventEnterpriseConnector). Set to true if provider list from Chrome is non-empty."
        },
        "browserVersion": {
          "type": "string",
          "description": "Version of the request initiating browser. E.g. `91.0.4442.4`."
        },
        "safeBrowsingProtectionLevel": {
          "type": "string",
          "enum": [
            "SAFE_BROWSING_LEVEL_UNSPECIFIED",
            "DISABLED",
            "STANDARD",
            "ENHANCED"
          ],
          "description": "Current state of [Safe Browsing protection level](https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel)."
        },
        "isRealtimeUrlCheckEnabled": {
          "description": "Current state of [real-time URL check](https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode). Set to true if provider list from Chrome is non-empty.",
          "type": "boolean"
        },
        "isFileDownloadAnalysisEnabled": {
          "type": "boolean",
          "description": "Current state of [file download analysis](https://chromeenterprise.google/policies/#OnFileDownloadedEnterpriseConnector). Set to true if provider list from Chrome is non-empty."
        },
        "isThirdPartyBlockingEnabled": {
          "description": "Current state of [third-party blocking](https://chromeenterprise.google/policies/#ThirdPartyBlockingEnabled).",
          "type": "boolean"
        },
        "passwordProtectionWarningTrigger": {
          "type": "string",
          "description": "Current state of [password protection trigger](https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger).",
          "enum": [
            "PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED",
            "PROTECTION_OFF",
            "PASSWORD_REUSE",
            "PHISHING_REUSE"
          ]
        }
      },
      "description": "Browser-specific fields reported by the [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1).",
      "type": "object"
    },
    "GoogleAppsCloudidentityDevicesV1CertificateAttributes": {
      "type": "object",
      "description": "Stores information about a certificate.",
      "properties": {
        "validityExpirationTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Certificate not valid at or after this timestamp."
        },
        "subject": {
          "type": "string",
          "description": "The subject name of this certificate."
        },
        "fingerprint": {
          "description": "The encoded certificate fingerprint.",
          "type": "string"
        },
        "issuer": {
          "description": "The name of the issuer of this certificate.",
          "type": "string"
        },
        "thumbprint": {
          "description": "The certificate thumbprint.",
          "type": "string"
        },
        "validityStartTime": {
          "description": "Certificate not valid before this timestamp.",
          "format": "google-datetime",
          "type": "string"
        },
        "serialNumber": {
          "type": "string",
          "description": "Serial number of the certificate, Example: \"123456789\"."
        },
        "validationState": {
          "enum": [
            "CERTIFICATE_VALIDATION_STATE_UNSPECIFIED",
            "VALIDATION_SUCCESSFUL",
            "VALIDATION_FAILED"
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. Validation state of this certificate."
        },
        "certificateTemplate": {
          "$ref": "#/$defs/GoogleAppsCloudidentityDevicesV1CertificateTemplate",
          "description": "The X.509 extension for CertificateTemplate."
        }
      }
    },
    "GoogleAppsCloudidentityDevicesV1CertificateTemplate": {
      "type": "object",
      "properties": {
        "minorVersion": {
          "type": "integer",
          "format": "int32",
          "description": "The minor version of the template. Example: 12."
        },
        "id": {
          "description": "The template id of the template. Example: \"1.3.6.1.4.1.311.21.8.15608621.11768144.5720724.16068415.6889630.81.2472537.7784047\".",
          "type": "string"
        },
        "majorVersion": {
          "format": "int32",
          "type": "integer",
          "description": "The Major version of the template. Example: 100."
        }
      },
      "description": "CertificateTemplate (v3 Extension in X.509)."
    },
    "GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes": {
      "description": "Resource representing the [Endpoint Verification-specific attributes](https://cloud.google.com/endpoint-verification/docs/device-information) of a device.",
      "properties": {
        "additionalSignals": {
          "type": "object",
          "description": "[Additional signals](https://cloud.google.com/endpoint-verification/docs/device-information) reported by Endpoint Verification. It includes the following attributes: * Non-configurable attributes: hotfixes, av_installed, av_enabled, windows_domain_name, is_os_native_firewall_enabled, and is_secure_boot_enabled. * [Configurable attributes](https://cloud.google.com/endpoint-verification/docs/collect-config-attributes): file, folder, and binary attributes; registry entries; and properties in a plist.",
          "additionalProperties": {
            "description": "Properties of the object."
          }
        },
        "browserAttributes": {
          "description": "Details of browser profiles reported by Endpoint Verification.",
          "items": {
            "$ref": "#/$defs/GoogleAppsCloudidentityDevicesV1BrowserAttributes"
          },
          "type": "array"
        },
        "certificateAttributes": {
          "items": {
            "$ref": "#/$defs/GoogleAppsCloudidentityDevicesV1CertificateAttributes"
          },
          "description": "Details of certificates.",
          "type": "array"
        }
      },
      "type": "object"
    }
  }
}