google-cloud-bigquery-data_transfer-v1 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5ac24f10540929f3bde8dcb5a4186182a294d48393c37120f0f5c8454e660da
4
- data.tar.gz: 75c4e15572b025ec95158d68c414d901ca95426ebac192bf49af5f4cbd2ae86b
3
+ metadata.gz: df1c9361ff7e209e6ce72095d2c7060cc46c2f72225f427b0e6bc9f90e7e9898
4
+ data.tar.gz: eb0032ed76a0b045ac2ba1b7506509057ea66d04e7454baebbe9871a1d9fc87c
5
5
  SHA512:
6
- metadata.gz: da11924741a1b9efdec00cd75173da83c330632fb57cfd07774e6d52cb5164d5b602dab7d46b9e8ef95c67aa29563cae88c0bebf134aa4225324e5a743113304
7
- data.tar.gz: 8e59e4d6bec516eb97302812c51507ab1a5c1c0654b9b2bf13221fb4804dc09225ea75b56a54922a8ed01df74557d5f88f85c3858b5c4edc0ed5a4c127b82645
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
- API Client library for the BigQuery Data Transfer Service V1 API
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
 
@@ -234,8 +234,8 @@ module Google
234
234
  # the default parameter values, pass an empty Hash as a request object (see above).
235
235
  #
236
236
  # @param name [::String]
237
- # Required. The field will contain name of the resource requested, for example:
238
- # `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
239
239
  # `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
240
240
  #
241
241
  # @yield [response, operation] Access the result along with the RPC operation
@@ -321,8 +321,8 @@ module Google
321
321
  # the default parameter values, pass an empty Hash as a request object (see above).
322
322
  #
323
323
  # @param parent [::String]
324
- # Required. The BigQuery project id for which data sources should be returned.
325
- # 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
326
326
  # `projects/{project_id}/locations/{location_id}`
327
327
  # @param page_token [::String]
328
328
  # Pagination token, which can be used to request a specific page
@@ -353,13 +353,11 @@ module Google
353
353
  # # Call the list_data_sources method.
354
354
  # result = client.list_data_sources request
355
355
  #
356
- # # The returned object is of type Gapic::PagedEnumerable. You can
357
- # # iterate over all elements by calling #each, and the enumerable
358
- # # will lazily make API calls to fetch subsequent pages. Other
359
- # # methods are also available for managing paging directly.
360
- # 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|
361
359
  # # Each element is of type ::Google::Cloud::Bigquery::DataTransfer::V1::DataSource.
362
- # p response
360
+ # p item
363
361
  # end
364
362
  #
365
363
  def list_data_sources request, options = nil
@@ -423,10 +421,11 @@ module Google
423
421
  # the default parameter values, pass an empty Hash as a request object (see above).
424
422
  #
425
423
  # @param parent [::String]
426
- # Required. The BigQuery project id where the transfer configuration should be created.
427
- # Must be in the format projects/\\{project_id}/locations/\\{location_id} or
428
- # projects/\\{project_id}. If specified location and location of the
429
- # destination bigquery dataset do not match - the request will fail.
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.
430
429
  # @param transfer_config [::Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig, ::Hash]
431
430
  # Required. Data transfer configuration to create.
432
431
  # @param authorization_code [::String]
@@ -460,7 +459,7 @@ module Google
460
459
  # Note that this should not be set when `service_account_name` is used to
461
460
  # create the transfer config.
462
461
  # @param service_account_name [::String]
463
- # Optional service account name. If this field is set, the transfer config
462
+ # Optional service account email. If this field is set, the transfer config
464
463
  # will be created with this service account's credentials. It requires that
465
464
  # the requesting user calling this API has permissions to act as this service
466
465
  # account.
@@ -588,7 +587,7 @@ module Google
588
587
  # Note that this should not be set when `service_account_name` is used to
589
588
  # update the transfer config.
590
589
  # @param service_account_name [::String]
591
- # Optional service account name. If this field is set, the transfer config
590
+ # Optional service account email. If this field is set, the transfer config
592
591
  # will be created with this service account's credentials. It requires that
593
592
  # the requesting user calling this API has permissions to act as this service
594
593
  # account.
@@ -682,8 +681,8 @@ module Google
682
681
  # the default parameter values, pass an empty Hash as a request object (see above).
683
682
  #
684
683
  # @param name [::String]
685
- # Required. The field will contain name of the resource requested, for example:
686
- # `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
687
686
  # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
688
687
  #
689
688
  # @yield [response, operation] Access the result along with the RPC operation
@@ -769,8 +768,8 @@ module Google
769
768
  # the default parameter values, pass an empty Hash as a request object (see above).
770
769
  #
771
770
  # @param name [::String]
772
- # Required. The field will contain name of the resource requested, for example:
773
- # `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
774
773
  # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
775
774
  #
776
775
  # @yield [response, operation] Access the result along with the RPC operation
@@ -891,13 +890,11 @@ module Google
891
890
  # # Call the list_transfer_configs method.
892
891
  # result = client.list_transfer_configs request
893
892
  #
894
- # # The returned object is of type Gapic::PagedEnumerable. You can
895
- # # iterate over all elements by calling #each, and the enumerable
896
- # # will lazily make API calls to fetch subsequent pages. Other
897
- # # methods are also available for managing paging directly.
898
- # 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|
899
896
  # # Each element is of type ::Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig.
900
- # p response
897
+ # p item
901
898
  # end
902
899
  #
903
900
  def list_transfer_configs request, options = nil
@@ -1155,8 +1152,9 @@ module Google
1155
1152
  # the default parameter values, pass an empty Hash as a request object (see above).
1156
1153
  #
1157
1154
  # @param name [::String]
1158
- # Required. The field will contain name of the resource requested, for example:
1159
- # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
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
1160
1158
  # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
1161
1159
  #
1162
1160
  # @yield [response, operation] Access the result along with the RPC operation
@@ -1242,8 +1240,9 @@ module Google
1242
1240
  # the default parameter values, pass an empty Hash as a request object (see above).
1243
1241
  #
1244
1242
  # @param name [::String]
1245
- # Required. The field will contain name of the resource requested, for example:
1246
- # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
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
1247
1246
  # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
1248
1247
  #
1249
1248
  # @yield [response, operation] Access the result along with the RPC operation
@@ -1329,8 +1328,8 @@ module Google
1329
1328
  # the default parameter values, pass an empty Hash as a request object (see above).
1330
1329
  #
1331
1330
  # @param parent [::String]
1332
- # Required. Name of transfer configuration for which transfer runs should be retrieved.
1333
- # 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:
1334
1333
  # `projects/{project_id}/transferConfigs/{config_id}` or
1335
1334
  # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
1336
1335
  # @param states [::Array<::Google::Cloud::Bigquery::DataTransfer::V1::TransferState>]
@@ -1366,13 +1365,11 @@ module Google
1366
1365
  # # Call the list_transfer_runs method.
1367
1366
  # result = client.list_transfer_runs request
1368
1367
  #
1369
- # # The returned object is of type Gapic::PagedEnumerable. You can
1370
- # # iterate over all elements by calling #each, and the enumerable
1371
- # # will lazily make API calls to fetch subsequent pages. Other
1372
- # # methods are also available for managing paging directly.
1373
- # 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|
1374
1371
  # # Each element is of type ::Google::Cloud::Bigquery::DataTransfer::V1::TransferRun.
1375
- # p response
1372
+ # p item
1376
1373
  # end
1377
1374
  #
1378
1375
  def list_transfer_runs request, options = nil
@@ -1471,13 +1468,11 @@ module Google
1471
1468
  # # Call the list_transfer_logs method.
1472
1469
  # result = client.list_transfer_logs request
1473
1470
  #
1474
- # # The returned object is of type Gapic::PagedEnumerable. You can
1475
- # # iterate over all elements by calling #each, and the enumerable
1476
- # # will lazily make API calls to fetch subsequent pages. Other
1477
- # # methods are also available for managing paging directly.
1478
- # 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|
1479
1474
  # # Each element is of type ::Google::Cloud::Bigquery::DataTransfer::V1::TransferMessage.
1480
- # p response
1475
+ # p item
1481
1476
  # end
1482
1477
  #
1483
1478
  def list_transfer_logs request, options = nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module DataTransfer
24
24
  module V1
25
- VERSION = "0.7.0"
25
+ VERSION = "0.7.1"
26
26
  end
27
27
  end
28
28
  end
@@ -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 example:
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 returned.
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 be created.
269
- # Must be in the format projects/\\{project_id}/locations/\\{location_id} or
270
- # projects/\\{project_id}. If specified location and location of the
271
- # destination bigquery dataset do not match - the request will fail.
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 name. If this field is set, the transfer config
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 name. If this field is set, the transfer config
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 example:
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 example:
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 example:
406
- # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
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 example:
417
- # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
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 retrieved.
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 transfer data.
160
- # Populated only for `transferConfigs.get` requests. In case the user
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 see the
198
- # bq tab in the 'Setting up a data transfer' section for each data source.
199
- # For example the parameters for Cloud Storage transfers are listed here:
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]
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.7.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: 2023-01-06 00:00:00.000000000 Z
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: 0.16.0
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: 0.16.0
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.0'
53
+ version: '0.4'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.0'
63
+ version: '0.4'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -70,14 +70,14 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: 1.26.1
73
+ version: 1.26.3
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: 1.26.1
80
+ version: 1.26.3
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: minitest
83
83
  requirement: !ruby/object:Gem::Requirement
@@ -234,8 +234,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  - !ruby/object:Gem::Version
235
235
  version: '0'
236
236
  requirements: []
237
- rubygems_version: 3.3.14
237
+ rubygems_version: 3.4.2
238
238
  signing_key:
239
239
  specification_version: 4
240
- summary: API Client library for the BigQuery Data Transfer Service V1 API
240
+ summary: Schedule queries or transfer external data from SaaS applications to Google
241
+ BigQuery on a regular basis.
241
242
  test_files: []