Class: Google::Cloud::GeminiDataAnalytics::V1beta::Datasource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb

Overview

A datasource that can be used to answer questions.

Instance Attribute Summary collapse

Instance Attribute Details

#alloy_db_reference::Google::Cloud::GeminiDataAnalytics::V1beta::AlloyDbReference

Returns A reference to an AlloyDB database.

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

Returns:

  • (::Google::Cloud::GeminiDataAnalytics::V1beta::AlloyDbReference)

    A reference to an AlloyDB database.

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



351
352
353
354
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 351

class Datasource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#bigquery_table_reference::Google::Cloud::GeminiDataAnalytics::V1beta::BigQueryTableReference

Returns A reference to a BigQuery table.

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

Returns:

  • (::Google::Cloud::GeminiDataAnalytics::V1beta::BigQueryTableReference)

    A reference to a BigQuery table.

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



351
352
353
354
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 351

class Datasource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#cloud_sql_reference::Google::Cloud::GeminiDataAnalytics::V1beta::CloudSqlReference

Returns A reference to a CloudSQL database.

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

Returns:

  • (::Google::Cloud::GeminiDataAnalytics::V1beta::CloudSqlReference)

    A reference to a CloudSQL database.

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



351
352
353
354
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 351

class Datasource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#looker_explore_reference::Google::Cloud::GeminiDataAnalytics::V1beta::LookerExploreReference

Returns A reference to a Looker explore.

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

Returns:

  • (::Google::Cloud::GeminiDataAnalytics::V1beta::LookerExploreReference)

    A reference to a Looker explore.

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



351
352
353
354
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 351

class Datasource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#schema::Google::Cloud::GeminiDataAnalytics::V1beta::Schema

Returns Optional. The schema of the datasource.

Returns:



351
352
353
354
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 351

class Datasource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#spanner_reference::Google::Cloud::GeminiDataAnalytics::V1beta::SpannerReference

Returns A reference to a Spanner database.

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

Returns:

  • (::Google::Cloud::GeminiDataAnalytics::V1beta::SpannerReference)

    A reference to a Spanner database.

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



351
352
353
354
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 351

class Datasource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#struct_schema::Google::Protobuf::Struct

Returns 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:



351
352
353
354
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 351

class Datasource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#studio_datasource_id::String

Returns A reference to a Looker Studio datasource.

Note: The following fields are mutually exclusive: studio_datasource_id, bigquery_table_reference, looker_explore_reference, alloy_db_reference, spanner_reference, cloud_sql_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, alloy_db_reference, spanner_reference, cloud_sql_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.



351
352
353
354
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb', line 351

class Datasource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end