Data Loss Prevention V2 Client - Class ListConnectionsRequest (2.1.0)

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. Resource name of the organization or project, for example, organizations/433245324/locations/europe or 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.

↳ filter string

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

getParent

Required. Resource name of the organization or project, for example, organizations/433245324/locations/europe or projects/project-id/locations/asia.

Returns
Type Description
string

setParent

Required. Resource name of the organization or project, for example, organizations/433245324/locations/europe or 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

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. Resource name of the organization or project, for example, organizations/433245324/locations/europe or projects/project-id/locations/asia. Please see Google\Cloud\Dlp\V2\DlpServiceClient::organizationLocationName() for help formatting this field.

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