class Google::Apis::FirestoreV1::GoogleFirestoreAdminV1FieldOperationMetadata

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

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]

field[RW]

The field resource that this operation is acting on. For example: `projects/` project_id`/databases/`database_id`/collectionGroups/`collection_id`/fields/` field_path“ Corresponds to the JSON property `field` @return [String]

index_config_deltas[RW]

A list of IndexConfigDelta, which describe the intent of this operation. Corresponds to the JSON property `indexConfigDeltas` @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfigDelta>]

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::FirestoreV1::GoogleFirestoreAdminV1Progress]

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::FirestoreV1::GoogleFirestoreAdminV1Progress]

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_v1/classes.rb, line 977
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_v1/classes.rb, line 982
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @field = args[:field] if args.key?(:field)
  @index_config_deltas = args[:index_config_deltas] if args.key?(:index_config_deltas)
  @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