Google Cloud Network Security V1 Client - Class ListDnsThreatDetectorsRequest (1.3.0)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class ListDnsThreatDetectorsRequest.

The message for requesting a list of DnsThreatDetectors in the project.

Generated from protobuf message google.cloud.networksecurity.v1.ListDnsThreatDetectorsRequest

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent value for ListDnsThreatDetectorsRequest.

↳ page_size int

Optional. The requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.

↳ page_token string

Optional. A page token received from a previous ListDnsThreatDetectorsRequest call. Provide this to retrieve the subsequent page.

getParent

Required. The parent value for ListDnsThreatDetectorsRequest.

Returns
Type Description
string

setParent

Required. The parent value for ListDnsThreatDetectorsRequest.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.

Returns
Type Description
int

setPageSize

Optional. The requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A page token received from a previous ListDnsThreatDetectorsRequest call. Provide this to retrieve the subsequent page.

Returns
Type Description
string

setPageToken

Optional. A page token received from a previous ListDnsThreatDetectorsRequest call. Provide this to retrieve the subsequent page.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent value for ListDnsThreatDetectorsRequest. Please see DnsThreatDetectorServiceClient::locationName() for help formatting this field.

Returns
Type Description
ListDnsThreatDetectorsRequest