class Google::Apis::DatastoreV1::BeginTransactionResponse

The response for Datastore.BeginTransaction.

Attributes

transaction[RW]

The transaction identifier (always present). Corresponds to the JSON property `transaction` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastore_v1/classes.rb, line 116
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastore_v1/classes.rb, line 121
def update!(**args)
  @transaction = args[:transaction] if args.key?(:transaction)
end