google_api_android_management v0.18.0 GoogleApi.AndroidManagement.V1.Model.Device 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
apiLevel
(type:integer()
, default:nil
) - The API level of the Android platform version running on 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.appliedPolicyName
(type:String.t
, default:nil
) - The name of the policy currently applied to the device.appliedPolicyVersion
(type:String.t
, default:nil
) - The version of the policy currently applied to the device.appliedState
(type:String.t
, default:nil
) - The state currently applied to the device.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.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.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.enrollmentTime
(type:DateTime.t
, default:nil
) - The time of device enrollment.enrollmentTokenData
(type:String.t
, default:nil
) - If the device was enrolled with an enrollment token with additional data provided, this field contains that data.enrollmentTokenName
(type:String.t
, default:nil
) - If the device was enrolled with an enrollment token, this field contains the name of the token.hardwareInfo
(type:GoogleApi.AndroidManagement.V1.Model.HardwareInfo.t
, default:nil
) - Detailed information about the device hardware.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.lastPolicyComplianceReportTime
(type:DateTime.t
, default:nil
) - Deprecated.lastPolicySyncTime
(type:DateTime.t
, default:nil
) - The last time the device fetched its policy.lastStatusReportTime
(type:DateTime.t
, default:nil
) - The last time the device sent a status report.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.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.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.name
(type:String.t
, default:nil
) - The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.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.nonComplianceDetails
(type:list(GoogleApi.AndroidManagement.V1.Model.NonComplianceDetail.t)
, default:nil
) - Details about policy settings that the device is not compliant with.policyCompliant
(type:boolean()
, default:nil
) - Whether the device is compliant with its policy.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.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.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.securityPosture
(type:GoogleApi.AndroidManagement.V1.Model.SecurityPosture.t
, default:nil
) - Device's security posture value that reflects how secure the device is.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.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.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.user
(type:GoogleApi.AndroidManagement.V1.Model.User.t
, default:nil
) - The user who owns the device.userName
(type:String.t
, default:nil
) - The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.AndroidManagement.V1.Model.Device{ apiLevel: integer(), applicationReports: [ GoogleApi.AndroidManagement.V1.Model.ApplicationReport.t() ], appliedPolicyName: String.t(), appliedPolicyVersion: String.t(), appliedState: String.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() ], 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
Unwrap a decoded JSON object into its complex fields.