Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata
- 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
Insight filters, groupings and aggregations that can be applied for the insight. Examples: aggregations, groups, field filters.
Instance Attribute Summary collapse
-
#aggregations ⇒ Array<String>
Output only.
-
#category ⇒ String
Output only.
-
#display_name ⇒ String
Output only.
-
#fields ⇒ Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField>
Output only.
-
#groups ⇒ Array<String>
Output only.
-
#sub_category ⇒ String
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata
constructor
A new instance of GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata
Returns a new instance of GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata.
2666 2667 2668 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2666 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregations ⇒ Array<String>
Output only. List of aggregation types available for insight.
Corresponds to the JSON property aggregations
2633 2634 2635 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2633 def aggregations @aggregations end |
#category ⇒ String
Output only. Category of the insight.
Corresponds to the JSON property category
2638 2639 2640 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2638 def category @category end |
#display_name ⇒ String
Output only. Common name of the insight.
Corresponds to the JSON property displayName
2643 2644 2645 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2643 def display_name @display_name end |
#fields ⇒ Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField>
Output only. List of fields available for insight.
Corresponds to the JSON property fields
2648 2649 2650 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2648 def fields @fields end |
#groups ⇒ Array<String>
Output only. List of groupings available for insight.
Corresponds to the JSON property groups
2653 2654 2655 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2653 def groups @groups end |
#sub_category ⇒ String
Output only. Sub-Category of the insight.
Corresponds to the JSON property subCategory
2658 2659 2660 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2658 def sub_category @sub_category end |
#type ⇒ String
Output only. Type of the insight. It is metadata describing whether the
insight is a metric (e.g. count) or a report (e.g. list, status).
Corresponds to the JSON property type
2664 2665 2666 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2664 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2671 2672 2673 2674 2675 2676 2677 2678 2679 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2671 def update!(**args) @aggregations = args[:aggregations] if args.key?(:aggregations) @category = args[:category] if args.key?(:category) @display_name = args[:display_name] if args.key?(:display_name) @fields = args[:fields] if args.key?(:fields) @groups = args[:groups] if args.key?(:groups) @sub_category = args[:sub_category] if args.key?(:sub_category) @type = args[:type] if args.key?(:type) end |