Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReference
- 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::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo
Chunk information.
-
#structured_document_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo
Structured search information.
-
#unstructured_document_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo
Unstructured document information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerReference
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerReference
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerReference.
1683 1684 1685 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1683 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo
Chunk information.
Corresponds to the JSON property chunkInfo
1671 1672 1673 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1671 def chunk_info @chunk_info end |
#structured_document_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo
Structured search information.
Corresponds to the JSON property structuredDocumentInfo
1676 1677 1678 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1676 def structured_document_info @structured_document_info end |
#unstructured_document_info ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo
Unstructured document information.
Corresponds to the JSON property unstructuredDocumentInfo
1681 1682 1683 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1681 def unstructured_document_info @unstructured_document_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1688 1689 1690 1691 1692 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1688 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 |