GoogleApi.AndroidManagement.V1.Model.Device (google_api_android_management v0.30.0) View Source

A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can't be modified by enterprises.devices.patch.

Attributes

  • appliedState (type: String.t, default: nil) - The state currently applied to the device.
  • managementMode (type: String.t, default: nil) - The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported.
  • previousDeviceNames (type: list(String.t), default: nil) - If the same physical device has been enrolled multiple times, this field contains its previous device names. The serial number is used as the unique identifier to determine if the same physical device has enrolled previously. The names are in chronological order.
  • hardwareInfo (type: GoogleApi.AndroidManagement.V1.Model.HardwareInfo.t, default: nil) - Detailed information about the device hardware.
  • enrollmentTokenData (type: String.t, default: nil) - If the device was enrolled with an enrollment token with additional data provided, this field contains that data.
  • memoryEvents (type: list(GoogleApi.AndroidManagement.V1.Model.MemoryEvent.t), default: nil) - Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device's policy.
  • securityPosture (type: GoogleApi.AndroidManagement.V1.Model.SecurityPosture.t, default: nil) - Device's security posture value that reflects how secure the device is.
  • memoryInfo (type: GoogleApi.AndroidManagement.V1.Model.MemoryInfo.t, default: nil) - Memory information. This information is only available if memoryInfoEnabled is true in the device's policy.
  • policyCompliant (type: boolean(), default: nil) - Whether the device is compliant with its policy.
  • deviceSettings (type: GoogleApi.AndroidManagement.V1.Model.DeviceSettings.t, default: nil) - Device settings information. This information is only available if deviceSettingsEnabled is true in the device's policy.
  • lastPolicyComplianceReportTime (type: DateTime.t, default: nil) - Deprecated.
  • displays (type: list(GoogleApi.AndroidManagement.V1.Model.Display.t), default: nil) - Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device's policy.
  • disabledReason (type: GoogleApi.AndroidManagement.V1.Model.UserFacingMessage.t, default: nil) - If the device state is DISABLED, an optional message that is displayed on the device indicating the reason the device is disabled. This field can be modified by a patch request.
  • lastStatusReportTime (type: DateTime.t, default: nil) - The last time the device sent a status report.
  • name (type: String.t, default: nil) - The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.
  • state (type: String.t, default: nil) - The state to be applied to the device. This field can be modified by a patch request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED are the only allowable values. To enter the device into a DELETED state, call enterprises.devices.delete.
  • networkInfo (type: GoogleApi.AndroidManagement.V1.Model.NetworkInfo.t, default: nil) - Device network information. This information is only available if networkInfoEnabled is true in the device's policy.
  • hardwareStatusSamples (type: list(GoogleApi.AndroidManagement.V1.Model.HardwareStatus.t), default: nil) - Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device's policy.
  • powerManagementEvents (type: list(GoogleApi.AndroidManagement.V1.Model.PowerManagementEvent.t), default: nil) - Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device's policy.
  • appliedPolicyName (type: String.t, default: nil) - The name of the policy currently applied to the device.
  • applicationReports (type: list(GoogleApi.AndroidManagement.V1.Model.ApplicationReport.t), default: nil) - Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device's policy.
  • userName (type: String.t, default: nil) - The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.
  • nonComplianceDetails (type: list(GoogleApi.AndroidManagement.V1.Model.NonComplianceDetail.t), default: nil) - Details about policy settings that the device is not compliant with.
  • lastPolicySyncTime (type: DateTime.t, default: nil) - The last time the device fetched its policy.
  • user (type: GoogleApi.AndroidManagement.V1.Model.User.t, default: nil) - The user who owns the device.
  • systemProperties (type: map(), default: nil) - Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device's policy.
  • commonCriteriaModeInfo (type: GoogleApi.AndroidManagement.V1.Model.CommonCriteriaModeInfo.t, default: nil) - Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device's policy.
  • enrollmentTime (type: DateTime.t, default: nil) - The time of device enrollment.
  • appliedPolicyVersion (type: String.t, default: nil) - The version of the policy currently applied to the device.
  • policyName (type: String.t, default: nil) - The name of the policy applied to the device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device's user is applied. This field can be modified by a patch request. You can specify only the policyId when calling enterprises.devices.patch, as long as the policyId doesn’t contain any slashes. The rest of the policy name is inferred.
  • apiLevel (type: integer(), default: nil) - The API level of the Android platform version running on the device.
  • enrollmentTokenName (type: String.t, default: nil) - If the device was enrolled with an enrollment token, this field contains the name of the token.
  • softwareInfo (type: GoogleApi.AndroidManagement.V1.Model.SoftwareInfo.t, default: nil) - Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device's policy.
  • ownership (type: String.t, default: nil) - Ownership of the managed device.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AndroidManagement.V1.Model.Device{
  apiLevel: integer(),
  applicationReports: [
    GoogleApi.AndroidManagement.V1.Model.ApplicationReport.t()
  ],
  appliedPolicyName: String.t(),
  appliedPolicyVersion: String.t(),
  appliedState: String.t(),
  commonCriteriaModeInfo:
    GoogleApi.AndroidManagement.V1.Model.CommonCriteriaModeInfo.t(),
  deviceSettings: GoogleApi.AndroidManagement.V1.Model.DeviceSettings.t(),
  disabledReason: GoogleApi.AndroidManagement.V1.Model.UserFacingMessage.t(),
  displays: [GoogleApi.AndroidManagement.V1.Model.Display.t()],
  enrollmentTime: DateTime.t(),
  enrollmentTokenData: String.t(),
  enrollmentTokenName: String.t(),
  hardwareInfo: GoogleApi.AndroidManagement.V1.Model.HardwareInfo.t(),
  hardwareStatusSamples: [
    GoogleApi.AndroidManagement.V1.Model.HardwareStatus.t()
  ],
  lastPolicyComplianceReportTime: DateTime.t(),
  lastPolicySyncTime: DateTime.t(),
  lastStatusReportTime: DateTime.t(),
  managementMode: String.t(),
  memoryEvents: [GoogleApi.AndroidManagement.V1.Model.MemoryEvent.t()],
  memoryInfo: GoogleApi.AndroidManagement.V1.Model.MemoryInfo.t(),
  name: String.t(),
  networkInfo: GoogleApi.AndroidManagement.V1.Model.NetworkInfo.t(),
  nonComplianceDetails: [
    GoogleApi.AndroidManagement.V1.Model.NonComplianceDetail.t()
  ],
  ownership: String.t(),
  policyCompliant: boolean(),
  policyName: String.t(),
  powerManagementEvents: [
    GoogleApi.AndroidManagement.V1.Model.PowerManagementEvent.t()
  ],
  previousDeviceNames: [String.t()],
  securityPosture: GoogleApi.AndroidManagement.V1.Model.SecurityPosture.t(),
  softwareInfo: GoogleApi.AndroidManagement.V1.Model.SoftwareInfo.t(),
  state: String.t(),
  systemProperties: map(),
  user: GoogleApi.AndroidManagement.V1.Model.User.t(),
  userName: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.