Class: Google::Apis::AndroiddeviceprovisioningV1::CustomerUnclaimDeviceRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::CustomerUnclaimDeviceRequest
- 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 message for customer to unclaim a device.
Instance Attribute Summary collapse
-
#device ⇒ Google::Apis::AndroiddeviceprovisioningV1::DeviceReference
A
DeviceReference
is an API abstraction that lets you supply a device argument to a method using one of the following identifier types: * A numeric API resource ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerUnclaimDeviceRequest
constructor
A new instance of CustomerUnclaimDeviceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomerUnclaimDeviceRequest
Returns a new instance of CustomerUnclaimDeviceRequest.
513 514 515 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 513 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device ⇒ Google::Apis::AndroiddeviceprovisioningV1::DeviceReference
A DeviceReference
is an API abstraction that lets you supply a device
argument to a method using one of the following identifier types: * A numeric
API resource ID. * Real-world hardware IDs, such as IMEI number, belonging to
the manufactured device. Methods that operate on devices take a
DeviceReference
as a parameter type because it's more flexible for the caller.
To learn more about device identifiers, read Identifiers.
Corresponds to the JSON property device
511 512 513 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 511 def device @device end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
518 519 520 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 518 def update!(**args) @device = args[:device] if args.key?(:device) end |