Reference documentation and code samples for the Google Cloud Maintenance Api V1beta Client class Aggregate.
Aggregate is a <group, count> pair.
Generated from protobuf message google.cloud.maintenance.api.v1beta.MaintenanceSummary.Aggregate
Namespace
Google \ Cloud \ Maintenance \ Api \ V1beta \ MaintenanceSummaryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ group |
string
Specifies what specific value of the group_by the count represents. For example if group_by is |
↳ count |
int|string
The count of the group. |
getGroup
Specifies what specific value of the group_by the count represents. For
example if group_by is "state" its corresponding group could be
"SCHEDULED".
| Returns | |
|---|---|
| Type | Description |
string |
|
setGroup
Specifies what specific value of the group_by the count represents. For
example if group_by is "state" its corresponding group could be
"SCHEDULED".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCount
The count of the group.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setCount
The count of the group.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|