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

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

The response message containing relevant query stats for database resources.

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

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ query_stats array<QueryStatsInfo>

List of query stats where each group contains stats for resources having a particular combination of relevant query stats.

↳ next_page_token string

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

↳ unreachable string[]

Unordered list. List of unreachable regions from where data could not be retrieved.

getQueryStats

List of query stats where each group contains stats for resources having a particular combination of relevant query stats.

Returns
Type Description
Google\Protobuf\RepeatedField<QueryStatsInfo>

setQueryStats

List of query stats where each group contains stats for resources having a particular combination of relevant query stats.

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

getNextPageToken

A token that 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 that 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

getUnreachable

Unordered list. List of unreachable regions from where data could not be retrieved.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setUnreachable

Unordered list. List of unreachable regions from where data could not be retrieved.

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