class Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1IndexOperationMetadata

Metadata for index operations. This metadata populates the metadata field of google.longrunning.Operation.

Attributes

cancelled[RW]

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]

cancelled?[RW]

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]

document_progress[RW]

Measures the progress of a particular metric. Corresponds to the JSON property `documentProgress` @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress]

end_time[RW]

The time the operation ended, either successfully or otherwise. Unset if the operation is still active. Corresponds to the JSON property `endTime` @return [String]

index[RW]

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]

operation_type[RW]

The type of index operation. Corresponds to the JSON property `operationType` @return [String]

start_time[RW]

The time that work began on the operation. Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firestore_v1beta1/classes.rb, line 1075
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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