google-cloud-bigquery-data_transfer 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/bigquery/data_transfer.rb +6 -0
  3. data/lib/google/cloud/bigquery/data_transfer/credentials.rb +1 -0
  4. data/lib/google/cloud/bigquery/data_transfer/v1.rb +6 -0
  5. data/lib/google/cloud/bigquery/data_transfer/v1/credentials.rb +1 -0
  6. data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_pb.rb +1 -0
  7. data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service_client.rb +14 -12
  8. data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_services_pb.rb +1 -0
  9. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/data_transfer/v1/data_transfer.rb +13 -12
  10. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/data_transfer/v1/transfer.rb +3 -2
  11. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb +13 -12
  12. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/transfer.rb +3 -2
  13. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/any.rb +14 -8
  14. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/duration.rb +1 -0
  15. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/empty.rb +1 -0
  16. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/field_mask.rb +7 -0
  17. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/struct.rb +1 -0
  18. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/timestamp.rb +9 -6
  19. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/wrappers.rb +1 -0
  20. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/rpc/status.rb +1 -0
  21. data/lib/google/cloud/bigquery/data_transfer/v1/doc/overview.rb +1 -0
  22. data/lib/google/cloud/bigquery/data_transfer/v1/transfer_pb.rb +1 -0
  23. data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_pb.rb +1 -0
  24. data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_services_pb.rb +1 -0
  25. data/lib/google/cloud/bigquery/datatransfer/v1/transfer_pb.rb +1 -0
  26. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 639e1d9f10ff4d04e872b797f32fdbe2eb6bc19df7f26fa51222909e4aa61c81
4
- data.tar.gz: 9a28bc99bb62c62acd4d2741ce4d027dfd55f9db55266442b8f095fd6e44f87f
3
+ metadata.gz: 33aea81129379f3601b6ba0f86f43963dc5e9ef660bbb7c297e3e64ae7072843
4
+ data.tar.gz: c8b2d67e1f3a58aafc4f79d794ec68188b6e712f8d5dd64f007bbca61711bb09
5
5
  SHA512:
6
- metadata.gz: b282e52d094bf8d7d20d378b12202a78b792caf537807f5c8517169171d8027909c05b2d7c84757a2d84432be912f7648d6626f14d7e611ec5292b252133e7c2
7
- data.tar.gz: 9f927bca578cc4edee901e11777f499cfd95017dc412825fdbb8427a693b82543d5e9d7519ce96d98aaa2429827d365abde191ec59e7b3c4ea91cce9d2dd83d3
6
+ metadata.gz: 4132dcbe28e774b73706398ec5677c2bd112ecd0fa0e018749aaec3febf303f6dd150cf4192604f5183a30062796ae88d0ff72a2f0eda848cc9a8daff3538d2f
7
+ data.tar.gz: 438739124cbef463ac281a9320715431ca649e1d646a9c4caa08e81e19700698e108a06ff49a30b48a108aa3f0e48c2c98cf1fdcbc08eba7a63aa721a9d501f1
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/gax"
16
17
  require "pathname"
17
18
 
@@ -37,6 +38,11 @@ module Google
37
38
  # 3. [Enable the BigQuery Data Transfer API.](https://console.cloud.google.com/apis/library/bigquerydatatransfer.googleapis.com)
38
39
  # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
39
40
  #
41
+ # ### Installation
42
+ # ```
43
+ # $ gem install google-cloud-bigquery-data_transfer
44
+ # ```
45
+ #
40
46
  # ### Preview
41
47
  # #### DataTransferServiceClient
42
48
  # ```rb
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "googleauth"
16
17
 
17
18
  module Google
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/cloud/bigquery/data_transfer/v1/data_transfer_service_client"
16
17
 
17
18
  module Google
@@ -37,6 +38,11 @@ module Google
37
38
  # 3. [Enable the BigQuery Data Transfer API.](https://console.cloud.google.com/apis/library/bigquerydatatransfer.googleapis.com)
