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.



12496
12497
12498
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12496

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

Instance Attribute Details

#citation_metadataGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata

Citation metadata. Corresponds to the JSON property citationMetadata



12484
12485
12486
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12484

def 
  @citation_metadata
end

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

Document References. Corresponds to the JSON property references



12489
12490
12491
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12489

def references
  @references
end

#summaryString

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

Returns:

  • (String)


12494
12495
12496
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12494

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12501
12502
12503
12504
12505
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12501

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