Google Cloud Gemini Data Analytics V1beta Client - Class CitationAnchor (0.11.0)

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

The anchor of the citation.

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

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1beta

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