google-cloud-bigquery-data_transfer 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service_client.rb +53 -53
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datasource.rb +1 -1
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb +19 -19
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/transfer.rb +7 -7
- data/lib/google/cloud/bigquery/data_transfer/version.rb +1 -1
- data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_pb.rb +32 -31
- data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_services_pb.rb +64 -63
- data/lib/google/cloud/bigquery/datatransfer/v1/transfer_pb.rb +12 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb1b49118f9f9a1acb642c3441952ac3177ded8b27941b7b9ef7e9e7fb2d0747
|
4
|
+
data.tar.gz: cbcfcd84ed59aea97fe159411c31880e840f96815a4fcd39ed421eb0c6fd218b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e76cd854cd7a764f34ca205f9ed5d4cc0b87fd2e0b664605ad22c52713e5a403c026413defe3e899d1322f8b3bc9e471b9ac4ad8d11ee6f1733802aee059e22
|
7
|
+
data.tar.gz: e82f85d963081fe0819e76c3e10b2c311e274bfb89065947bcb2ddba49929ea18e931f678538add63e50c7de863e4d10d9cf59608db7504c719d54095dd80c32
|
@@ -40,7 +40,7 @@ module Google
|
|
40
40
|
# up the frontend.
|
41
41
|
#
|
42
42
|
# @!attribute [r] data_transfer_service_stub
|
43
|
-
# @return [Google::Cloud::Bigquery::
|
43
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Stub]
|
44
44
|
class DataTransferServiceClient
|
45
45
|
# @private
|
46
46
|
attr_reader :data_transfer_service_stub
|
@@ -402,7 +402,7 @@ module Google
|
|
402
402
|
updater_proc: updater_proc,
|
403
403
|
scopes: scopes,
|
404
404
|
interceptors: interceptors,
|
405
|
-
&Google::Cloud::Bigquery::
|
405
|
+
&Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Stub.method(:new)
|
406
406
|
)
|
407
407
|
|
408
408
|
@get_data_source = Google::Gax.create_api_call(
|
@@ -532,9 +532,9 @@ module Google
|
|
532
532
|
# Overrides the default settings for this call, e.g, timeout,
|
533
533
|
# retries, etc.
|
534
534
|
# @yield [result, operation] Access the result along with the RPC operation
|
535
|
-
# @yieldparam result [Google::Cloud::Bigquery::
|
535
|
+
# @yieldparam result [Google::Cloud::Bigquery::DataTransfer::V1::DataSource]
|
536
536
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
537
|
-
# @return [Google::Cloud::Bigquery::
|
537
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::DataSource]
|
538
538
|
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
539
539
|
# @example
|
540
540
|
# require "google/cloud/bigquery/data_transfer"
|
@@ -550,7 +550,7 @@ module Google
|
|
550
550
|
req = {
|
551
551
|
name: name
|
552
552
|
}.delete_if { |_, v| v.nil? }
|
553
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
553
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::GetDataSourceRequest)
|
554
554
|
@get_data_source.call(req, options, &block)
|
555
555
|
end
|
556
556
|
|
@@ -571,10 +571,10 @@ module Google
|
|
571
571
|
# Overrides the default settings for this call, e.g, timeout,
|
572
572
|
# retries, etc.
|
573
573
|
# @yield [result, operation] Access the result along with the RPC operation
|
574
|
-
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::
|
574
|
+
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::DataTransfer::V1::DataSource>]
|
575
575
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
576
|
-
# @return [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::
|
577
|
-
# An enumerable of Google::Cloud::Bigquery::
|
576
|
+
# @return [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::DataTransfer::V1::DataSource>]
|
577
|
+
# An enumerable of Google::Cloud::Bigquery::DataTransfer::V1::DataSource instances.
|
578
578
|
# See Google::Gax::PagedEnumerable documentation for other
|
579
579
|
# operations such as per-page iteration or access to the response
|
580
580
|
# object.
|
@@ -607,7 +607,7 @@ module Google
|
|
607
607
|
parent: parent,
|
608
608
|
page_size: page_size
|
609
609
|
}.delete_if { |_, v| v.nil? }
|
610
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
610
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::ListDataSourcesRequest)
|
611
611
|
@list_data_sources.call(req, options, &block)
|
612
612
|
end
|
613
613
|
|
@@ -618,9 +618,9 @@ module Google
|
|
618
618
|
# Must be in the format projects/\\{project_id}/locations/\\{location_id} or
|
619
619
|
# projects/\\{project_id}. If specified location and location of the
|
620
620
|
# destination bigquery dataset do not match - the request will fail.
|
621
|
-
# @param transfer_config [Google::Cloud::Bigquery::
|
621
|
+
# @param transfer_config [Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig | Hash]
|
622
622
|
# Required. Data transfer configuration to create.
|
623
|
-
# A hash of the same form as `Google::Cloud::Bigquery::
|
623
|
+
# A hash of the same form as `Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig`
|
624
624
|
# can also be provided.
|
625
625
|
# @param authorization_code [String]
|
626
626
|
# Optional OAuth2 authorization code to use with this transfer configuration.
|
@@ -655,9 +655,9 @@ module Google
|
|
655
655
|
# Overrides the default settings for this call, e.g, timeout,
|
656
656
|
# retries, etc.
|
657
657
|
# @yield [result, operation] Access the result along with the RPC operation
|
658
|
-
# @yieldparam result [Google::Cloud::Bigquery::
|
658
|
+
# @yieldparam result [Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig]
|
659
659
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
660
|
-
# @return [Google::Cloud::Bigquery::
|
660
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig]
|
661
661
|
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
662
662
|
# @example
|
663
663
|
# require "google/cloud/bigquery/data_transfer"
|
@@ -684,16 +684,16 @@ module Google
|
|
684
684
|
version_info: version_info,
|
685
685
|
service_account_name: service_account_name
|
686
686
|
}.delete_if { |_, v| v.nil? }
|
687
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
687
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::CreateTransferConfigRequest)
|
688
688
|
@create_transfer_config.call(req, options, &block)
|
689
689
|
end
|
690
690
|
|
691
691
|
# Updates a data transfer configuration.
|
692
692
|
# All fields must be set, even if they are not updated.
|
693
693
|
#
|
694
|
-
# @param transfer_config [Google::Cloud::Bigquery::
|
694
|
+
# @param transfer_config [Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig | Hash]
|
695
695
|
# Required. Data transfer configuration to create.
|
696
|
-
# A hash of the same form as `Google::Cloud::Bigquery::
|
696
|
+
# A hash of the same form as `Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig`
|
697
697
|
# can also be provided.
|
698
698
|
# @param update_mask [Google::Protobuf::FieldMask | Hash]
|
699
699
|
# Required. Required list of fields to be updated in this request.
|
@@ -733,9 +733,9 @@ module Google
|
|
733
733
|
# Overrides the default settings for this call, e.g, timeout,
|
734
734
|
# retries, etc.
|
735
735
|
# @yield [result, operation] Access the result along with the RPC operation
|
736
|
-
# @yieldparam result [Google::Cloud::Bigquery::
|
736
|
+
# @yieldparam result [Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig]
|
737
737
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
738
|
-
# @return [Google::Cloud::Bigquery::
|
738
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig]
|
739
739
|
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
740
740
|
# @example
|
741
741
|
# require "google/cloud/bigquery/data_transfer"
|
@@ -764,7 +764,7 @@ module Google
|
|
764
764
|
version_info: version_info,
|
765
765
|
service_account_name: service_account_name
|
766
766
|
}.delete_if { |_, v| v.nil? }
|
767
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
767
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::UpdateTransferConfigRequest)
|
768
768
|
@update_transfer_config.call(req, options, &block)
|
769
769
|
end
|
770
770
|
|
@@ -796,7 +796,7 @@ module Google
|
|
796
796
|
req = {
|
797
797
|
name: name
|
798
798
|
}.delete_if { |_, v| v.nil? }
|
799
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
799
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::DeleteTransferConfigRequest)
|
800
800
|
@delete_transfer_config.call(req, options, &block)
|
801
801
|
nil
|
802
802
|
end
|
@@ -811,9 +811,9 @@ module Google
|
|
811
811
|
# Overrides the default settings for this call, e.g, timeout,
|
812
812
|
# retries, etc.
|
813
813
|
# @yield [result, operation] Access the result along with the RPC operation
|
814
|
-
# @yieldparam result [Google::Cloud::Bigquery::
|
814
|
+
# @yieldparam result [Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig]
|
815
815
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
816
|
-
# @return [Google::Cloud::Bigquery::
|
816
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig]
|
817
817
|
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
818
818
|
# @example
|
819
819
|
# require "google/cloud/bigquery/data_transfer"
|
@@ -829,7 +829,7 @@ module Google
|
|
829
829
|
req = {
|
830
830
|
name: name
|
831
831
|
}.delete_if { |_, v| v.nil? }
|
832
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
832
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::GetTransferConfigRequest)
|
833
833
|
@get_transfer_config.call(req, options, &block)
|
834
834
|
end
|
835
835
|
|
@@ -851,10 +851,10 @@ module Google
|
|
851
851
|
# Overrides the default settings for this call, e.g, timeout,
|
852
852
|
# retries, etc.
|
853
853
|
# @yield [result, operation] Access the result along with the RPC operation
|
854
|
-
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::
|
854
|
+
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig>]
|
855
855
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
856
|
-
# @return [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::
|
857
|
-
# An enumerable of Google::Cloud::Bigquery::
|
856
|
+
# @return [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig>]
|
857
|
+
# An enumerable of Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig instances.
|
858
858
|
# See Google::Gax::PagedEnumerable documentation for other
|
859
859
|
# operations such as per-page iteration or access to the response
|
860
860
|
# object.
|
@@ -889,7 +889,7 @@ module Google
|
|
889
889
|
data_source_ids: data_source_ids,
|
890
890
|
page_size: page_size
|
891
891
|
}.delete_if { |_, v| v.nil? }
|
892
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
892
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::ListTransferConfigsRequest)
|
893
893
|
@list_transfer_configs.call(req, options, &block)
|
894
894
|
end
|
895
895
|
|
@@ -917,9 +917,9 @@ module Google
|
|
917
917
|
# Overrides the default settings for this call, e.g, timeout,
|
918
918
|
# retries, etc.
|
919
919
|
# @yield [result, operation] Access the result along with the RPC operation
|
920
|
-
# @yieldparam result [Google::Cloud::Bigquery::
|
920
|
+
# @yieldparam result [Google::Cloud::Bigquery::DataTransfer::V1::ScheduleTransferRunsResponse]
|
921
921
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
922
|
-
# @return [Google::Cloud::Bigquery::
|
922
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::ScheduleTransferRunsResponse]
|
923
923
|
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
924
924
|
# @example
|
925
925
|
# require "google/cloud/bigquery/data_transfer"
|
@@ -945,7 +945,7 @@ module Google
|
|
945
945
|
start_time: start_time,
|
946
946
|
end_time: end_time
|
947
947
|
}.delete_if { |_, v| v.nil? }
|
948
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
948
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::ScheduleTransferRunsRequest)
|
949
949
|
@schedule_transfer_runs.call(req, options, &block)
|
950
950
|
end
|
951
951
|
|
@@ -958,9 +958,9 @@ module Google
|
|
958
958
|
# Transfer configuration name in the form:
|
959
959
|
# `projects/{project_id}/transferConfigs/{config_id}` or
|
960
960
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
|
961
|
-
# @param requested_time_range [Google::Cloud::Bigquery::
|
961
|
+
# @param requested_time_range [Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsRequest::TimeRange | Hash]
|
962
962
|
# Time range for the transfer runs that should be started.
|
963
|
-
# A hash of the same form as `Google::Cloud::Bigquery::
|
963
|
+
# A hash of the same form as `Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsRequest::TimeRange`
|
964
964
|
# can also be provided.
|
965
965
|
# @param requested_run_time [Google::Protobuf::Timestamp | Hash]
|
966
966
|
# Specific run_time for a transfer run to be started. The
|
@@ -971,9 +971,9 @@ module Google
|
|
971
971
|
# Overrides the default settings for this call, e.g, timeout,
|
972
972
|
# retries, etc.
|
973
973
|
# @yield [result, operation] Access the result along with the RPC operation
|
974
|
-
# @yieldparam result [Google::Cloud::Bigquery::
|
974
|
+
# @yieldparam result [Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsResponse]
|
975
975
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
976
|
-
# @return [Google::Cloud::Bigquery::
|
976
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsResponse]
|
977
977
|
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
978
978
|
# @example
|
979
979
|
# require "google/cloud/bigquery/data_transfer"
|
@@ -992,7 +992,7 @@ module Google
|
|
992
992
|
requested_time_range: requested_time_range,
|
993
993
|
requested_run_time: requested_run_time
|
994
994
|
}.delete_if { |_, v| v.nil? }
|
995
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
995
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsRequest)
|
996
996
|
@start_manual_transfer_runs.call(req, options, &block)
|
997
997
|
end
|
998
998
|
|
@@ -1006,9 +1006,9 @@ module Google
|
|
1006
1006
|
# Overrides the default settings for this call, e.g, timeout,
|
1007
1007
|
# retries, etc.
|
1008
1008
|
# @yield [result, operation] Access the result along with the RPC operation
|
1009
|
-
# @yieldparam result [Google::Cloud::Bigquery::
|
1009
|
+
# @yieldparam result [Google::Cloud::Bigquery::DataTransfer::V1::TransferRun]
|
1010
1010
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1011
|
-
# @return [Google::Cloud::Bigquery::
|
1011
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::TransferRun]
|
1012
1012
|
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
1013
1013
|
# @example
|
1014
1014
|
# require "google/cloud/bigquery/data_transfer"
|
@@ -1024,7 +1024,7 @@ module Google
|
|
1024
1024
|
req = {
|
1025
1025
|
name: name
|
1026
1026
|
}.delete_if { |_, v| v.nil? }
|
1027
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
1027
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::GetTransferRunRequest)
|
1028
1028
|
@get_transfer_run.call(req, options, &block)
|
1029
1029
|
end
|
1030
1030
|
|
@@ -1055,7 +1055,7 @@ module Google
|
|
1055
1055
|
req = {
|
1056
1056
|
name: name
|
1057
1057
|
}.delete_if { |_, v| v.nil? }
|
1058
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
1058
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::DeleteTransferRunRequest)
|
1059
1059
|
@delete_transfer_run.call(req, options, &block)
|
1060
1060
|
nil
|
1061
1061
|
end
|
@@ -1067,7 +1067,7 @@ module Google
|
|
1067
1067
|
# Format of transfer configuration resource name is:
|
1068
1068
|
# `projects/{project_id}/transferConfigs/{config_id}` or
|
1069
1069
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
|
1070
|
-
# @param states [Array<Google::Cloud::Bigquery::
|
1070
|
+
# @param states [Array<Google::Cloud::Bigquery::DataTransfer::V1::TransferState>]
|
1071
1071
|
# When specified, only transfer runs with requested states are returned.
|
1072
1072
|
# @param page_size [Integer]
|
1073
1073
|
# The maximum number of resources contained in the underlying API
|
@@ -1075,16 +1075,16 @@ module Google
|
|
1075
1075
|
# parameter does not affect the return value. If page streaming is
|
1076
1076
|
# performed per-page, this determines the maximum number of
|
1077
1077
|
# resources in a page.
|
1078
|
-
# @param run_attempt [Google::Cloud::Bigquery::
|
1078
|
+
# @param run_attempt [Google::Cloud::Bigquery::DataTransfer::V1::ListTransferRunsRequest::RunAttempt]
|
1079
1079
|
# Indicates how run attempts are to be pulled.
|
1080
1080
|
# @param options [Google::Gax::CallOptions]
|
1081
1081
|
# Overrides the default settings for this call, e.g, timeout,
|
1082
1082
|
# retries, etc.
|
1083
1083
|
# @yield [result, operation] Access the result along with the RPC operation
|
1084
|
-
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::
|
1084
|
+
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::DataTransfer::V1::TransferRun>]
|
1085
1085
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1086
|
-
# @return [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::
|
1087
|
-
# An enumerable of Google::Cloud::Bigquery::
|
1086
|
+
# @return [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::DataTransfer::V1::TransferRun>]
|
1087
|
+
# An enumerable of Google::Cloud::Bigquery::DataTransfer::V1::TransferRun instances.
|
1088
1088
|
# See Google::Gax::PagedEnumerable documentation for other
|
1089
1089
|
# operations such as per-page iteration or access to the response
|
1090
1090
|
# object.
|
@@ -1121,7 +1121,7 @@ module Google
|
|
1121
1121
|
page_size: page_size,
|
1122
1122
|
run_attempt: run_attempt
|
1123
1123
|
}.delete_if { |_, v| v.nil? }
|
1124
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
1124
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::ListTransferRunsRequest)
|
1125
1125
|
@list_transfer_runs.call(req, options, &block)
|
1126
1126
|
end
|
1127
1127
|
|
@@ -1137,17 +1137,17 @@ module Google
|
|
1137
1137
|
# parameter does not affect the return value. If page streaming is
|
1138
1138
|
# performed per-page, this determines the maximum number of
|
1139
1139
|
# resources in a page.
|
1140
|
-
# @param message_types [Array<Google::Cloud::Bigquery::
|
1140
|
+
# @param message_types [Array<Google::Cloud::Bigquery::DataTransfer::V1::TransferMessage::MessageSeverity>]
|
1141
1141
|
# Message types to return. If not populated - INFO, WARNING and ERROR
|
1142
1142
|
# messages are returned.
|
1143
1143
|
# @param options [Google::Gax::CallOptions]
|
1144
1144
|
# Overrides the default settings for this call, e.g, timeout,
|
1145
1145
|
# retries, etc.
|
1146
1146
|
# @yield [result, operation] Access the result along with the RPC operation
|
1147
|
-
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::
|
1147
|
+
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::DataTransfer::V1::TransferMessage>]
|
1148
1148
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1149
|
-
# @return [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::
|
1150
|
-
# An enumerable of Google::Cloud::Bigquery::
|
1149
|
+
# @return [Google::Gax::PagedEnumerable<Google::Cloud::Bigquery::DataTransfer::V1::TransferMessage>]
|
1150
|
+
# An enumerable of Google::Cloud::Bigquery::DataTransfer::V1::TransferMessage instances.
|
1151
1151
|
# See Google::Gax::PagedEnumerable documentation for other
|
1152
1152
|
# operations such as per-page iteration or access to the response
|
1153
1153
|
# object.
|
@@ -1182,7 +1182,7 @@ module Google
|
|
1182
1182
|
page_size: page_size,
|
1183
1183
|
message_types: message_types
|
1184
1184
|
}.delete_if { |_, v| v.nil? }
|
1185
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
1185
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::ListTransferLogsRequest)
|
1186
1186
|
@list_transfer_logs.call(req, options, &block)
|
1187
1187
|
end
|
1188
1188
|
|
@@ -1201,9 +1201,9 @@ module Google
|
|
1201
1201
|
# Overrides the default settings for this call, e.g, timeout,
|
1202
1202
|
# retries, etc.
|
1203
1203
|
# @yield [result, operation] Access the result along with the RPC operation
|
1204
|
-
# @yieldparam result [Google::Cloud::Bigquery::
|
1204
|
+
# @yieldparam result [Google::Cloud::Bigquery::DataTransfer::V1::CheckValidCredsResponse]
|
1205
1205
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1206
|
-
# @return [Google::Cloud::Bigquery::
|
1206
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::CheckValidCredsResponse]
|
1207
1207
|
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
1208
1208
|
# @example
|
1209
1209
|
# require "google/cloud/bigquery/data_transfer"
|
@@ -1219,7 +1219,7 @@ module Google
|
|
1219
1219
|
req = {
|
1220
1220
|
name: name
|
1221
1221
|
}.delete_if { |_, v| v.nil? }
|
1222
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::
|
1222
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Bigquery::DataTransfer::V1::CheckValidCredsRequest)
|
1223
1223
|
@check_valid_creds.call(req, options, &block)
|
1224
1224
|
end
|
1225
1225
|
end
|
@@ -16,7 +16,7 @@
|
|
16
16
|
module Google
|
17
17
|
module Cloud
|
18
18
|
module Bigquery
|
19
|
-
module
|
19
|
+
module DataTransfer
|
20
20
|
module V1
|
21
21
|
# Represents a data source parameter with validation rules, so that
|
22
22
|
# parameters can be rendered in the UI. These parameters are given to us by
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
# @return [String]
|
35
35
|
# Parameter description.
|
36
36
|
# @!attribute [rw] type
|
37
|
-
# @return [Google::Cloud::Bigquery::
|
37
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::DataSourceParameter::Type]
|
38
38
|
# Parameter type.
|
39
39
|
# @!attribute [rw] required
|
40
40
|
# @return [true, false]
|
@@ -55,7 +55,7 @@ module Google
|
|
55
55
|
# @return [Google::Protobuf::DoubleValue]
|
56
56
|
# For integer and double values specifies maxminum allowed value.
|
57
57
|
# @!attribute [rw] fields
|
58
|
-
# @return [Array<Google::Cloud::Bigquery::
|
58
|
+
# @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::DataSourceParameter>]
|
59
59
|
# Deprecated. This field has no effect.
|
60
60
|
# @!attribute [rw] validation_description
|
61
61
|
# @return [String]
|
@@ -124,7 +124,7 @@ module Google
|
|
124
124
|
# scopes needed by a data source to prepare data and ingest them into
|
125
125
|
# BigQuery, e.g., https://www.googleapis.com/auth/bigquery
|
126
126
|
# @!attribute [rw] transfer_type
|
127
|
-
# @return [Google::Cloud::Bigquery::
|
127
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::TransferType]
|
128
128
|
# Deprecated. This field has no effect.
|
129
129
|
# @!attribute [rw] supports_multiple_transfers
|
130
130
|
# @return [true, false]
|
@@ -146,16 +146,16 @@ module Google
|
|
146
146
|
# operates on the default schedule.
|
147
147
|
# When set to `true`, user can override default schedule.
|
148
148
|
# @!attribute [rw] parameters
|
149
|
-
# @return [Array<Google::Cloud::Bigquery::
|
149
|
+
# @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::DataSourceParameter>]
|
150
150
|
# Data source parameters.
|
151
151
|
# @!attribute [rw] help_url
|
152
152
|
# @return [String]
|
153
153
|
# Url for the help document for this data source.
|
154
154
|
# @!attribute [rw] authorization_type
|
155
|
-
# @return [Google::Cloud::Bigquery::
|
155
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::DataSource::AuthorizationType]
|
156
156
|
# Indicates the type of authorization.
|
157
157
|
# @!attribute [rw] data_refresh_type
|
158
|
-
# @return [Google::Cloud::Bigquery::
|
158
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::DataSource::DataRefreshType]
|
159
159
|
# Specifies whether the data source supports automatic data refresh for the
|
160
160
|
# past few days, and how it's supported.
|
161
161
|
# For some data sources, data might not be complete until a few days later,
|
@@ -236,7 +236,7 @@ module Google
|
|
236
236
|
|
237
237
|
# Returns list of supported data sources and their metadata.
|
238
238
|
# @!attribute [rw] data_sources
|
239
|
-
# @return [Array<Google::Cloud::Bigquery::
|
239
|
+
# @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::DataSource>]
|
240
240
|
# List of supported data sources and their transfer settings.
|
241
241
|
# @!attribute [rw] next_page_token
|
242
242
|
# @return [String]
|
@@ -259,7 +259,7 @@ module Google
|
|
259
259
|
# projects/\\{project_id}. If specified location and location of the
|
260
260
|
# destination bigquery dataset do not match - the request will fail.
|
261
261
|
# @!attribute [rw] transfer_config
|
262
|
-
# @return [Google::Cloud::Bigquery::
|
262
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig]
|
263
263
|
# Required. Data transfer configuration to create.
|
264
264
|
# @!attribute [rw] authorization_code
|
265
265
|
# @return [String]
|
@@ -298,7 +298,7 @@ module Google
|
|
298
298
|
# A request to update a transfer configuration. To update the user id of the
|
299
299
|
# transfer configuration, an authorization code needs to be provided.
|
300
300
|
# @!attribute [rw] transfer_config
|
301
|
-
# @return [Google::Cloud::Bigquery::
|
301
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig]
|
302
302
|
# Required. Data transfer configuration to create.
|
303
303
|
# @!attribute [rw] authorization_code
|
304
304
|
# @return [String]
|
@@ -394,7 +394,7 @@ module Google
|
|
394
394
|
|
395
395
|
# The returned list of pipelines in the project.
|
396
396
|
# @!attribute [rw] transfer_configs
|
397
|
-
# @return [Array<Google::Cloud::Bigquery::
|
397
|
+
# @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig>]
|
398
398
|
# Output only. The stored pipeline transfer configurations.
|
399
399
|
# @!attribute [rw] next_page_token
|
400
400
|
# @return [String]
|
@@ -414,7 +414,7 @@ module Google
|
|
414
414
|
# `projects/{project_id}/transferConfigs/{config_id}` or
|
415
415
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
|
416
416
|
# @!attribute [rw] states
|
417
|
-
# @return [Array<Google::Cloud::Bigquery::
|
417
|
+
# @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::TransferState>]
|
418
418
|
# When specified, only transfer runs with requested states are returned.
|
419
419
|
# @!attribute [rw] page_token
|
420
420
|
# @return [String]
|
@@ -427,7 +427,7 @@ module Google
|
|
427
427
|
# @return [Integer]
|
428
428
|
# Page size. The default page size is the maximum value of 1000 results.
|
429
429
|
# @!attribute [rw] run_attempt
|
430
|
-
# @return [Google::Cloud::Bigquery::
|
430
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::ListTransferRunsRequest::RunAttempt]
|
431
431
|
# Indicates how run attempts are to be pulled.
|
432
432
|
class ListTransferRunsRequest
|
433
433
|
# Represents which runs should be pulled.
|
@@ -442,7 +442,7 @@ module Google
|
|
442
442
|
|
443
443
|
# The returned list of pipelines in the project.
|
444
444
|
# @!attribute [rw] transfer_runs
|
445
|
-
# @return [Array<Google::Cloud::Bigquery::
|
445
|
+
# @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::TransferRun>]
|
446
446
|
# Output only. The stored pipeline transfer runs.
|
447
447
|
# @!attribute [rw] next_page_token
|
448
448
|
# @return [String]
|
@@ -469,14 +469,14 @@ module Google
|
|
469
469
|
# @return [Integer]
|
470
470
|
# Page size. The default page size is the maximum value of 1000 results.
|
471
471
|
# @!attribute [rw] message_types
|
472
|
-
# @return [Array<Google::Cloud::Bigquery::
|
472
|
+
# @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::TransferMessage::MessageSeverity>]
|
473
473
|
# Message types to return. If not populated - INFO, WARNING and ERROR
|
474
474
|
# messages are returned.
|
475
475
|
class ListTransferLogsRequest; end
|
476
476
|
|
477
477
|
# The returned list transfer run messages.
|
478
478
|
# @!attribute [rw] transfer_messages
|
479
|
-
# @return [Array<Google::Cloud::Bigquery::
|
479
|
+
# @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::TransferMessage>]
|
480
480
|
# Output only. The stored pipeline transfer messages.
|
481
481
|
# @!attribute [rw] next_page_token
|
482
482
|
# @return [String]
|
@@ -523,7 +523,7 @@ module Google
|
|
523
523
|
|
524
524
|
# A response to schedule transfer runs for a time range.
|
525
525
|
# @!attribute [rw] runs
|
526
|
-
# @return [Array<Google::Cloud::Bigquery::
|
526
|
+
# @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::TransferRun>]
|
527
527
|
# The transfer runs that were scheduled.
|
528
528
|
class ScheduleTransferRunsResponse; end
|
529
529
|
|
@@ -534,7 +534,7 @@ module Google
|
|
534
534
|
# `projects/{project_id}/transferConfigs/{config_id}` or
|
535
535
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
|
536
536
|
# @!attribute [rw] requested_time_range
|
537
|
-
# @return [Google::Cloud::Bigquery::
|
537
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsRequest::TimeRange]
|
538
538
|
# Time range for the transfer runs that should be started.
|
539
539
|
# @!attribute [rw] requested_run_time
|
540
540
|
# @return [Google::Protobuf::Timestamp]
|
@@ -560,7 +560,7 @@ module Google
|
|
560
560
|
|
561
561
|
# A response to start manual transfer runs.
|
562
562
|
# @!attribute [rw] runs
|
563
|
-
# @return [Array<Google::Cloud::Bigquery::
|
563
|
+
# @return [Array<Google::Cloud::Bigquery::DataTransfer::V1::TransferRun>]
|
564
564
|
# The transfer runs that were created.
|
565
565
|
class StartManualTransferRunsResponse; end
|
566
566
|
end
|
@@ -16,7 +16,7 @@
|
|
16
16
|
module Google
|
17
17
|
module Cloud
|
18
18
|
module Bigquery
|
19
|
-
module
|
19
|
+
module DataTransfer
|
20
20
|
module V1
|
21
21
|
# Represents preferences for sending email notifications for transfer run
|
22
22
|
# events.
|
@@ -89,7 +89,7 @@ module Google
|
|
89
89
|
# https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format
|
90
90
|
# NOTE: the granularity should be at least 8 hours, or less frequent.
|
91
91
|
# @!attribute [rw] schedule_options
|
92
|
-
# @return [Google::Cloud::Bigquery::
|
92
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::ScheduleOptions]
|
93
93
|
# Options customizing the data transfer schedule.
|
94
94
|
# @!attribute [rw] data_refresh_window_days
|
95
95
|
# @return [Integer]
|
@@ -110,7 +110,7 @@ module Google
|
|
110
110
|
# @return [Google::Protobuf::Timestamp]
|
111
111
|
# Output only. Next time when data transfer will run.
|
112
112
|
# @!attribute [rw] state
|
113
|
-
# @return [Google::Cloud::Bigquery::
|
113
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::TransferState]
|
114
114
|
# Output only. State of the most recently updated transfer run.
|
115
115
|
# @!attribute [rw] user_id
|
116
116
|
# @return [Integer]
|
@@ -123,7 +123,7 @@ module Google
|
|
123
123
|
# Pub/Sub topic where notifications will be sent after transfer runs
|
124
124
|
# associated with this transfer config finish.
|
125
125
|
# @!attribute [rw] email_preferences
|
126
|
-
# @return [Google::Cloud::Bigquery::
|
126
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::EmailPreferences]
|
127
127
|
# Email notifications will be sent according to these preferences
|
128
128
|
# to the email address of the user who owns this transfer config.
|
129
129
|
class TransferConfig; end
|
@@ -166,7 +166,7 @@ module Google
|
|
166
166
|
# @return [String]
|
167
167
|
# Output only. Data source id.
|
168
168
|
# @!attribute [rw] state
|
169
|
-
# @return [Google::Cloud::Bigquery::
|
169
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::TransferState]
|
170
170
|
# Data transfer run state. Ignored for input requests.
|
171
171
|
# @!attribute [rw] user_id
|
172
172
|
# @return [Integer]
|
@@ -183,7 +183,7 @@ module Google
|
|
183
183
|
# Output only. Pub/Sub topic where a notification will be sent after this
|
184
184
|
# transfer run finishes
|
185
185
|
# @!attribute [rw] email_preferences
|
186
|
-
# @return [Google::Cloud::Bigquery::
|
186
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::EmailPreferences]
|
187
187
|
# Output only. Email notifications will be sent according to these
|
188
188
|
# preferences to the email address of the user who owns the transfer config
|
189
189
|
# this run was derived from.
|
@@ -194,7 +194,7 @@ module Google
|
|
194
194
|
# @return [Google::Protobuf::Timestamp]
|
195
195
|
# Time when message was logged.
|
196
196
|
# @!attribute [rw] severity
|
197
|
-
# @return [Google::Cloud::Bigquery::
|
197
|
+
# @return [Google::Cloud::Bigquery::DataTransfer::V1::TransferMessage::MessageSeverity]
|
198
198
|
# Message severity.
|
199
199
|
# @!attribute [rw] message_text
|
200
200
|
# @return [String]
|
@@ -179,38 +179,39 @@ end
|
|
179
179
|
module Google
|
180
180
|
module Cloud
|
181
181
|
module Bigquery
|
182
|
-
module
|
183
|
-
module V1
|
184
|
-
DataSourceParameter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSourceParameter").msgclass
|
185
|
-
DataSourceParameter::Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type").enummodule
|
186
|
-
DataSource = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSource").msgclass
|
187
|
-
DataSource::AuthorizationType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType").enummodule
|
188
|
-
DataSource::DataRefreshType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType").enummodule
|
189
|
-
GetDataSourceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest").msgclass
|
190
|
-
ListDataSourcesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest").msgclass
|
191
|
-
ListDataSourcesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse").msgclass
|
192
|
-
CreateTransferConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest").msgclass
|
193
|
-
UpdateTransferConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest").msgclass
|
194
|
-
GetTransferConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest").msgclass
|
195
|
-
DeleteTransferConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest").msgclass
|
196
|
-
GetTransferRunRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest").msgclass
|
197
|
-
DeleteTransferRunRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest").msgclass
|
198
|
-
ListTransferConfigsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest").msgclass
|
199
|
-
ListTransferConfigsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse").msgclass
|
200
|
-
ListTransferRunsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest").msgclass
|
201
|
-
ListTransferRunsRequest::RunAttempt = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt").enummodule
|
202
|
-
ListTransferRunsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse").msgclass
|
203
|
-
ListTransferLogsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest").msgclass
|
204
|
-
ListTransferLogsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse").msgclass
|
205
|
-
CheckValidCredsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest").msgclass
|
206
|
-
CheckValidCredsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse").msgclass
|
207
|
-
ScheduleTransferRunsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest").msgclass
|
208
|
-
ScheduleTransferRunsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse").msgclass
|
209
|
-
StartManualTransferRunsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest").msgclass
|
210
|
-
StartManualTransferRunsRequest::TimeRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange").msgclass
|
211
|
-
StartManualTransferRunsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse").msgclass
|
212
|
-
end
|
182
|
+
module DataTransfer
|
213
183
|
end
|
184
|
+
Datatransfer = DataTransfer unless const_defined? :Datatransfer
|
214
185
|
end
|
215
186
|
end
|
216
187
|
end
|
188
|
+
module Google::Cloud::Bigquery::DataTransfer::V1
|
189
|
+
DataSourceParameter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSourceParameter").msgclass
|
190
|
+
DataSourceParameter::Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type").enummodule
|
191
|
+
DataSource = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSource").msgclass
|
192
|
+
DataSource::AuthorizationType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType").enummodule
|
193
|
+
DataSource::DataRefreshType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType").enummodule
|
194
|
+
GetDataSourceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest").msgclass
|
195
|
+
ListDataSourcesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest").msgclass
|
196
|
+
ListDataSourcesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse").msgclass
|
197
|
+
CreateTransferConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest").msgclass
|
198
|
+
UpdateTransferConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest").msgclass
|
199
|
+
GetTransferConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest").msgclass
|
200
|
+
DeleteTransferConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest").msgclass
|
201
|
+
GetTransferRunRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest").msgclass
|
202
|
+
DeleteTransferRunRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest").msgclass
|
203
|
+
ListTransferConfigsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest").msgclass
|
204
|
+
ListTransferConfigsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse").msgclass
|
205
|
+
ListTransferRunsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest").msgclass
|
206
|
+
ListTransferRunsRequest::RunAttempt = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt").enummodule
|
207
|
+
ListTransferRunsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse").msgclass
|
208
|
+
ListTransferLogsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest").msgclass
|
209
|
+
ListTransferLogsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse").msgclass
|
210
|
+
CheckValidCredsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest").msgclass
|
211
|
+
CheckValidCredsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse").msgclass
|
212
|
+
ScheduleTransferRunsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest").msgclass
|
213
|
+
ScheduleTransferRunsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse").msgclass
|
214
|
+
StartManualTransferRunsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest").msgclass
|
215
|
+
StartManualTransferRunsRequest::TimeRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange").msgclass
|
216
|
+
StartManualTransferRunsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse").msgclass
|
217
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto for package '
|
2
|
+
# Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto for package 'Google::Cloud::Bigquery::DataTransfer::V1'
|
3
3
|
# Original file comments:
|
4
4
|
# Copyright 2020 Google LLC
|
5
5
|
#
|
@@ -23,71 +23,72 @@ require 'google/cloud/bigquery/datatransfer/v1/datatransfer_pb'
|
|
23
23
|
module Google
|
24
24
|
module Cloud
|
25
25
|
module Bigquery
|
26
|
-
module
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
26
|
+
module DataTransfer
|
27
|
+
end
|
28
|
+
Datatransfer = DataTransfer unless const_defined? :Datatransfer
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
module Google::Cloud::Bigquery::DataTransfer::V1
|
33
|
+
module DataTransferService
|
34
|
+
# The Google BigQuery Data Transfer Service API enables BigQuery users to
|
35
|
+
# configure the transfer of their data from other Google Products into
|
36
|
+
# BigQuery. This service contains methods that are end user exposed. It backs
|
37
|
+
# up the frontend.
|
38
|
+
class Service
|
36
39
|
|
37
|
-
|
38
|
-
self.unmarshal_class_method = :decode
|
39
|
-
self.service_name = 'google.cloud.bigquery.datatransfer.v1.DataTransferService'
|
40
|
+
include GRPC::GenericService
|
40
41
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
# Lists supported data sources and returns their settings,
|
45
|
-
# which can be used for UI rendering.
|
46
|
-
rpc :ListDataSources, ListDataSourcesRequest, ListDataSourcesResponse
|
47
|
-
# Creates a new data transfer configuration.
|
48
|
-
rpc :CreateTransferConfig, CreateTransferConfigRequest, TransferConfig
|
49
|
-
# Updates a data transfer configuration.
|
50
|
-
# All fields must be set, even if they are not updated.
|
51
|
-
rpc :UpdateTransferConfig, UpdateTransferConfigRequest, TransferConfig
|
52
|
-
# Deletes a data transfer configuration,
|
53
|
-
# including any associated transfer runs and logs.
|
54
|
-
rpc :DeleteTransferConfig, DeleteTransferConfigRequest, Google::Protobuf::Empty
|
55
|
-
# Returns information about a data transfer config.
|
56
|
-
rpc :GetTransferConfig, GetTransferConfigRequest, TransferConfig
|
57
|
-
# Returns information about all data transfers in the project.
|
58
|
-
rpc :ListTransferConfigs, ListTransferConfigsRequest, ListTransferConfigsResponse
|
59
|
-
# Creates transfer runs for a time range [start_time, end_time].
|
60
|
-
# For each date - or whatever granularity the data source supports - in the
|
61
|
-
# range, one transfer run is created.
|
62
|
-
# Note that runs are created per UTC time in the time range.
|
63
|
-
# DEPRECATED: use StartManualTransferRuns instead.
|
64
|
-
rpc :ScheduleTransferRuns, ScheduleTransferRunsRequest, ScheduleTransferRunsResponse
|
65
|
-
# Start manual transfer runs to be executed now with schedule_time equal to
|
66
|
-
# current time. The transfer runs can be created for a time range where the
|
67
|
-
# run_time is between start_time (inclusive) and end_time (exclusive), or for
|
68
|
-
# a specific run_time.
|
69
|
-
rpc :StartManualTransferRuns, StartManualTransferRunsRequest, StartManualTransferRunsResponse
|
70
|
-
# Returns information about the particular transfer run.
|
71
|
-
rpc :GetTransferRun, GetTransferRunRequest, TransferRun
|
72
|
-
# Deletes the specified transfer run.
|
73
|
-
rpc :DeleteTransferRun, DeleteTransferRunRequest, Google::Protobuf::Empty
|
74
|
-
# Returns information about running and completed jobs.
|
75
|
-
rpc :ListTransferRuns, ListTransferRunsRequest, ListTransferRunsResponse
|
76
|
-
# Returns user facing log messages for the data transfer run.
|
77
|
-
rpc :ListTransferLogs, ListTransferLogsRequest, ListTransferLogsResponse
|
78
|
-
# Returns true if valid credentials exist for the given data source and
|
79
|
-
# requesting user.
|
80
|
-
# Some data sources doesn't support service account, so we need to talk to
|
81
|
-
# them on behalf of the end user. This API just checks whether we have OAuth
|
82
|
-
# token for the particular user, which is a pre-requisite before user can
|
83
|
-
# create a transfer config.
|
84
|
-
rpc :CheckValidCreds, CheckValidCredsRequest, CheckValidCredsResponse
|
85
|
-
end
|
42
|
+
self.marshal_class_method = :encode
|
43
|
+
self.unmarshal_class_method = :decode
|
44
|
+
self.service_name = 'google.cloud.bigquery.datatransfer.v1.DataTransferService'
|
86
45
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
46
|
+
# Retrieves a supported data source and returns its settings,
|
47
|
+
# which can be used for UI rendering.
|
48
|
+
rpc :GetDataSource, GetDataSourceRequest, DataSource
|
49
|
+
# Lists supported data sources and returns their settings,
|
50
|
+
# which can be used for UI rendering.
|
51
|
+
rpc :ListDataSources, ListDataSourcesRequest, ListDataSourcesResponse
|
52
|
+
# Creates a new data transfer configuration.
|
53
|
+
rpc :CreateTransferConfig, CreateTransferConfigRequest, TransferConfig
|
54
|
+
# Updates a data transfer configuration.
|
55
|
+
# All fields must be set, even if they are not updated.
|
56
|
+
rpc :UpdateTransferConfig, UpdateTransferConfigRequest, TransferConfig
|
57
|
+
# Deletes a data transfer configuration,
|
58
|
+
# including any associated transfer runs and logs.
|
59
|
+
rpc :DeleteTransferConfig, DeleteTransferConfigRequest, Google::Protobuf::Empty
|
60
|
+
# Returns information about a data transfer config.
|
61
|
+
rpc :GetTransferConfig, GetTransferConfigRequest, TransferConfig
|
62
|
+
# Returns information about all data transfers in the project.
|
63
|
+
rpc :ListTransferConfigs, ListTransferConfigsRequest, ListTransferConfigsResponse
|
64
|
+
# Creates transfer runs for a time range [start_time, end_time].
|
65
|
+
# For each date - or whatever granularity the data source supports - in the
|
66
|
+
# range, one transfer run is created.
|
67
|
+
# Note that runs are created per UTC time in the time range.
|
68
|
+
# DEPRECATED: use StartManualTransferRuns instead.
|
69
|
+
rpc :ScheduleTransferRuns, ScheduleTransferRunsRequest, ScheduleTransferRunsResponse
|
70
|
+
# Start manual transfer runs to be executed now with schedule_time equal to
|
71
|
+
# current time. The transfer runs can be created for a time range where the
|
72
|
+
# run_time is between start_time (inclusive) and end_time (exclusive), or for
|
73
|
+
# a specific run_time.
|
74
|
+
rpc :StartManualTransferRuns, StartManualTransferRunsRequest, StartManualTransferRunsResponse
|
75
|
+
# Returns information about the particular transfer run.
|
76
|
+
rpc :GetTransferRun, GetTransferRunRequest, TransferRun
|
77
|
+
# Deletes the specified transfer run.
|
78
|
+
rpc :DeleteTransferRun, DeleteTransferRunRequest, Google::Protobuf::Empty
|
79
|
+
# Returns information about running and completed jobs.
|
80
|
+
rpc :ListTransferRuns, ListTransferRunsRequest, ListTransferRunsResponse
|
81
|
+
# Returns user facing log messages for the data transfer run.
|
82
|
+
rpc :ListTransferLogs, ListTransferLogsRequest, ListTransferLogsResponse
|
83
|
+
# Returns true if valid credentials exist for the given data source and
|
84
|
+
# requesting user.
|
85
|
+
# Some data sources doesn't support service account, so we need to talk to
|
86
|
+
# them on behalf of the end user. This API just checks whether we have OAuth
|
87
|
+
# token for the particular user, which is a pre-requisite before user can
|
88
|
+
# create a transfer config.
|
89
|
+
rpc :CheckValidCreds, CheckValidCredsRequest, CheckValidCredsResponse
|
91
90
|
end
|
91
|
+
|
92
|
+
Stub = Service.rpc_stub_class
|
92
93
|
end
|
93
94
|
end
|
@@ -86,18 +86,19 @@ end
|
|
86
86
|
module Google
|
87
87
|
module Cloud
|
88
88
|
module Bigquery
|
89
|
-
module
|
90
|
-
module V1
|
91
|
-
EmailPreferences = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.EmailPreferences").msgclass
|
92
|
-
ScheduleOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ScheduleOptions").msgclass
|
93
|
-
TransferConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferConfig").msgclass
|
94
|
-
TransferRun = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferRun").msgclass
|
95
|
-
TransferMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferMessage").msgclass
|
96
|
-
TransferMessage::MessageSeverity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity").enummodule
|
97
|
-
TransferType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferType").enummodule
|
98
|
-
TransferState = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferState").enummodule
|
99
|
-
end
|
89
|
+
module DataTransfer
|
100
90
|
end
|
91
|
+
Datatransfer = DataTransfer unless const_defined? :Datatransfer
|
101
92
|
end
|
102
93
|
end
|
103
94
|
end
|
95
|
+
module Google::Cloud::Bigquery::DataTransfer::V1
|
96
|
+
EmailPreferences = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.EmailPreferences").msgclass
|
97
|
+
ScheduleOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ScheduleOptions").msgclass
|
98
|
+
TransferConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferConfig").msgclass
|
99
|
+
TransferRun = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferRun").msgclass
|
100
|
+
TransferMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferMessage").msgclass
|
101
|
+
TransferMessage::MessageSeverity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity").enummodule
|
102
|
+
TransferType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferType").enummodule
|
103
|
+
TransferState = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferState").enummodule
|
104
|
+
end
|
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
|
+
version: 0.9.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: 2020-04-
|
11
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|