Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
- 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 context.
Instance Attribute Summary collapse
-
#content ⇒ String
Document content to be used for answer generation.
-
#page_identifier ⇒ String
Page identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext.
10891 10892 10893 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10891 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Document content to be used for answer generation.
Corresponds to the JSON property content
10884 10885 10886 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10884 def content @content end |
#page_identifier ⇒ String
Page identifier.
Corresponds to the JSON property pageIdentifier
10889 10890 10891 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10889 def page_identifier @page_identifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10896 10897 10898 10899 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10896 def update!(**args) @content = args[:content] if args.key?(:content) @page_identifier = args[:page_identifier] if args.key?(:page_identifier) end |