NAME

Google::Cloud::Geminidataanalytics::V1alpha::Datasource - Compiled Protocol Buffers messages for google/cloud/geminidataanalytics/v1alpha/datasource.proto

SYNOPSIS

use Google::Cloud::Geminidataanalytics::V1alpha::Datasource;

my $msg = Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatasourceReferences->new({
    bq => $bq,
    studio => $studio,
    looker => $looker,
    alloydb => $alloydb,
});

# Read or update a field
my $val = $msg->bq();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatasourceReferences->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/geminidataanalytics/v1alpha/datasource.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatasourceReferences

A collection of references to datasources.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryTableReferences

Message representing references to BigQuery tables and property graphs. At least one of `table_references`, `property_graph_references`, or `search_scope` must be populated.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryTableReference

Message representing a reference to a single BigQuery table.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Required. The project that the table belongs to.

  • $msg->dataset_id() / $msg->dataset_id($value)

    Type: String

    Required. The dataset that the table belongs to.

  • $msg->table_id() / $msg->table_id($value)

    Type: String

    Required. The table id.

  • $msg->schema() / $msg->schema($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Schema)

    Optional. The schema of the datasource.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryDatasetReference

Message representing a reference to a single BigQuery dataset.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Required. The project ID that the dataset belongs to.

  • $msg->dataset_id() / $msg->dataset_id($value)

    Type: String

    Required. The dataset ID.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SearchScope

Message representing filters to apply to search over BigQuery tables.

At least one of `include_project_ids` or `include_dataset_references` must be populated with non-blank identifiers. Tables matching either field are included, so the two fields are unioned (OR-ed) rather than intersected.

Note: `SearchScope` is only supported for standalone conversations (`ChatRequest.inline_context` or `ClientManagedResourceContext.inline_context`) and is not supported in [DataAgent][google.cloud.geminidataanalytics.v1alpha.DataAgent].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::StudioDatasourceReferences

Message representing references to Looker Studio datasources.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::StudioDatasourceReference

Message representing a reference to a single Looker Studio datasource.

Inherits from Protobuf::Message.

Accessors

  • $msg->datasource_id() / $msg->datasource_id($value)

    Type: String

    Required. The id of the datasource.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::AlloyDbReference

Message representing reference to an AlloyDB database and agent context. Only supported for the `QueryData` method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatabaseTableReference

Message representing a table including its schema.

Inherits from Protobuf::Message.

Accessors

  • $msg->table_id() / $msg->table_id($value)

    Type: String

    Required. The name of the table as defined in the database.

    Note: The precise rules for table naming, including valid characters, length limits, and case sensitivity, are determined by the specific database system.

    Requirements: - Exact Match: The provided name must be identical to the name stored in the database. - Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names. - Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", `, []).

    Examples: - Simple name: "orders", "UserActivity" - Case sensitive: "MyTable" - Name with spaces: "Order Details" - Name with other special characters: "user/data", "order-items" - Name that is a keyword: "Group", "Order"

    Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data.

  • $msg->schema() / $msg->schema($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Schema)

    Optional. The schema of the table.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::AlloyDbDatabaseReference

Message representing a reference to a single AlloyDB database.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Required. The project the instance belongs to.

  • $msg->region() / $msg->region($value)

    Type: String

    Required. The region of the instance.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Required. The cluster id.

  • $msg->instance_id() / $msg->instance_id($value)

    Type: String

    Required. The instance id.

  • $msg->database_id() / $msg->database_id($value)

    Type: String

    Required. The database id.

  • $msg->table_ids() / $msg->table_ids($value)

    Type: String

    Optional. The table ids. Denotes all tables if unset.

  • $msg->database_table_references() / $msg->database_table_references($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatabaseTableReference)

    Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigtableReference

Message representing reference to a Bigtable instance and agent context.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigtableDatabaseReference

Message representing reference to Bigtable database.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Required. The project the instance belongs to.

  • $msg->instance_id() / $msg->instance_id($value)

    Type: String

    Required. The instance id.

  • $msg->table_ids() / $msg->table_ids($value)

    Type: String

    Optional. The table ids. Denotes all tables if unset.

  • $msg->database_table_references() / $msg->database_table_references($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatabaseTableReference)

    Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::FirestoreReference

