Reference documentation and code samples for the Maintenance V1BETA API class Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Stats.
Stats indicates the type of aggregate and the corresponding aggregates.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aggregates
def aggregates() -> ::Array<::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Aggregate>
Returns
- (::Array<::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Aggregate>) — Aggregates is a list
#aggregates=
def aggregates=(value) -> ::Array<::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Aggregate>
Parameter
- value (::Array<::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Aggregate>) — Aggregates is a list
Returns
- (::Array<::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Aggregate>) — Aggregates is a list
#group_by
def group_by() -> ::String
Returns
-
(::String) — groupBy specifies the type of aggregate.
For example a group_by might be
"state"
#group_by=
def group_by=(value) -> ::String
Parameter
-
value (::String) — groupBy specifies the type of aggregate.
For example a group_by might be
"state"
Returns
-
(::String) — groupBy specifies the type of aggregate.
For example a group_by might be
"state"