Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryReference
- 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
Document reference.
Instance Attribute Summary collapse
-
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryReferenceChunkContent>
List of cited chunk contents derived from document content.
-
#document ⇒ String
Required.
-
#title ⇒ String
Title of the document.
-
#uri ⇒ String
Cloud Storage or HTTP uri for the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchResponseSummaryReference
constructor
A new instance of GoogleCloudDiscoveryengineV1SearchResponseSummaryReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchResponseSummaryReference
Returns a new instance of GoogleCloudDiscoveryengineV1SearchResponseSummaryReference.
7191 7192 7193 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummaryReferenceChunkContent>
List of cited chunk contents derived from document content.
Corresponds to the JSON property chunkContents
7172 7173 7174 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7172 def chunk_contents @chunk_contents end |
#document ⇒ String
Required. Document.name of the document. Full resource name of the referenced
document, in the format projects/*/locations/*/collections/*/dataStores/*/
branches/*/documents/*
.
Corresponds to the JSON property document
7179 7180 7181 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7179 def document @document end |
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
7184 7185 7186 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7184 def title @title end |
#uri ⇒ String
Cloud Storage or HTTP uri for the document.
Corresponds to the JSON property uri
7189 7190 7191 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7189 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7196 7197 7198 7199 7200 7201 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7196 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 |