Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
- 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
Extractive answer. Guide
Instance Attribute Summary collapse
-
#content ⇒ String
Extractive answer content.
-
#page_identifier ⇒ String
Page identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer.
6418 6419 6420 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Extractive answer content.
Corresponds to the JSON property content
6411 6412 6413 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6411 def content @content end |
#page_identifier ⇒ String
Page identifier.
Corresponds to the JSON property pageIdentifier
6416 6417 6418 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6416 def page_identifier @page_identifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6423 6424 6425 6426 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6423 def update!(**args) @content = args[:content] if args.key?(:content) @page_identifier = args[:page_identifier] if args.key?(:page_identifier) end |