Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class StructuredDocumentInfo.
Structured search information.
Generated from protobuf message google.cloud.discoveryengine.v1.Answer.Reference.StructuredDocumentInfo
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ Answer \ ReferenceMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ document |
string
Document resource name. |
↳ struct_data |
Google\Protobuf\Struct
Structured search data. |
↳ title |
string
Output only. The title of the document. |
↳ uri |
string
Output only. The URI of the document. |
getDocument
Document resource name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDocument
Document resource name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStructData
Structured search data.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasStructData
clearStructData
setStructData
Structured search data.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTitle
Output only. The title of the document.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTitle
Output only. The title of the document.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUri
Output only. The URI of the document.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUri
Output only. The URI of the document.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|