Class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1MigrationStateEvent
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1MigrationStateEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastore_v1beta3/classes.rb,
lib/google/apis/datastore_v1beta3/representations.rb,
lib/google/apis/datastore_v1beta3/representations.rb
Overview
An event signifying a change in state of a migration from Cloud Datastore to Cloud Firestore in Datastore mode.
Instance Attribute Summary collapse
-
#state ⇒ String
The new state of the migration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDatastoreAdminV1MigrationStateEvent
constructor
A new instance of GoogleDatastoreAdminV1MigrationStateEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDatastoreAdminV1MigrationStateEvent
Returns a new instance of GoogleDatastoreAdminV1MigrationStateEvent.
788 789 790 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 788 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
The new state of the migration.
Corresponds to the JSON property state
786 787 788 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 786 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
793 794 795 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 793 def update!(**args) @state = args[:state] if args.key?(:state) end |