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 | |
---|---|
Name | Description |
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.
Returns | |
---|---|
Type | Description |
string |
setSession
Required. The session in which the transaction to roll back is running.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTransactionId
Required. The transaction to roll back.
Returns | |
---|---|
Type | Description |
string |
setTransactionId
Required. The transaction to roll back.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |