google-cloud-bigquery-data_transfer-v1 0.6.1 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service/client.rb +53 -44
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service.rb +1 -1
- data/lib/google/cloud/bigquery/data_transfer/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/data_transfer/v1.rb +2 -2
- data/proto_docs/google/cloud/bigquery/datatransfer/v1/datatransfer.rb +23 -20
- data/proto_docs/google/cloud/bigquery/datatransfer/v1/transfer.rb +7 -6
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +29 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df1c9361ff7e209e6ce72095d2c7060cc46c2f72225f427b0e6bc9f90e7e9898
|
4
|
+
data.tar.gz: eb0032ed76a0b045ac2ba1b7506509057ea66d04e7454baebbe9871a1d9fc87c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8624a0d57fb9e27153e98346e3e84d6a4dd3d05503a3d23aa6e4ff4bb54ce466097c0f7c8ed83463548b37e009aa0c1e669b475dd61e7b5977058d78fb9cbed
|
7
|
+
data.tar.gz: 3f0b3bef56fa987e04e7e3da6c17cbe1ae005dbd385a05d67ec9c590466dcfb89678affa3dc2160508b0c935e92843fce719da8e27cdf2e6015b51877adbdf25
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the BigQuery Data Transfer Service V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.
|
4
4
|
|
5
5
|
Schedules queries and transfers external data from SaaS applications to Google BigQuery on a regular basis.
|
6
6
|
|
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/bigquery/datatransfer/v1/datatransfer_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -190,6 +191,12 @@ module Google
|
|
190
191
|
@quota_project_id = @config.quota_project
|
191
192
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
192
193
|
|
194
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
195
|
+
config.credentials = credentials
|
196
|
+
config.quota_project = @quota_project_id
|
197
|
+
config.endpoint = @config.endpoint
|
198
|
+
end
|
199
|
+
|
193
200
|
@data_transfer_service_stub = ::Gapic::ServiceStub.new(
|
194
201
|
::Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Stub,
|
195
202
|
credentials: credentials,
|
@@ -199,6 +206,13 @@ module Google
|
|
199
206
|
)
|
200
207
|
end
|
201
208
|
|
209
|
+
##
|
210
|
+
# Get the associated client for mix-in of the Locations.
|
211
|
+
#
|
212
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
213
|
+
#
|
214
|
+
attr_reader :location_client
|
215
|
+
|
202
216
|
# Service calls
|
203
217
|
|
204
218
|
##
|
@@ -220,8 +234,8 @@ module Google
|
|
220
234
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
221
235
|
#
|
222
236
|
# @param name [::String]
|
223
|
-
# Required. The field will contain name of the resource requested, for
|
224
|
-
# `projects/{project_id}/dataSources/{data_source_id}` or
|
237
|
+
# Required. The field will contain name of the resource requested, for
|
238
|
+
# example: `projects/{project_id}/dataSources/{data_source_id}` or
|
225
239
|
# `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
|
226
240
|
#
|
227
241
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -307,8 +321,8 @@ module Google
|
|
307
321
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
308
322
|
#
|
309
323
|
# @param parent [::String]
|
310
|
-
# Required. The BigQuery project id for which data sources should be
|
311
|
-
# Must be in the form: `projects/{project_id}` or
|
324
|
+
# Required. The BigQuery project id for which data sources should be
|
325
|
+
# returned. Must be in the form: `projects/{project_id}` or
|
312
326
|
# `projects/{project_id}/locations/{location_id}`
|
313
327
|
# @param page_token [::String]
|
314
328
|
# Pagination token, which can be used to request a specific page
|
@@ -339,13 +353,11 @@ module Google
|
|
339
353
|
# # Call the list_data_sources method.
|
340
354
|
# result = client.list_data_sources request
|
341
355
|
#
|
342
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
343
|
-
# #
|
344
|
-
#
|
345
|
-
# # methods are also available for managing paging directly.
|
346
|
-
# result.each do |response|
|
356
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
357
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
358
|
+
# result.each do |item|
|
347
359
|
# # Each element is of type ::Google::Cloud::Bigquery::DataTransfer::V1::DataSource.
|
348
|
-
# p
|
360
|
+
# p item
|
349
361
|
# end
|
350
362
|
#
|
351
363
|
def list_data_sources request, options = nil
|
@@ -409,10 +421,11 @@ module Google
|
|
409
421
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
410
422
|
#
|
411
423
|
# @param parent [::String]
|
412
|
-
# Required. The BigQuery project id where the transfer configuration should
|
413
|
-
# Must be in the format
|
414
|
-
# projects/\\{project_id}. If
|
415
|
-
#
|
424
|
+
# Required. The BigQuery project id where the transfer configuration should
|
425
|
+
# be created. Must be in the format
|
426
|
+
# projects/\\{project_id}/locations/\\{location_id} or projects/\\{project_id}. If
|
427
|
+
# specified location and location of the destination bigquery dataset do not
|
428
|
+
# match - the request will fail.
|
416
429
|
# @param transfer_config [::Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig, ::Hash]
|
417
430
|
# Required. Data transfer configuration to create.
|
418
431
|
# @param authorization_code [::String]
|
@@ -446,7 +459,7 @@ module Google
|
|
446
459
|
# Note that this should not be set when `service_account_name` is used to
|
447
460
|
# create the transfer config.
|
448
461
|
# @param service_account_name [::String]
|
449
|
-
# Optional service account
|
462
|
+
# Optional service account email. If this field is set, the transfer config
|
450
463
|
# will be created with this service account's credentials. It requires that
|
451
464
|
# the requesting user calling this API has permissions to act as this service
|
452
465
|
# account.
|
@@ -574,7 +587,7 @@ module Google
|
|
574
587
|
# Note that this should not be set when `service_account_name` is used to
|
575
588
|
# update the transfer config.
|
576
589
|
# @param service_account_name [::String]
|
577
|
-
# Optional service account
|
590
|
+
# Optional service account email. If this field is set, the transfer config
|
578
591
|
# will be created with this service account's credentials. It requires that
|
579
592
|
# the requesting user calling this API has permissions to act as this service
|
580
593
|
# account.
|
@@ -668,8 +681,8 @@ module Google
|
|
668
681
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
669
682
|
#
|
670
683
|
# @param name [::String]
|
671
|
-
# Required. The field will contain name of the resource requested, for
|
672
|
-
# `projects/{project_id}/transferConfigs/{config_id}` or
|
684
|
+
# Required. The field will contain name of the resource requested, for
|
685
|
+
# example: `projects/{project_id}/transferConfigs/{config_id}` or
|
673
686
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
|
674
687
|
#
|
675
688
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -755,8 +768,8 @@ module Google
|
|
755
768
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
756
769
|
#
|
757
770
|
# @param name [::String]
|
758
|
-
# Required. The field will contain name of the resource requested, for
|
759
|
-
# `projects/{project_id}/transferConfigs/{config_id}` or
|
771
|
+
# Required. The field will contain name of the resource requested, for
|
772
|
+
# example: `projects/{project_id}/transferConfigs/{config_id}` or
|
760
773
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
|
761
774
|
#
|
762
775
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -877,13 +890,11 @@ module Google
|
|
877
890
|
# # Call the list_transfer_configs method.
|
878
891
|
# result = client.list_transfer_configs request
|
879
892
|
#
|
880
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
881
|
-
# #
|
882
|
-
#
|
883
|
-
# # methods are also available for managing paging directly.
|
884
|
-
# result.each do |response|
|
893
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
894
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
895
|
+
# result.each do |item|
|
885
896
|
# # Each element is of type ::Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig.
|
886
|
-
# p
|
897
|
+
# p item
|
887
898
|
# end
|
888
899
|
#
|
889
900
|
def list_transfer_configs request, options = nil
|
@@ -1141,8 +1152,9 @@ module Google
|
|
1141
1152
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1142
1153
|
#
|
1143
1154
|
# @param name [::String]
|
1144
|
-
# Required. The field will contain name of the resource requested, for
|
1145
|
-
# `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
|
1155
|
+
# Required. The field will contain name of the resource requested, for
|
1156
|
+
# example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
|
1157
|
+
# or
|
1146
1158
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
|
1147
1159
|
#
|
1148
1160
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -1228,8 +1240,9 @@ module Google
|
|
1228
1240
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1229
1241
|
#
|
1230
1242
|
# @param name [::String]
|
1231
|
-
# Required. The field will contain name of the resource requested, for
|
1232
|
-
# `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
|
1243
|
+
# Required. The field will contain name of the resource requested, for
|
1244
|
+
# example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
|
1245
|
+
# or
|
1233
1246
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
|
1234
1247
|
#
|
1235
1248
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -1315,8 +1328,8 @@ module Google
|
|
1315
1328
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1316
1329
|
#
|
1317
1330
|
# @param parent [::String]
|
1318
|
-
# Required. Name of transfer configuration for which transfer runs should be
|
1319
|
-
# Format of transfer configuration resource name is:
|
1331
|
+
# Required. Name of transfer configuration for which transfer runs should be
|
1332
|
+
# retrieved. Format of transfer configuration resource name is:
|
1320
1333
|
# `projects/{project_id}/transferConfigs/{config_id}` or
|
1321
1334
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
|
1322
1335
|
# @param states [::Array<::Google::Cloud::Bigquery::DataTransfer::V1::TransferState>]
|
@@ -1352,13 +1365,11 @@ module Google
|
|
1352
1365
|
# # Call the list_transfer_runs method.
|
1353
1366
|
# result = client.list_transfer_runs request
|
1354
1367
|
#
|
1355
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1356
|
-
# #
|
1357
|
-
#
|
1358
|
-
# # methods are also available for managing paging directly.
|
1359
|
-
# result.each do |response|
|
1368
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1369
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1370
|
+
# result.each do |item|
|
1360
1371
|
# # Each element is of type ::Google::Cloud::Bigquery::DataTransfer::V1::TransferRun.
|
1361
|
-
# p
|
1372
|
+
# p item
|
1362
1373
|
# end
|
1363
1374
|
#
|
1364
1375
|
def list_transfer_runs request, options = nil
|
@@ -1457,13 +1468,11 @@ module Google
|
|
1457
1468
|
# # Call the list_transfer_logs method.
|
1458
1469
|
# result = client.list_transfer_logs request
|
1459
1470
|
#
|
1460
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1461
|
-
# #
|
1462
|
-
#
|
1463
|
-
# # methods are also available for managing paging directly.
|
1464
|
-
# result.each do |response|
|
1471
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1472
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1473
|
+
# result.each do |item|
|
1465
1474
|
# # Each element is of type ::Google::Cloud::Bigquery::DataTransfer::V1::TransferMessage.
|
1466
|
-
# p
|
1475
|
+
# p item
|
1467
1476
|
# end
|
1468
1477
|
#
|
1469
1478
|
def list_transfer_logs request, options = nil
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
##
|
35
35
|
# This API allows users to manage their data transfers into BigQuery.
|
36
36
|
#
|
37
|
-
#
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
38
38
|
#
|
39
39
|
# require "google/cloud/bigquery/data_transfer/v1/data_transfer_service"
|
40
40
|
# client = ::Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Client.new
|
@@ -24,9 +24,9 @@ module Google
|
|
24
24
|
module Bigquery
|
25
25
|
module DataTransfer
|
26
26
|
##
|
27
|
-
#
|
27
|
+
# API client module.
|
28
28
|
#
|
29
|
-
# @example
|
29
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
30
|
#
|
31
31
|
# require "google/cloud/bigquery/data_transfer/v1"
|
32
32
|
# client = ::Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Client.new
|
@@ -213,8 +213,8 @@ module Google
|
|
213
213
|
# A request to get data source info.
|
214
214
|
# @!attribute [rw] name
|
215
215
|
# @return [::String]
|
216
|
-
# Required. The field will contain name of the resource requested, for
|
217
|
-
# `projects/{project_id}/dataSources/{data_source_id}` or
|
216
|
+
# Required. The field will contain name of the resource requested, for
|
217
|
+
# example: `projects/{project_id}/dataSources/{data_source_id}` or
|
218
218
|
# `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
|
219
219
|
class GetDataSourceRequest
|
220
220
|
include ::Google::Protobuf::MessageExts
|
@@ -224,8 +224,8 @@ module Google
|
|
224
224
|
# Request to list supported data sources and their data transfer settings.
|
225
225
|
# @!attribute [rw] parent
|
226
226
|
# @return [::String]
|
227
|
-
# Required. The BigQuery project id for which data sources should be
|
228
|
-
# Must be in the form: `projects/{project_id}` or
|
227
|
+
# Required. The BigQuery project id for which data sources should be
|
228
|
+
# returned. Must be in the form: `projects/{project_id}` or
|
229
229
|
# `projects/{project_id}/locations/{location_id}`
|
230
230
|
# @!attribute [rw] page_token
|
231
231
|
# @return [::String]
|
@@ -265,10 +265,11 @@ module Google
|
|
265
265
|
# user.
|
266
266
|
# @!attribute [rw] parent
|
267
267
|
# @return [::String]
|
268
|
-
# Required. The BigQuery project id where the transfer configuration should
|
269
|
-
# Must be in the format
|
270
|
-
# projects/\\{project_id}. If
|
271
|
-
#
|
268
|
+
# Required. The BigQuery project id where the transfer configuration should
|
269
|
+
# be created. Must be in the format
|
270
|
+
# projects/\\{project_id}/locations/\\{location_id} or projects/\\{project_id}. If
|
271
|
+
# specified location and location of the destination bigquery dataset do not
|
272
|
+
# match - the request will fail.
|
272
273
|
# @!attribute [rw] transfer_config
|
273
274
|
# @return [::Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig]
|
274
275
|
# Required. Data transfer configuration to create.
|
@@ -306,7 +307,7 @@ module Google
|
|
306
307
|
# create the transfer config.
|
307
308
|
# @!attribute [rw] service_account_name
|
308
309
|
# @return [::String]
|
309
|
-
# Optional service account
|
310
|
+
# Optional service account email. If this field is set, the transfer config
|
310
311
|
# will be created with this service account's credentials. It requires that
|
311
312
|
# the requesting user calling this API has permissions to act as this service
|
312
313
|
# account.
|
@@ -362,7 +363,7 @@ module Google
|
|
362
363
|
# update the transfer config.
|
363
364
|
# @!attribute [rw] service_account_name
|
364
365
|
# @return [::String]
|
365
|
-
# Optional service account
|
366
|
+
# Optional service account email. If this field is set, the transfer config
|
366
367
|
# will be created with this service account's credentials. It requires that
|
367
368
|
# the requesting user calling this API has permissions to act as this service
|
368
369
|
# account.
|
@@ -379,8 +380,8 @@ module Google
|
|
379
380
|
# A request to get data transfer information.
|
380
381
|
# @!attribute [rw] name
|
381
382
|
# @return [::String]
|
382
|
-
# Required. The field will contain name of the resource requested, for
|
383
|
-
# `projects/{project_id}/transferConfigs/{config_id}` or
|
383
|
+
# Required. The field will contain name of the resource requested, for
|
384
|
+
# example: `projects/{project_id}/transferConfigs/{config_id}` or
|
384
385
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
|
385
386
|
class GetTransferConfigRequest
|
386
387
|
include ::Google::Protobuf::MessageExts
|
@@ -391,8 +392,8 @@ module Google
|
|
391
392
|
# and log messages will be deleted as well.
|
392
393
|
# @!attribute [rw] name
|
393
394
|
# @return [::String]
|
394
|
-
# Required. The field will contain name of the resource requested, for
|
395
|
-
# `projects/{project_id}/transferConfigs/{config_id}` or
|
395
|
+
# Required. The field will contain name of the resource requested, for
|
396
|
+
# example: `projects/{project_id}/transferConfigs/{config_id}` or
|
396
397
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
|
397
398
|
class DeleteTransferConfigRequest
|
398
399
|
include ::Google::Protobuf::MessageExts
|
@@ -402,8 +403,9 @@ module Google
|
|
402
403
|
# A request to get data transfer run information.
|
403
404
|
# @!attribute [rw] name
|
404
405
|
# @return [::String]
|
405
|
-
# Required. The field will contain name of the resource requested, for
|
406
|
-
# `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
|
406
|
+
# Required. The field will contain name of the resource requested, for
|
407
|
+
# example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
|
408
|
+
# or
|
407
409
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
|
408
410
|
class GetTransferRunRequest
|
409
411
|
include ::Google::Protobuf::MessageExts
|
@@ -413,8 +415,9 @@ module Google
|
|
413
415
|
# A request to delete data transfer run information.
|
414
416
|
# @!attribute [rw] name
|
415
417
|
# @return [::String]
|
416
|
-
# Required. The field will contain name of the resource requested, for
|
417
|
-
# `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
|
418
|
+
# Required. The field will contain name of the resource requested, for
|
419
|
+
# example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
|
420
|
+
# or
|
418
421
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
|
419
422
|
class DeleteTransferRunRequest
|
420
423
|
include ::Google::Protobuf::MessageExts
|
@@ -463,8 +466,8 @@ module Google
|
|
463
466
|
# A request to list data transfer runs.
|
464
467
|
# @!attribute [rw] parent
|
465
468
|
# @return [::String]
|
466
|
-
# Required. Name of transfer configuration for which transfer runs should be
|
467
|
-
# Format of transfer configuration resource name is:
|
469
|
+
# Required. Name of transfer configuration for which transfer runs should be
|
470
|
+
# retrieved. Format of transfer configuration resource name is:
|
468
471
|
# `projects/{project_id}/transferConfigs/{config_id}` or
|
469
472
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
|
470
473
|
# @!attribute [rw] states
|
@@ -156,9 +156,9 @@ module Google
|
|
156
156
|
# to the email address of the user who owns this transfer config.
|
157
157
|
# @!attribute [r] owner_info
|
158
158
|
# @return [::Google::Cloud::Bigquery::DataTransfer::V1::UserInfo]
|
159
|
-
# Output only. Information about the user whose credentials are used to
|
160
|
-
# Populated only for `transferConfigs.get` requests. In case
|
161
|
-
# information is not available, this field will not be populated.
|
159
|
+
# Output only. Information about the user whose credentials are used to
|
160
|
+
# transfer data. Populated only for `transferConfigs.get` requests. In case
|
161
|
+
# the user information is not available, this field will not be populated.
|
162
162
|
class TransferConfig
|
163
163
|
include ::Google::Protobuf::MessageExts
|
164
164
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -194,9 +194,10 @@ module Google
|
|
194
194
|
# Output only. Last time the data transfer run state was updated.
|
195
195
|
# @!attribute [r] params
|
196
196
|
# @return [::Google::Protobuf::Struct]
|
197
|
-
# Output only. Parameters specific to each data source. For more information
|
198
|
-
# bq tab in the 'Setting up a data transfer' section for each data
|
199
|
-
# For example the parameters for Cloud Storage transfers are listed
|
197
|
+
# Output only. Parameters specific to each data source. For more information
|
198
|
+
# see the bq tab in the 'Setting up a data transfer' section for each data
|
199
|
+
# source. For example the parameters for Cloud Storage transfers are listed
|
200
|
+
# here:
|
200
201
|
# https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
|
201
202
|
# @!attribute [r] destination_dataset_id
|
202
203
|
# @return [::String]
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-data_transfer-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -44,20 +44,40 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.4'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.4'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: google-style
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
50
70
|
requirements:
|
51
71
|
- - "~>"
|
52
72
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
73
|
+
version: 1.26.3
|
54
74
|
type: :development
|
55
75
|
prerelease: false
|
56
76
|
version_requirements: !ruby/object:Gem::Requirement
|
57
77
|
requirements:
|
58
78
|
- - "~>"
|
59
79
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.
|
80
|
+
version: 1.26.3
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: minitest
|
63
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,8 +234,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
234
|
- !ruby/object:Gem::Version
|
215
235
|
version: '0'
|
216
236
|
requirements: []
|
217
|
-
rubygems_version: 3.
|
237
|
+
rubygems_version: 3.4.2
|
218
238
|
signing_key:
|
219
239
|
specification_version: 4
|
220
|
-
summary:
|
240
|
+
summary: Schedule queries or transfer external data from SaaS applications to Google
|
241
|
+
BigQuery on a regular basis.
|
221
242
|
test_files: []
|