Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
- 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
Extractive answer. Guide
Instance Attribute Summary collapse
-
#content ⇒ String
Extractive answer content.
-
#page_identifier ⇒ String
Page identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer.
3361 3362 3363 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3361 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Extractive answer content.
Corresponds to the JSON property content
3354 3355 3356 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3354 def content @content end |
#page_identifier ⇒ String
Page identifier.
Corresponds to the JSON property pageIdentifier
3359 3360 3361 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3359 def page_identifier @page_identifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3366 3367 3368 3369 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3366 def update!(**args) @content = args[:content] if args.key?(:content) @page_identifier = args[:page_identifier] if args.key?(:page_identifier) end |