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

#mutation_key::Google::Cloud::Spanner::V1::Mutation

Returns Optional. Required for read-write transactions on a multiplexed session that commit mutations but do not perform any reads or queries. Clients should randomly select one of the mutations from the mutation set and send it as a part of this request. This feature is not yet supported and will result in an UNIMPLEMENTED error.

Returns:

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

    Optional. Required for read-write transactions on a multiplexed session that commit mutations but do not perform any reads or queries. Clients should randomly select one of the mutations from the mutation set and send it as a part of this request. This feature is not yet supported and will result in an UNIMPLEMENTED error.



998
999
1000
1001
# File 'proto_docs/google/spanner/v1/spanner.rb', line 998

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

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

Returns Required. Options for the new transaction.

Returns:



998
999
1000
1001
# File 'proto_docs/google/spanner/v1/spanner.rb', line 998

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.



998
999
1000
1001
# File 'proto_docs/google/spanner/v1/spanner.rb', line 998

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.



998
999
1000
1001
# File 'proto_docs/google/spanner/v1/spanner.rb', line 998

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