Reference documentation and code samples for the Google Cloud Maintenance Api V1beta Client class Stats.
Generated from protobuf message google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats
Namespace
Google \ Cloud \ Maintenance \ Api \ V1beta \ MaintenanceSummaryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ group_by |
string
groupBy specifies the type of aggregate. For example a group_by might be |
↳ aggregates |
array<Aggregate>
Aggregates is a list <group, count> pairs. For example, if the group_by is |
getGroupBy
groupBy specifies the type of aggregate.
For example a group_by might be "state"
| Returns | |
|---|---|
| Type | Description |
string |
|
setGroupBy
groupBy specifies the type of aggregate.
For example a group_by might be "state"
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAggregates
Aggregates is a list <group, count> pairs. For example, if the
group_by is "state" a possible tuple in the aggregates list could be
"SCHEDULED" : 11,
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setAggregates
Aggregates is a list <group, count> pairs. For example, if the
group_by is "state" a possible tuple in the aggregates list could be
"SCHEDULED" : 11,
| Parameter | |
|---|---|
| Name | Description |
var |
array<Aggregate>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|