Class: Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceResponse
 
- 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
Response message containing device id of the claim.
Instance Attribute Summary collapse
- 
  
    
      #device_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The device ID of the claimed device. 
- 
  
    
      #device_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resource name of the device in the format partners/[PARTNER_ID]/devices/[DEVICE_ID].
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ClaimDeviceResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ClaimDeviceResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClaimDeviceResponse
Returns a new instance of ClaimDeviceResponse
| 72 73 74 | # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 72 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#device_id ⇒ Fixnum
The device ID of the claimed device.
Corresponds to the JSON property deviceId
| 64 65 66 | # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 64 def device_id @device_id end | 
#device_name ⇒ String
The resource name of the device in the format
partners/[PARTNER_ID]/devices/[DEVICE_ID].
Corresponds to the JSON property deviceName
| 70 71 72 | # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 70 def device_name @device_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 77 78 79 80 | # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 77 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @device_name = args[:device_name] if args.key?(:device_name) end |