38
39
  # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
39
40
  #
41
+ # ### Installation
42
+ # ```
43
+ # $ gem install google-cloud-bigquery-data_transfer
44
+ # ```
45
+ #
40
46
  # ### Preview
41
47
  # #### DataTransferServiceClient
42
48
  # ```rb
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "googleauth"
16
17
 
17
18
  module Google
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -19,6 +19,7 @@
19
19
  # For the short term, the refresh process will only be runnable by Google
20
20
  # engineers.
21
21
 
22
+
22
23
  require "json"
23
24
  require "pathname"
24
25
 
@@ -40,6 +41,7 @@ module Google
40
41
  # @!attribute [r] data_transfer_service_stub
41
42
  # @return [Google::Cloud::Bigquery::Datatransfer::V1::DataTransferService::Stub]
42
43
  class DataTransferServiceClient
44
+ # @private
43
45
  attr_reader :data_transfer_service_stub
44
46
 
45
47
  # The default address of the service.
@@ -365,7 +367,7 @@ module Google
365
367
  #
366
368
  # @param name [String]
367
369
  # The field will contain name of the resource requested, for example:
368
- # +projects/{project_id}/dataSources/{data_source_id}+
370
+ # +projects/\\{project_id}/dataSources/\\{data_source_id}+
369
371
  # @param options [Google::Gax::CallOptions]
370
372
  # Overrides the default settings for this call, e.g, timeout,
371
373
  # retries, etc.
@@ -397,7 +399,7 @@ module Google
397
399
  #
398
400
  # @param parent [String]
399
401
  # The BigQuery project id for which data sources should be returned.
400
- # Must be in the form: +projects/{project_id}+
402
+ # Must be in the form: +projects/\\{project_id}+
401
403
  # @param page_size [Integer]
402
404
  # The maximum number of resources contained in the underlying API
403
405
  # response. If page streaming is performed per-resource, this
@@ -452,7 +454,7 @@ module Google
452
454
  #
453
455
  # @param parent [String]
454
456
  # The BigQuery project id where the transfer configuration should be created.
455
- # Must be in the format /projects/{project_id}/locations/{location_id}
457
+ # Must be in the format /projects/\\{project_id}/locations/\\{location_id}
456
458
  # If specified location and location of the destination bigquery dataset
457
459
  # do not match - the request will fail.
458
460
  # @param transfer_config [Google::Cloud::Bigquery::Datatransfer::V1::TransferConfig | Hash]
@@ -577,7 +579,7 @@ module Google
577
579
  #
578
580
  # @param name [String]
579
581
  # The field will contain name of the resource requested, for example:
580
- # +projects/{project_id}/transferConfigs/{config_id}+
582
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+
581
583
  # @param options [Google::Gax::CallOptions]
582
584
  # Overrides the default settings for this call, e.g, timeout,
583
585
  # retries, etc.
@@ -608,7 +610,7 @@ module Google
608
610
  #
609
611
  # @param name [String]
610
612
  # The field will contain name of the resource requested, for example:
611
- # +projects/{project_id}/transferConfigs/{config_id}+
613
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+
612
614
  # @param options [Google::Gax::CallOptions]
613
615
  # Overrides the default settings for this call, e.g, timeout,
614
616
  # retries, etc.
@@ -639,7 +641,7 @@ module Google
639
641
  #
640
642
  # @param parent [String]
641
643
  # The BigQuery project id for which data sources
642
- # should be returned: +projects/{project_id}+.
644
+ # should be returned: +projects/\\{project_id}+.
643
645
  # @param data_source_ids [Array<String>]
644
646
  # When specified, only configurations of requested data sources are returned.
645
647
  # @param page_size [Integer]
@@ -701,7 +703,7 @@ module Google
701
703
  #
702
704
  # @param parent [String]
703
705
  # Transfer configuration name in the form:
