Google Cloud Database Center V1beta Client - Class QueryStatsInfo (0.7.0)

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class QueryStatsInfo.

QueryStatsInfo contains the aggregated and detailed query stats for a particular combination of relevant query stats for queries having same normalized query.

Generated from protobuf message google.cloud.databasecenter.v1beta.QueryStatsInfo

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ aggregated_query_stats QueryStats

Aggregated query stats for the resources for same normalized query.

↳ query_stats array<QueryStats>

List of query stats for the resources in the group. This stats is stats at resource level for the resources having same normalized query.

getAggregatedQueryStats

Aggregated query stats for the resources for same normalized query.

Returns
Type Description
QueryStats|null

hasAggregatedQueryStats

clearAggregatedQueryStats

setAggregatedQueryStats

Aggregated query stats for the resources for same normalized query.

Parameter
Name Description
var QueryStats
Returns
Type Description
$this

getQueryStats

List of query stats for the resources in the group.

This stats is stats at resource level for the resources having same normalized query.

Returns
Type Description
Google\Protobuf\RepeatedField<QueryStats>

setQueryStats

List of query stats for the resources in the group.

This stats is stats at resource level for the resources having same normalized query.

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