Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight

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

The Insight object with configuration that was returned and actual list of records.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight

Returns a new instance of GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight.



2768
2769
2770
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2768

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

Instance Attribute Details

#applied_configGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig

The configuration that was applied to generate the result. Corresponds to the JSON property appliedConfig



2748
2749
2750
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2748

def applied_config
  @applied_config
end

#metadataGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata

Insight filters, groupings and aggregations that can be applied for the insight. Examples: aggregations, groups, field filters. Corresponds to the JSON property metadata



2754
2755
2756
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2754

def 
  @metadata
end

#nameString

Output only. The insight resource name. e.g. organizations/organization_id/ locations/location_id/insights/insight_idOR `projects/`project_id`/ locations/`location_id`/insights/`insight_id. Corresponds to the JSON property name

Returns:

  • (String)


2761
2762
2763
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2761

def name
  @name
end

#rowsArray<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow>

Output only. Result rows returned containing the required value(s). Corresponds to the JSON property rows



2766
2767
2768
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2766

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2773
2774
2775
2776
2777
2778
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2773

def update!(**args)
  @applied_config = args[:applied_config] if args.key?(:applied_config)
  @metadata = args[:metadata] if args.key?(:metadata)
  @name = args[:name] if args.key?(:name)
  @rows = args[:rows] if args.key?(:rows)
end