Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
- 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
Document reference.
Instance Attribute Summary collapse
-
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent>
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) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference.
19313 19314 19315 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19313 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent>
List of cited chunk contents derived from document content.
Corresponds to the JSON property chunkContents
19294 19295 19296 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19294 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
19301 19302 19303 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19301 def document @document end |
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
19306 19307 19308 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19306 def title @title end |
#uri ⇒ String
Cloud Storage or HTTP uri for the document.
Corresponds to the JSON property uri
19311 19312 19313 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19311 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19318 19319 19320 19321 19322 19323 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19318 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 |