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 \ V1Methods
__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 |
ExampleQuery
Output only. The example query used as the source. |
↳ glossary_term |
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 |
↳ 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 |
ExampleQuery|null |
|
hasExampleQuery
setExampleQuery
Output only. The example query used as the source.
| Parameter | |
|---|---|
| Name | Description |
var |
ExampleQuery
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGlossaryTerm
Output only. The glossary term used as the source.
| Returns | |
|---|---|
| Type | Description |
GlossaryTerm|null |
|
hasGlossaryTerm
setGlossaryTerm
Output only. The glossary term used as the source.
| Parameter | |
|---|---|
| Name | Description |
var |
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 |
|