Class: Google::Apis::AndroiddeviceprovisioningV1::DevicesLongRunningOperationResponse
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::DevicesLongRunningOperationResponse
- 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
Tracks the status of a long-running operation to claim, unclaim, or attach metadata to devices. To learn more, read Long‑running batch operations.
Instance Attribute Summary collapse
-
#per_device_status ⇒ Array<Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice>
The processing status for each device in the operation.
-
#success_count ⇒ Fixnum
A summary of how many items in the operation the server processed successfully.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DevicesLongRunningOperationResponse
constructor
A new instance of DevicesLongRunningOperationResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DevicesLongRunningOperationResponse
Returns a new instance of DevicesLongRunningOperationResponse.
745 746 747 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#per_device_status ⇒ Array<Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice>
The processing status for each device in the operation. One PerDeviceStatus
per device. The list order matches the items in the original request.
Corresponds to the JSON property perDeviceStatus
737 738 739 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 737 def per_device_status @per_device_status end |
#success_count ⇒ Fixnum
A summary of how many items in the operation the server processed successfully.
Updated as the operation progresses.
Corresponds to the JSON property successCount
743 744 745 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 743 def success_count @success_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
750 751 752 753 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 750 def update!(**args) @per_device_status = args[:per_device_status] if args.key?(:per_device_status) @success_count = args[:success_count] if args.key?(:success_count) end |