Data Loss Prevention V2 Client - Class ListContentPoliciesRequest (2.15.2)

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

Request message for ListContentPolicies.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the project, for example, projects/project-id/locations/asia.

↳ page_size int

Optional. Number of results per page, max 1000.

↳ page_token string

Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.

getParent

Required. Resource name of the project, for example, projects/project-id/locations/asia.

Returns
Type Description
string

setParent

Required. Resource name of the project, for example, projects/project-id/locations/asia.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Number of results per page, max 1000.

Returns
Type Description
int

setPageSize

Optional. Number of results per page, max 1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.

Returns
Type Description
string

setPageToken

Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. Resource name of the project, for example, projects/project-id/locations/asia. Please see DlpServiceClient::locationName() for help formatting this field.

Returns
Type Description
ListContentPoliciesRequest