Class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1PrepareStepDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastore_v1beta1/classes.rb,
lib/google/apis/datastore_v1beta1/representations.rb,
lib/google/apis/datastore_v1beta1/representations.rb

Overview

Details for the PREPARE step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDatastoreAdminV1PrepareStepDetails

Returns a new instance of GoogleDatastoreAdminV1PrepareStepDetails.



358
359
360
# File 'lib/google/apis/datastore_v1beta1/classes.rb', line 358

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#concurrency_modeString

The concurrency mode this database will use when it reaches the REDIRECT_WRITES step. Corresponds to the JSON property concurrencyMode

Returns:

  • (String)


356
357
358
# File 'lib/google/apis/datastore_v1beta1/classes.rb', line 356

def concurrency_mode
  @concurrency_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



363
364
365
# File 'lib/google/apis/datastore_v1beta1/classes.rb', line 363

def update!(**args)
  @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
end