# Data Analytics API with Gemini V1 API - Class Google::Cloud::GeminiDataAnalytics::V1::CitationAnchor (v0.2.0)

0.2.0 (latest) 0.1.0 Reference documentation and code samples for the Data Analytics API with Gemini V1 API class Google::Cloud::GeminiDataAnalytics::V1::CitationAnchor.

The anchor of the citation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #text_message_anchor

    def text_message_anchor() -> ::Google::Cloud::GeminiDataAnalytics::V1::CitationAnchor::TextMessageCitationAnchor

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::CitationAnchor::TextMessageCitationAnchor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-CitationAnchor-TextMessageCitationAnchor)) --- Output only. Only set if the citation is for a TextMessage.