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.



6210
6211
6212
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6210

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

Instance Attribute Details

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

Citations for segments. Corresponds to the JSON property citations



6208
6209
6210
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6208

def citations
  @citations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6215
6216
6217
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6215

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