Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Reference.
Reference.
Generated from protobuf message google.cloud.discoveryengine.v1.Answer.Reference
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ AnswerMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ unstructured_document_info |
Reference\UnstructuredDocumentInfo
Unstructured document information. |
↳ chunk_info |
Reference\ChunkInfo
Chunk information. |
↳ structured_document_info |
Reference\StructuredDocumentInfo
Structured document information. |
getUnstructuredDocumentInfo
Unstructured document information.
| Returns | |
|---|---|
| Type | Description |
Reference\UnstructuredDocumentInfo|null |
|
hasUnstructuredDocumentInfo
setUnstructuredDocumentInfo
Unstructured document information.
| Parameter | |
|---|---|
| Name | Description |
var |
Reference\UnstructuredDocumentInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getChunkInfo
Chunk information.
| Returns | |
|---|---|
| Type | Description |
Reference\ChunkInfo|null |
|
hasChunkInfo
setChunkInfo
Chunk information.
| Parameter | |
|---|---|
| Name | Description |
var |
Reference\ChunkInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStructuredDocumentInfo
Structured document information.
| Returns | |
|---|---|
| Type | Description |
Reference\StructuredDocumentInfo|null |
|
hasStructuredDocumentInfo
setStructuredDocumentInfo
Structured document information.
| Parameter | |
|---|---|
| Name | Description |
var |
Reference\StructuredDocumentInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContent
| Returns | |
|---|---|
| Type | Description |
string |
|