Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Citation source.
Instance Attribute Summary collapse
-
#reference_index ⇒ Fixnum
Document reference index from SummaryWithMetadata.references.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource
constructor
A new instance of GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource
Returns a new instance of GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource.
8449 8450 8451 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8449 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
8447 8448 8449 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8447 def reference_index @reference_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8454 8455 8456 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8454 def update!(**args) @reference_index = args[:reference_index] if args.key?(:reference_index) end |