google-apis-bigqueryconnection_v1 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 +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/bigqueryconnection_v1/classes.rb +1006 -0
- data/lib/google/apis/bigqueryconnection_v1/gem_version.rb +28 -0
- data/lib/google/apis/bigqueryconnection_v1/representations.rb +401 -0
- data/lib/google/apis/bigqueryconnection_v1/service.rb +349 -0
- data/lib/google/apis/bigqueryconnection_v1.rb +39 -0
- data/lib/google-apis-bigqueryconnection_v1.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module BigqueryconnectionV1
|
18
|
+
# Version of the google-apis-bigqueryconnection_v1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20240106"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,401 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module BigqueryconnectionV1
|
24
|
+
|
25
|
+
class AuditConfig
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AuditLogConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AwsAccessRole
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AwsProperties
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AzureProperties
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Binding
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class CloudResourceProperties
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CloudSpannerProperties
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CloudSqlCredential
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class CloudSqlProperties
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class Connection
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class Empty
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class Expr
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GetIamPolicyRequest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GetPolicyOptions
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class ListConnectionsResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class MetastoreServiceConfig
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Policy
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class SalesforceDataCloudProperties
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class SetIamPolicyRequest
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class SparkHistoryServerConfig
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class SparkProperties
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class TestIamPermissionsRequest
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class TestIamPermissionsResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class AuditConfig
|
170
|
+
# @private
|
171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
172
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::BigqueryconnectionV1::AuditLogConfig, decorator: Google::Apis::BigqueryconnectionV1::AuditLogConfig::Representation
|
173
|
+
|
174
|
+
property :service, as: 'service'
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
class AuditLogConfig
|
179
|
+
# @private
|
180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
181
|
+
collection :exempted_members, as: 'exemptedMembers'
|
182
|
+
property :log_type, as: 'logType'
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
class AwsAccessRole
|
187
|
+
# @private
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
189
|
+
property :iam_role_id, as: 'iamRoleId'
|
190
|
+
property :identity, as: 'identity'
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
class AwsProperties
|
195
|
+
# @private
|
196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
197
|
+
property :access_role, as: 'accessRole', class: Google::Apis::BigqueryconnectionV1::AwsAccessRole, decorator: Google::Apis::BigqueryconnectionV1::AwsAccessRole::Representation
|
198
|
+
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
202
|
+
class AzureProperties
|
203
|
+
# @private
|
204
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
205
|
+
property :application, as: 'application'
|
206
|
+
property :client_id, as: 'clientId'
|
207
|
+
property :customer_tenant_id, as: 'customerTenantId'
|
208
|
+
property :federated_application_client_id, as: 'federatedApplicationClientId'
|
209
|
+
property :identity, as: 'identity'
|
210
|
+
property :object_id_prop, as: 'objectId'
|
211
|
+
property :redirect_uri, as: 'redirectUri'
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
class Binding
|
216
|
+
# @private
|
217
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
218
|
+
property :condition, as: 'condition', class: Google::Apis::BigqueryconnectionV1::Expr, decorator: Google::Apis::BigqueryconnectionV1::Expr::Representation
|
219
|
+
|
220
|
+
collection :members, as: 'members'
|
221
|
+
property :role, as: 'role'
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
class CloudResourceProperties
|
226
|
+
# @private
|
227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
228
|
+
property :service_account_id, as: 'serviceAccountId'
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
class CloudSpannerProperties
|
233
|
+
# @private
|
234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
235
|
+
property :database, as: 'database'
|
236
|
+
property :database_role, as: 'databaseRole'
|
237
|
+
property :max_parallelism, as: 'maxParallelism'
|
238
|
+
property :use_data_boost, as: 'useDataBoost'
|
239
|
+
property :use_parallelism, as: 'useParallelism'
|
240
|
+
property :use_serverless_analytics, as: 'useServerlessAnalytics'
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
class CloudSqlCredential
|
245
|
+
# @private
|
246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
247
|
+
property :password, as: 'password'
|
248
|
+
property :username, as: 'username'
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class CloudSqlProperties
|
253
|
+
# @private
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
255
|
+
property :credential, as: 'credential', class: Google::Apis::BigqueryconnectionV1::CloudSqlCredential, decorator: Google::Apis::BigqueryconnectionV1::CloudSqlCredential::Representation
|
256
|
+
|
257
|
+
property :database, as: 'database'
|
258
|
+
property :instance_id, as: 'instanceId'
|
259
|
+
property :service_account_id, as: 'serviceAccountId'
|
260
|
+
property :type, as: 'type'
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
class Connection
|
265
|
+
# @private
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
267
|
+
property :aws, as: 'aws', class: Google::Apis::BigqueryconnectionV1::AwsProperties, decorator: Google::Apis::BigqueryconnectionV1::AwsProperties::Representation
|
268
|
+
|
269
|
+
property :azure, as: 'azure', class: Google::Apis::BigqueryconnectionV1::AzureProperties, decorator: Google::Apis::BigqueryconnectionV1::AzureProperties::Representation
|
270
|
+
|
271
|
+
property :cloud_resource, as: 'cloudResource', class: Google::Apis::BigqueryconnectionV1::CloudResourceProperties, decorator: Google::Apis::BigqueryconnectionV1::CloudResourceProperties::Representation
|
272
|
+
|
273
|
+
property :cloud_spanner, as: 'cloudSpanner', class: Google::Apis::BigqueryconnectionV1::CloudSpannerProperties, decorator: Google::Apis::BigqueryconnectionV1::CloudSpannerProperties::Representation
|
274
|
+
|
275
|
+
property :cloud_sql, as: 'cloudSql', class: Google::Apis::BigqueryconnectionV1::CloudSqlProperties, decorator: Google::Apis::BigqueryconnectionV1::CloudSqlProperties::Representation
|
276
|
+
|
277
|
+
property :creation_time, :numeric_string => true, as: 'creationTime'
|
278
|
+
property :description, as: 'description'
|
279
|
+
property :friendly_name, as: 'friendlyName'
|
280
|
+
property :has_credential, as: 'hasCredential'
|
281
|
+
property :kms_key_name, as: 'kmsKeyName'
|
282
|
+
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
|
283
|
+
property :name, as: 'name'
|
284
|
+
property :salesforce_data_cloud, as: 'salesforceDataCloud', class: Google::Apis::BigqueryconnectionV1::SalesforceDataCloudProperties, decorator: Google::Apis::BigqueryconnectionV1::SalesforceDataCloudProperties::Representation
|
285
|
+
|
286
|
+
property :spark, as: 'spark', class: Google::Apis::BigqueryconnectionV1::SparkProperties, decorator: Google::Apis::BigqueryconnectionV1::SparkProperties::Representation
|
287
|
+
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
class Empty
|
292
|
+
# @private
|
293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
class Expr
|
298
|
+
# @private
|
299
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
300
|
+
property :description, as: 'description'
|
301
|
+
property :expression, as: 'expression'
|
302
|
+
property :location, as: 'location'
|
303
|
+
property :title, as: 'title'
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
class GetIamPolicyRequest
|
308
|
+
# @private
|
309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
+
property :options, as: 'options', class: Google::Apis::BigqueryconnectionV1::GetPolicyOptions, decorator: Google::Apis::BigqueryconnectionV1::GetPolicyOptions::Representation
|
311
|
+
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
class GetPolicyOptions
|
316
|
+
# @private
|
317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
318
|
+
property :requested_policy_version, as: 'requestedPolicyVersion'
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
class ListConnectionsResponse
|
323
|
+
# @private
|
324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
325
|
+
collection :connections, as: 'connections', class: Google::Apis::BigqueryconnectionV1::Connection, decorator: Google::Apis::BigqueryconnectionV1::Connection::Representation
|
326
|
+
|
327
|
+
property :next_page_token, as: 'nextPageToken'
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
331
|
+
class MetastoreServiceConfig
|
332
|
+
# @private
|
333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
334
|
+
property :metastore_service, as: 'metastoreService'
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
338
|
+
class Policy
|
339
|
+
# @private
|
340
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
341
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::BigqueryconnectionV1::AuditConfig, decorator: Google::Apis::BigqueryconnectionV1::AuditConfig::Representation
|
342
|
+
|
343
|
+
collection :bindings, as: 'bindings', class: Google::Apis::BigqueryconnectionV1::Binding, decorator: Google::Apis::BigqueryconnectionV1::Binding::Representation
|
344
|
+
|
345
|
+
property :etag, :base64 => true, as: 'etag'
|
346
|
+
property :version, as: 'version'
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
class SalesforceDataCloudProperties
|
351
|
+
# @private
|
352
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
353
|
+
property :identity, as: 'identity'
|
354
|
+
property :instance_uri, as: 'instanceUri'
|
355
|
+
property :tenant_id, as: 'tenantId'
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
class SetIamPolicyRequest
|
360
|
+
# @private
|
361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
362
|
+
property :policy, as: 'policy', class: Google::Apis::BigqueryconnectionV1::Policy, decorator: Google::Apis::BigqueryconnectionV1::Policy::Representation
|
363
|
+
|
364
|
+
property :update_mask, as: 'updateMask'
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
class SparkHistoryServerConfig
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
property :dataproc_cluster, as: 'dataprocCluster'
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
class SparkProperties
|
376
|
+
# @private
|
377
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
378
|
+
property :metastore_service_config, as: 'metastoreServiceConfig', class: Google::Apis::BigqueryconnectionV1::MetastoreServiceConfig, decorator: Google::Apis::BigqueryconnectionV1::MetastoreServiceConfig::Representation
|
379
|
+
|
380
|
+
property :service_account_id, as: 'serviceAccountId'
|
381
|
+
property :spark_history_server_config, as: 'sparkHistoryServerConfig', class: Google::Apis::BigqueryconnectionV1::SparkHistoryServerConfig, decorator: Google::Apis::BigqueryconnectionV1::SparkHistoryServerConfig::Representation
|
382
|
+
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
class TestIamPermissionsRequest
|
387
|
+
# @private
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
389
|
+
collection :permissions, as: 'permissions'
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
class TestIamPermissionsResponse
|
394
|
+
# @private
|
395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
396
|
+
collection :permissions, as: 'permissions'
|
397
|
+
end
|
398
|
+
end
|
399
|
+
end
|
400
|
+
end
|
401
|
+
end
|