Struct google_androiddeviceprovisioning1::Device [−][src]
pub struct Device { pub device_identifier: Option<DeviceIdentifier>, pub name: Option<String>, pub claims: Option<Vec<DeviceClaim>>, pub device_metadata: Option<DeviceMetadata>, pub configuration: Option<String>, pub device_id: Option<String>, }
An Android device registered for zero-touch enrollment.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- devices get partners (response)
Fields
device_identifier: Option<DeviceIdentifier>
The hardware IDs that identify a manufactured device. To learn more, read Identifiers.
name: Option<String>
Output only. The API resource name in the format
partners/[PARTNER_ID]/devices/[DEVICE_ID]
. Assigned by the server.
claims: Option<Vec<DeviceClaim>>
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.
device_metadata: Option<DeviceMetadata>
The metadata attached to the device. Structured as key-value pairs. To learn more, read Device metadata.
configuration: Option<String>
Not available to resellers.
device_id: Option<String>
Output only. The ID of the device. Assigned by the server.
Trait Implementations
impl Default for Device
[src]
impl Default for Device
impl Clone for Device
[src]
impl Clone for Device
fn clone(&self) -> Device
[src]
fn clone(&self) -> Device
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Device
[src]
impl Debug for Device
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ResponseResult for Device
[src]
impl ResponseResult for Device