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.



2450
2451
2452
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2450

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



2430
2431
2432
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2430

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



2436
2437
2438
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2436

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)


2443
2444
2445
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2443

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



2448
2449
2450
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2448

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2455
2456
2457
2458
2459
2460
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2455

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