pub struct ClaimDeviceRequest {
pub configuration_id: Option<i64>,
pub customer_id: Option<i64>,
pub device_identifier: Option<DeviceIdentifier>,
pub device_metadata: Option<DeviceMetadata>,
pub google_workspace_customer_id: Option<String>,
pub pre_provisioning_token: Option<String>,
pub section_type: Option<String>,
pub simlock_profile_id: Option<i64>,
}
Expand description
Request message to claim a device on behalf of a customer.
§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 claim partners (request)
Fields§
§configuration_id: Option<i64>
Optional. The ID of the configuration applied to the device section.
customer_id: Option<i64>
The ID of the customer for whom the device is being claimed.
device_identifier: Option<DeviceIdentifier>
Required. Required. The device identifier of the device to claim.
device_metadata: Option<DeviceMetadata>
Optional. The metadata to attach to the device.
google_workspace_customer_id: Option<String>
The Google Workspace customer ID.
pre_provisioning_token: Option<String>
Optional. Must and can only be set for Chrome OS devices.
section_type: Option<String>
Required. The section type of the device’s provisioning record.
simlock_profile_id: Option<i64>
Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile.
Trait Implementations§
Source§impl Clone for ClaimDeviceRequest
impl Clone for ClaimDeviceRequest
Source§fn clone(&self) -> ClaimDeviceRequest
fn clone(&self) -> ClaimDeviceRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ClaimDeviceRequest
impl Debug for ClaimDeviceRequest
Source§impl Default for ClaimDeviceRequest
impl Default for ClaimDeviceRequest
Source§fn default() -> ClaimDeviceRequest
fn default() -> ClaimDeviceRequest
Source§impl<'de> Deserialize<'de> for ClaimDeviceRequest
impl<'de> Deserialize<'de> for ClaimDeviceRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ClaimDeviceRequest
impl Serialize for ClaimDeviceRequest
impl RequestValue for ClaimDeviceRequest
Auto Trait Implementations§
impl Freeze for ClaimDeviceRequest
impl RefUnwindSafe for ClaimDeviceRequest
impl Send for ClaimDeviceRequest
impl Sync for ClaimDeviceRequest
impl Unpin for ClaimDeviceRequest
impl UnwindSafe for ClaimDeviceRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more