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.



12356
12357
12358
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12356

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

Instance Attribute Details

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

Citations for segments. Corresponds to the JSON property citations



12354
12355
12356
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12354

def citations
  @citations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12361
12362
12363
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12361

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