Class: Google::Apis::DatastoreV1beta3::RollbackRequest

Inherits:
Object
  • Object
show all
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

The request for Datastore.Rollback.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RollbackRequest

Returns a new instance of RollbackRequest.



2088
2089
2090
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 2088

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

Instance Attribute Details

#transactionString

Required. The transaction identifier, returned by a call to Datastore. BeginTransaction. Corresponds to the JSON property transaction NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


2086
2087
2088
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 2086

def transaction
  @transaction
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2093
2094
2095
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 2093

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