Class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1PrepareStepDetails
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1::GoogleDatastoreAdminV1PrepareStepDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastore_v1/classes.rb,
lib/google/apis/datastore_v1/representations.rb,
lib/google/apis/datastore_v1/representations.rb more...
Overview
Details for the PREPARE
step.
Instance Attribute Summary collapse
-
#concurrency_mode ⇒ String
The concurrency mode this database will use when it reaches the
REDIRECT_WRITES
step.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDatastoreAdminV1PrepareStepDetails
constructor
A new instance of GoogleDatastoreAdminV1PrepareStepDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDatastoreAdminV1PrepareStepDetails
Returns a new instance of GoogleDatastoreAdminV1PrepareStepDetails.
1249 1250 1251 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 1249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#concurrency_mode ⇒ String
The concurrency mode this database will use when it reaches the
REDIRECT_WRITES
step.
Corresponds to the JSON property concurrencyMode
1247 1248 1249 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 1247 def concurrency_mode @concurrency_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1254 1255 1256 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 1254 def update!(**args) @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode) end |