Google Cloud Discovery Engine V1 Client - Class AnnotationMetadata (1.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AnnotationMetadata.
The annotation metadata includes structured content in the current chunk.
Generated from protobuf message google.cloud.discoveryengine.v1.Chunk.AnnotationMetadata
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ ChunkMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ structured_content |
StructuredContent
Output only. The structured content information. |
↳ image_id |
string
Output only. Image id is provided if the structured content is based on an image. |
getStructuredContent
Output only. The structured content information.
| Returns | |
|---|---|
| Type | Description |
StructuredContent|null |
|
hasStructuredContent
clearStructuredContent
setStructuredContent
Output only. The structured content information.
| Parameter | |
|---|---|
| Name | Description |
var |
StructuredContent
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getImageId
Output only. Image id is provided if the structured content is based on an image.
| Returns | |
|---|---|
| Type | Description |
string |
|
setImageId
Output only. Image id is provided if the structured content is based on an image.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|