Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::CitationSource (v0.10.0)

Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::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::V1beta::ExampleQuery
Returns
  • (::Google::Cloud::GeminiDataAnalytics::V1beta::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::V1beta::GlossaryTerm
Returns
  • (::Google::Cloud::GeminiDataAnalytics::V1beta::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.