Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata
- 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
-
#citation_metadata ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata
Citation metadata.
-
#references ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryReference>
Document References.
-
#summary ⇒ String
Summary text with no citation information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata
constructor
A new instance of GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_metadata ⇒ Google::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 |
#references ⇒ Array<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 |
#summary ⇒ String
Summary text with no citation information.
Corresponds to the JSON property summary
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 |