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

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

Request for the ListScanRuns method.

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

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 resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'.

↳ 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 ScanRuns 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 resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'.

Returns
TypeDescription
string

setParent

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

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 ScanRuns 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 ScanRuns 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