Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata

Inherits:
Object
  • Object
show all
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

Citation metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata.



8429
8430
8431
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8429

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

Instance Attribute Details

#citationsArray<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryCitation>

Citations for segments. Corresponds to the JSON property citations



8427
8428
8429
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8427

def citations
  @citations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8434
8435
8436
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8434

def update!(**args)
  @citations = args[:citations] if args.key?(:citations)
end