704
- # +projects/{project_id}/transferConfigs/{config_id}+.
706
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+.
705
707
  # @param start_time [Google::Protobuf::Timestamp | Hash]
706
708
  # Start time of the range of transfer runs. For example,
707
709
  # +"2017-05-25T00:00:00+00:00"+.
@@ -752,7 +754,7 @@ module Google
752
754
  #
753
755
  # @param name [String]
754
756
  # The field will contain name of the resource requested, for example:
755
- # +projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}+
757
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}/runs/\\{run_id}+
756
758
  # @param options [Google::Gax::CallOptions]
757
759
  # Overrides the default settings for this call, e.g, timeout,
758
760
  # retries, etc.
@@ -783,7 +785,7 @@ module Google
783
785
  #
784
786
  # @param name [String]
785
787
  # The field will contain name of the resource requested, for example:
786
- # +projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}+
788
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}/runs/\\{run_id}+
787
789
  # @param options [Google::Gax::CallOptions]
788
790
  # Overrides the default settings for this call, e.g, timeout,
789
791
  # retries, etc.
@@ -815,7 +817,7 @@ module Google
815
817
  # @param parent [String]
816
818
  # Name of transfer configuration for which transfer runs should be retrieved.
817
819
  # Format of transfer configuration resource name is:
818
- # +projects/{project_id}/transferConfigs/{config_id}+.
820
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+.
819
821
  # @param states [Array<Google::Cloud::Bigquery::Datatransfer::V1::TransferState>]
820
822
  # When specified, only transfer runs with requested states are returned.
821
823
  # @param page_size [Integer]
@@ -878,7 +880,7 @@ module Google
878
880
  #
879
881
  # @param parent [String]
880
882
  # Transfer run name in the form:
881
- # +projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}+.
883
+ # +projects/\\{project_id}/transferConfigs/\\{config_Id}/runs/\\{run_id}+.
882
884
  # @param page_size [Integer]
883
885
  # The maximum number of resources contained in the underlying API
884
886
  # response. If page streaming is performed per-resource, this
@@ -943,7 +945,7 @@ module Google
943
945
  #
944
946
  # @param name [String]
945
947
  # The data source in the form:
946
- # +projects/{project_id}/dataSources/{data_source_id}+
948
+ # +projects/\\{project_id}/dataSources/\\{data_source_id}+
947
949
  # @param options [Google::Gax::CallOptions]
948
950
  # Overrides the default settings for this call, e.g, timeout,
949
951
  # retries, etc.
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/bigquery/data_transfer/v1/data_transfer_pb'
21
22
 
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Bigquery
@@ -219,14 +220,14 @@ module Google
219
220
  # @!attribute [rw] name
220
221
  # @return [String]
221
222
  # The field will contain name of the resource requested, for example:
222
- # +projects/{project_id}/dataSources/{data_source_id}+
223
+ # +projects/\\{project_id}/dataSources/\\{data_source_id}+
223
224
  class GetDataSourceRequest; end
224
225
 
225
226
  # Request to list supported data sources and their data transfer settings.
226
227
  # @!attribute [rw] parent
227
228
  # @return [String]
228
229
  # The BigQuery project id for which data sources should be returned.
229
- # Must be in the form: +projects/{project_id}+
230
+ # Must be in the form: +projects/\\{project_id}+
230
231
  # @!attribute [rw] page_token
231
232
  # @return [String]
232
233
  # Pagination token, which can be used to request a specific page
@@ -260,7 +261,7 @@ module Google
260
261
  # @!attribute [rw] parent
261
262
  # @return [String]
262
263
  # The BigQuery project id where the transfer configuration should be created.
263
- # Must be in the format /projects/{project_id}/locations/{location_id}
264
+ # Must be in the format /projects/\\{project_id}/locations/\\{location_id}
264
265
  # If specified location and location of the destination bigquery dataset
