Google Cloud Chronicle V1 Client - Class SearchOperationMetadata (0.9.0)

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

Metadata for the google.longrunning.Operation returned by the Search method.

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

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ state int

Output only. State of the Search operation.

↳ start_time Google\Protobuf\Timestamp

Output only. The start time of the search.

↳ end_time Google\Protobuf\Timestamp

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

↳ expire_time Google\Protobuf\Timestamp

Output only. The time when the search results expire.

↳ progress int

Output only. Progress Percentage of the search LRO, ranges from 0 to 100.

↳ datatable_export_metadata DataTableExportMetadata

Output only. Metadata of the data table export operation if the search results are written to a Data Table.

getState

Output only. State of the Search operation.

Returns
Type Description
int Enum of type State.

setState

Output only. State of the Search operation.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this

getStartTime

Output only. The start time of the search.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. The start time of the search.

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

getEndTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The end time of the search, 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

getProgress

Output only. Progress Percentage of the search LRO, ranges from 0 to 100.

Returns
Type Description
int

setProgress

Output only. Progress Percentage of the search LRO, ranges from 0 to 100.

Parameter
Name Description
var int
Returns
Type Description
$this

getDatatableExportMetadata

Output only. Metadata of the data table export operation if the search results are written to a Data Table.

Returns
Type Description
DataTableExportMetadata|null

hasDatatableExportMetadata

clearDatatableExportMetadata

setDatatableExportMetadata

Output only. Metadata of the data table export operation if the search results are written to a Data Table.

Parameter
Name Description
var DataTableExportMetadata
Returns
Type Description
$this