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
-
(::Boolean) — Optional. When
exclude_txn_from_change_streams
is set totrue
:- Mutations from all transactions in this batch write operation will not
be recorded in change streams with DDL option
allow_txn_exclusion=true
that are tracking columns modified by these transactions. - Mutations from all transactions in this batch write operation will be
recorded in change streams with DDL option
allow_txn_exclusion=false or not set
that are tracking columns modified by these transactions.
When
exclude_txn_from_change_streams
is set tofalse
or not set, mutations from all transactions in this batch write operation will be recorded in all change streams that are tracking columns modified by these transactions. - Mutations from all transactions in this batch write operation will not
be recorded in change streams with DDL option
#exclude_txn_from_change_streams=
def exclude_txn_from_change_streams=(value) -> ::Boolean
-
value (::Boolean) — Optional. When
exclude_txn_from_change_streams
is set totrue
:- Mutations from all transactions in this batch write operation will not
be recorded in change streams with DDL option
allow_txn_exclusion=true
that are tracking columns modified by these transactions. - Mutations from all transactions in this batch write operation will be
recorded in change streams with DDL option
allow_txn_exclusion=false or not set
that are tracking columns modified by these transactions.
When
exclude_txn_from_change_streams
is set tofalse
or not set, mutations from all transactions in this batch write operation will be recorded in all change streams that are tracking columns modified by these transactions. - Mutations from all transactions in this batch write operation will not
be recorded in change streams with DDL option
-
(::Boolean) — Optional. When
exclude_txn_from_change_streams
is set totrue
:- Mutations from all transactions in this batch write operation will not
be recorded in change streams with DDL option
allow_txn_exclusion=true
that are tracking columns modified by these transactions. - Mutations from all transactions in this batch write operation will be
recorded in change streams with DDL option
allow_txn_exclusion=false or not set
that are tracking columns modified by these transactions.
When
exclude_txn_from_change_streams
is set tofalse
or not set, mutations from all transactions in this batch write operation will be recorded in all change streams that are tracking columns modified by these transactions. - Mutations from all transactions in this batch write operation will not
be recorded in change streams with DDL option
#mutation_groups
def mutation_groups() -> ::Array<::Google::Cloud::Spanner::V1::BatchWriteRequest::MutationGroup>
- (::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>
- value (::Array<::Google::Cloud::Spanner::V1::BatchWriteRequest::MutationGroup>) — Required. The groups of mutations to be applied.
- (::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
- (::Google::Cloud::Spanner::V1::RequestOptions) — Common options for this request.
#request_options=
def request_options=(value) -> ::Google::Cloud::Spanner::V1::RequestOptions
- value (::Google::Cloud::Spanner::V1::RequestOptions) — Common options for this request.
- (::Google::Cloud::Spanner::V1::RequestOptions) — Common options for this request.
#session
def session() -> ::String
- (::String) — Required. The session in which the batch request is to be run.
#session=
def session=(value) -> ::String
- value (::String) — Required. The session in which the batch request is to be run.
- (::String) — Required. The session in which the batch request is to be run.