265
266
  # do not match - the request will fail.
266
267
  # @!attribute [rw] transfer_config
@@ -318,7 +319,7 @@ module Google
318
319
  # @!attribute [rw] name
319
320
  # @return [String]
320
321
  # The field will contain name of the resource requested, for example:
321
- # +projects/{project_id}/transferConfigs/{config_id}+
322
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+
322
323
  class GetTransferConfigRequest; end
323
324
 
324
325
  # A request to delete data transfer information. All associated transfer runs
@@ -326,28 +327,28 @@ module Google
326
327
  # @!attribute [rw] name
327
328
  # @return [String]
328
329
  # The field will contain name of the resource requested, for example:
329
- # +projects/{project_id}/transferConfigs/{config_id}+
330
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+
330
331
  class DeleteTransferConfigRequest; end
331
332
 
332
333
  # A request to get data transfer run information.
333
334
  # @!attribute [rw] name
334
335
  # @return [String]
335
336
  # The field will contain name of the resource requested, for example:
336
- # +projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}+
337
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}/runs/\\{run_id}+
337
338
  class GetTransferRunRequest; end
338
339
 
339
340
  # A request to delete data transfer run information.
340
341
  # @!attribute [rw] name
341
342
  # @return [String]
342
343
  # The field will contain name of the resource requested, for example:
343
- # +projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}+
344
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}/runs/\\{run_id}+
344
345
  class DeleteTransferRunRequest; end
345
346
 
346
347
  # A request to list data transfers configured for a BigQuery project.
347
348
  # @!attribute [rw] parent
348
349
  # @return [String]
349
350
  # The BigQuery project id for which data sources
350
- # should be returned: +projects/{project_id}+.
351
+ # should be returned: +projects/\\{project_id}+.
351
352
  # @!attribute [rw] data_source_ids
352
353
  # @return [Array<String>]
353
354
  # When specified, only configurations of requested data sources are returned.
@@ -382,7 +383,7 @@ module Google
382
383
  # @return [String]
383
384
  # Name of transfer configuration for which transfer runs should be retrieved.
384
385
  # Format of transfer configuration resource name is:
385
- # +projects/{project_id}/transferConfigs/{config_id}+.
386
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+.
386
387
  # @!attribute [rw] states
387
388
  # @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::TransferState>]
388
389
  # When specified, only transfer runs with requested states are returned.
@@ -426,7 +427,7 @@ module Google
426
427
  # @!attribute [rw] parent
427
428
  # @return [String]
428
429
  # Transfer run name in the form:
429
- # +projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}+.
430
+ # +projects/\\{project_id}/transferConfigs/\\{config_Id}/runs/\\{run_id}+.
430
431
  # @!attribute [rw] page_token
431
432
  # @return [String]
432
433
  # Pagination token, which can be used to request a specific page
@@ -464,7 +465,7 @@ module Google
464
465
  # @!attribute [rw] name
465
466
  # @return [String]
466
467
  # The data source in the form:
467
- # +projects/{project_id}/dataSources/{data_source_id}+
468
+ # +projects/\\{project_id}/dataSources/\\{data_source_id}+
468
469
  class CheckValidCredsRequest; end
469
470
 
470
471
  # A response indicating whether the credentials exist and are valid.
@@ -477,7 +478,7 @@ module Google
477
478
  # @!attribute [rw] parent
478
479
  # @return [String]
479
480
  # Transfer configuration name in the form:
480
- # +projects/{project_id}/transferConfigs/{config_id}+.
481
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+.
481
482
  # @!attribute [rw] start_time
482
483
  # @return [Google::Protobuf::Timestamp]
483
484
  # Start time of the range of transfer runs. For example,
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Bigquery
@@ -28,7 +29,7 @@ module Google
28
29
  # @return [String]
29
30
  # The resource name of the transfer config.
30
31
  # Transfer config names have the form
