Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReference
- 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
Reference.
Instance Attribute Summary collapse
-
#chunk_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
Chunk information.
-
#structured_document_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo
Structured search information.
-
#unstructured_document_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo
Unstructured document information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerReference
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerReference
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerReference.
8377 8378 8379 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8377 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
Chunk information.
Corresponds to the JSON property chunkInfo
8365 8366 8367 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8365 def chunk_info @chunk_info end |
#structured_document_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo
Structured search information.
Corresponds to the JSON property structuredDocumentInfo
8370 8371 8372 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8370 def structured_document_info @structured_document_info end |
#unstructured_document_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo
Unstructured document information.
Corresponds to the JSON property unstructuredDocumentInfo
8375 8376 8377 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8375 def unstructured_document_info @unstructured_document_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8382 8383 8384 8385 8386 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8382 def update!(**args) @chunk_info = args[:chunk_info] if args.key?(:chunk_info) @structured_document_info = args[:structured_document_info] if args.key?(:structured_document_info) @unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info) end |