View Source GoogleApi.AndroidDeviceProvisioning.V1.Model.Device (google_api_android_device_provisioning v0.19.0)

An Android or Chrome OS device registered for zero-touch enrollment.

Attributes

  • claims (type: list(GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceClaim.t), default: nil) - Output only. The provisioning claims for a device. Devices claimed for zero-touch enrollment have a claim with the type SECTION_TYPE_ZERO_TOUCH. Call partners.devices.unclaim or partners.devices.unclaimAsync to remove the device from zero-touch enrollment.
  • configuration (type: String.t, default: nil) - Not available to resellers.
  • deviceId (type: String.t, default: nil) - Output only. The ID of the device. Assigned by the server.
  • deviceIdentifier (type: GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceIdentifier.t, default: nil) - The hardware IDs that identify a manufactured device. To learn more, read Identifiers.
  • deviceMetadata (type: GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceMetadata.t, default: nil) - The metadata attached to the device. Structured as key-value pairs. To learn more, read Device metadata.
  • name (type: String.t, default: nil) - Output only. The API resource name in the format partners/[PARTNER_ID]/devices/[DEVICE_ID]. Assigned by the server.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidDeviceProvisioning.V1.Model.Device{
  claims: [GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceClaim.t()] | nil,
  configuration: String.t() | nil,
  deviceId: String.t() | nil,
  deviceIdentifier:
    GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceIdentifier.t() | nil,
  deviceMetadata:
    GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceMetadata.t() | nil,
  name: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.