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.
Constructor Details
#initialize(**args) ⇒ ClaimDeviceResponse
Returns a new instance of ClaimDeviceResponse.
80 81 82 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 80 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
72 73 74 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 72 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
78 79 80 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 78 def device_name @device_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
85 86 87 88 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 85 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @device_name = args[:device_name] if args.key?(:device_name) end |