Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class StructuredContent.
The structured content information.
Generated from protobuf message google.cloud.discoveryengine.v1.Chunk.StructuredContent
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ ChunkMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ structure_type |
int
Output only. The structure type of the structured content. |
↳ content |
string
Output only. The content of the structured content. |
getStructureType
Output only. The structure type of the structured content.
Returns | |
---|---|
Type | Description |
int |
setStructureType
Output only. The structure type of the structured content.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getContent
Output only. The content of the structured content.
Returns | |
---|---|
Type | Description |
string |
setContent
Output only. The content of the structured content.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |