google-cloud-bigquery-data_transfer 0.4.1 → 0.5.0

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: 8775669d02a36302c46c684c260ed13e399d7cafefe6efd5db546eb11a4c5b33
4
- data.tar.gz: caaa8e13280211b71294c2856177a34fe1667145126d3a5c2bac8870cb09f800
3
+ metadata.gz: 83d39c482a0b475ec1dfa4b5fc472b71a222ed819ac69258fe348d84ca508bcc
4
+ data.tar.gz: 928faa84c353844ce195e0b7784e4820224f9fd4b65e0e10999886bfe90e9ae3
5
5
  SHA512:
6
- metadata.gz: 4bdf37d05bba06bb455403c1c9029fdd1d5bce6cde06d4695ea396b377c76701d80ffb5f925610900474436b6f6190ea3e33fba234981970b2a5ed59e792bdde
7
- data.tar.gz: 35b2dbd77aaa90dcd342c429d39bd619b87800932239cae4a54d11f87336c85402c04bffb3b0f7c7018d64eadb1c38ae9a1e51a72ceb6fb4f1c6572b21bea165
6
+ metadata.gz: 7b83d20025789d4ac95407e1db218538e66b2efc259f44a41e1cf01bea2820439648dbde3dc3a7324cafcd9affd350344d6c612cb130f6fcaa028726035f7c59
7
+ data.tar.gz: dda92a8e43004a73280b80782c91ea198b7a8d52e0dcc81dea22996520ca836684bbaef740b93c8c86df7f83f2c941f2f7f372495760a628ca85014cebd2e4f8
@@ -458,7 +458,8 @@ module Google
458
458
  #
459
459
  # @param name [String]
460
460
  # Required. The field will contain name of the resource requested, for example:
461
- # `projects/{project_id}/dataSources/{data_source_id}`
461
+ # `projects/{project_id}/dataSources/{data_source_id}` or
462
+ # `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
462
463
  # @param options [Google::Gax::CallOptions]
463
464
  # Overrides the default settings for this call, e.g, timeout,
464
465
  # retries, etc.
@@ -490,7 +491,8 @@ module Google
490
491
  #
491
492
  # @param parent [String]
492
493
  # Required. The BigQuery project id for which data sources should be returned.
493
- # Must be in the form: `projects/{project_id}`
494
+ # Must be in the form: `projects/{project_id}` or
495
+ # `projects/{project_id}/locations/{location_id}
494
496
  # @param page_size [Integer]
495
497
  # The maximum number of resources contained in the underlying API
496
498
  # response. If page streaming is performed per-resource, this
@@ -545,9 +547,9 @@ module Google
545
547
  #
546
548
  # @param parent [String]
547
549
  # Required. The BigQuery project id where the transfer configuration should be created.
548
- # Must be in the format projects/\\{project_id}/locations/\\{location_id}
549
- # If specified location and location of the destination bigquery dataset
550
- # do not match - the request will fail.
550
+ # Must be in the format projects/\\{project_id}/locations/\\{location_id} or
551
+ # projects/\\{project_id}. If specified location and location of the
552
+ # destination bigquery dataset do not match - the request will fail.
551
553
  # @param transfer_config [Google::Cloud::Bigquery::Datatransfer::V1::TransferConfig | Hash]
552
554
  # Required. Data transfer configuration to create.
553
555
  # A hash of the same form as `Google::Cloud::Bigquery::Datatransfer::V1::TransferConfig`
@@ -576,6 +578,11 @@ module Google
576
578
  # must use the "none+gsession" response type. which be return a
577
579
  # version_info back in the authorization response which be be put in a JWT
578
580
  # claim in the token request.
581
+ # @param service_account_name [String]
582
+ # Optional service account name. If this field is set, transfer config will
583
+ # be created with this service account credentials. It requires that
584
+ # requesting user calling this API has permissions to act as this service
585
+ # account.
579
586
  # @param options [Google::Gax::CallOptions]
