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