Message representing reference to a Firestore database and agent context.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::FirestoreDatabaseReference

Message representing a reference to a single Firestore database.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Required. Project the firestore database belongs to.

  • $msg->database_id() / $msg->database_id($value)

    Type: String

    Required. The database id.

  • $msg->collection_ids() / $msg->collection_ids($value)

    Type: String

    Optional. The collection ids. Denotes all collections if unset.

  • $msg->database_table_references() / $msg->database_table_references($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatabaseTableReference)

    Optional. References to collections within the database. Each reference specifies a collection and can optionally include the collection's schema to provide context for the query.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SpannerReference

Message representing reference to a Spanner database and agent context. Only supported for the `QueryData` method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SpannerDatabaseReference

Message representing a reference to a single Spanner database.

Inherits from Protobuf::Message.

Accessors

  • $msg->engine() / $msg->engine($value)

    Type: Enum (Google::Cloud::Geminidataanalytics::V1alpha::SpannerDatabaseReference::Engine)

    Required. The engine of the Spanner instance.

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Required. The project the instance belongs to.

  • $msg->instance_id() / $msg->instance_id($value)

    Type: String

    Required. The instance id.

  • $msg->database_id() / $msg->database_id($value)

    Type: String

    Required. The database id.

  • $msg->table_ids() / $msg->table_ids($value)

    Type: String

    Optional. The table ids. Denotes all tables if unset.

  • $msg->database_table_references() / $msg->database_table_references($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatabaseTableReference)

    Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

  • $msg->priority() / $msg->priority($value)

    Type: String

    Optional. Priority for the queries to Spanner. Should be a value supported by Cloud Spanner e.g.: LOW, MEDIUM, HIGH. Unsupported values will be ignored. See https://docs.cloud.google.com/spanner/docs/reference/rest/v1/RequestOptions#Priority for complete list.

  • $msg->request_tag() / $msg->request_tag($value)

    Type: String

    Tag to be attached to all queries to Spanner. Allows to identify and monitor queries sent to Spanner by the GDA service.

  • $msg->graph_ids() / $msg->graph_ids($value)

    Type: String

    Optional. The graph IDs to query.

Enum: SpannerDatabaseReference::Engine

  • ENGINE_UNSPECIFIED => 0

  • GOOGLE_SQL => 1

  • POSTGRESQL => 2

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::CloudSqlReference

Message representing reference to a CloudSQL database and agent context. Only supported for the `QueryData` method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::CloudSqlDatabaseReference

Message representing a reference to a single CloudSQL database.

Inherits from Protobuf::Message.

Accessors

  • $msg->engine() / $msg->engine($value)

    Type: Enum (Google::Cloud::Geminidataanalytics::V1alpha::CloudSqlDatabaseReference::Engine)

    Required. The engine of the Cloud SQL instance.

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Required. The project the instance belongs to.

  • $msg->region() / $msg->region($value)

    Type: String

    Required. The region of the instance.

  • $msg->instance_id() / $msg->instance_id($value)

    Type: String

    Required. The instance id.

  • $msg->database_id() / $msg->database_id($value)

    Type: String

    Required. The database id.

  • $msg->table_ids() / $msg->table_ids($value)

    Type: String

    Optional. The table ids. Denotes all tables if unset.

  • $msg->database_table_references() / $msg->database_table_references($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatabaseTableReference)

    Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

Enum: CloudSqlDatabaseReference::Engine

  • ENGINE_UNSPECIFIED => 0

  • POSTGRESQL => 1

  • MYSQL => 2

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::LookerExploreReferences

Message representing references to Looker explores.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::LookerExploreReference

Message representing a reference to a single Looker explore.

Inherits from Protobuf::Message.

