Google Cloud Web Security Scanner V1 Client - Class ListFindingsRequest (0.7.18)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class ListFindingsRequest.

Request for the ListFindings method.

Generated from protobuf message google.cloud.websecurityscanner.v1.ListFindingsRequest

Namespace

Google \ Cloud \ WebSecurityScanner \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

↳ filter string

The filter expression. The expression must be in the format:

↳ page_token string

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous List request. If unspecified, the first page of results is returned.

↳ page_size int

The maximum number of Findings to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.

getParent

Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

Returns
TypeDescription
string

setParent

Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

The filter expression. The expression must be in the format:

Supported field: 'finding_type'. Supported operator: '='.

Returns
TypeDescription
string

setFilter

The filter expression. The expression must be in the format:

Supported field: 'finding_type'. Supported operator: '='.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageToken

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous List request.

If unspecified, the first page of results is returned.

Returns
TypeDescription
string

setPageToken

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous List request.

If unspecified, the first page of results is returned.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of Findings to return, can be limited by server.

If not specified or not positive, the implementation will select a reasonable value.

Returns
TypeDescription
int

setPageSize

The maximum number of Findings to return, can be limited by server.

If not specified or not positive, the implementation will select a reasonable value.

Parameter
NameDescription
var int
Returns
TypeDescription
$this