Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class ExtractiveAnswer.
Extractive answer.
Generated from protobuf message google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer
Namespace
Google \ Cloud \ DiscoveryEngine \ V1beta \ AnswerQueryRequest \ SearchSpec \ SearchResultList \ SearchResult \ UnstructuredDocumentInfoMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ page_identifier |
string
Page identifier. |
↳ content |
string
Extractive answer content. |
getPageIdentifier
Page identifier.
Returns | |
---|---|
Type | Description |
string |
setPageIdentifier
Page identifier.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getContent
Extractive answer content.
Returns | |
---|---|
Type | Description |
string |
setContent
Extractive answer content.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |