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.
2465 2466 2467 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2465 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
2457 2458 2459 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2457 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
2463 2464 2465 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2463 def group_fields @group_fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2470 2471 2472 2473 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2470 def update!(**args) @field_filter = args[:field_filter] if args.key?(:field_filter) @group_fields = args[:group_fields] if args.key?(:group_fields) end |