Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReference

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

Returns a new instance of GoogleCloudDiscoveryengineV1AnswerReference.



1061
1062
1063
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1061

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

Instance Attribute Details

#chunk_infoGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo

Chunk information. Corresponds to the JSON property chunkInfo



1054
1055
1056
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1054

def chunk_info
  @chunk_info
end

#unstructured_document_infoGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo

Unstructured document information. Corresponds to the JSON property unstructuredDocumentInfo



1059
1060
1061
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1059

def unstructured_document_info
  @unstructured_document_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1066
1067
1068
1069
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1066

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