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
#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.