580
587
  # Overrides the default settings for this call, e.g, timeout,
581
588
  # retries, etc.
@@ -599,13 +606,15 @@ module Google
599
606
  transfer_config,
600
607
  authorization_code: nil,
601
608
  version_info: nil,
609
+ service_account_name: nil,
602
610
  options: nil,
603
611
  &block
604
612
  req = {
605
613
  parent: parent,
606
614
  transfer_config: transfer_config,
607
615
  authorization_code: authorization_code,
608
- version_info: version_info
616
+ version_info: version_info,
617
+ service_account_name: service_account_name
609
618
  }.delete_if { |_, v| v.nil? }
610
619
  req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::Datatransfer::V1::CreateTransferConfigRequest)
611
620
  @create_transfer_config.call(req, options, &block)
@@ -646,6 +655,12 @@ module Google
646
655
  # must use the "none+gsession" response type. which be return a
647
656
  # version_info back in the authorization response which be be put in a JWT
648
657
  # claim in the token request.
658
+ # @param service_account_name [String]
659
+ # Optional service account name. If this field is set and
660
+ # "service_account_name" is set in update_mask, transfer config will be
661
+ # updated to use this service account credentials. It requires that
662
+ # requesting user calling this API has permissions to act as this service
663
+ # account.
649
664
  # @param options [Google::Gax::CallOptions]
650
665
  # Overrides the default settings for this call, e.g, timeout,
651
666
  # retries, etc.
@@ -671,13 +686,15 @@ module Google
671
686
  update_mask,
672
687
  authorization_code: nil,
673
688
  version_info: nil,
689
+ service_account_name: nil,
674
690
  options: nil,
675
691
  &block
676
692
  req = {
677
693
  transfer_config: transfer_config,
678
694
  update_mask: update_mask,
679
695
  authorization_code: authorization_code,
680
- version_info: version_info
696
+ version_info: version_info,
697
+ service_account_name: service_account_name
681
698
  }.delete_if { |_, v| v.nil? }
682
699
  req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::Datatransfer::V1::UpdateTransferConfigRequest)
683
700
  @update_transfer_config.call(req, options, &block)
@@ -688,7 +705,8 @@ module Google
688
705
  #
689
706
  # @param name [String]
690
707
  # Required. The field will contain name of the resource requested, for example:
691
- # `projects/{project_id}/transferConfigs/{config_id}`
708
+ # `projects/{project_id}/transferConfigs/{config_id}` or
709
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
692
710
  # @param options [Google::Gax::CallOptions]
693
711
  # Overrides the default settings for this call, e.g, timeout,
694
712
  # retries, etc.
@@ -719,7 +737,8 @@ module Google
719
737
  #
720
738
  # @param name [String]
721
739
  # Required. The field will contain name of the resource requested, for example:
722
- # `projects/{project_id}/transferConfigs/{config_id}`
740
+ # `projects/{project_id}/transferConfigs/{config_id}` or
741
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
723
742
  # @param options [Google::Gax::CallOptions]
724
743
  # Overrides the default settings for this call, e.g, timeout,
725
744
  # retries, etc.
@@ -750,7 +769,8 @@ module Google
750
769
  #
751
770
  # @param parent [String]
752
771
  # Required. The BigQuery project id for which data sources
753
- # should be returned: `projects/{project_id}`.
772
+ # should be returned: `projects/{project_id}` or
773
+ # `projects/{project_id}/locations/{location_id}`
754
774
  # @param data_source_ids [Array<String>]
755
775
  # When specified, only configurations of requested data sources are returned.
756
776
  # @param page_size [Integer]
@@ -813,7 +833,8 @@ module Google
813
833
  #
814
834
  # @param parent [String]
815
835
  # Required. Transfer configuration name in the form:
816
- # `projects/{project_id}/transferConfigs/{config_id}`.
836
+ # `projects/{project_id}/transferConfigs/{config_id}` or
837
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
817
838
  # @param start_time [Google::Protobuf::Timestamp | Hash]
