class Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1IndexOperationMetadata
Metadata for index operations. This metadata populates the metadata field of google.longrunning.Operation.
Attributes
True if the [google.longrunning.Operation] was cancelled. If the cancellation is in progress, cancelled will be true but google.longrunning.Operation.done will be false. Corresponds to the JSON property `cancelled` @return [Boolean]
True if the [google.longrunning.Operation] was cancelled. If the cancellation is in progress, cancelled will be true but google.longrunning.Operation.done will be false. Corresponds to the JSON property `cancelled` @return [Boolean]
Measures the progress of a particular metric. Corresponds to the JSON property `documentProgress` @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress]
The time the operation ended, either successfully or otherwise. Unset if the operation is still active. Corresponds to the JSON property `endTime` @return [String]
The index resource that this operation is acting on. For example: `projects/` project_id`/databases/`database_id`/indexes/`index_id“ Corresponds to the JSON property `index` @return [String]
The type of index operation. Corresponds to the JSON property `operationType` @return [String]
The time that work began on the operation. Corresponds to the JSON property `startTime` @return [String]
Public Class Methods
# File lib/google/apis/firestore_v1beta1/classes.rb, line 1075 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/firestore_v1beta1/classes.rb, line 1080 def update!(**args) @cancelled = args[:cancelled] if args.key?(:cancelled) @document_progress = args[:document_progress] if args.key?(:document_progress) @end_time = args[:end_time] if args.key?(:end_time) @index = args[:index] if args.key?(:index) @operation_type = args[:operation_type] if args.key?(:operation_type) @start_time = args[:start_time] if args.key?(:start_time) end