Google Cloud Chronicle V1 Client - Class SearchSessionMetadata (0.9.0)

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

Metadata about the search session.

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

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ operation_id string

Output only. The operation id corresponding to the search session which can be used to poll the operation resource to know its state and progress.

↳ start_time Google\Protobuf\Timestamp

Output only. The start time of the session.

↳ end_time Google\Protobuf\Timestamp

Output only. The end time of the session, if done.

↳ expire_time Google\Protobuf\Timestamp

Output only. The time when the search results expire.

↳ result_row_count int

Output only. Total number of rows returned in the search session.

↳ more_data_available bool

Output only. If true, there are more search results available than what can be returned and have been omitted.

getOperationId

Output only. The operation id corresponding to the search session which can be used to poll the operation resource to know its state and progress.

Returns
Type Description
string

setOperationId

Output only. The operation id corresponding to the search session which can be used to poll the operation resource to know its state and progress.

Parameter
Name Description
var string
Returns
Type Description
$this

getStartTime

Output only. The start time of the session.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. The start time of the session.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

Output only. The end time of the session, if done.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The end time of the session, if done.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getExpireTime

Output only. The time when the search results expire.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasExpireTime

clearExpireTime

setExpireTime

Output only. The time when the search results expire.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getResultRowCount

Output only. Total number of rows returned in the search session.

Returns
Type Description
int

setResultRowCount

Output only. Total number of rows returned in the search session.

Parameter
Name Description
var int
Returns
Type Description
$this

getMoreDataAvailable

Output only. If true, there are more search results available than what can be returned and have been omitted.

Returns
Type Description
bool

setMoreDataAvailable

Output only. If true, there are more search results available than what can be returned and have been omitted.

Parameter
Name Description
var bool
Returns
Type Description
$this