Data Loss Prevention V2 Client - Class CancelDlpJobRequest (1.11.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class CancelDlpJobRequest.

The request message for canceling a DLP job.

Generated from protobuf message google.privacy.dlp.v2.CancelDlpJobRequest

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the DlpJob resource to be cancelled.

getName

Required. The name of the DlpJob resource to be cancelled.

Returns
TypeDescription
string

setName

Required. The name of the DlpJob resource to be cancelled.

Parameter
NameDescription
var string
Returns
TypeDescription
$this