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.
20083 20084 20085 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20083 def initialize(**args) update!(**args) end |
Instance Attribute Details
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
20076 20077 20078 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20076 def title @title end |
#uri ⇒ String
Uri of the document.
Corresponds to the JSON property uri
20081 20082 20083 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20081 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20088 20089 20090 20091 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20088 def update!(**args) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |