Skip to content

Commit 884065f

Browse files
Google APIscopybara-github
authored andcommitted
docs: specify the data sources supported only by the QueryData API
PiperOrigin-RevId: 845011156
1 parent b60f5a5 commit 884065f

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

google/cloud/geminidataanalytics/v1alpha/datasource.proto

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,27 @@ message DatasourceReferences {
5353
// References to Looker Explores.
5454
LookerExploreReferences looker = 3;
5555

56-
// Reference to an AlloyDB database.
56+
// Reference to an AlloyDB database. Only supported for the `QueryData`
57+
// method.
5758
AlloyDbReference alloydb = 8;
5859

59-
// Reference to a Spanner database.
60+
// Reference to a Spanner database. Only supported for the `QueryData`
61+
// method.
6062
SpannerReference spanner_reference = 9;
6163

62-
// Reference to a CloudSql database.
64+
// Reference to a CloudSql database. Only supported for the `QueryData`
65+
// method.
6366
CloudSqlReference cloud_sql_reference = 10;
6467
}
6568
}
6669

67-
// Message representing references to BigQuery tables.
70+
// Message representing references to BigQuery tables and property graphs.
71+
// At least one of `table_references` or `property_graph_references` must be
72+
// populated.
6873
message BigQueryTableReferences {
69-
// Required. References to BigQuery tables.
74+
// Optional. References to BigQuery tables.
7075
repeated BigQueryTableReference table_references = 1
71-
[(google.api.field_behavior) = REQUIRED];
76+
[(google.api.field_behavior) = OPTIONAL];
7277
}
7378

7479
// Message representing a reference to a single BigQuery table.
@@ -99,6 +104,7 @@ message StudioDatasourceReference {
99104
}
100105

101106
// Message representing reference to an AlloyDB database and agent context.
107+
// Only supported for the `QueryData` method.
102108
message AlloyDbReference {
103109
// Required. Singular proto that supports specifying which database and tables
104110
// to include.
@@ -132,6 +138,7 @@ message AlloyDbDatabaseReference {
132138
}
133139

134140
// Message representing reference to a Spanner database and agent context.
141+
// Only supported for the `QueryData` method.
135142
message SpannerReference {
136143
// Required. Singular proto that supports specifying which database and tables
137144
// to include.
@@ -177,6 +184,7 @@ message SpannerDatabaseReference {
177184
}
178185

179186
// Message representing reference to a CloudSQL database and agent context.
187+
// Only supported for the `QueryData` method.
180188
message CloudSqlReference {
181189
// Required. Singular proto that supports specifying which database and tables
182190
// to include.

0 commit comments

Comments
 (0)