Class: Google::Apis::DatastoreV1beta3::RollbackRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta3::RollbackRequest
- 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
-
#transaction ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RollbackRequest
constructor
A new instance of RollbackRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#transaction ⇒ String
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.
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 |