Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestGroupBy
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestGroupBy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
MashQuery GroupBy parameters.
Instance Attribute Summary collapse
-
#fields ⇒ Array<String>
Optional.
-
#reducer ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestGroupBy
constructor
A new instance of GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestGroupBy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestGroupBy
Returns a new instance of GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestGroupBy.
7699 7700 7701 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ Array<String>
Optional. optional, metrics list for GroupBy.
Corresponds to the JSON property fields
7692 7693 7694 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7692 def fields @fields end |
#reducer ⇒ String
Optional. optional, reduce function for GroupBy.
Corresponds to the JSON property reducer
7697 7698 7699 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7697 def reducer @reducer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7704 7705 7706 7707 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7704 def update!(**args) @fields = args[:fields] if args.key?(:fields) @reducer = args[:reducer] if args.key?(:reducer) end |