Data Loss Prevention V2 Client - Class ListConnectionsRequest (2.0.0-RC1)

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

Request message for ListConnections.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent name, for example: projects/project-id/locations/global.

↳ 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.

↳ filter string

Optional. Supported field/value: state - MISSING|AVAILABLE|ERROR

getParent

Required. Parent name, for example: projects/project-id/locations/global.

Returns
Type Description
string

setParent

Required. Parent name, for example: projects/project-id/locations/global.

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

getFilter

Optional. Supported field/value: state - MISSING|AVAILABLE|ERROR

Returns
Type Description
string

setFilter

Optional. Supported field/value: state - MISSING|AVAILABLE|ERROR

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. Parent name, for example: projects/project-id/locations/global. Please see Google\Cloud\Dlp\V2\DlpServiceClient::locationName() for help formatting this field.

Returns
Type Description
Google\Cloud\Dlp\V2\ListConnectionsRequest