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.



2387
2388
2389
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2387

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



2367
2368
2369
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2367

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



2373
2374
2375
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2373

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)


2380
2381
2382
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2380

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



2385
2386
2387
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2385

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2392
2393
2394
2395
2396
2397
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2392

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