Accessors

  • $msg->looker_instance_uri() / $msg->looker_instance_uri($value)

    Type: String

    Required. The base url of the Looker instance.

  • $msg->private_looker_instance_info() / $msg->private_looker_instance_info($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::PrivateLookerInstanceInfo)

    Private Looker instance info.

  • $msg->lookml_model() / $msg->lookml_model($value)

    Type: String

    Required. Looker model, as outlined in [Major LookML structures](https://cloud.google.com/looker/docs/lookml-terms-and-concepts#major_lookml_structures). Name of the LookML model.

  • $msg->explore() / $msg->explore($value)

    Type: String

    Required. Looker Explore, as outlined in [Major LookML structures](https://cloud.google.com/looker/docs/lookml-terms-and-concepts#major_lookml_structures). Name of the LookML Explore.

  • $msg->schema() / $msg->schema($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Schema)

    Optional. The schema of the datasource.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryPropertyGraphReference

Message representing a reference to a single BigQuery property graph.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Required. The project that the property graph belongs to.

  • $msg->dataset_id() / $msg->dataset_id($value)

    Type: String

    Required. The dataset that the property graph belongs to.

  • $msg->property_graph_id() / $msg->property_graph_id($value)

    Type: String

    Required. The property graph id.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::PrivateLookerInstanceInfo

Message representing a private Looker instance info required if the Looker instance is behind a private network.

Inherits from Protobuf::Message.

Accessors

  • $msg->looker_instance_id() / $msg->looker_instance_id($value)

    Type: String

    The Looker instance id.

  • $msg->service_directory_name() / $msg->service_directory_name($value)

    Type: String

    The service directory name of the Looker instance.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Datasource

A datasource that can be used to answer questions.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Schema

The schema of a Datasource or QueryResult instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->fields() / $msg->fields($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Field)

    Optional. The fields in the schema.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. A textual description of the table's content and purpose. For example: "Contains information about customer orders in our e-commerce store." Currently only used for BigQuery data sources.

  • $msg->synonyms() / $msg->synonyms($value)

    Type: String

    Optional. A list of alternative names or synonyms that can be used to refer to the table. For example: ["sales", "orders", "purchases"]. Currently only used for BigQuery data sources.

  • $msg->tags() / $msg->tags($value)

    Type: String

    Optional. A list of tags or keywords associated with the table, used for categorization. For example: ["transaction", "revenue", "customer_data"]. Currently only used for BigQuery data sources.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Optional. Table display_name (same as label in cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not required, currently only Looker has this field.

  • $msg->filters() / $msg->filters($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DataFilter)

    Optional. The filters on the datasource's underlying data. Currently only used for Looker data sources.

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Field

A field in a schema.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Optional. The name of the field.

  • $msg->type() / $msg->type($value)

    Type: String

    Optional. The type of the field.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. A brief description of the field.

  • $msg->mode() / $msg->mode($value)

    Type: String

    Optional. The mode of the field (e.g., NULLABLE, REPEATED).

  • $msg->synonyms() / $msg->synonyms($value)

    Type: String

    Optional. A list of alternative names or synonyms that can be used to refer to this field. For example: ["id", "customerid", "cust_id"]. Currently only used for BigQuery data sources.

  • $msg->tags() / $msg->tags($value)

    Type: String

    Optional. A list of tags or keywords associated with the field, used for categorization. For example: ["identifier", "customer", "pii"]. Currently only used for BigQuery data sources.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Optional. Field display_name (same as label in

  • $msg->subfields() / $msg->subfields($value)

    Type: Message (Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Field)

    Optional. Recursive property for nested schema structures.

  • $msg->category() / $msg->category($value)

    Type: String

    Optional. Field category, not required, currently only useful for Looker.

  • $msg->value_format() / $msg->value_format($value)

    Type: String

    Optional. Looker only. Value format of the field. Ref: https://cloud.google.com/looker/docs/reference/param-field-value-format

Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DataFilter

A filter on a datasource's underlying data. Filter syntax documentation: https://cloud.google.com/looker/docs/filter-expressions

Inherits from Protobuf::Message.

Accessors

  • $msg->field() / $msg->field($value)

    Type: String

    Optional. The field to filter on. For example: ["event_date", "customer_id", "product_category"]

  • $msg->value() / $msg->value($value)

    Type: String

    Optional. The default value used for this filter if the filter is not overridden in a query. For example: ["after 2024-01-01", "123", "-fashion"]

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Geminidataanalytics::V1alpha::DataFilterType)

    Optional. The type of filter present on a datasource, such as ALWAYS_FILTER.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.