Class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1UpdateDatabaseMetadata

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



1632
1633
1634
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1632

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)


1620
1621
1622
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1620

def end_time
  @end_time
end

#start_timeString

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

Returns:

  • (String)


1625
1626
1627
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1625

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


1630
1631
1632
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1630

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1637
1638
1639
1640
1641
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1637

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