Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::BatchWriteRequest.
The request for BatchWrite.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#exclude_txn_from_change_streams
def exclude_txn_from_change_streams() -> ::Boolean
Returns
-
(::Boolean) — Optional. If you don't set the
exclude_txn_from_change_streams
option or if it's set tofalse
, then any change streams monitoring columns modified by transactions will capture the updates made within that transaction.
#exclude_txn_from_change_streams=
def exclude_txn_from_change_streams=(value) -> ::Boolean
Parameter
-
value (::Boolean) — Optional. If you don't set the
exclude_txn_from_change_streams
option or if it's set tofalse
, then any change streams monitoring columns modified by transactions will capture the updates made within that transaction.
Returns
-
(::Boolean) — Optional. If you don't set the
exclude_txn_from_change_streams
option or if it's set tofalse
, then any change streams monitoring columns modified by transactions will capture the updates made within that transaction.
#mutation_groups
def mutation_groups() -> ::Array<::Google::Cloud::Spanner::V1::BatchWriteRequest::MutationGroup>
Returns
- (::Array<::Google::Cloud::Spanner::V1::BatchWriteRequest::MutationGroup>) — Required. The groups of mutations to be applied.
#mutation_groups=
def mutation_groups=(value) -> ::Array<::Google::Cloud::Spanner::V1::BatchWriteRequest::MutationGroup>
Parameter
- value (::Array<::Google::Cloud::Spanner::V1::BatchWriteRequest::MutationGroup>) — Required. The groups of mutations to be applied.
Returns
- (::Array<::Google::Cloud::Spanner::V1::BatchWriteRequest::MutationGroup>) — Required. The groups of mutations to be applied.
#request_options
def request_options() -> ::Google::Cloud::Spanner::V1::RequestOptions
Returns
- (::Google::Cloud::Spanner::V1::RequestOptions) — Common options for this request.
#request_options=
def request_options=(value) -> ::Google::Cloud::Spanner::V1::RequestOptions
Parameter
- value (::Google::Cloud::Spanner::V1::RequestOptions) — Common options for this request.
Returns
- (::Google::Cloud::Spanner::V1::RequestOptions) — Common options for this request.
#session
def session() -> ::String
Returns
- (::String) — Required. The session in which the batch request is to be run.
#session=
def session=(value) -> ::String
Parameter
- value (::String) — Required. The session in which the batch request is to be run.
Returns
- (::String) — Required. The session in which the batch request is to be run.