818
839
  # Required. Start time of the range of transfer runs. For example,
819
840
  # `"2017-05-25T00:00:00+00:00"`.
@@ -864,7 +885,8 @@ module Google
864
885
  #
865
886
  # @param name [String]
866
887
  # Required. The field will contain name of the resource requested, for example:
867
- # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
888
+ # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
889
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
868
890
  # @param options [Google::Gax::CallOptions]
869
891
  # Overrides the default settings for this call, e.g, timeout,
870
892
  # retries, etc.
@@ -895,7 +917,8 @@ module Google
895
917
  #
896
918
  # @param name [String]
897
919
  # Required. The field will contain name of the resource requested, for example:
898
- # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
920
+ # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
921
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
899
922
  # @param options [Google::Gax::CallOptions]
900
923
  # Overrides the default settings for this call, e.g, timeout,
901
924
  # retries, etc.
@@ -927,7 +950,8 @@ module Google
927
950
  # @param parent [String]
928
951
  # Required. Name of transfer configuration for which transfer runs should be retrieved.
929
952
  # Format of transfer configuration resource name is:
930
- # `projects/{project_id}/transferConfigs/{config_id}`.
953
+ # `projects/{project_id}/transferConfigs/{config_id}` or
954
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
931
955
  # @param states [Array<Google::Cloud::Bigquery::Datatransfer::V1::TransferState>]
932
956
  # When specified, only transfer runs with requested states are returned.
933
957
  # @param page_size [Integer]
@@ -990,7 +1014,8 @@ module Google
990
1014
  #
991
1015
  # @param parent [String]
992
1016
  # Required. Transfer run name in the form:
993
- # `projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`.
1017
+ # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
1018
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
994
1019
  # @param page_size [Integer]
995
1020
  # The maximum number of resources contained in the underlying API
996
1021
  # response. If page streaming is performed per-resource, this
@@ -1055,7 +1080,8 @@ module Google
1055
1080
  #
1056
1081
  # @param name [String]
1057
1082
  # Required. The data source in the form:
1058
- # `projects/{project_id}/dataSources/{data_source_id}`
1083
+ # `projects/{project_id}/dataSources/{data_source_id}` or
1084
+ # `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
1059
1085
  # @param options [Google::Gax::CallOptions]
1060
1086
  # Overrides the default settings for this call, e.g, timeout,
1061
1087
  # retries, etc.
@@ -1089,7 +1115,8 @@ module Google
1089
1115
  #
1090
1116
  # @param parent [String]
1091
1117
  # Transfer configuration name in the form:
1092
- # `projects/{project_id}/transferConfigs/{config_id}`.
1118
+ # `projects/{project_id}/transferConfigs/{config_id}` or
1119
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
1093
1120
  # @param requested_time_range [Google::Cloud::Bigquery::Datatransfer::V1::StartManualTransferRunsRequest::TimeRange | Hash]
1094
1121
  # Time range for the transfer runs that should be started.
1095
1122
  # A hash of the same form as `Google::Cloud::Bigquery::Datatransfer::V1::StartManualTransferRunsRequest::TimeRange`
@@ -207,14 +207,16 @@ module Google
207
207
  # @!attribute [rw] name
208
208
  # @return [String]
209
209
  # Required. The field will contain name of the resource requested, for example:
210
- # `projects/{project_id}/dataSources/{data_source_id}`
210
+ # `projects/{project_id}/dataSources/{data_source_id}` or
211
+ # `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
211
212
  class GetDataSourceRequest; end
212
213
 
213
214
  # Request to list supported data sources and their data transfer settings.
214
215
  # @!attribute [rw] parent
215
216
  # @return [String]
216
217
  # Required. The BigQuery project id for which data sources should be returned.
217
- # Must be in the form: `projects/{project_id}`
218
+ # Must be in the form: `projects/{project_id}` or
219
+ # `projects/{project_id}/locations/{location_id}
218
220
  # @!attribute [rw] page_token
