Class: Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch
- 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
Stores the processing result for each device.
Instance Attribute Summary collapse
-
#device_id ⇒ Fixnum
Device ID of the device if process succeeds.
-
#error_identifier ⇒ String
Error identifier.
-
#error_message ⇒ String
Error message.
-
#status ⇒ String
Process result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerDeviceStatusInBatch
constructor
A new instance of PerDeviceStatusInBatch.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PerDeviceStatusInBatch
Returns a new instance of PerDeviceStatusInBatch
732 733 734 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_id ⇒ Fixnum
Device ID of the device if process succeeds.
Corresponds to the JSON property deviceId
715 716 717 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 715 def device_id @device_id end |
#error_identifier ⇒ String
Error identifier.
Corresponds to the JSON property errorIdentifier
720 721 722 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 720 def error_identifier @error_identifier end |
#error_message ⇒ String
Error message.
Corresponds to the JSON property errorMessage
725 726 727 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 725 def @error_message end |
#status ⇒ String
Process result.
Corresponds to the JSON property status
730 731 732 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 730 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
737 738 739 740 741 742 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 737 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @error_identifier = args[:error_identifier] if args.key?(:error_identifier) @error_message = args[:error_message] if args.key?(:error_message) @status = args[:status] if args.key?(:status) end |