Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo
- 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
Unstructured document information.
Instance Attribute Summary collapse
-
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent>
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) ⇒ GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo.
5516 5517 5518 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5516 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent>
List of cited chunk contents derived from document content.
Corresponds to the JSON property chunkContents
5499 5500 5501 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5499 def chunk_contents @chunk_contents end |
#document ⇒ String
Document resource name.
Corresponds to the JSON property document
5504 5505 5506 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5504 def document @document end |
#title ⇒ String
Title.
Corresponds to the JSON property title
5509 5510 5511 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5509 def title @title end |
#uri ⇒ String
URI for the document.
Corresponds to the JSON property uri
5514 5515 5516 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5514 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5521 5522 5523 5524 5525 5526 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5521 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 |