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.



6319
6320
6321
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6319

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

Instance Attribute Details

#citation_metadataGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata

Citation metadata. Corresponds to the JSON property citationMetadata



6307
6308
6309
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6307

def 
  @citation_metadata
end

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

Document References. Corresponds to the JSON property references



6312
6313
6314
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6312

def references
  @references
end

#summaryString

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

Returns:

  • (String)


6317
6318
6319
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6317

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6324
6325
6326
6327
6328
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6324

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