Documentation

TransactionsServiceClient extends BaseStub
in package

Table of Contents

__construct()  : mixed
TransactionBeginAttempt()  : UnaryCall
TransactionCommit()  : UnaryCall
TransactionGet()  : UnaryCall
TransactionInsert()  : UnaryCall
TransactionRemove()  : UnaryCall
TransactionReplace()  : UnaryCall
TransactionRollback()  : UnaryCall

Methods

__construct()

public __construct(string $hostname, array<string|int, mixed> $opts[, Channel $channel = null ]) : mixed
Parameters
$hostname : string

hostname

$opts : array<string|int, mixed>

channel options

$channel : Channel = null

(optional) re-use channel object

Return values
mixed

TransactionCommit()

public TransactionCommit(TransactionCommitRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : TransactionCommitRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

TransactionGet()

public TransactionGet(TransactionGetRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : TransactionGetRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

TransactionInsert()

public TransactionInsert(TransactionInsertRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : TransactionInsertRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

TransactionRemove()

public TransactionRemove(TransactionRemoveRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : TransactionRemoveRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

TransactionReplace()

public TransactionReplace(TransactionReplaceRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : TransactionReplaceRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

TransactionRollback()

public TransactionRollback(TransactionRollbackRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : TransactionRollbackRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

        

Search results