31
- # +projects/{project_id}/transferConfigs/{config_id}+.
32
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+.
32
33
  # Where +config_id+ is usually a uuid, even though it is not
33
34
  # guaranteed or required. The name is ignored when creating a transfer
34
35
  # config.
@@ -97,7 +98,7 @@ module Google
97
98
  # @return [String]
98
99
  # The resource name of the transfer run.
99
100
  # Transfer run names have the form
100
- # +projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}+.
101
+ # +projects/\\{project_id}/locations/\\{location}/transferConfigs/\\{config_id}/runs/\\{run_id}+.
101
102
  # The name is ignored when creating a transfer run.
102
103
  # @!attribute [rw] schedule_time
103
104
  # @return [Google::Protobuf::Timestamp]
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Bigquery
@@ -206,14 +207,14 @@ module Google
206
207
  # @!attribute [rw] name
207
208
  # @return [String]
208
209
  # The field will contain name of the resource requested, for example:
209
- # +projects/{project_id}/dataSources/{data_source_id}+
210
+ # +projects/\\{project_id}/dataSources/\\{data_source_id}+
210
211
  class GetDataSourceRequest; end
211
212
 
212
213
  # Request to list supported data sources and their data transfer settings.
213
214
  # @!attribute [rw] parent
214
215
  # @return [String]
215
216
  # The BigQuery project id for which data sources should be returned.
216
- # Must be in the form: +projects/{project_id}+
217
+ # Must be in the form: +projects/\\{project_id}+
217
218
  # @!attribute [rw] page_token
218
219
  # @return [String]
219
220
  # Pagination token, which can be used to request a specific page
@@ -247,7 +248,7 @@ module Google
247
248
  # @!attribute [rw] parent
248
249
  # @return [String]
249
250
  # The BigQuery project id where the transfer configuration should be created.
250
- # Must be in the format /projects/{project_id}/locations/{location_id}
251
+ # Must be in the format /projects/\\{project_id}/locations/\\{location_id}
251
252
  # If specified location and location of the destination bigquery dataset
252
253
  # do not match - the request will fail.
253
254
  # @!attribute [rw] transfer_config
@@ -305,7 +306,7 @@ module Google
305
306
  # @!attribute [rw] name
306
307
  # @return [String]
307
308
  # The field will contain name of the resource requested, for example:
308
- # +projects/{project_id}/transferConfigs/{config_id}+
309
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+
309
310
  class GetTransferConfigRequest; end
310
311
 
311
312
  # A request to delete data transfer information. All associated transfer runs
@@ -313,28 +314,28 @@ module Google
313
314
  # @!attribute [rw] name
314
315
  # @return [String]
315
316
  # The field will contain name of the resource requested, for example:
316
- # +projects/{project_id}/transferConfigs/{config_id}+
317
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+
317
318
  class DeleteTransferConfigRequest; end
318
319
 
319
320
  # A request to get data transfer run information.
320
321
  # @!attribute [rw] name
321
322
  # @return [String]
322
323
  # The field will contain name of the resource requested, for example:
323
- # +projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}+
324
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}/runs/\\{run_id}+
324
325
  class GetTransferRunRequest; end
325
326
 
326
327
  # A request to delete data transfer run information.
327
328
  # @!attribute [rw] name
328
329
  # @return [String]
329
330
  # The field will contain name of the resource requested, for example:
330
- # +projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}+
331
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}/runs/\\{run_id}+
331
332
  class DeleteTransferRunRequest; end
332
333
 
333
334
  # A request to list data transfers configured for a BigQuery project.
334
335
  # @!attribute [rw] parent
335
336
  # @return [String]
336
337
  # The BigQuery project id for which data sources
337
- # should be returned: +projects/{project_id}+.
338
+ # should be returned: +projects/\\{project_id}+.
338
339
  # @!attribute [rw] data_source_ids
339
340
  # @return [Array<String>]
340
341
  # When specified, only configurations of requested data sources are returned.
