# Data Analytics API with Gemini V1 API - Class Google::Cloud::GeminiDataAnalytics::V1::CitationSource (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::CitationSource.

The source of the citation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #example_query

    def example_query() -> ::Google::Cloud::GeminiDataAnalytics::V1::ExampleQuery

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::ExampleQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ExampleQuery)) --- Output only. The example query used as the source.


  Note: The following fields are mutually exclusive: `example_query`, `uri`, `glossary_term`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #glossary_term

    def glossary_term() -> ::Google::Cloud::GeminiDataAnalytics::V1::GlossaryTerm

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::GlossaryTerm](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-GlossaryTerm)) --- Output only. The glossary term used as the source.


  Note: The following fields are mutually exclusive: `glossary_term`, `uri`, `example_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #id

    def id() -> ::String

**Returns**

- (::String) --- Output only. Unique identifier of the source. This ID is service-generated and is unique within the scope of a single `Citation` message.

### #title

    def title() -> ::String

**Returns**

- (::String) --- Output only. The title of the source.

### #uri

    def uri() -> ::String

**Returns**

- (::String) --- Output only. The uri used as the source, such as a web grounding URL.

  Note: The following fields are mutually exclusive: `uri`, `example_query`, `glossary_term`. If a field in that set is populated, all other fields in the set will automatically be cleared.