Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata
- 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 metadata contains the information of the document of the current chunk.
Instance Attribute Summary collapse
-
#title ⇒ String
Title of the document.
-
#uri ⇒ String
Uri of the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata.
10813 10814 10815 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10813 def initialize(**args) update!(**args) end |
Instance Attribute Details
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
10806 10807 10808 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10806 def title @title end |
#uri ⇒ String
Uri of the document.
Corresponds to the JSON property uri
10811 10812 10813 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10811 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10818 10819 10820 10821 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10818 def update!(**args) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |