Class: Google::Cloud::Spanner::V1::BeginTransactionRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/spanner/v1/spanner.rb

Overview

The request for BeginTransaction.

Instance Attribute Summary collapse

Instance Attribute Details

#options::Google::Cloud::Spanner::V1::TransactionOptions

Returns Required. Options for the new transaction.

Returns:



893
894
895
896
# File 'proto_docs/google/spanner/v1/spanner.rb', line 893

class BeginTransactionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#request_options::Google::Cloud::Spanner::V1::RequestOptions

Returns Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct will not do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.

Returns:

  • (::Google::Cloud::Spanner::V1::RequestOptions)

    Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct will not do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.



893
894
895
896
# File 'proto_docs/google/spanner/v1/spanner.rb', line 893

class BeginTransactionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#session::String

Returns Required. The session in which the transaction runs.

Returns:

  • (::String)

    Required. The session in which the transaction runs.



893
894
895
896
# File 'proto_docs/google/spanner/v1/spanner.rb', line 893

class BeginTransactionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end