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
$msg->bq()/$msg->bq($value)Type:
Message(Google::Cloud::Geminidataanalytics::V1::Datasource::BigQueryTableReferences)References to BigQuery tables.
$msg->studio()/$msg->studio($value)Type:
Message(Google::Cloud::Geminidataanalytics::V1::Datasource::StudioDatasourceReferences)References to Looker Studio datasources.
$msg->looker()/$msg->looker($value)Type:
Message(Google::Cloud::Geminidataanalytics::V1::Datasource::LookerExploreReferences)References to Looker Explores.
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:
StringRequired. The project that the table belongs to.
$msg->dataset_id()/$msg->dataset_id($value)Type:
StringRequired. The dataset that the table belongs to.
$msg->table_id()/$msg->table_id($value)Type:
StringRequired. 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:
StringRequired. The project ID that the dataset belongs to.
$msg->dataset_id()/$msg->dataset_id($value)Type:
StringRequired. 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
$msg->include_project_ids()/$msg->include_project_ids($value)Type:
StringOptional. The BigQuery project ids to search over.
$msg->include_dataset_references()/$msg->include_dataset_references($value)Type:
Message(Google::Cloud::Geminidataanalytics::V1::Datasource::BigQueryDatasetReference)Optional. The BigQuery dataset references to search over.
Google::Cloud::Geminidataanalytics::V1::Datasource::StudioDatasourceReferences
Message representing references to Looker Studio datasources.
Inherits from Protobuf::Message.
Accessors
$msg->studio_references()/$msg->studio_references($value)Type:
Message(Google::Cloud::Geminidataanalytics::V1::Datasource::StudioDatasourceReference)Optional. The references to the studio datasources.
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:
StringRequired. The id of the datasource.
Google::Cloud::Geminidataanalytics::V1::Datasource::LookerExploreReferences
Message representing references to Looker explores.
Inherits from Protobuf::Message.
Accessors
$msg->explore_references()/$msg->explore_references($value)Type:
Message(Google::Cloud::Geminidataanalytics::V1::Datasource::LookerExploreReference)Required. References to Looker explores.
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:
StringRequired. 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:
StringRequired. 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:
StringRequired. 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:
StringRequired. The project that the property graph belongs to.
$msg->dataset_id()/$msg->dataset_id($value)Type:
StringRequired. The dataset that the property graph belongs to.
$msg->property_graph_id()/$msg->property_graph_id($value)Type:
StringRequired. 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:
StringThe Looker instance id.
$msg->service_directory_name()/$msg->service_directory_name($value)Type:
StringThe 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
$msg->bigquery_table_reference()/$msg->bigquery_table_reference($value)Type:
Message(Google::Cloud::Geminidataanalytics::V1::Datasource::BigQueryTableReference)A reference to a BigQuery table.
$msg->studio_datasource_id()/$msg->studio_datasource_id($value)Type:
StringA reference to a Looker Studio datasource.
$msg->looker_explore_reference()/$msg->looker_explore_reference($value)Type:
Message(Google::Cloud::Geminidataanalytics::V1::Datasource::LookerExploreReference)A reference to a Looker explore.
$msg->bigquery_property_graph_reference()/$msg->bigquery_property_graph_reference($value)Type:
Message(Google::Cloud::Geminidataanalytics::V1::Datasource::BigQueryPropertyGraphReference)A reference to a BigQuery property graph.
$msg->schema()/$msg->schema($value)Type:
Message(Google::Cloud::Geminidataanalytics::V1::Datasource::Schema)Optional. The schema of the datasource.
$msg->struct_schema()/$msg->struct_schema($value)Type:
Message(Google::Protobuf::Struct::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
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:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. The name of the field.
$msg->type()/$msg->type($value)Type:
StringOptional. The type of the field.
$msg->description()/$msg->description($value)Type:
StringOptional. A brief description of the field.
$msg->mode()/$msg->mode($value)Type:
StringOptional. The mode of the field (e.g., NULLABLE, REPEATED).
$msg->synonyms()/$msg->synonyms($value)Type:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. Field category, not required, currently only useful for Looker.
$msg->value_format()/$msg->value_format($value)Type:
StringOptional. 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:
StringOptional. The field to filter on. For example: ["event_date", "customer_id", "product_category"]
$msg->value()/$msg->value($value)Type:
StringOptional. 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.