Google Cloud Chronicle V1 Client - Class ExecuteDashboardQueryResponse (0.4.0)

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

Response message for executing a dashboard query.

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

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ results array<ExecuteDashboardQueryResponse\ColumnData>

Result rows that are queried.

↳ data_sources int[]

Datasource of the query and results.

↳ last_backend_cache_refreshed_time Google\Protobuf\Timestamp

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

↳ time_window Google\Type\Interval

Time window against which query was executed.

↳ query_runtime_errors array<QueryRuntimeError>

Runtime errors

↳ language_features int[]

Optional. Language features found in the query.

getResults

Result rows that are queried.

Returns
Type Description
Google\Protobuf\RepeatedField<ExecuteDashboardQueryResponse\ColumnData>

setResults

Result rows that are queried.

Parameter
Name Description
var array<ExecuteDashboardQueryResponse\ColumnData>
Returns
Type Description
$this

getDataSources

Datasource of the query and results.

Returns
Type Description
Google\Protobuf\RepeatedField<int>

setDataSources

Datasource of the query and results.

Parameter
Name Description
var int[]
Returns
Type Description
$this

getLastBackendCacheRefreshedTime

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastBackendCacheRefreshedTime

clearLastBackendCacheRefreshedTime

setLastBackendCacheRefreshedTime

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

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

getTimeWindow

Time window against which query was executed.

Returns
Type Description
Google\Type\Interval|null

hasTimeWindow

clearTimeWindow

setTimeWindow

Time window against which query was executed.

Parameter
Name Description
var Google\Type\Interval
Returns
Type Description
$this

getQueryRuntimeErrors

Runtime errors

Returns
Type Description
Google\Protobuf\RepeatedField<QueryRuntimeError>

setQueryRuntimeErrors

Runtime errors

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

getLanguageFeatures

Optional. Language features found in the query.

Returns
Type Description
Google\Protobuf\RepeatedField<int>

setLanguageFeatures

Optional. Language features found in the query.

Parameter
Name Description
var int[]
Returns
Type Description
$this