@@ -369,7 +370,7 @@ module Google
369
370
  # @return [String]
370
371
  # Name of transfer configuration for which transfer runs should be retrieved.
371
372
  # Format of transfer configuration resource name is:
372
- # +projects/{project_id}/transferConfigs/{config_id}+.
373
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+.
373
374
  # @!attribute [rw] states
374
375
  # @return [Array<Google::Cloud::Bigquery::Datatransfer::V1::TransferState>]
375
376
  # When specified, only transfer runs with requested states are returned.
@@ -413,7 +414,7 @@ module Google
413
414
  # @!attribute [rw] parent
414
415
  # @return [String]
415
416
  # Transfer run name in the form:
416
- # +projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}+.
417
+ # +projects/\\{project_id}/transferConfigs/\\{config_Id}/runs/\\{run_id}+.
417
418
  # @!attribute [rw] page_token
418
419
  # @return [String]
419
420
  # Pagination token, which can be used to request a specific page
@@ -451,7 +452,7 @@ module Google
451
452
  # @!attribute [rw] name
452
453
  # @return [String]
453
454
  # The data source in the form:
454
- # +projects/{project_id}/dataSources/{data_source_id}+
455
+ # +projects/\\{project_id}/dataSources/\\{data_source_id}+
455
456
  class CheckValidCredsRequest; end
456
457
 
457
458
  # A response indicating whether the credentials exist and are valid.
@@ -464,7 +465,7 @@ module Google
464
465
  # @!attribute [rw] parent
465
466
  # @return [String]
466
467
  # Transfer configuration name in the form:
467
- # +projects/{project_id}/transferConfigs/{config_id}+.
468
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+.
468
469
  # @!attribute [rw] start_time
469
470
  # @return [Google::Protobuf::Timestamp]
470
471
  # Start time of the range of transfer runs. For example,
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Bigquery
@@ -27,7 +28,7 @@ module Google
27
28
  # @return [String]
28
29
  # The resource name of the transfer config.
29
30
  # Transfer config names have the form
30
- # +projects/{project_id}/transferConfigs/{config_id}+.
31
+ # +projects/\\{project_id}/transferConfigs/\\{config_id}+.
31
32
  # Where +config_id+ is usually a uuid, even though it is not
32
33
  # guaranteed or required. The name is ignored when creating a transfer
33
34
  # config.
@@ -95,7 +96,7 @@ module Google
95
96
  # @return [String]
96
97
  # The resource name of the transfer run.
97
98
  # Transfer run names have the form
98
- # +projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}+.
99
+ # +projects/\\{project_id}/locations/\\{location}/transferConfigs/\\{config_id}/runs/\\{run_id}+.
99
100
  # The name is ignored when creating a transfer run.
100
101
  # @!attribute [rw] schedule_time
101
102
  # @return [Google::Protobuf::Timestamp]
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # +Any+ contains an arbitrary serialized protocol buffer message along with a
@@ -95,17 +96,18 @@ module Google
95
96
  # }
96
97
  # @!attribute [rw] type_url
97
98
  # @return [String]
98
- # A URL/resource name whose content describes the type of the
99
- # serialized protocol buffer message.
99
+ # A URL/resource name that uniquely identifies the type of the serialized
100
+ # protocol buffer message. The last segment of the URL's path must represent
101
+ # the fully qualified name of the type (as in
102
+ # +path/google.protobuf.Duration+). The name should be in a canonical form
103
+ # (e.g., leading "." is not accepted).
100
104
  #
101
- # For URLs which use the scheme +http+, +https+, or no scheme, the
102
- # following restrictions and interpretations apply:
105
+ # In practice, teams usually precompile into the binary all types that they
106
+ # expect it to use in the context of Any. However, for URLs which use the
107
+ # scheme +http+, +https+, or no scheme, one can optionally set up a type
108
+ # server that maps type URLs to message definitions as follows:
103
109
  #
