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.



2504
2505
2506
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2504

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



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

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



2490
2491
2492
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2490

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)


2497
2498
2499
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2497

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



2502
2503
2504
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2502

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2509
2510
2511
2512
2513
2514
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2509

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