Data Loss Prevention V2 Client - Class SearchConnectionsRequest (2.0.0)

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

Request message for SearchConnections.

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

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 with a wildcard location, for example, organizations/433245324/locations/- or projects/project-id/locations/-.

↳ 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 with a wildcard location, for example, organizations/433245324/locations/- or projects/project-id/locations/-.

Returns
Type Description
string

setParent

Required. Resource name of the organization or project with a wildcard location, for example, organizations/433245324/locations/- or projects/project-id/locations/-.

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 with a wildcard location, for example, organizations/433245324/locations/- or projects/project-id/locations/-. Please see Google\Cloud\Dlp\V2\DlpServiceClient::organizationLocationName() for help formatting this field.

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