Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo
- 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
Unstructured document information.
Instance Attribute Summary collapse
-
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent>
List of cited chunk contents derived from document content.
-
#document ⇒ String
Document resource name.
-
#struct_data ⇒ Hash<String,Object>
The structured JSON metadata for the document.
-
#title ⇒ String
Title.
-
#uri ⇒ String
URI for the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo.
9362 9363 9364 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9362 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent>
List of cited chunk contents derived from document content.
Corresponds to the JSON property chunkContents
9339 9340 9341 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9339 def chunk_contents @chunk_contents end |
#document ⇒ String
Document resource name.
Corresponds to the JSON property document
9344 9345 9346 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9344 def document @document end |
#struct_data ⇒ Hash<String,Object>
The structured JSON metadata for the document. It is populated from the struct
data from the Chunk in search result.
Corresponds to the JSON property structData
9350 9351 9352 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9350 def struct_data @struct_data end |
#title ⇒ String
Title.
Corresponds to the JSON property title
9355 9356 9357 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9355 def title @title end |
#uri ⇒ String
URI for the document.
Corresponds to the JSON property uri
9360 9361 9362 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9360 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9367 9368 9369 9370 9371 9372 9373 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9367 def update!(**args) @chunk_contents = args[:chunk_contents] if args.key?(:chunk_contents) @document = args[:document] if args.key?(:document) @struct_data = args[:struct_data] if args.key?(:struct_data) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |