google-apis-bigqueryconnection_v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,349 @@
|
|
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 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module BigqueryconnectionV1
|
23
|
+
# BigQuery Connection API
|
24
|
+
#
|
25
|
+
# Allows users to manage BigQuery connections to external data sources.
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/bigqueryconnection_v1'
|
29
|
+
#
|
30
|
+
# Bigqueryconnection = Google::Apis::BigqueryconnectionV1 # Alias the module
|
31
|
+
# service = Bigqueryconnection::BigQueryConnectionServiceService.new
|
32
|
+
#
|
33
|
+
# @see https://cloud.google.com/bigquery/
|
34
|
+
class BigQueryConnectionServiceService < Google::Apis::Core::BaseService
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://bigqueryconnection.$UNIVERSE_DOMAIN$/"
|
36
|
+
|
37
|
+
# @return [String]
|
38
|
+
# API key. Your API key identifies your project and provides you with API access,
|
39
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
40
|
+
attr_accessor :key
|
41
|
+
|
42
|
+
# @return [String]
|
43
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
44
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
45
|
+
attr_accessor :quota_user
|
46
|
+
|
47
|
+
def initialize
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
49
|
+
client_name: 'google-apis-bigqueryconnection_v1',
|
50
|
+
client_version: Google::Apis::BigqueryconnectionV1::GEM_VERSION)
|
51
|
+
@batch_path = 'batch'
|
52
|
+
end
|
53
|
+
|
54
|
+
# Creates a new connection.
|
55
|
+
# @param [String] parent
|
56
|
+
# Required. Parent resource name. Must be in the format `projects/`project_id`/
|
57
|
+
# locations/`location_id``
|
58
|
+
# @param [Google::Apis::BigqueryconnectionV1::Connection] connection_object
|
59
|
+
# @param [String] connection_id
|
60
|
+
# Optional. Connection id that should be assigned to the created connection.
|
61
|
+
# @param [String] fields
|
62
|
+
# Selector specifying which fields to include in a partial response.
|
63
|
+
# @param [String] quota_user
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
66
|
+
# @param [Google::Apis::RequestOptions] options
|
67
|
+
# Request-specific options
|
68
|
+
#
|
69
|
+
# @yield [result, err] Result & error if block supplied
|
70
|
+
# @yieldparam result [Google::Apis::BigqueryconnectionV1::Connection] parsed result object
|
71
|
+
# @yieldparam err [StandardError] error object if request failed
|
72
|
+
#
|
73
|
+
# @return [Google::Apis::BigqueryconnectionV1::Connection]
|
74
|
+
#
|
75
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
76
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
77
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
78
|
+
def create_project_location_connection(parent, connection_object = nil, connection_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
79
|
+
command = make_simple_command(:post, 'v1/{+parent}/connections', options)
|
80
|
+
command.request_representation = Google::Apis::BigqueryconnectionV1::Connection::Representation
|
81
|
+
command.request_object = connection_object
|
82
|
+
command.response_representation = Google::Apis::BigqueryconnectionV1::Connection::Representation
|
83
|
+
command.response_class = Google::Apis::BigqueryconnectionV1::Connection
|
84
|
+
command.params['parent'] = parent unless parent.nil?
|
85
|
+
command.query['connectionId'] = connection_id unless connection_id.nil?
|
86
|
+
command.query['fields'] = fields unless fields.nil?
|
87
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
88
|
+
execute_or_queue_command(command, &block)
|
89
|
+
end
|
90
|
+
|
91
|
+
# Deletes connection and associated credential.
|
92
|
+
# @param [String] name
|
93
|
+
# Required. Name of the deleted connection, for example: `projects/`project_id`/
|
94
|
+
# locations/`location_id`/connections/`connection_id``
|
95
|
+
# @param [String] fields
|
96
|
+
# Selector specifying which fields to include in a partial response.
|
97
|
+
# @param [String] quota_user
|
98
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
99
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
100
|
+
# @param [Google::Apis::RequestOptions] options
|
101
|
+
# Request-specific options
|
102
|
+
#
|
103
|
+
# @yield [result, err] Result & error if block supplied
|
104
|
+
# @yieldparam result [Google::Apis::BigqueryconnectionV1::Empty] parsed result object
|
105
|
+
# @yieldparam err [StandardError] error object if request failed
|
106
|
+
#
|
107
|
+
# @return [Google::Apis::BigqueryconnectionV1::Empty]
|
108
|
+
#
|
109
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
110
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
111
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
112
|
+
def delete_project_location_connection(name, fields: nil, quota_user: nil, options: nil, &block)
|
113
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
114
|
+
command.response_representation = Google::Apis::BigqueryconnectionV1::Empty::Representation
|
115
|
+
command.response_class = Google::Apis::BigqueryconnectionV1::Empty
|
116
|
+
command.params['name'] = name unless name.nil?
|
117
|
+
command.query['fields'] = fields unless fields.nil?
|
118
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
119
|
+
execute_or_queue_command(command, &block)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Returns specified connection.
|
123
|
+
# @param [String] name
|
124
|
+
# Required. Name of the requested connection, for example: `projects/`project_id`
|
125
|
+
# /locations/`location_id`/connections/`connection_id``
|
126
|
+
# @param [String] fields
|
127
|
+
# Selector specifying which fields to include in a partial response.
|
128
|
+
# @param [String] quota_user
|
129
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
130
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
131
|
+
# @param [Google::Apis::RequestOptions] options
|
132
|
+
# Request-specific options
|
133
|
+
#
|
134
|
+
# @yield [result, err] Result & error if block supplied
|
135
|
+
# @yieldparam result [Google::Apis::BigqueryconnectionV1::Connection] parsed result object
|
136
|
+
# @yieldparam err [StandardError] error object if request failed
|
137
|
+
#
|
138
|
+
# @return [Google::Apis::BigqueryconnectionV1::Connection]
|
139
|
+
#
|
140
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
141
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
142
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
143
|
+
def get_project_location_connection(name, fields: nil, quota_user: nil, options: nil, &block)
|
144
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
145
|
+
command.response_representation = Google::Apis::BigqueryconnectionV1::Connection::Representation
|
146
|
+
command.response_class = Google::Apis::BigqueryconnectionV1::Connection
|
147
|
+
command.params['name'] = name unless name.nil?
|
148
|
+
command.query['fields'] = fields unless fields.nil?
|
149
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
150
|
+
execute_or_queue_command(command, &block)
|
151
|
+
end
|
152
|
+
|
153
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
154
|
+
# resource exists and does not have a policy set.
|
155
|
+
# @param [String] resource
|
156
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
157
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
158
|
+
# appropriate value for this field.
|
159
|
+
# @param [Google::Apis::BigqueryconnectionV1::GetIamPolicyRequest] get_iam_policy_request_object
|
160
|
+
# @param [String] fields
|
161
|
+
# Selector specifying which fields to include in a partial response.
|
162
|
+
# @param [String] quota_user
|
163
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
164
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
165
|
+
# @param [Google::Apis::RequestOptions] options
|
166
|
+
# Request-specific options
|
167
|
+
#
|
168
|
+
# @yield [result, err] Result & error if block supplied
|
169
|
+
# @yieldparam result [Google::Apis::BigqueryconnectionV1::Policy] parsed result object
|
170
|
+
# @yieldparam err [StandardError] error object if request failed
|
171
|
+
#
|
172
|
+
# @return [Google::Apis::BigqueryconnectionV1::Policy]
|
173
|
+
#
|
174
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
175
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
176
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
177
|
+
def get_connection_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
178
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
179
|
+
command.request_representation = Google::Apis::BigqueryconnectionV1::GetIamPolicyRequest::Representation
|
180
|
+
command.request_object = get_iam_policy_request_object
|
181
|
+
command.response_representation = Google::Apis::BigqueryconnectionV1::Policy::Representation
|
182
|
+
command.response_class = Google::Apis::BigqueryconnectionV1::Policy
|
183
|
+
command.params['resource'] = resource unless resource.nil?
|
184
|
+
command.query['fields'] = fields unless fields.nil?
|
185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
186
|
+
execute_or_queue_command(command, &block)
|
187
|
+
end
|
188
|
+
|
189
|
+
# Returns a list of connections in the given project.
|
190
|
+
# @param [String] parent
|
191
|
+
# Required. Parent resource name. Must be in the form: `projects/`project_id`/
|
192
|
+
# locations/`location_id``
|
193
|
+
# @param [Fixnum] page_size
|
194
|
+
# Required. Page size.
|
195
|
+
# @param [String] page_token
|
196
|
+
# Page token.
|
197
|
+
# @param [String] fields
|
198
|
+
# Selector specifying which fields to include in a partial response.
|
199
|
+
# @param [String] quota_user
|
200
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
201
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
202
|
+
# @param [Google::Apis::RequestOptions] options
|
203
|
+
# Request-specific options
|
204
|
+
#
|
205
|
+
# @yield [result, err] Result & error if block supplied
|
206
|
+
# @yieldparam result [Google::Apis::BigqueryconnectionV1::ListConnectionsResponse] parsed result object
|
207
|
+
# @yieldparam err [StandardError] error object if request failed
|
208
|
+
#
|
209
|
+
# @return [Google::Apis::BigqueryconnectionV1::ListConnectionsResponse]
|
210
|
+
#
|
211
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
212
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
213
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
214
|
+
def list_project_location_connections(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
215
|
+
command = make_simple_command(:get, 'v1/{+parent}/connections', options)
|
216
|
+
command.response_representation = Google::Apis::BigqueryconnectionV1::ListConnectionsResponse::Representation
|
217
|
+
command.response_class = Google::Apis::BigqueryconnectionV1::ListConnectionsResponse
|
218
|
+
command.params['parent'] = parent unless parent.nil?
|
219
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
220
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
221
|
+
command.query['fields'] = fields unless fields.nil?
|
222
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
223
|
+
execute_or_queue_command(command, &block)
|
224
|
+
end
|
225
|
+
|
226
|
+
# Updates the specified connection. For security reasons, also resets credential
|
227
|
+
# if connection properties are in the update field mask.
|
228
|
+
# @param [String] name
|
229
|
+
# Required. Name of the connection to update, for example: `projects/`project_id`
|
230
|
+
# /locations/`location_id`/connections/`connection_id``
|
231
|
+
# @param [Google::Apis::BigqueryconnectionV1::Connection] connection_object
|
232
|
+
# @param [String] update_mask
|
233
|
+
# Required. Update mask for the connection fields to be updated.
|
234
|
+
# @param [String] fields
|
235
|
+
# Selector specifying which fields to include in a partial response.
|
236
|
+
# @param [String] quota_user
|
237
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
238
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
239
|
+
# @param [Google::Apis::RequestOptions] options
|
240
|
+
# Request-specific options
|
241
|
+
#
|
242
|
+
# @yield [result, err] Result & error if block supplied
|
243
|
+
# @yieldparam result [Google::Apis::BigqueryconnectionV1::Connection] parsed result object
|
244
|
+
# @yieldparam err [StandardError] error object if request failed
|
245
|
+
#
|
246
|
+
# @return [Google::Apis::BigqueryconnectionV1::Connection]
|
247
|
+
#
|
248
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
249
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
250
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
251
|
+
def patch_project_location_connection(name, connection_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
252
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
253
|
+
command.request_representation = Google::Apis::BigqueryconnectionV1::Connection::Representation
|
254
|
+
command.request_object = connection_object
|
255
|
+
command.response_representation = Google::Apis::BigqueryconnectionV1::Connection::Representation
|
256
|
+
command.response_class = Google::Apis::BigqueryconnectionV1::Connection
|
257
|
+
command.params['name'] = name unless name.nil?
|
258
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
259
|
+
command.query['fields'] = fields unless fields.nil?
|
260
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
261
|
+
execute_or_queue_command(command, &block)
|
262
|
+
end
|
263
|
+
|
264
|
+
# Sets the access control policy on the specified resource. Replaces any
|
265
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
266
|
+
# PERMISSION_DENIED` errors.
|
267
|
+
# @param [String] resource
|
268
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
269
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
270
|
+
# appropriate value for this field.
|
271
|
+
# @param [Google::Apis::BigqueryconnectionV1::SetIamPolicyRequest] set_iam_policy_request_object
|
272
|
+
# @param [String] fields
|
273
|
+
# Selector specifying which fields to include in a partial response.
|
274
|
+
# @param [String] quota_user
|
275
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
276
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
277
|
+
# @param [Google::Apis::RequestOptions] options
|
278
|
+
# Request-specific options
|
279
|
+
#
|
280
|
+
# @yield [result, err] Result & error if block supplied
|
281
|
+
# @yieldparam result [Google::Apis::BigqueryconnectionV1::Policy] parsed result object
|
282
|
+
# @yieldparam err [StandardError] error object if request failed
|
283
|
+
#
|
284
|
+
# @return [Google::Apis::BigqueryconnectionV1::Policy]
|
285
|
+
#
|
286
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
287
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
288
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
289
|
+
def set_connection_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
290
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
291
|
+
command.request_representation = Google::Apis::BigqueryconnectionV1::SetIamPolicyRequest::Representation
|
292
|
+
command.request_object = set_iam_policy_request_object
|
293
|
+
command.response_representation = Google::Apis::BigqueryconnectionV1::Policy::Representation
|
294
|
+
command.response_class = Google::Apis::BigqueryconnectionV1::Policy
|
295
|
+
command.params['resource'] = resource unless resource.nil?
|
296
|
+
command.query['fields'] = fields unless fields.nil?
|
297
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
298
|
+
execute_or_queue_command(command, &block)
|
299
|
+
end
|
300
|
+
|
301
|
+
# Returns permissions that a caller has on the specified resource. If the
|
302
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
303
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
304
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
305
|
+
# This operation may "fail open" without warning.
|
306
|
+
# @param [String] resource
|
307
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
308
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
309
|
+
# appropriate value for this field.
|
310
|
+
# @param [Google::Apis::BigqueryconnectionV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
311
|
+
# @param [String] fields
|
312
|
+
# Selector specifying which fields to include in a partial response.
|
313
|
+
# @param [String] quota_user
|
314
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
315
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
316
|
+
# @param [Google::Apis::RequestOptions] options
|
317
|
+
# Request-specific options
|
318
|
+
#
|
319
|
+
# @yield [result, err] Result & error if block supplied
|
320
|
+
# @yieldparam result [Google::Apis::BigqueryconnectionV1::TestIamPermissionsResponse] parsed result object
|
321
|
+
# @yieldparam err [StandardError] error object if request failed
|
322
|
+
#
|
323
|
+
# @return [Google::Apis::BigqueryconnectionV1::TestIamPermissionsResponse]
|
324
|
+
#
|
325
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
326
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
327
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
328
|
+
def test_connection_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
329
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
330
|
+
command.request_representation = Google::Apis::BigqueryconnectionV1::TestIamPermissionsRequest::Representation
|
331
|
+
command.request_object = test_iam_permissions_request_object
|
332
|
+
command.response_representation = Google::Apis::BigqueryconnectionV1::TestIamPermissionsResponse::Representation
|
333
|
+
command.response_class = Google::Apis::BigqueryconnectionV1::TestIamPermissionsResponse
|
334
|
+
command.params['resource'] = resource unless resource.nil?
|
335
|
+
command.query['fields'] = fields unless fields.nil?
|
336
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
337
|
+
execute_or_queue_command(command, &block)
|
338
|
+
end
|
339
|
+
|
340
|
+
protected
|
341
|
+
|
342
|
+
def apply_command_defaults(command)
|
343
|
+
command.query['key'] = key unless key.nil?
|
344
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
345
|
+
end
|
346
|
+
end
|
347
|
+
end
|
348
|
+
end
|
349
|
+
end
|
@@ -0,0 +1,39 @@
|
|
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 'google/apis/bigqueryconnection_v1/service.rb'
|
16
|
+
require 'google/apis/bigqueryconnection_v1/classes.rb'
|
17
|
+
require 'google/apis/bigqueryconnection_v1/representations.rb'
|
18
|
+
require 'google/apis/bigqueryconnection_v1/gem_version.rb'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
# BigQuery Connection API
|
23
|
+
#
|
24
|
+
# Allows users to manage BigQuery connections to external data sources.
|
25
|
+
#
|
26
|
+
# @see https://cloud.google.com/bigquery/
|
27
|
+
module BigqueryconnectionV1
|
28
|
+
# Version of the BigQuery Connection API this client connects to.
|
29
|
+
# This is NOT the gem version.
|
30
|
+
VERSION = 'V1'
|
31
|
+
|
32
|
+
# View and manage your data in Google BigQuery and see the email address for your Google Account
|
33
|
+
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
34
|
+
|
35
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
36
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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 "google/apis/bigqueryconnection_v1"
|
metadata
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: google-apis-bigqueryconnection_v1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Google LLC
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: google-apis-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.12.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.12.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.a
|
33
|
+
description: This is the simple REST client for BigQuery Connection API V1. Simple
|
34
|
+
REST clients are Ruby client libraries that provide access to Google services via
|
35
|
+
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
36
|
+
based on the discovery documents published by the service, and they handle most
|
37
|
+
concerns such as authentication, pagination, retry, timeouts, and logging. You can
|
38
|
+
use this client to access the BigQuery Connection API, but note that some services
|
39
|
+
may provide a separate modern client that is easier to use.
|
40
|
+
email: googleapis-packages@google.com
|
41
|
+
executables: []
|
42
|
+
extensions: []
|
43
|
+
extra_rdoc_files: []
|
44
|
+
files:
|
45
|
+
- ".yardopts"
|
46
|
+
- CHANGELOG.md
|
47
|
+
- LICENSE.md
|
48
|
+
- OVERVIEW.md
|
49
|
+
- lib/google-apis-bigqueryconnection_v1.rb
|
50
|
+
- lib/google/apis/bigqueryconnection_v1.rb
|
51
|
+
- lib/google/apis/bigqueryconnection_v1/classes.rb
|
52
|
+
- lib/google/apis/bigqueryconnection_v1/gem_version.rb
|
53
|
+
- lib/google/apis/bigqueryconnection_v1/representations.rb
|
54
|
+
- lib/google/apis/bigqueryconnection_v1/service.rb
|
55
|
+
homepage: https://github.com/google/google-api-ruby-client
|
56
|
+
licenses:
|
57
|
+
- Apache-2.0
|
58
|
+
metadata:
|
59
|
+
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryconnection_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryconnection_v1/v0.1.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryconnection_v1
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options: []
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '2.5'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
requirements: []
|
78
|
+
rubygems_version: 3.5.3
|
79
|
+
signing_key:
|
80
|
+
specification_version: 4
|
81
|
+
summary: Simple REST client for BigQuery Connection API V1
|
82
|
+
test_files: []
|