0.16.0 (latest) 0.15.0 0.14.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1 Client class CitationSource.

The source of the citation.

Generated from protobuf message `google.cloud.geminidataanalytics.v1.CitationSource`

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` Output only. The uri used as the source, such as a web grounding URL. |
| `↳ example_query` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.ExampleQuery` Output only. The example query used as the source. |
| `↳ glossary_term` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.GlossaryTerm` Output only. The glossary term used as the source. |
| `↳ id` | `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` | `string` Output only. The title of the source. |

### getUri

Output only. The uri used as the source, such as a web grounding URL.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasUri

### setUri

Output only. The uri used as the source, such as a web grounding URL.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExampleQuery

Output only. The example query used as the source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.ExampleQuery|null` |   |

### hasExampleQuery

### setExampleQuery

Output only. The example query used as the source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.ExampleQuery` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGlossaryTerm

Output only. The glossary term used as the source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.GlossaryTerm|null` |   |

### hasGlossaryTerm

### setGlossaryTerm

Output only. The glossary term used as the source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.GlossaryTerm` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getId

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setId

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTitle

Output only. The title of the source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTitle

Output only. The title of the source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSourceType

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |