Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReference

Inherits:
Object
  • Object
show all
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

Reference.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerReference

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerReference.



7653
7654
7655
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7653

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#chunk_infoGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo

Chunk information. Corresponds to the JSON property chunkInfo



7641
7642
7643
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7641

def chunk_info
  @chunk_info
end

#structured_document_infoGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo

Structured search information. Corresponds to the JSON property structuredDocumentInfo



7646
7647
7648
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7646

def structured_document_info
  @structured_document_info
end

#unstructured_document_infoGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo

Unstructured document information. Corresponds to the JSON property unstructuredDocumentInfo



7651
7652
7653
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7651

def unstructured_document_info
  @unstructured_document_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7658
7659
7660
7661
7662
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7658

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