class Google::Apis::DatastoreV1beta2::BeginTransactionResponse

Attributes

header[RW]

Corresponds to the JSON property `header` @return [Google::Apis::DatastoreV1beta2::ResponseHeader]

transaction[RW]

The transaction identifier (always present). Corresponds to the JSON property `transaction` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/datastore_v1beta2/classes.rb, line 114
def update!(**args)
  @header = args[:header] if args.key?(:header)
  @transaction = args[:transaction] if args.key?(:transaction)
end