Google Cloud Chronicle V1 Client - Class ListSearchedResultsRequest (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class ListSearchedResultsRequest.

Request message for the ListSearchedResults method.

Generated from protobuf message google.cloud.chronicle.v1.ListSearchedResultsRequest

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent SearchSession resource name. Format: projects/{project}/locations/{location}/instances/{instance}/searchSessions/{search_session}

↳ page_size int

Optional. The maximum number of results to return. The service may return fewer. If unspecified, at most 100 results will be returned. The maximum value is 1000.

↳ page_token string

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

↳ order_by string

Optional. The column to sort the results on. Example: "event_timestamp desc", "principal.hostname asc". Multi-columnar sorting is not supported.

↳ skip int

Optional. The number of results to skip before starting to return results. This field should not be used in conjunction with page_token.

getParent

Required. The parent SearchSession resource name.

Format: projects/{project}/locations/{location}/instances/{instance}/searchSessions/{search_session}

Returns
Type Description
string

setParent

Required. The parent SearchSession resource name.

Format: projects/{project}/locations/{location}/instances/{instance}/searchSessions/{search_session}

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of results to return. The service may return fewer. If unspecified, at most 100 results will be returned. The maximum value is 1000.

Returns
Type Description
int

setPageSize

Optional. The maximum number of results to return. The service may return fewer. If unspecified, at most 100 results will be returned. The maximum value is 1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

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

Returns
Type Description
string

setPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this

getOrderBy

Optional. The column to sort the results on. Example: "event_timestamp desc", "principal.hostname asc". Multi-columnar sorting is not supported.

Returns
Type Description
string

setOrderBy

Optional. The column to sort the results on. Example: "event_timestamp desc", "principal.hostname asc". Multi-columnar sorting is not supported.

Parameter
Name Description
var string
Returns
Type Description
$this

getSkip

Optional. The number of results to skip before starting to return results.

This field should not be used in conjunction with page_token.

Returns
Type Description
int

setSkip

Optional. The number of results to skip before starting to return results.

This field should not be used in conjunction with page_token.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent SearchSession resource name. Format: projects/{project}/locations/{location}/instances/{instance}/searchSessions/{search_session} Please see SearchServiceClient::searchSessionName() for help formatting this field.

Returns
Type Description
ListSearchedResultsRequest