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.



8011
8012
8013
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8011

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

Instance Attribute Details

#citation_metadataGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata

Citation metadata. Corresponds to the JSON property citationMetadata



7999
8000
8001
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7999

def 
  @citation_metadata
end

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

Document References. Corresponds to the JSON property references



8004
8005
8006
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8004

def references
  @references
end

#summaryString

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

Returns:

  • (String)


8009
8010
8011
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8009

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8016
8017
8018
8019
8020
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8016

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