Data Loss Prevention V2 Client - Class BatchContentItem (2.13.0)

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

Represents a batch of content to inspect or redact.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ string_value_batch StringValueBatch

Optional. Represents a batch of string values to inspect or redact.

getStringValueBatch

Optional. Represents a batch of string values to inspect or redact.

Returns
Type Description
StringValueBatch|null

hasStringValueBatch

setStringValueBatch

Optional. Represents a batch of string values to inspect or redact.

Parameter
Name Description
var StringValueBatch
Returns
Type Description
$this

getBatch

Returns
Type Description
string