google-cloud-gemini_data_analytics-v1 0.a → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/gemini_data_analytics/v1/bindings_override.rb +75 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/client.rb +1635 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/credentials.rb +47 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/operations.rb +841 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/paths.rb +90 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/client.rb +1523 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/operations.rb +925 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/service_stub.rb +758 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest.rb +54 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service.rb +56 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/client.rb +1063 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/credentials.rb +47 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/paths.rb +109 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest/client.rb +988 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest/service_stub.rb +443 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest.rb +55 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service.rb +57 -0
- data/lib/google/cloud/gemini_data_analytics/v1/rest.rb +39 -0
- data/lib/google/cloud/gemini_data_analytics/v1/version.rb +7 -2
- data/lib/google/cloud/gemini_data_analytics/v1.rb +46 -0
- data/lib/google/cloud/geminidataanalytics/v1/context_pb.rb +49 -0
- data/lib/google/cloud/geminidataanalytics/v1/conversation_pb.rb +31 -0
- data/lib/google/cloud/geminidataanalytics/v1/credentials_pb.rb +26 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_pb.rb +26 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_service_pb.rb +43 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_service_services_pb.rb +66 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_analytics_agent_pb.rb +24 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_chat_service_pb.rb +64 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_chat_service_services_pb.rb +59 -0
- data/lib/google/cloud/geminidataanalytics/v1/datasource_pb.rb +37 -0
- data/lib/google-cloud-gemini_data_analytics-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/context.rb +450 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/conversation.rb +167 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/credentials.rb +74 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_agent.rb +96 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_agent_service.rb +267 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_analytics_agent.rb +46 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_chat_service.rb +689 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/datasource.rb +304 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +87 -0
- data/proto_docs/google/iam/v1/options.rb +50 -0
- data/proto_docs/google/iam/v1/policy.rb +426 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/protobuf/wrappers.rb +148 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +127 -9
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module GeminiDataAnalytics
|
|
23
|
+
module V1
|
|
24
|
+
# A collection of references to datasources.
|
|
25
|
+
# @!attribute [rw] bq
|
|
26
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::BigQueryTableReferences]
|
|
27
|
+
# References to BigQuery tables.
|
|
28
|
+
#
|
|
29
|
+
# Note: The following fields are mutually exclusive: `bq`, `studio`, `looker`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
30
|
+
# @!attribute [rw] studio
|
|
31
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::StudioDatasourceReferences]
|
|
32
|
+
# References to Looker Studio datasources.
|
|
33
|
+
#
|
|
34
|
+
# Note: The following fields are mutually exclusive: `studio`, `bq`, `looker`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
35
|
+
# @!attribute [rw] looker
|
|
36
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::LookerExploreReferences]
|
|
37
|
+
# References to Looker Explores.
|
|
38
|
+
#
|
|
39
|
+
# Note: The following fields are mutually exclusive: `looker`, `bq`, `studio`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
40
|
+
class DatasourceReferences
|
|
41
|
+
include ::Google::Protobuf::MessageExts
|
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Message representing references to BigQuery tables and property graphs.
|
|
46
|
+
# At least one of `table_references`, `property_graph_references`, or
|
|
47
|
+
# `search_scope` must be populated.
|
|
48
|
+
# @!attribute [rw] table_references
|
|
49
|
+
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1::BigQueryTableReference>]
|
|
50
|
+
# Optional. References to BigQuery tables.
|
|
51
|
+
class BigQueryTableReferences
|
|
52
|
+
include ::Google::Protobuf::MessageExts
|
|
53
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Message representing a reference to a single BigQuery table.
|
|
57
|
+
# @!attribute [rw] project_id
|
|
58
|
+
# @return [::String]
|
|
59
|
+
# Required. The project that the table belongs to.
|
|
60
|
+
# @!attribute [rw] dataset_id
|
|
61
|
+
# @return [::String]
|
|
62
|
+
# Required. The dataset that the table belongs to.
|
|
63
|
+
# @!attribute [rw] table_id
|
|
64
|
+
# @return [::String]
|
|
65
|
+
# Required. The table id.
|
|
66
|
+
# @!attribute [rw] schema
|
|
67
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::Schema]
|
|
68
|
+
# Optional. The schema of the datasource.
|
|
69
|
+
class BigQueryTableReference
|
|
70
|
+
include ::Google::Protobuf::MessageExts
|
|
71
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Message representing references to Looker Studio datasources.
|
|
75
|
+
# @!attribute [rw] studio_references
|
|
76
|
+
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1::StudioDatasourceReference>]
|
|
77
|
+
# Optional. The references to the studio datasources.
|
|
78
|
+
class StudioDatasourceReferences
|
|
79
|
+
include ::Google::Protobuf::MessageExts
|
|
80
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Message representing a reference to a single Looker Studio datasource.
|
|
84
|
+
# @!attribute [rw] datasource_id
|
|
85
|
+
# @return [::String]
|
|
86
|
+
# Required. The id of the datasource.
|
|
87
|
+
class StudioDatasourceReference
|
|
88
|
+
include ::Google::Protobuf::MessageExts
|
|
89
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Message representing references to Looker explores.
|
|
93
|
+
# @!attribute [rw] explore_references
|
|
94
|
+
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1::LookerExploreReference>]
|
|
95
|
+
# Required. References to Looker explores.
|
|
96
|
+
class LookerExploreReferences
|
|
97
|
+
include ::Google::Protobuf::MessageExts
|
|
98
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Message representing a reference to a single Looker explore.
|
|
102
|
+
# @!attribute [rw] looker_instance_uri
|
|
103
|
+
# @return [::String]
|
|
104
|
+
# Required. The base url of the Looker instance.
|
|
105
|
+
#
|
|
106
|
+
# Note: The following fields are mutually exclusive: `looker_instance_uri`, `private_looker_instance_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
107
|
+
# @!attribute [rw] private_looker_instance_info
|
|
108
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::PrivateLookerInstanceInfo]
|
|
109
|
+
# Private Looker instance info.
|
|
110
|
+
#
|
|
111
|
+
# Note: The following fields are mutually exclusive: `private_looker_instance_info`, `looker_instance_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
112
|
+
# @!attribute [rw] lookml_model
|
|
113
|
+
# @return [::String]
|
|
114
|
+
# Required. Looker model, as outlined in
|
|
115
|
+
# [Major LookML
|
|
116
|
+
# structures](https://cloud.google.com/looker/docs/lookml-terms-and-concepts#major_lookml_structures).
|
|
117
|
+
# Name of the LookML model.
|
|
118
|
+
# @!attribute [rw] explore
|
|
119
|
+
# @return [::String]
|
|
120
|
+
# Required. Looker Explore, as outlined in
|
|
121
|
+
# [Major LookML
|
|
122
|
+
# structures](https://cloud.google.com/looker/docs/lookml-terms-and-concepts#major_lookml_structures).
|
|
123
|
+
# Name of the LookML Explore.
|
|
124
|
+
# @!attribute [rw] schema
|
|
125
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::Schema]
|
|
126
|
+
# Optional. The schema of the datasource.
|
|
127
|
+
class LookerExploreReference
|
|
128
|
+
include ::Google::Protobuf::MessageExts
|
|
129
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Message representing a reference to a single BigQuery property graph.
|
|
133
|
+
# @!attribute [rw] project_id
|
|
134
|
+
# @return [::String]
|
|
135
|
+
# Required. The project that the property graph belongs to.
|
|
136
|
+
# @!attribute [rw] dataset_id
|
|
137
|
+
# @return [::String]
|
|
138
|
+
# Required. The dataset that the property graph belongs to.
|
|
139
|
+
# @!attribute [rw] property_graph_id
|
|
140
|
+
# @return [::String]
|
|
141
|
+
# Required. The property graph id.
|
|
142
|
+
class BigQueryPropertyGraphReference
|
|
143
|
+
include ::Google::Protobuf::MessageExts
|
|
144
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Message representing a private Looker instance info required if the Looker
|
|
148
|
+
# instance is behind a private network.
|
|
149
|
+
# @!attribute [rw] looker_instance_id
|
|
150
|
+
# @return [::String]
|
|
151
|
+
# The Looker instance id.
|
|
152
|
+
# @!attribute [rw] service_directory_name
|
|
153
|
+
# @return [::String]
|
|
154
|
+
# The service directory name of the Looker instance.
|
|
155
|
+
class PrivateLookerInstanceInfo
|
|
156
|
+
include ::Google::Protobuf::MessageExts
|
|
157
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# A datasource that can be used to answer questions.
|
|
161
|
+
# @!attribute [rw] bigquery_table_reference
|
|
162
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::BigQueryTableReference]
|
|
163
|
+
# A reference to a BigQuery table.
|
|
164
|
+
#
|
|
165
|
+
# Note: The following fields are mutually exclusive: `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`, `bigquery_property_graph_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
166
|
+
# @!attribute [rw] studio_datasource_id
|
|
167
|
+
# @return [::String]
|
|
168
|
+
# A reference to a Looker Studio datasource.
|
|
169
|
+
#
|
|
170
|
+
# Note: The following fields are mutually exclusive: `studio_datasource_id`, `bigquery_table_reference`, `looker_explore_reference`, `bigquery_property_graph_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
171
|
+
# @!attribute [rw] looker_explore_reference
|
|
172
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::LookerExploreReference]
|
|
173
|
+
# A reference to a Looker explore.
|
|
174
|
+
#
|
|
175
|
+
# Note: The following fields are mutually exclusive: `looker_explore_reference`, `bigquery_table_reference`, `studio_datasource_id`, `bigquery_property_graph_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
176
|
+
# @!attribute [rw] bigquery_property_graph_reference
|
|
177
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::BigQueryPropertyGraphReference]
|
|
178
|
+
# A reference to a BigQuery property graph.
|
|
179
|
+
#
|
|
180
|
+
# Note: The following fields are mutually exclusive: `bigquery_property_graph_reference`, `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
181
|
+
# @!attribute [rw] schema
|
|
182
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::Schema]
|
|
183
|
+
# Optional. The schema of the datasource.
|
|
184
|
+
# @!attribute [rw] struct_schema
|
|
185
|
+
# @return [::Google::Protobuf::Struct]
|
|
186
|
+
# Optional. A struct representation of the schema.
|
|
187
|
+
# This is populated for datasources with schemas that cannot be
|
|
188
|
+
# fully represented by the strongly-typed `schema` field.
|
|
189
|
+
#
|
|
190
|
+
# For Looker datasources, this maps to the LookmlModelExplore type:
|
|
191
|
+
# https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
|
|
192
|
+
class Datasource
|
|
193
|
+
include ::Google::Protobuf::MessageExts
|
|
194
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# The schema of a Datasource or QueryResult instance.
|
|
198
|
+
# @!attribute [rw] fields
|
|
199
|
+
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1::Field>]
|
|
200
|
+
# Optional. The fields in the schema.
|
|
201
|
+
# @!attribute [rw] description
|
|
202
|
+
# @return [::String]
|
|
203
|
+
# Optional. A textual description of the table's content and purpose.
|
|
204
|
+
# For example: "Contains information about customer orders in our e-commerce
|
|
205
|
+
# store." Currently only used for BigQuery data sources.
|
|
206
|
+
# @!attribute [rw] synonyms
|
|
207
|
+
# @return [::Array<::String>]
|
|
208
|
+
# Optional. A list of alternative names or synonyms that can be used to refer
|
|
209
|
+
# to the table. For example: ["sales", "orders", "purchases"]. Currently only
|
|
210
|
+
# used for BigQuery data sources.
|
|
211
|
+
# @!attribute [rw] tags
|
|
212
|
+
# @return [::Array<::String>]
|
|
213
|
+
# Optional. A list of tags or keywords associated with the table, used for
|
|
214
|
+
# categorization. For example: ["transaction", "revenue", "customer_data"].
|
|
215
|
+
# Currently only used for BigQuery data sources.
|
|
216
|
+
# @!attribute [rw] display_name
|
|
217
|
+
# @return [::String]
|
|
218
|
+
# Optional. Table display_name (same as label in
|
|
219
|
+
# cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not
|
|
220
|
+
# required, currently only Looker has this field.
|
|
221
|
+
# @!attribute [rw] filters
|
|
222
|
+
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1::DataFilter>]
|
|
223
|
+
# Optional. The filters on the datasource's underlying data. Currently only
|
|
224
|
+
# used for Looker data sources.
|
|
225
|
+
class Schema
|
|
226
|
+
include ::Google::Protobuf::MessageExts
|
|
227
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# A field in a schema.
|
|
231
|
+
# @!attribute [rw] name
|
|
232
|
+
# @return [::String]
|
|
233
|
+
# Optional. The name of the field.
|
|
234
|
+
# @!attribute [rw] type
|
|
235
|
+
# @return [::String]
|
|
236
|
+
# Optional. The type of the field.
|
|
237
|
+
# @!attribute [rw] description
|
|
238
|
+
# @return [::String]
|
|
239
|
+
# Optional. A brief description of the field.
|
|
240
|
+
# @!attribute [rw] mode
|
|
241
|
+
# @return [::String]
|
|
242
|
+
# Optional. The mode of the field (e.g., NULLABLE, REPEATED).
|
|
243
|
+
# @!attribute [rw] synonyms
|
|
244
|
+
# @return [::Array<::String>]
|
|
245
|
+
# Optional. A list of alternative names or synonyms that can be used to refer
|
|
246
|
+
# to this field. For example: ["id", "customerid", "cust_id"]. Currently only
|
|
247
|
+
# used for BigQuery data sources.
|
|
248
|
+
# @!attribute [rw] tags
|
|
249
|
+
# @return [::Array<::String>]
|
|
250
|
+
# Optional. A list of tags or keywords associated with the field, used for
|
|
251
|
+
# categorization. For example: ["identifier", "customer", "pii"]. Currently
|
|
252
|
+
# only used for BigQuery data sources.
|
|
253
|
+
# @!attribute [rw] display_name
|
|
254
|
+
# @return [::String]
|
|
255
|
+
# Optional. Field display_name (same as label in
|
|
256
|
+
# @!attribute [rw] subfields
|
|
257
|
+
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1::Field>]
|
|
258
|
+
# Optional. Recursive property for nested schema structures.
|
|
259
|
+
# @!attribute [rw] category
|
|
260
|
+
# @return [::String]
|
|
261
|
+
# Optional. Field category, not required, currently only useful for Looker.
|
|
262
|
+
# @!attribute [rw] value_format
|
|
263
|
+
# @return [::String]
|
|
264
|
+
# Optional. Looker only. Value format of the field.
|
|
265
|
+
# Ref:
|
|
266
|
+
# https://cloud.google.com/looker/docs/reference/param-field-value-format
|
|
267
|
+
class Field
|
|
268
|
+
include ::Google::Protobuf::MessageExts
|
|
269
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# A filter on a datasource's underlying data. Filter syntax documentation:
|
|
273
|
+
# https://cloud.google.com/looker/docs/filter-expressions
|
|
274
|
+
# @!attribute [rw] field
|
|
275
|
+
# @return [::String]
|
|
276
|
+
# Optional. The field to filter on. For example: ["event_date",
|
|
277
|
+
# "customer_id", "product_category"]
|
|
278
|
+
# @!attribute [rw] value
|
|
279
|
+
# @return [::String]
|
|
280
|
+
# Optional. The default value used for this filter if the filter is not
|
|
281
|
+
# overridden in a query. For example: ["after 2024-01-01", "123", "-fashion"]
|
|
282
|
+
# @!attribute [rw] type
|
|
283
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::DataFilterType]
|
|
284
|
+
# Optional. The type of filter present on a datasource, such as
|
|
285
|
+
# ALWAYS_FILTER.
|
|
286
|
+
class DataFilter
|
|
287
|
+
include ::Google::Protobuf::MessageExts
|
|
288
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
# The type of filter present on a datasource, such as ALWAYS_FILTER.
|
|
292
|
+
module DataFilterType
|
|
293
|
+
# The filter type was not specified.
|
|
294
|
+
DATA_FILTER_TYPE_UNSPECIFIED = 0
|
|
295
|
+
|
|
296
|
+
# A filter that the user configures, and any queries to the Explore will
|
|
297
|
+
# always apply this filter by default. Currently only used for Looker data
|
|
298
|
+
# sources.
|
|
299
|
+
ALWAYS_FILTER = 1
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
end
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Iam
|
|
22
|
+
module V1
|
|
23
|
+
# Request message for `SetIamPolicy` method.
|
|
24
|
+
# @!attribute [rw] resource
|
|
25
|
+
# @return [::String]
|
|
26
|
+
# REQUIRED: The resource for which the policy is being specified.
|
|
27
|
+
# See the operation documentation for the appropriate value for this field.
|
|
28
|
+
# @!attribute [rw] policy
|
|
29
|
+
# @return [::Google::Iam::V1::Policy]
|
|
30
|
+
# REQUIRED: The complete policy to be applied to the `resource`. The size of
|
|
31
|
+
# the policy is limited to a few 10s of KB. An empty policy is a
|
|
32
|
+
# valid policy but certain Cloud Platform services (such as Projects)
|
|
33
|
+
# might reject them.
|
|
34
|
+
# @!attribute [rw] update_mask
|
|
35
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
36
|
+
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
37
|
+
# the fields in the mask will be modified. If no mask is provided, the
|
|
38
|
+
# following default mask is used:
|
|
39
|
+
#
|
|
40
|
+
# `paths: "bindings, etag"`
|
|
41
|
+
class SetIamPolicyRequest
|
|
42
|
+
include ::Google::Protobuf::MessageExts
|
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Request message for `GetIamPolicy` method.
|
|
47
|
+
# @!attribute [rw] resource
|
|
48
|
+
# @return [::String]
|
|
49
|
+
# REQUIRED: The resource for which the policy is being requested.
|
|
50
|
+
# See the operation documentation for the appropriate value for this field.
|
|
51
|
+
# @!attribute [rw] options
|
|
52
|
+
# @return [::Google::Iam::V1::GetPolicyOptions]
|
|
53
|
+
# OPTIONAL: A `GetPolicyOptions` object for specifying options to
|
|
54
|
+
# `GetIamPolicy`.
|
|
55
|
+
class GetIamPolicyRequest
|
|
56
|
+
include ::Google::Protobuf::MessageExts
|
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Request message for `TestIamPermissions` method.
|
|
61
|
+
# @!attribute [rw] resource
|
|
62
|
+
# @return [::String]
|
|
63
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
|
64
|
+
# See the operation documentation for the appropriate value for this field.
|
|
65
|
+
# @!attribute [rw] permissions
|
|
66
|
+
# @return [::Array<::String>]
|
|
67
|
+
# The set of permissions to check for the `resource`. Permissions with
|
|
68
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
|
69
|
+
# information see
|
|
70
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
71
|
+
class TestIamPermissionsRequest
|
|
72
|
+
include ::Google::Protobuf::MessageExts
|
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Response message for `TestIamPermissions` method.
|
|
77
|
+
# @!attribute [rw] permissions
|
|
78
|
+
# @return [::Array<::String>]
|
|
79
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
|
80
|
+
# allowed.
|
|
81
|
+
class TestIamPermissionsResponse
|
|
82
|
+
include ::Google::Protobuf::MessageExts
|
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Iam
|
|
22
|
+
module V1
|
|
23
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
24
|
+
# @!attribute [rw] requested_policy_version
|
|
25
|
+
# @return [::Integer]
|
|
26
|
+
# Optional. The maximum policy version that will be used to format the
|
|
27
|
+
# policy.
|
|
28
|
+
#
|
|
29
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
30
|
+
# rejected.
|
|
31
|
+
#
|
|
32
|
+
# Requests for policies with any conditional role bindings must specify
|
|
33
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
|
34
|
+
# value or leave the field unset.
|
|
35
|
+
#
|
|
36
|
+
# The policy in the response might use the policy version that you specified,
|
|
37
|
+
# or it might use a lower policy version. For example, if you specify version
|
|
38
|
+
# 3, but the policy has no conditional role bindings, the response uses
|
|
39
|
+
# version 1.
|
|
40
|
+
#
|
|
41
|
+
# To learn which resources support conditions in their IAM policies, see the
|
|
42
|
+
# [IAM
|
|
43
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
44
|
+
class GetPolicyOptions
|
|
45
|
+
include ::Google::Protobuf::MessageExts
|
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|