219
221
  # @return [String]
220
222
  # Pagination token, which can be used to request a specific page
@@ -248,9 +250,9 @@ module Google
248
250
  # @!attribute [rw] parent
249
251
  # @return [String]
250
252
  # Required. The BigQuery project id where the transfer configuration should be created.
251
- # Must be in the format projects/\\{project_id}/locations/\\{location_id}
252
- # If specified location and location of the destination bigquery dataset
253
- # do not match - the request will fail.
253
+ # Must be in the format projects/\\{project_id}/locations/\\{location_id} or
254
+ # projects/\\{project_id}. If specified location and location of the
255
+ # destination bigquery dataset do not match - the request will fail.
254
256
  # @!attribute [rw] transfer_config
255
257
  # @return [Google::Cloud::Bigquery::Datatransfer::V1::TransferConfig]
256
258
  # Required. Data transfer configuration to create.
@@ -280,6 +282,12 @@ module Google
280
282
  # must use the "none+gsession" response type. which be return a
281
283
  # version_info back in the authorization response which be be put in a JWT
282
284
  # claim in the token request.
285
+ # @!attribute [rw] service_account_name
286
+ # @return [String]
287
+ # Optional service account name. If this field is set, transfer config will
288
+ # be created with this service account credentials. It requires that
289
+ # requesting user calling this API has permissions to act as this service
290
+ # account.
283
291
  class CreateTransferConfigRequest; end
284
292
 
285
293
  # A request to update a transfer configuration. To update the user id of the
@@ -316,13 +324,21 @@ module Google
316
324
  # must use the "none+gsession" response type. which be return a
317
325
  # version_info back in the authorization response which be be put in a JWT
318
326
  # claim in the token request.
327
+ # @!attribute [rw] service_account_name
328
+ # @return [String]
329
+ # Optional service account name. If this field is set and
330
+ # "service_account_name" is set in update_mask, transfer config will be
331
+ # updated to use this service account credentials. It requires that
332
+ # requesting user calling this API has permissions to act as this service
333
+ # account.
319
334
  class UpdateTransferConfigRequest; end
320
335
 
321
336
  # A request to get data transfer information.
322
337
  # @!attribute [rw] name
323
338
  # @return [String]
324
339
  # Required. The field will contain name of the resource requested, for example:
325
- # `projects/{project_id}/transferConfigs/{config_id}`
340
+ # `projects/{project_id}/transferConfigs/{config_id}` or
341
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
326
342
  class GetTransferConfigRequest; end
327
343
 
328
344
  # A request to delete data transfer information. All associated transfer runs
@@ -330,28 +346,32 @@ module Google
330
346
  # @!attribute [rw] name
331
347
  # @return [String]
332
348
  # Required. The field will contain name of the resource requested, for example:
333
- # `projects/{project_id}/transferConfigs/{config_id}`
349
+ # `projects/{project_id}/transferConfigs/{config_id}` or
350
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
334
351
  class DeleteTransferConfigRequest; end
335
352
 
336
353
  # A request to get data transfer run information.
337
354
  # @!attribute [rw] name
338
355
  # @return [String]
339
356
  # Required. The field will contain name of the resource requested, for example:
340
- # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
357
+ # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
358
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
341
359
  class GetTransferRunRequest; end
342
360
 
343
361
  # A request to delete data transfer run information.
344
362
  # @!attribute [rw] name
345
363
  # @return [String]
346
364
  # Required. The field will contain name of the resource requested, for example:
347
- # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
365
+ # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
366
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
348
367
  class DeleteTransferRunRequest; end
349
368
 
350
369
  # A request to list data transfers configured for a BigQuery project.
351
370
  # @!attribute [rw] parent
352
371
  # @return [String]
353
372
  # Required. The BigQuery project id for which data sources
354
- # should be returned: `projects/{project_id}`.
373
+ # should be returned: `projects/{project_id}` or
374
+ # `projects/{project_id}/locations/{location_id}`
355
375
  # @!attribute [rw] data_source_ids
