Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReference

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) ⇒ GoogleCloudDiscoveryengineV1betaAnswerReference

Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerReference.



6307
6308
6309
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6307

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

Instance Attribute Details

#chunk_infoGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo

Chunk information. Corresponds to the JSON property chunkInfo



6300
6301
6302
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6300

def chunk_info
  @chunk_info
end

#unstructured_document_infoGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo

Unstructured document information. Corresponds to the JSON property unstructuredDocumentInfo



6305
6306
6307
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6305

def unstructured_document_info
  @unstructured_document_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6312
6313
6314
6315
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6312

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