Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerReference
- 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
Reference.
Instance Attribute Summary collapse
-
#chunk_info ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
Chunk information.
-
#unstructured_document_info ⇒ Google::Apis::DiscoveryengineV1alpha::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.
3488 3489 3490 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3488 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk_info ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
Chunk information.
Corresponds to the JSON property chunkInfo
3481 3482 3483 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3481 def chunk_info @chunk_info end |
#unstructured_document_info ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo
Unstructured document information.
Corresponds to the JSON property unstructuredDocumentInfo
3486 3487 3488 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3486 def unstructured_document_info @unstructured_document_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3493 3494 3495 3496 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3493 def update!(**args) @chunk_info = args[:chunk_info] if args.key?(:chunk_info) @unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info) end |