Google Cloud Web Security Scanner V1beta Client - Class ListFindingsRequest (0.8.5)

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

Request for the ListFindings method.

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

Namespace

Google \ Cloud \ WebSecurityScanner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
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

Required. 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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getFilter

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

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

Returns
Type Description
string

setFilter

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

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var int
Returns
Type Description
$this