Class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1UpdateDatabaseMetadata
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1UpdateDatabaseMetadata
- 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
-
#end_time ⇒ String
The time this operation completed.
-
#start_time ⇒ String
The time this operation started.
-
#state ⇒ String
The state of the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirestoreAdminV1UpdateDatabaseMetadata
constructor
A new instance of GoogleFirestoreAdminV1UpdateDatabaseMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_time ⇒ String
The time this operation completed. Will be unset if operation still in
progress.
Corresponds to the JSON property endTime
309 310 311 |
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 309 def end_time @end_time end |
#start_time ⇒ String
The time this operation started.
Corresponds to the JSON property startTime
314 315 316 |
# File 'lib/google/apis/firestore_v1beta2/classes.rb', line 314 def start_time @start_time end |
#state ⇒ String
The state of the operation.
Corresponds to the JSON property state
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 |