Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Document reference.
Instance Attribute Summary collapse
-
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent>
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) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference.
10805 10806 10807 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10805 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk_contents ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent>
List of cited chunk contents derived from document content.
Corresponds to the JSON property chunkContents
10786 10787 10788 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10786 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
10793 10794 10795 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10793 def document @document end |
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
10798 10799 10800 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10798 def title @title end |
#uri ⇒ String
Cloud Storage or HTTP uri for the document.
Corresponds to the JSON property uri
10803 10804 10805 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10803 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10810 10811 10812 10813 10814 10815 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10810 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 |