class Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2IndexOperationMetadata

Metadata for google.longrunning.Operation results from FirestoreAdmin. CreateIndex.

Attributes

end_time[RW]

The time this operation completed. Will be unset if operation still in progress. 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`/collectionGroups/`collection_id`/indexes/` index_id“ Corresponds to the JSON property `index` @return [String]

progress_bytes[RW]

Describes the progress of the operation. Unit of work is generic and must be interpreted based on where Progress is used. Corresponds to the JSON property `progressBytes` @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]

progress_documents[RW]

Describes the progress of the operation. Unit of work is generic and must be interpreted based on where Progress is used. Corresponds to the JSON property `progressDocuments` @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]

start_time[RW]

The time this operation started. Corresponds to the JSON property `startTime` @return [String]

state[RW]

The state of the operation. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firestore_v1beta2/classes.rb, line 544
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_v1beta2/classes.rb, line 549
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @index = args[:index] if args.key?(:index)
  @progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
  @progress_documents = args[:progress_documents] if args.key?(:progress_documents)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end