Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb

Overview

Summary with metadata information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata.



8569
8570
8571
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8569

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

Instance Attribute Details

#citation_metadataGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata

Citation metadata. Corresponds to the JSON property citationMetadata



8557
8558
8559
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8557

def 
  @citation_metadata
end

#referencesArray<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryReference>

Document References. Corresponds to the JSON property references



8562
8563
8564
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8562

def references
  @references
end

#summaryString

Summary text with no citation information. Corresponds to the JSON property summary

Returns:

  • (String)


8567
8568
8569
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8567

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8574
8575
8576
8577
8578
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8574

def update!(**args)
  @citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata)
  @references = args[:references] if args.key?(:references)
  @summary = args[:summary] if args.key?(:summary)
end