Data Loss Prevention V2 Client - Class ListInspectTemplatesResponse (2.2.2)

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

Response message for ListInspectTemplates.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ inspect_templates array<InspectTemplate>

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

↳ next_page_token string

If the next page is available then the next page token to be used in the following ListInspectTemplates request.

getInspectTemplates

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInspectTemplates

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

Parameter
Name Description
var array<InspectTemplate>
Returns
Type Description
$this

getNextPageToken

If the next page is available then the next page token to be used in the following ListInspectTemplates request.

Returns
Type Description
string

setNextPageToken

If the next page is available then the next page token to be used in the following ListInspectTemplates request.

Parameter
Name Description
var string
Returns
Type Description
$this