Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource
- 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 source.
Instance Attribute Summary collapse
-
#reference_index ⇒ Fixnum
Document reference index from SummaryWithMetadata.references.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource.
6230 6231 6232 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reference_index ⇒ Fixnum
Document reference index from SummaryWithMetadata.references. It is 0-indexed
and the value will be zero if the reference_index is not set explicitly.
Corresponds to the JSON property referenceIndex
6228 6229 6230 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6228 def reference_index @reference_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6235 6236 6237 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6235 def update!(**args) @reference_index = args[:reference_index] if args.key?(:reference_index) end |