Google Cloud Chronicle V1 Client - Class ListSearchedResultsResponse (0.9.0)

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

Response message for the ListSearchedResults method.

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

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ searched_results array<SearchedResult>

List of Searched Results.

↳ total_size int

Total number of rows in the result set of the search query.

↳ column_names ColumnNames

List of column names for the outcome section of the query result.

↳ column_schema ColumnSchema

Column schema for the results based on the query columns. Contains metadata like data source, event_name etc.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getSearchedResults

List of Searched Results.

Returns
Type Description
Google\Protobuf\RepeatedField<SearchedResult>

setSearchedResults

List of Searched Results.

Parameter
Name Description
var array<SearchedResult>
Returns
Type Description
$this

getTotalSize

Total number of rows in the result set of the search query.

Returns
Type Description
int

setTotalSize

Total number of rows in the result set of the search query.

Parameter
Name Description
var int
Returns
Type Description
$this

getColumnNames

List of column names for the outcome section of the query result.

Returns
Type Description
ColumnNames|null

hasColumnNames

clearColumnNames

setColumnNames

List of column names for the outcome section of the query result.

Parameter
Name Description
var ColumnNames
Returns
Type Description
$this

getColumnSchema

Column schema for the results based on the query columns. Contains metadata like data source, event_name etc.

Returns
Type Description
ColumnSchema|null

hasColumnSchema

clearColumnSchema

setColumnSchema

Column schema for the results based on the query columns. Contains metadata like data source, event_name etc.

Parameter
Name Description
var ColumnSchema
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this