Class: Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androiddeviceprovisioning_v1/classes.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb
Overview
Request to claim devices asynchronously in batch. Claiming a device adds the device to zero-touch enrollment and shows the device in the customer's view of the portal.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClaimDevicesRequest
constructor
A new instance of ClaimDevicesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClaimDevicesRequest
Returns a new instance of ClaimDevicesRequest.
127 128 129 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#claims ⇒ Array<Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim>
Required. A list of device claims.
Corresponds to the JSON property claims
125 126 127 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 125 def claims @claims end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
132 133 134 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 132 def update!(**args) @claims = args[:claims] if args.key?(:claims) end |