IndexOperationMetadata

Stay organized with collections Save and categorize content based on your preferences.

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

JSON representation
{
  "startTime": string,
  "endTime": string,
  "index": string,
  "operationType": enum(OperationType),
  "cancelled": boolean,
  "documentProgress": {
    object(Progress)
  }
}
Fields
startTime

string (Timestamp format)

The time that work began on the operation.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

The time the operation ended, either successfully or otherwise. Unset if the operation is still active.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

index

string

The index resource that this operation is acting on. For example: projects/{projectId}/databases/{databaseId}/indexes/{index_id}

operationType

enum(OperationType)

The type of index operation.

cancelled

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.

documentProgress

object(Progress)

Progress of the existing operation, measured in number of documents.

Progress

Measures the progress of a particular metric.

JSON representation
{
  "workCompleted": string,
  "workEstimated": string
}
Fields
workCompleted

string (int64 format)

An estimate of how much work has been completed. Note that this may be greater than workEstimated.

workEstimated

string (int64 format)

An estimate of how much work needs to be performed. Zero if the work estimate is unavailable. May change as work progresses.