Data Analytics API with Gemini V1 API - Class Google::Cloud::GeminiDataAnalytics::V1::Datasource (v0.1.0)

Reference documentation and code samples for the Data Analytics API with Gemini V1 API class Google::Cloud::GeminiDataAnalytics::V1::Datasource.

A datasource that can be used to answer questions.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bigquery_property_graph_reference

def bigquery_property_graph_reference() -> ::Google::Cloud::GeminiDataAnalytics::V1::BigQueryPropertyGraphReference
Returns
  • (::Google::Cloud::GeminiDataAnalytics::V1::BigQueryPropertyGraphReference) — A reference to a BigQuery property graph.

    Note: The following fields are mutually exclusive: bigquery_property_graph_reference, bigquery_table_reference, studio_datasource_id, looker_explore_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

#bigquery_property_graph_reference=

def bigquery_property_graph_reference=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::BigQueryPropertyGraphReference
Parameter
  • value (::Google::Cloud::GeminiDataAnalytics::V1::BigQueryPropertyGraphReference) — A reference to a BigQuery property graph.

    Note: The following fields are mutually exclusive: bigquery_property_graph_reference, bigquery_table_reference, studio_datasource_id, looker_explore_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::GeminiDataAnalytics::V1::BigQueryPropertyGraphReference) — A reference to a BigQuery property graph.

    Note: The following fields are mutually exclusive: bigquery_property_graph_reference, bigquery_table_reference, studio_datasource_id, looker_explore_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

#bigquery_table_reference

def bigquery_table_reference() -> ::Google::Cloud::GeminiDataAnalytics::V1::BigQueryTableReference
Returns
  • (::Google::Cloud::GeminiDataAnalytics::V1::BigQueryTableReference) — A reference to a BigQuery table.

    Note: The following fields are mutually exclusive: bigquery_table_reference, studio_datasource_id, looker_explore_reference, bigquery_property_graph_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

#bigquery_table_reference=

def bigquery_table_reference=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::BigQueryTableReference
Parameter
  • value (::Google::Cloud::GeminiDataAnalytics::V1::BigQueryTableReference) — A reference to a BigQuery table.

    Note: The following fields are mutually exclusive: bigquery_table_reference, studio_datasource_id, looker_explore_reference, bigquery_property_graph_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::GeminiDataAnalytics::V1::BigQueryTableReference) — A reference to a BigQuery table.

    Note: The following fields are mutually exclusive: bigquery_table_reference, studio_datasource_id, looker_explore_reference, bigquery_property_graph_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

#looker_explore_reference

def looker_explore_reference() -> ::Google::Cloud::GeminiDataAnalytics::V1::LookerExploreReference
Returns
  • (::Google::Cloud::GeminiDataAnalytics::V1::LookerExploreReference) — A reference to a Looker explore.

    Note: The following fields are mutually exclusive: looker_explore_reference, bigquery_table_reference, studio_datasource_id, bigquery_property_graph_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

#looker_explore_reference=

def looker_explore_reference=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::LookerExploreReference
Parameter
  • value (::Google::Cloud::GeminiDataAnalytics::V1::LookerExploreReference) — A reference to a Looker explore.

    Note: The following fields are mutually exclusive: looker_explore_reference, bigquery_table_reference, studio_datasource_id, bigquery_property_graph_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::GeminiDataAnalytics::V1::LookerExploreReference) — A reference to a Looker explore.

    Note: The following fields are mutually exclusive: looker_explore_reference, bigquery_table_reference, studio_datasource_id, bigquery_property_graph_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

#schema

def schema() -> ::Google::Cloud::GeminiDataAnalytics::V1::Schema
Returns

#schema=

def schema=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::Schema
Parameter
Returns

#struct_schema

def struct_schema() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — Optional. A struct representation of the schema. This is populated for datasources with schemas that cannot be fully represented by the strongly-typed schema field.

    For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore

#struct_schema=

def struct_schema=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — Optional. A struct representation of the schema. This is populated for datasources with schemas that cannot be fully represented by the strongly-typed schema field.

    For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore

Returns
  • (::Google::Protobuf::Struct) — Optional. A struct representation of the schema. This is populated for datasources with schemas that cannot be fully represented by the strongly-typed schema field.

    For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore

#studio_datasource_id

def studio_datasource_id() -> ::String
Returns
  • (::String) — A reference to a Looker Studio datasource.

    Note: The following fields are mutually exclusive: studio_datasource_id, bigquery_table_reference, looker_explore_reference, bigquery_property_graph_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

#studio_datasource_id=

def studio_datasource_id=(value) -> ::String
Parameter
  • value (::String) — A reference to a Looker Studio datasource.

    Note: The following fields are mutually exclusive: studio_datasource_id, bigquery_table_reference, looker_explore_reference, bigquery_property_graph_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — A reference to a Looker Studio datasource.

    Note: The following fields are mutually exclusive: studio_datasource_id, bigquery_table_reference, looker_explore_reference, bigquery_property_graph_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.