class RollbackRequest extends Message

The request for [Rollback][google.spanner.v1.Spanner.Rollback].

Protobuf type Google\Spanner\V1\RollbackRequest

Methods

__construct()

No description

string
getSession()

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

setSession(string $var)

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

string
getTransactionId()

Required. The transaction to roll back.

setTransactionId(string $var)

Required. The transaction to roll back.

Details

at line 31
__construct()

at line 42
string getSession()

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

Generated from protobuf field string session = 1;

Return Value

string

at line 53
setSession(string $var)

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

Generated from protobuf field string session = 1;

Parameters

string $var

at line 65
string getTransactionId()

Required. The transaction to roll back.

Generated from protobuf field bytes transaction_id = 2;

Return Value

string

at line 76
setTransactionId(string $var)

Required. The transaction to roll back.

Generated from protobuf field bytes transaction_id = 2;

Parameters

string $var