Google LongRunning Client - Class CancelOperationRequest (0.4.2)

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

The request message for Operations.CancelOperation.

Generated from protobuf message google.longrunning.CancelOperationRequest

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 be cancelled.

getName

The name of the operation resource to be cancelled.

Returns
Type Description
string

setName

The name of the operation resource to be cancelled.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

The name of the operation resource to be cancelled.

Returns
Type Description
Google\LongRunning\CancelOperationRequest