Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReference

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerReference

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerReference.



7819
7820
7821
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7819

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

Instance Attribute Details

#chunk_infoGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo

Chunk information. Corresponds to the JSON property chunkInfo



7812
7813
7814
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7812

def chunk_info
  @chunk_info
end

#unstructured_document_infoGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo

Unstructured document information. Corresponds to the JSON property unstructuredDocumentInfo



7817
7818
7819
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7817

def unstructured_document_info
  @unstructured_document_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7824
7825
7826
7827
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7824

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