Class: Google::Cloud::Spanner::V1::BeginTransactionRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::V1::BeginTransactionRequest
- 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
-
#mutation_key ⇒ ::Google::Cloud::Spanner::V1::Mutation
Optional.
-
#options ⇒ ::Google::Cloud::Spanner::V1::TransactionOptions
Required.
-
#request_options ⇒ ::Google::Cloud::Spanner::V1::RequestOptions
Common options for this request.
-
#session ⇒ ::String
Required.
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.
1020 1021 1022 1023 |
# File 'proto_docs/google/spanner/v1/spanner.rb', line 1020 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.
1020 1021 1022 1023 |
# File 'proto_docs/google/spanner/v1/spanner.rb', line 1020 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.
1020 1021 1022 1023 |
# File 'proto_docs/google/spanner/v1/spanner.rb', line 1020 class BeginTransactionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#session ⇒ ::String
Returns Required. The session in which the transaction runs.
1020 1021 1022 1023 |
# File 'proto_docs/google/spanner/v1/spanner.rb', line 1020 class BeginTransactionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |