Cloud Spanner V1 Client - Class RollbackRequest (1.54.2)

Reference documentation and code samples for the Cloud Spanner V1 Client class RollbackRequest.

The request for Rollback.

Generated from protobuf message google.spanner.v1.RollbackRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ session string

Required. The session in which the transaction to roll back is running.

↳ transaction_id string

Required. The transaction to roll back.

getSession

Required. The session in which the transaction to roll back is running.

Generated from protobuf field string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setSession

Required. The session in which the transaction to roll back is running.

Generated from protobuf field string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTransactionId

Required. The transaction to roll back.

Generated from protobuf field bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setTransactionId

Required. The transaction to roll back.

Generated from protobuf field bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this