File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
google/cloud/maintenance/api/v1beta Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ message SummarizeMaintenancesRequest {
7070 string order_by = 10508 ;
7171}
7272
73+ // Request message for SummarizeMaintenances custom method.
7374message SummarizeMaintenancesResponse {
7475 // The resulting summaries.
7576 repeated MaintenanceSummary maintenances = 10509 ;
@@ -87,6 +88,7 @@ message SummarizeMaintenancesResponse {
8788// MaintenanceSummary contains maintenance statistics calculated based on
8889// ResourceMaintenances within the scope: project and location.
8990message MaintenanceSummary {
91+ // Stats indicates the type of aggregate and the corresponding aggregates.
9092 message Stats {
9193 // groupBy specifies the type of aggregate.
9294 // For example a group_by might be `"state"`
@@ -98,6 +100,7 @@ message MaintenanceSummary {
98100 repeated Aggregate aggregates = 2 ;
99101 }
100102
103+ // Aggregate is a <group, count> pair.
101104 message Aggregate {
102105 // Specifies what specific value of the group_by the count represents. For
103106 // example if group_by is `"state"` its corresponding group could be
You can’t perform that action at this time.
0 commit comments