NAME

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

SYNOPSIS

use Google::Cloud::Geminidataanalytics::V1::Datasource;

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

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/geminidataanalytics/v1/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::V1::Datasource::DatasourceReferences

A collection of references to datasources.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1::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

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

    Type: Message (Google::Cloud::Geminidataanalytics::V1::Datasource::BigQueryTableReference)

    Optional. References to BigQuery tables.

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

    Type: Message (Google::Cloud::Geminidataanalytics::V1::Datasource::BigQueryPropertyGraphReference)

    Optional. References to BigQuery graphs.

    Note: "property graph" is the former name for BigQuery Graph. The field and message names retain the original term for backward compatibility; both refer to the same resource.

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

    Type: Message (Google::Cloud::Geminidataanalytics::V1::Datasource::SearchScope)

    Optional. Search over BigQuery resources to discover most relevant tables to the query.

    When set, at least one of `include_project_ids` or `include_dataset_references` must be populated with non-blank identifiers. Matches from the two fields are unioned (OR-ed).

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

Google::Cloud::Geminidataanalytics::V1::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::V1::Datasource::Schema)

    Optional. The schema of the datasource.

Google::Cloud::Geminidataanalytics::V1::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::V1::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.v1.DataAgent].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1::Datasource::StudioDatasourceReferences

Message representing references to Looker Studio datasources.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1::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::V1::Datasource::LookerExploreReferences

Message representing references to Looker explores.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1::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::V1::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::V1::Datasource::Schema)

    Optional. The schema of the datasource.

Google::Cloud::Geminidataanalytics::V1::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::V1::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::V1::Datasource::Datasource

A datasource that can be used to answer questions.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1::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::V1::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::V1::Datasource::DataFilter)

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

Google::Cloud::Geminidataanalytics::V1::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::V1::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::V1::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::V1::DataFilterType)

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

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.