Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Citation source.
Instance Attribute Summary collapse
-
#reference_index ⇒ Fixnum
Document reference index from SummaryWithMetadata.references.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource.
7380 7381 7382 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7380 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
7378 7379 7380 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7378 def reference_index @reference_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7385 7386 7387 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7385 def update!(**args) @reference_index = args[:reference_index] if args.key?(:reference_index) end |