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

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

The anchor of the citation.

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

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ text_message_anchor CitationAnchor\TextMessageCitationAnchor

Output only. Only set if the citation is for a TextMessage.

getTextMessageAnchor

Output only. Only set if the citation is for a TextMessage.

Returns
Type Description
CitationAnchor\TextMessageCitationAnchor|null

hasTextMessageAnchor

setTextMessageAnchor

Output only. Only set if the citation is for a TextMessage.

Parameter
Name Description
var CitationAnchor\TextMessageCitationAnchor
Returns
Type Description
$this

getAnchorType

Returns
Type Description
string