356
376
  # @return [Array<String>]
357
377
  # When specified, only configurations of requested data sources are returned.
@@ -386,7 +406,8 @@ module Google
386
406
  # @return [String]
387
407
  # Required. Name of transfer configuration for which transfer runs should be retrieved.
388
408
  # Format of transfer configuration resource name is:
389
- # `projects/{project_id}/transferConfigs/{config_id}`.
409
+ # `projects/{project_id}/transferConfigs/{config_id}` or
410
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
390
411
  # @!attribute [rw] states
391
412
  # @return [Array<Google::Cloud::Bigquery::Datatransfer::V1::TransferState>]
392
413
  # When specified, only transfer runs with requested states are returned.
@@ -430,7 +451,8 @@ module Google
430
451
  # @!attribute [rw] parent
431
452
  # @return [String]
432
453
  # Required. Transfer run name in the form:
433
- # `projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`.
454
+ # `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
455
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
434
456
  # @!attribute [rw] page_token
435
457
  # @return [String]
436
458
  # Pagination token, which can be used to request a specific page
@@ -468,7 +490,8 @@ module Google
468
490
  # @!attribute [rw] name
469
491
  # @return [String]
470
492
  # Required. The data source in the form:
471
- # `projects/{project_id}/dataSources/{data_source_id}`
493
+ # `projects/{project_id}/dataSources/{data_source_id}` or
494
+ # `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
472
495
  class CheckValidCredsRequest; end
473
496
 
474
497
  # A response indicating whether the credentials exist and are valid.
@@ -481,7 +504,8 @@ module Google
481
504
  # @!attribute [rw] parent
482
505
  # @return [String]
483
506
  # Required. Transfer configuration name in the form:
484
- # `projects/{project_id}/transferConfigs/{config_id}`.
507
+ # `projects/{project_id}/transferConfigs/{config_id}` or
508
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
485
509
  # @!attribute [rw] start_time
486
510
  # @return [Google::Protobuf::Timestamp]
487
511
  # Required. Start time of the range of transfer runs. For example,
@@ -502,7 +526,8 @@ module Google
502
526
  # @!attribute [rw] parent
503
527
  # @return [String]
504
528
  # Transfer configuration name in the form:
505
- # `projects/{project_id}/transferConfigs/{config_id}`.
529
+ # `projects/{project_id}/transferConfigs/{config_id}` or
530
+ # `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
506
531
  # @!attribute [rw] requested_time_range
507
532
  # @return [Google::Cloud::Bigquery::Datatransfer::V1::StartManualTransferRunsRequest::TimeRange]
508
533
  # Time range for the transfer runs that should be started.
@@ -18,6 +18,13 @@ module Google
18
18
  module Bigquery
19
19
  module Datatransfer
20
20
  module V1
21
+ # Represents preferences for sending email notifications for transfer run
22
+ # events.
23
+ # @!attribute [rw] enable_failure_email
24
+ # @return [true, false]
25
+ # If true, email notifications will be sent on transfer run failures.
26
+ class EmailPreferences; end
27
+
21
28
  # Options customizing the data transfer schedule.
22
29
  # @!attribute [rw] disable_auto_scheduling
23
30
  # @return [true, false]
@@ -111,6 +118,14 @@ module Google
111
118
  # @!attribute [rw] dataset_region
112
119
  # @return [String]
113
120
  # Output only. Region in which BigQuery dataset is located.
121
+ # @!attribute [rw] notification_pubsub_topic
122
+ # @return [String]
123
+ # Pub/Sub topic where notifications will be sent after transfer runs
124
+ # associated with this transfer config finish.
125
+ # @!attribute [rw] email_preferences
126
+ # @return [Google::Cloud::Bigquery::Datatransfer::V1::EmailPreferences]
127
+ # Email notifications will be sent according to these preferences
128
+ # to the email address of the user who owns this transfer config.
114
129
  class TransferConfig; end
115
130
 
