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-
(::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-
(::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-
(::String) — Output only. Unique identifier of the source. This ID is service-generated
and is unique within the scope of a single
Citationmessage.
#title
def title() -> ::String- (::String) — Output only. The title of the source.
#uri
def uri() -> ::String-
(::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.