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.



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

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

Instance Attribute Details

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

Citations for segments. Corresponds to the JSON property citations



6309
6310
6311
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6309

def citations
  @citations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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