Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata

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

Overview

Summary with metadata information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata.



16711
16712
16713
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16711

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

Instance Attribute Details

#citation_metadataGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata

Citation metadata. Corresponds to the JSON property citationMetadata



16699
16700
16701
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16699

def 
  @citation_metadata
end

#referencesArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference>

Document References. Corresponds to the JSON property references



16704
16705
16706
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16704

def references
  @references
end

#summaryString

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

Returns:

  • (String)


16709
16710
16711
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16709

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16716
16717
16718
16719
16720
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16716

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