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.
Generated from protobuf field string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTransactionId
Required. The transaction to roll back.
Generated from protobuf field bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setTransactionId
Required. The transaction to roll back.
Generated from protobuf field bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |