Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1UpdateDatabaseMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firestore_v1/classes.rb,
lib/google/apis/firestore_v1/representations.rb,
lib/google/apis/firestore_v1/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.



3500
3501
3502
# File 'lib/google/apis/firestore_v1/classes.rb', line 3500

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)


3488
3489
3490
# File 'lib/google/apis/firestore_v1/classes.rb', line 3488

def end_time
  @end_time
end

#start_timeString

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

Returns:

  • (String)


3493
3494
3495
# File 'lib/google/apis/firestore_v1/classes.rb', line 3493

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


3498
3499
3500
# File 'lib/google/apis/firestore_v1/classes.rb', line 3498

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3505
3506
3507
3508
3509
# File 'lib/google/apis/firestore_v1/classes.rb', line 3505

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