116
131
  # Represents a data transfer run.
@@ -163,6 +178,15 @@ module Google
163
178
  # scheduled manually, this is empty.
164
179
  # NOTE: the system might choose to delay the schedule depending on the
165
180
  # current load, so `schedule_time` doesn't always match this.
181
+ # @!attribute [rw] notification_pubsub_topic
182
+ # @return [String]
183
+ # Output only. Pub/Sub topic where a notification will be sent after this
184
+ # transfer run finishes
185
+ # @!attribute [rw] email_preferences
186
+ # @return [Google::Cloud::Bigquery::Datatransfer::V1::EmailPreferences]
187
+ # Output only. Email notifications will be sent according to these
188
+ # preferences to the email address of the user who owns the transfer config
189
+ # this run was derived from.
166
190
  class TransferRun; end
167
191
 
168
192
  # Represents a user facing message for a particular data transfer run.
@@ -17,7 +17,7 @@ module Google
17
17
  module Cloud
18
18
  module Bigquery
19
19
  module DataTransfer
20
- VERSION = "0.4.1".freeze
20
+ VERSION = "0.5.0".freeze
21
21
  end
22
22
  end
23
23
  end
@@ -89,12 +89,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
89
89
  optional :transfer_config, :message, 2, "google.cloud.bigquery.datatransfer.v1.TransferConfig"
90
90
  optional :authorization_code, :string, 3
91
91
  optional :version_info, :string, 5
92
+ optional :service_account_name, :string, 6
92
93
  end
93
94
  add_message "google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest" do
94
95
  optional :transfer_config, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferConfig"
95
96
  optional :authorization_code, :string, 3
96
97
  optional :update_mask, :message, 4, "google.protobuf.FieldMask"
97
98
  optional :version_info, :string, 5
99
+ optional :service_account_name, :string, 6
98
100
  end
99
101
  add_message "google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest" do
100
102
  optional :name, :string, 1
@@ -10,6 +10,9 @@ require 'google/protobuf/struct_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
  require 'google/rpc/status_pb'
12
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
+ add_message "google.cloud.bigquery.datatransfer.v1.EmailPreferences" do
14
+ optional :enable_failure_email, :bool, 1
15
+ end
13
16
  add_message "google.cloud.bigquery.datatransfer.v1.ScheduleOptions" do
14
17
  optional :disable_auto_scheduling, :bool, 3
15
18
  optional :start_time, :message, 1, "google.protobuf.Timestamp"
@@ -29,6 +32,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
29
32
  optional :state, :enum, 10, "google.cloud.bigquery.datatransfer.v1.TransferState"
30
33
  optional :user_id, :int64, 11
31
34
  optional :dataset_region, :string, 14
35
+ optional :notification_pubsub_topic, :string, 15
36
+ optional :email_preferences, :message, 18, "google.cloud.bigquery.datatransfer.v1.EmailPreferences"
32
37
  oneof :destination do
33
38
  optional :destination_dataset_id, :string, 2
34
39
  end
@@ -46,6 +51,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
46
51
  optional :state, :enum, 8, "google.cloud.bigquery.datatransfer.v1.TransferState"
47
52
  optional :user_id, :int64, 11
48
53
  optional :schedule, :string, 12
54
+ optional :notification_pubsub_topic, :string, 23
55
+ optional :email_preferences, :message, 25, "google.cloud.bigquery.datatransfer.v1.EmailPreferences"
49
56
  oneof :destination do
50
57
  optional :destination_dataset_id, :string, 2
51
58
  end
@@ -81,6 +88,7 @@ module Google
81
88
  module Bigquery
82
89
  module Datatransfer
83
90
  module V1
91
+ EmailPreferences = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.EmailPreferences").msgclass
84
92
  ScheduleOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ScheduleOptions").msgclass
85
93
  TransferConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferConfig").msgclass
86
94
  TransferRun = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferRun").msgclass
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.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-07 00:00:00.000000000 Z
11
+ date: 2019-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax