Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata

Returns a new instance of GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata.



2647
2648
2649
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2647

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#aggregationsArray<String>

Output only. List of aggregation types available for insight. Corresponds to the JSON property aggregations

Returns:

  • (Array<String>)


2614
2615
2616
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2614

def aggregations
  @aggregations
end

#categoryString

Output only. Category of the insight. Corresponds to the JSON property category

Returns:

  • (String)


2619
2620
2621
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2619

def category
  @category
end

#display_nameString

Output only. Common name of the insight. Corresponds to the JSON property displayName

Returns:

  • (String)


2624
2625
2626
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2624

def display_name
  @display_name
end

#fieldsArray<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField>

Output only. List of fields available for insight. Corresponds to the JSON property fields



2629
2630
2631
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2629

def fields
  @fields
end

#groupsArray<String>

Output only. List of groupings available for insight. Corresponds to the JSON property groups

Returns:

  • (Array<String>)


2634
2635
2636
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2634

def groups
  @groups
end

#sub_categoryString

Output only. Sub-Category of the insight. Corresponds to the JSON property subCategory

Returns:

  • (String)


2639
2640
2641
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2639

def sub_category
  @sub_category
end

#typeString

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

Returns:

  • (String)


2645
2646
2647
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2645

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2652
2653
2654
2655
2656
2657
2658
2659
2660
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2652

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