Data Loss Prevention V2 Client - Class ListInspectTemplatesResponse (1.12.0)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ inspect_templates array<Google\Cloud\Dlp\V2\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInspectTemplates

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\InspectTemplate>
Returns
TypeDescription
$this

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this