Data Loss Prevention V2 Client - Class ByteContentItem (1.8.6)

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

Container for bytes to inspect or redact.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ type
int

The type of data stored in the bytes string. Default will be TEXT_UTF8.

↳ data
string

Content data to inspect or redact.

getType

The type of data stored in the bytes string. Default will be TEXT_UTF8.

Returns
Type
Description
int

setType

The type of data stored in the bytes string. Default will be TEXT_UTF8.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getData

Content data to inspect or redact.

Returns
Type
Description
string

setData

Content data to inspect or redact.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: