Class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1UpdateDatabaseMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firestore_v1beta2/classes.rb,
lib/google/apis/firestore_v1beta2/representations.rb,
lib/google/apis/firestore_v1beta2/representations.rb

Overview

Metadata related to the update database operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirestoreAdminV1UpdateDatabaseMetadata

Returns a new instance of GoogleFirestoreAdminV1UpdateDatabaseMetadata.



321
322
323
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 321

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_timeString

The time this operation completed. Will be unset if operation still in progress. Corresponds to the JSON property endTime

Returns:

  • (String)


309
310
311
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 309

def end_time
  @end_time
end

#start_timeString

The time this operation started. Corresponds to the JSON property startTime

Returns:

  • (String)


314
315
316
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 314

def start_time
  @start_time
end

#stateString

The state of the operation. Corresponds to the JSON property state

Returns:

  • (String)


319
320
321
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 319

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



326
327
328
329
330
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 326

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end