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.



2478
2479
2480
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2478

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



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

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



2464
2465
2466
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2464

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)


2471
2472
2473
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2471

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



2476
2477
2478
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2476

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2483
2484
2485
2486
2487
2488
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2483

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