104
110
  # * If no scheme is provided, +https+ is assumed.
105
- # * The last segment of the URL's path must represent the fully
106
- # qualified name of the type (as in +path/google.protobuf.Duration+).
107
- # The name should be in a canonical form (e.g., leading "." is
108
- # not accepted).
109
111
  # * An HTTP GET on the URL must yield a {Google::Protobuf::Type}
110
112
  # value in binary format, or produce an error.
111
113
  # * Applications are allowed to cache lookup results based on the
@@ -114,6 +116,10 @@ module Google
114
116
  # on changes to types. (Use versioned type names to manage
115
117
  # breaking changes.)
116
118
  #
119
+ # Note: this functionality is not currently available in the official
120
+ # protobuf release, and it is not used for type URLs beginning with
121
+ # type.googleapis.com.
122
+ #
117
123
  # Schemes other than +http+, +https+ (or the empty scheme) might be
118
124
  # used with implementation specific semantics.
119
125
  # @!attribute [rw] value
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A Duration represents a signed, fixed-length span of time represented
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A generic empty message that you can re-use to avoid defining duplicated
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # +FieldMask+ represents a set of symbolic field paths, for example:
@@ -215,6 +216,12 @@ module Google
215
216
  #
216
217
  # Note that oneof type names ("test_oneof" in this case) cannot be used in
217
218
  # paths.
219
+ #
220
+ # == Field Mask Verification
221
+ #
222
+ # The implementation of any API method which has a FieldMask type field in the
223
+ # request should verify the included field paths, and return an
224
+ # +INVALID_ARGUMENT+ error if any path is duplicated or unmappable.
218
225
  # @!attribute [rw] paths
219
226
  # @return [Array<String>]
220
227
  # The set of field mask paths.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # +Struct+ represents a structured data value, consisting of fields
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A Timestamp represents a point in time independent of any time zone
@@ -72,12 +73,14 @@ module Google
72
73
  #
73
74
  # In JSON format, the Timestamp type is encoded as a string in the
74
75
  # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
75
- # format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
76
- # where {year} is always expressed using four digits while {month}, {day},
77
- # {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
76
+ # format is "\\{year}-\\{month}-\\{day}T\\{hour}:\\{min}:\\{sec}[.\\{frac_sec}]Z"
77
+ # where \\{year} is always expressed using four digits while \\{month}, \\{day},
78
+ # \\{hour}, \\{min}, and \\{sec} are zero-padded to two digits each. The fractional
78
79
  # seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
79
80
  # are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
80
- # is required, though only UTC (as indicated by "Z") is presently supported.
81
+ # is required. A proto3 JSON serializer should always use UTC (as indicated by
82
+ # "Z") when printing the Timestamp type and a proto3 JSON parser should be
83
+ # able to accept both UTC and other timezones (as indicated by an offset).
81
84
  #
82
85
  # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
83
86
  # 01:30 UTC on January 15, 2017.
@@ -88,8 +91,8 @@ module Google
88
91
  # to this format using [+strftime+](https://docs.python.org/2/library/time.html#time.strftime)
89
92
  # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
90
93
  # can use the Joda Time's [+ISODateTimeFormat.dateTime()+](
91
- # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
92
- # to obtain a formatter capable of generating timestamps in this format.
94
+ # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
95
+ # ) to obtain a formatter capable of generating timestamps in this format.
93
96
  # @!attribute [rw] seconds
94
97
  # @return [Integer]
95
98
  # Represents seconds of UTC time since Unix epoch
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # Wrapper message for +double+.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Rpc
17
18
  # The +Status+ type defines a logical error model that is suitable for different
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Bigquery
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/bigquery/datatransfer/v1/transfer.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/bigquery/datatransfer/v1/datatransfer_pb'
21
22
 
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/bigquery/datatransfer/v1/transfer.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-data_transfer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-21 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax