Google LongRunning Client - Class WaitOperationRequest (0.4.1)

Reference documentation and code samples for the Google LongRunning Client class WaitOperationRequest.

The request message for Operations.WaitOperation.

Generated from protobuf message google.longrunning.WaitOperationRequest

Namespace

Google \ LongRunning

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The name of the operation resource to wait on.

↳ timeout Google\Protobuf\Duration

The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.

getName

The name of the operation resource to wait on.

Returns
Type Description
string

setName

The name of the operation resource to wait on.

Parameter
Name Description
var string
Returns
Type Description
$this

getTimeout

The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol.

If RPC context deadline is also specified, the shorter one will be used.

Returns
Type Description
Google\Protobuf\Duration|null

hasTimeout

clearTimeout

setTimeout

The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol.

If RPC context deadline is also specified, the shorter one will be used.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this