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.



10889
10890
10891
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10889

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

Instance Attribute Details

#citation_metadataGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata

Citation metadata. Corresponds to the JSON property citationMetadata



10877
10878
10879
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10877

def 
  @citation_metadata
end

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

Document References. Corresponds to the JSON property references



10882
10883
10884
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10882

def references
  @references
end

#summaryString

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

Returns:

  • (String)


10887
10888
10889
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10887

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10894
10895
10896
10897
10898
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10894

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