Documentation

CancelOperationRequest extends Message
in package

The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].

Generated from protobuf message google.longrunning.CancelOperationRequest

Table of Contents

Properties

$name  : mixed
The name of the operation resource to be cancelled.

Methods

__construct()  : mixed
Constructor.
getName()  : string
The name of the operation resource to be cancelled.
setName()  : $this
The name of the operation resource to be cancelled.

Properties

$name

The name of the operation resource to be cancelled.

protected mixed $name = ''

Generated from protobuf field string name = 1 [json_name = "name"];

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type string $name
      The name of the operation resource to be cancelled.

}

getName()

The name of the operation resource to be cancelled.

public getName() : string

Generated from protobuf field string name = 1 [json_name = "name"];

Return values
string

setName()

The name of the operation resource to be cancelled.

public setName(string $var) : $this

Generated from protobuf field string name = 1 [json_name = "name"];

Parameters
$var : string
Return values
$this

        
On this page

Search results