Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1UpdateDatabaseMetadata
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1::GoogleFirestoreAdminV1UpdateDatabaseMetadata
- 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
-
#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.
3500 3501 3502 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3500 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
3488 3489 3490 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3488 def end_time @end_time end |
#start_time ⇒ String
The time this operation started.
Corresponds to the JSON property startTime
3493 3494 3495 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 3493 def start_time @start_time end |
#state ⇒ String
The state of the operation.
Corresponds to the JSON property state
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 |