Google Cloud Gemini Data Analytics V1 Client - Class Citation (0.10.0)

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1 Client class Citation.

Source attributions for content.

Generated from protobuf message google.cloud.geminidataanalytics.v1.Citation

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sources array<CitationSource>

Output only. List of the sources being cited.

↳ anchors array<CitationAnchor>

Output only. List of the anchors of the citations.

getSources

Output only. List of the sources being cited.

Returns
Type Description
Google\Protobuf\RepeatedField<CitationSource>

setSources

Output only. List of the sources being cited.

Parameter
Name Description
var array<CitationSource>
Returns
Type Description
$this

getAnchors

Output only. List of the anchors of the citations.

Returns
Type Description
Google\Protobuf\RepeatedField<CitationAnchor>

setAnchors

Output only. List of the anchors of the citations.

Parameter
Name Description
var array<CitationAnchor>
Returns
Type Description
$this