Class: Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androiddeviceprovisioning_v1/classes.rb,
 generated/google/apis/androiddeviceprovisioning_v1/representations.rb,
 generated/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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClaimDevicesRequest
Returns a new instance of ClaimDevicesRequest
| 94 95 96 | # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 94 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
| 92 93 94 | # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 92 def claims @claims end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 99 100 101 | # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 99 def update!(**args) @claims = args[:claims] if args.key?(:claims) end |