Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata

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

Citation metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata.



10749
10750
10751
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10749

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

Instance Attribute Details

#citationsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation>

Citations for segments. Corresponds to the JSON property citations



10747
10748
10749
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10747

def citations
  @citations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10754
10755
10756
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10754

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