Class: Google::Apis::AndroiddeviceprovisioningV1::DevicesLongRunningOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::DevicesLongRunningOperationMetadata
- 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
Tracks the status of a long-running operation to asynchronously update a batch of reseller metadata attached to devices. To learn more, read Long‑running batch operations.
Instance Attribute Summary collapse
-
#devices_count ⇒ Fixnum
The number of metadata updates in the operation.
-
#processing_status ⇒ String
The processing status of the operation.
-
#progress ⇒ Fixnum
The processing progress of the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DevicesLongRunningOperationMetadata
constructor
A new instance of DevicesLongRunningOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DevicesLongRunningOperationMetadata
Returns a new instance of DevicesLongRunningOperationMetadata
691 692 693 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 691 def initialize(**args) update!(**args) end |
Instance Attribute Details
#devices_count ⇒ Fixnum
The number of metadata updates in the operation. This might be different
from the number of updates in the request if the API can't parse some of
the updates.
Corresponds to the JSON property devicesCount
677 678 679 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 677 def devices_count @devices_count end |
#processing_status ⇒ String
The processing status of the operation.
Corresponds to the JSON property processingStatus
682 683 684 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 682 def processing_status @processing_status end |
#progress ⇒ Fixnum
The processing progress of the operation. Measured as a number from 0 to
- A value of 10O doesnt always mean the operation completed—check for
the inclusion of a
done
field. Corresponds to the JSON propertyprogress
689 690 691 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 689 def progress @progress end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
696 697 698 699 700 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 696 def update!(**args) @devices_count = args[:devices_count] if args.key?(:devices_count) @processing_status = args[:processing_status] if args.key?(:processing_status) @progress = args[:progress] if args.key?(:progress) end |