Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo
- 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::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent>
List of cited chunk contents derived from document content.
-
#document ⇒ String
Document resource name.
-
#title ⇒ String
Title.
-
#uri ⇒ String
URI for the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo.
1170 1171 1172 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1170 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent>
List of cited chunk contents derived from document content.
Corresponds to the JSON property chunkContents
1153 1154 1155 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1153 def chunk_contents @chunk_contents end |
#document ⇒ String
Document resource name.
Corresponds to the JSON property document
1158 1159 1160 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1158 def document @document end |
#title ⇒ String
Title.
Corresponds to the JSON property title
1163 1164 1165 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1163 def title @title end |
#uri ⇒ String
URI for the document.
Corresponds to the JSON property uri
1168 1169 1170 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1168 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1175 1176 1177 1178 1179 1180 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1175 def update!(**args) @chunk_contents = args[:chunk_contents] if args.key?(:chunk_contents) @document = args[:document] if args.key?(:document) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |