Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb
Overview
Customised grouping option that allows setting the group_by fields and also the filters togather for a configured insight request.
Instance Attribute Summary collapse
-
#field_filter ⇒ String
Optional.
-
#group_fields ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping
constructor
A new instance of GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping
Returns a new instance of GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping.
2401 2402 2403 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2401 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_filter ⇒ String
Optional. Filterable parameters to be added to the grouping clause. Available
fields could be fetched by calling insight list and get APIs in BASIC view.
= is the only comparison operator supported. AND is the only logical
operator supported. Usage: field_filter="fieldName1=fieldVal1 AND fieldName2=
fieldVal2". NOTE: Only AND conditions are allowed. NOTE: Use the
filter_alias from Insight.Metadata.Field message for the filtering the
corresponding fields in this filter field. (These expressions are based on the
filter language described at https://google.aip.dev/160).
Corresponds to the JSON property fieldFilter
2393 2394 2395 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2393 def field_filter @field_filter end |
#group_fields ⇒ Array<String>
Required. Fields to be used for grouping. NOTE: Use the filter_alias from
Insight.Metadata.Field message for declaring the fields to be grouped-by here.
Corresponds to the JSON property groupFields
2399 2400 2401 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2399 def group_fields @group_fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2406 2407 2408 2409 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2406 def update!(**args) @field_filter = args[:field_filter] if args.key?(:field_filter) @group_fields = args[:group_fields] if args.key?(:group_fields) end |