Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CitationMetadata.
A collection of source attributions for a piece of content.
Generated from protobuf message google.cloud.discoveryengine.v1.CitationMetadata
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ citations |
array<Citation>
Output only. List of citations. |
getCitations
Output only. List of citations.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Citation> |
|
setCitations
Output only. List of citations.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Citation>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|