google-cloud-bigquery-data_transfer-v1 0.8.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service/client.rb +14 -7
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service/rest/client.rb +14 -7
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service/rest/service_stub.rb +15 -15
- data/lib/google/cloud/bigquery/data_transfer/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_pb.rb +29 -164
- data/lib/google/cloud/bigquery/datatransfer/v1/transfer_pb.rb +30 -76
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/bigquery/datatransfer/v1/datatransfer.rb +11 -3
- data/proto_docs/google/cloud/bigquery/datatransfer/v1/transfer.rb +16 -0
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6433955b8b3f7bcdb862815a1264b7aded4630fa0e03baad0488ba4efbfd90af
|
4
|
+
data.tar.gz: dd9ce54ca3f027af29a8ff704fb893d863bcfdc8f8c64b4f5e4d5a2f6f6fcc12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4fcd678ba1f117f0df384049f4debf475a1f1b172c8061f55534f07431dd82a6e8801326057771a323f08b0f60849af7f4f8ab5bc05cb8a95201376ff2ef0f0
|
7
|
+
data.tar.gz: ef21e6e47e3d20a10d3c88b9894c1f3e1534fb5531ec6c677321203dd7666d243d59548136cc4605606ffc1acea2dd2d30e34df11779d0315ab2d8a11a453c15
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -181,7 +181,7 @@ module Google
|
|
181
181
|
credentials = @config.credentials
|
182
182
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
183
183
|
# but only if the default endpoint does not have a region prefix.
|
184
|
-
enable_self_signed_jwt = @config.endpoint ==
|
184
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
185
185
|
!@config.endpoint.split(".").first.include?("-")
|
186
186
|
credentials ||= Credentials.default scope: @config.scope,
|
187
187
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -1064,10 +1064,15 @@ module Google
|
|
1064
1064
|
# `projects/{project_id}/transferConfigs/{config_id}` or
|
1065
1065
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
|
1066
1066
|
# @param requested_time_range [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsRequest::TimeRange, ::Hash]
|
1067
|
-
#
|
1067
|
+
# A time_range start and end timestamp for historical data files or reports
|
1068
|
+
# that are scheduled to be transferred by the scheduled transfer run.
|
1069
|
+
# requested_time_range must be a past time and cannot include future time
|
1070
|
+
# values.
|
1068
1071
|
# @param requested_run_time [::Google::Protobuf::Timestamp, ::Hash]
|
1069
|
-
#
|
1070
|
-
#
|
1072
|
+
# A run_time timestamp for historical data files or reports
|
1073
|
+
# that are scheduled to be transferred by the scheduled transfer run.
|
1074
|
+
# requested_run_time must be a past time and cannot include future time
|
1075
|
+
# values.
|
1071
1076
|
#
|
1072
1077
|
# @yield [response, operation] Access the result along with the RPC operation
|
1073
1078
|
# @yieldparam response [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsResponse]
|
@@ -1738,9 +1743,9 @@ module Google
|
|
1738
1743
|
# * (`String`) The path to a service account key file in JSON format
|
1739
1744
|
# * (`Hash`) A service account key as a Hash
|
1740
1745
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1741
|
-
# (see the [googleauth docs](https://
|
1746
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1742
1747
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1743
|
-
# (see the [signet docs](https://
|
1748
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1744
1749
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1745
1750
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1746
1751
|
# * (`nil`) indicating no credentials
|
@@ -1782,7 +1787,9 @@ module Google
|
|
1782
1787
|
class Configuration
|
1783
1788
|
extend ::Gapic::Config
|
1784
1789
|
|
1785
|
-
|
1790
|
+
DEFAULT_ENDPOINT = "bigquerydatatransfer.googleapis.com"
|
1791
|
+
|
1792
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1786
1793
|
config_attr :credentials, nil do |value|
|
1787
1794
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1788
1795
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -177,7 +177,7 @@ module Google
|
|
177
177
|
credentials = @config.credentials
|
178
178
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
179
179
|
# but only if the default endpoint does not have a region prefix.
|
180
|
-
enable_self_signed_jwt = @config.endpoint ==
|
180
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
181
181
|
!@config.endpoint.split(".").first.include?("-")
|
182
182
|
credentials ||= Credentials.default scope: @config.scope,
|
183
183
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -862,10 +862,15 @@ module Google
|
|
862
862
|
# `projects/{project_id}/transferConfigs/{config_id}` or
|
863
863
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
|
864
864
|
# @param requested_time_range [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsRequest::TimeRange, ::Hash]
|
865
|
-
#
|
865
|
+
# A time_range start and end timestamp for historical data files or reports
|
866
|
+
# that are scheduled to be transferred by the scheduled transfer run.
|
867
|
+
# requested_time_range must be a past time and cannot include future time
|
868
|
+
# values.
|
866
869
|
# @param requested_run_time [::Google::Protobuf::Timestamp, ::Hash]
|
867
|
-
#
|
868
|
-
#
|
870
|
+
# A run_time timestamp for historical data files or reports
|
871
|
+
# that are scheduled to be transferred by the scheduled transfer run.
|
872
|
+
# requested_run_time must be a past time and cannot include future time
|
873
|
+
# values.
|
869
874
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
870
875
|
# @yieldparam result [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsResponse]
|
871
876
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1367,9 +1372,9 @@ module Google
|
|
1367
1372
|
# * (`String`) The path to a service account key file in JSON format
|
1368
1373
|
# * (`Hash`) A service account key as a Hash
|
1369
1374
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1370
|
-
# (see the [googleauth docs](https://
|
1375
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1371
1376
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1372
|
-
# (see the [signet docs](https://
|
1377
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1373
1378
|
# * (`nil`) indicating no credentials
|
1374
1379
|
# @return [::Object]
|
1375
1380
|
# @!attribute [rw] scope
|
@@ -1402,7 +1407,9 @@ module Google
|
|
1402
1407
|
class Configuration
|
1403
1408
|
extend ::Gapic::Config
|
1404
1409
|
|
1405
|
-
|
1410
|
+
DEFAULT_ENDPOINT = "bigquerydatatransfer.googleapis.com"
|
1411
|
+
|
1412
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1406
1413
|
config_attr :credentials, nil do |value|
|
1407
1414
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1408
1415
|
allowed.any? { |klass| klass === value }
|
@@ -60,7 +60,7 @@ module Google
|
|
60
60
|
|
61
61
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_data_source_request request_pb
|
62
62
|
query_string_params = if query_string_params.any?
|
63
|
-
query_string_params.to_h { |p| p.split
|
63
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
64
64
|
else
|
65
65
|
{}
|
66
66
|
end
|
@@ -98,7 +98,7 @@ module Google
|
|
98
98
|
|
99
99
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_data_sources_request request_pb
|
100
100
|
query_string_params = if query_string_params.any?
|
101
|
-
query_string_params.to_h { |p| p.split
|
101
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
102
102
|
else
|
103
103
|
{}
|
104
104
|
end
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
|
137
137
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_transfer_config_request request_pb
|
138
138
|
query_string_params = if query_string_params.any?
|
139
|
-
query_string_params.to_h { |p| p.split
|
139
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
140
140
|
else
|
141
141
|
{}
|
142
142
|
end
|
@@ -174,7 +174,7 @@ module Google
|
|
174
174
|
|
175
175
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_transfer_config_request request_pb
|
176
176
|
query_string_params = if query_string_params.any?
|
177
|
-
query_string_params.to_h { |p| p.split
|
177
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
178
178
|
else
|
179
179
|
{}
|
180
180
|
end
|
@@ -212,7 +212,7 @@ module Google
|
|
212
212
|
|
213
213
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_transfer_config_request request_pb
|
214
214
|
query_string_params = if query_string_params.any?
|
215
|
-
query_string_params.to_h { |p| p.split
|
215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
216
216
|
else
|
217
217
|
{}
|
218
218
|
end
|
@@ -250,7 +250,7 @@ module Google
|
|
250
250
|
|
251
251
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_transfer_config_request request_pb
|
252
252
|
query_string_params = if query_string_params.any?
|
253
|
-
query_string_params.to_h { |p| p.split
|
253
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
254
254
|
else
|
255
255
|
{}
|
256
256
|
end
|
@@ -288,7 +288,7 @@ module Google
|
|
288
288
|
|
289
289
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_transfer_configs_request request_pb
|
290
290
|
query_string_params = if query_string_params.any?
|
291
|
-
query_string_params.to_h { |p| p.split
|
291
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
292
292
|
else
|
293
293
|
{}
|
294
294
|
end
|
@@ -326,7 +326,7 @@ module Google
|
|
326
326
|
|
327
327
|
verb, uri, query_string_params, body = ServiceStub.transcode_schedule_transfer_runs_request request_pb
|
328
328
|
query_string_params = if query_string_params.any?
|
329
|
-
query_string_params.to_h { |p| p.split
|
329
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
330
330
|
else
|
331
331
|
{}
|
332
332
|
end
|
@@ -364,7 +364,7 @@ module Google
|
|
364
364
|
|
365
365
|
verb, uri, query_string_params, body = ServiceStub.transcode_start_manual_transfer_runs_request request_pb
|
366
366
|
query_string_params = if query_string_params.any?
|
367
|
-
query_string_params.to_h { |p| p.split
|
367
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
368
368
|
else
|
369
369
|
{}
|
370
370
|
end
|
@@ -402,7 +402,7 @@ module Google
|
|
402
402
|
|
403
403
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_transfer_run_request request_pb
|
404
404
|
query_string_params = if query_string_params.any?
|
405
|
-
query_string_params.to_h { |p| p.split
|
405
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
406
406
|
else
|
407
407
|
{}
|
408
408
|
end
|
@@ -440,7 +440,7 @@ module Google
|
|
440
440
|
|
441
441
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_transfer_run_request request_pb
|
442
442
|
query_string_params = if query_string_params.any?
|
443
|
-
query_string_params.to_h { |p| p.split
|
443
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
444
444
|
else
|
445
445
|
{}
|
446
446
|
end
|
@@ -478,7 +478,7 @@ module Google
|
|
478
478
|
|
479
479
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_transfer_runs_request request_pb
|
480
480
|
query_string_params = if query_string_params.any?
|
481
|
-
query_string_params.to_h { |p| p.split
|
481
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
482
482
|
else
|
483
483
|
{}
|
484
484
|
end
|
@@ -516,7 +516,7 @@ module Google
|
|
516
516
|
|
517
517
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_transfer_logs_request request_pb
|
518
518
|
query_string_params = if query_string_params.any?
|
519
|
-
query_string_params.to_h { |p| p.split
|
519
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
520
520
|
else
|
521
521
|
{}
|
522
522
|
end
|
@@ -554,7 +554,7 @@ module Google
|
|
554
554
|
|
555
555
|
verb, uri, query_string_params, body = ServiceStub.transcode_check_valid_creds_request request_pb
|
556
556
|
query_string_params = if query_string_params.any?
|
557
|
-
query_string_params.to_h { |p| p.split
|
557
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
558
558
|
else
|
559
559
|
{}
|
560
560
|
end
|
@@ -592,7 +592,7 @@ module Google
|
|
592
592
|
|
593
593
|
verb, uri, query_string_params, body = ServiceStub.transcode_enroll_data_sources_request request_pb
|
594
594
|
query_string_params = if query_string_params.any?
|
595
|
-
query_string_params.to_h { |p| p.split
|
595
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
596
596
|
else
|
597
597
|
{}
|
598
598
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto
|
3
4
|
|
@@ -14,172 +15,36 @@ require 'google/protobuf/field_mask_pb'
|
|
14
15
|
require 'google/protobuf/timestamp_pb'
|
15
16
|
require 'google/protobuf/wrappers_pb'
|
16
17
|
|
17
|
-
|
18
|
-
add_file("google/cloud/bigquery/datatransfer/v1/datatransfer.proto", :syntax => :proto3) do
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
value :RECORD, 5
|
44
|
-
value :PLUS_PAGE, 6
|
45
|
-
end
|
46
|
-
add_message "google.cloud.bigquery.datatransfer.v1.DataSource" do
|
47
|
-
optional :name, :string, 1
|
48
|
-
optional :data_source_id, :string, 2
|
49
|
-
optional :display_name, :string, 3
|
50
|
-
optional :description, :string, 4
|
51
|
-
optional :client_id, :string, 5
|
52
|
-
repeated :scopes, :string, 6
|
53
|
-
optional :transfer_type, :enum, 7, "google.cloud.bigquery.datatransfer.v1.TransferType"
|
54
|
-
optional :supports_multiple_transfers, :bool, 8
|
55
|
-
optional :update_deadline_seconds, :int32, 9
|
56
|
-
optional :default_schedule, :string, 10
|
57
|
-
optional :supports_custom_schedule, :bool, 11
|
58
|
-
repeated :parameters, :message, 12, "google.cloud.bigquery.datatransfer.v1.DataSourceParameter"
|
59
|
-
optional :help_url, :string, 13
|
60
|
-
optional :authorization_type, :enum, 14, "google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType"
|
61
|
-
optional :data_refresh_type, :enum, 15, "google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType"
|
62
|
-
optional :default_data_refresh_window_days, :int32, 16
|
63
|
-
optional :manual_runs_disabled, :bool, 17
|
64
|
-
optional :minimum_schedule_interval, :message, 18, "google.protobuf.Duration"
|
65
|
-
end
|
66
|
-
add_enum "google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType" do
|
67
|
-
value :AUTHORIZATION_TYPE_UNSPECIFIED, 0
|
68
|
-
value :AUTHORIZATION_CODE, 1
|
69
|
-
value :GOOGLE_PLUS_AUTHORIZATION_CODE, 2
|
70
|
-
value :FIRST_PARTY_OAUTH, 3
|
71
|
-
end
|
72
|
-
add_enum "google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType" do
|
73
|
-
value :DATA_REFRESH_TYPE_UNSPECIFIED, 0
|
74
|
-
value :SLIDING_WINDOW, 1
|
75
|
-
value :CUSTOM_SLIDING_WINDOW, 2
|
76
|
-
end
|
77
|
-
add_message "google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest" do
|
78
|
-
optional :name, :string, 1
|
79
|
-
end
|
80
|
-
add_message "google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest" do
|
81
|
-
optional :parent, :string, 1
|
82
|
-
optional :page_token, :string, 3
|
83
|
-
optional :page_size, :int32, 4
|
84
|
-
end
|
85
|
-
add_message "google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse" do
|
86
|
-
repeated :data_sources, :message, 1, "google.cloud.bigquery.datatransfer.v1.DataSource"
|
87
|
-
optional :next_page_token, :string, 2
|
88
|
-
end
|
89
|
-
add_message "google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest" do
|
90
|
-
optional :parent, :string, 1
|
91
|
-
optional :transfer_config, :message, 2, "google.cloud.bigquery.datatransfer.v1.TransferConfig"
|
92
|
-
optional :authorization_code, :string, 3
|
93
|
-
optional :version_info, :string, 5
|
94
|
-
optional :service_account_name, :string, 6
|
95
|
-
end
|
96
|
-
add_message "google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest" do
|
97
|
-
optional :transfer_config, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferConfig"
|
98
|
-
optional :authorization_code, :string, 3
|
99
|
-
optional :update_mask, :message, 4, "google.protobuf.FieldMask"
|
100
|
-
optional :version_info, :string, 5
|
101
|
-
optional :service_account_name, :string, 6
|
102
|
-
end
|
103
|
-
add_message "google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest" do
|
104
|
-
optional :name, :string, 1
|
105
|
-
end
|
106
|
-
add_message "google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest" do
|
107
|
-
optional :name, :string, 1
|
108
|
-
end
|
109
|
-
add_message "google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest" do
|
110
|
-
optional :name, :string, 1
|
111
|
-
end
|
112
|
-
add_message "google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest" do
|
113
|
-
optional :name, :string, 1
|
114
|
-
end
|
115
|
-
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest" do
|
116
|
-
optional :parent, :string, 1
|
117
|
-
repeated :data_source_ids, :string, 2
|
118
|
-
optional :page_token, :string, 3
|
119
|
-
optional :page_size, :int32, 4
|
120
|
-
end
|
121
|
-
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse" do
|
122
|
-
repeated :transfer_configs, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferConfig"
|
123
|
-
optional :next_page_token, :string, 2
|
124
|
-
end
|
125
|
-
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest" do
|
126
|
-
optional :parent, :string, 1
|
127
|
-
repeated :states, :enum, 2, "google.cloud.bigquery.datatransfer.v1.TransferState"
|
128
|
-
optional :page_token, :string, 3
|
129
|
-
optional :page_size, :int32, 4
|
130
|
-
optional :run_attempt, :enum, 5, "google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt"
|
131
|
-
end
|
132
|
-
add_enum "google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt" do
|
133
|
-
value :RUN_ATTEMPT_UNSPECIFIED, 0
|
134
|
-
value :LATEST, 1
|
135
|
-
end
|
136
|
-
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse" do
|
137
|
-
repeated :transfer_runs, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferRun"
|
138
|
-
optional :next_page_token, :string, 2
|
139
|
-
end
|
140
|
-
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest" do
|
141
|
-
optional :parent, :string, 1
|
142
|
-
optional :page_token, :string, 4
|
143
|
-
optional :page_size, :int32, 5
|
144
|
-
repeated :message_types, :enum, 6, "google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity"
|
145
|
-
end
|
146
|
-
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse" do
|
147
|
-
repeated :transfer_messages, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferMessage"
|
148
|
-
optional :next_page_token, :string, 2
|
149
|
-
end
|
150
|
-
add_message "google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest" do
|
151
|
-
optional :name, :string, 1
|
152
|
-
end
|
153
|
-
add_message "google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse" do
|
154
|
-
optional :has_valid_creds, :bool, 1
|
155
|
-
end
|
156
|
-
add_message "google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest" do
|
157
|
-
optional :parent, :string, 1
|
158
|
-
optional :start_time, :message, 2, "google.protobuf.Timestamp"
|
159
|
-
optional :end_time, :message, 3, "google.protobuf.Timestamp"
|
160
|
-
end
|
161
|
-
add_message "google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse" do
|
162
|
-
repeated :runs, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferRun"
|
163
|
-
end
|
164
|
-
add_message "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest" do
|
165
|
-
optional :parent, :string, 1
|
166
|
-
oneof :time do
|
167
|
-
optional :requested_time_range, :message, 3, "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange"
|
168
|
-
optional :requested_run_time, :message, 4, "google.protobuf.Timestamp"
|
169
|
-
end
|
170
|
-
end
|
171
|
-
add_message "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange" do
|
172
|
-
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
173
|
-
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
174
|
-
end
|
175
|
-
add_message "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse" do
|
176
|
-
repeated :runs, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferRun"
|
177
|
-
end
|
178
|
-
add_message "google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest" do
|
179
|
-
optional :name, :string, 1
|
180
|
-
repeated :data_source_ids, :string, 2
|
18
|
+
|
19
|
+
descriptor_data = "\n8google/cloud/bigquery/datatransfer/v1/datatransfer.proto\x12%google.cloud.bigquery.datatransfer.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/bigquery/datatransfer/v1/transfer.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x8f\x05\n\x13\x44\x61taSourceParameter\x12\x10\n\x08param_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12M\n\x04type\x18\x04 \x01(\x0e\x32?.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type\x12\x10\n\x08required\x18\x05 \x01(\x08\x12\x10\n\x08repeated\x18\x06 \x01(\x08\x12\x18\n\x10validation_regex\x18\x07 \x01(\t\x12\x16\n\x0e\x61llowed_values\x18\x08 \x03(\t\x12/\n\tmin_value\x18\t \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12/\n\tmax_value\x18\n \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12J\n\x06\x66ields\x18\x0b \x03(\x0b\x32:.google.cloud.bigquery.datatransfer.v1.DataSourceParameter\x12\x1e\n\x16validation_description\x18\x0c \x01(\t\x12\x1b\n\x13validation_help_url\x18\r \x01(\t\x12\x11\n\timmutable\x18\x0e \x01(\x08\x12\x0f\n\x07recurse\x18\x0f \x01(\x08\x12\x12\n\ndeprecated\x18\x14 \x01(\x08\"s\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\n\n\x06\x44OUBLE\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04\x12\n\n\x06RECORD\x10\x05\x12\r\n\tPLUS_PAGE\x10\x06\x12\x08\n\x04LIST\x10\x07\"\x9c\t\n\nDataSource\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\x0e\x64\x61ta_source_id\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x11\n\tclient_id\x18\x05 \x01(\t\x12\x0e\n\x06scopes\x18\x06 \x03(\t\x12N\n\rtransfer_type\x18\x07 \x01(\x0e\x32\x33.google.cloud.bigquery.datatransfer.v1.TransferTypeB\x02\x18\x01\x12\'\n\x1bsupports_multiple_transfers\x18\x08 \x01(\x08\x42\x02\x18\x01\x12\x1f\n\x17update_deadline_seconds\x18\t \x01(\x05\x12\x18\n\x10\x64\x65\x66\x61ult_schedule\x18\n \x01(\t\x12 \n\x18supports_custom_schedule\x18\x0b \x01(\x08\x12N\n\nparameters\x18\x0c \x03(\x0b\x32:.google.cloud.bigquery.datatransfer.v1.DataSourceParameter\x12\x10\n\x08help_url\x18\r \x01(\t\x12_\n\x12\x61uthorization_type\x18\x0e \x01(\x0e\x32\x43.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType\x12\\\n\x11\x64\x61ta_refresh_type\x18\x0f \x01(\x0e\x32\x41.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType\x12(\n default_data_refresh_window_days\x18\x10 \x01(\x05\x12\x1c\n\x14manual_runs_disabled\x18\x11 \x01(\x08\x12<\n\x19minimum_schedule_interval\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x8a\x01\n\x11\x41uthorizationType\x12\"\n\x1e\x41UTHORIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x41UTHORIZATION_CODE\x10\x01\x12\"\n\x1eGOOGLE_PLUS_AUTHORIZATION_CODE\x10\x02\x12\x15\n\x11\x46IRST_PARTY_OAUTH\x10\x03\"c\n\x0f\x44\x61taRefreshType\x12!\n\x1d\x44\x41TA_REFRESH_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSLIDING_WINDOW\x10\x01\x12\x19\n\x15\x43USTOM_SLIDING_WINDOW\x10\x02:\xa5\x01\xea\x41\xa1\x01\n.bigquerydatatransfer.googleapis.com/DataSource\x12,projects/{project}/dataSources/{data_source}\x12\x41projects/{project}/locations/{location}/dataSources/{data_source}\"\\\n\x14GetDataSourceRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.bigquerydatatransfer.googleapis.com/DataSource\"\x87\x01\n\x16ListDataSourcesRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.bigquerydatatransfer.googleapis.com/DataSource\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\"\x80\x01\n\x17ListDataSourcesResponse\x12G\n\x0c\x64\x61ta_sources\x18\x01 \x03(\x0b\x32\x31.google.cloud.bigquery.datatransfer.v1.DataSource\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\x8e\x02\n\x1b\x43reateTransferConfigRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32\x62igquerydatatransfer.googleapis.com/TransferConfig\x12S\n\x0ftransfer_config\x18\x02 \x01(\x0b\x32\x35.google.cloud.bigquery.datatransfer.v1.TransferConfigB\x03\xe0\x41\x02\x12\x1a\n\x12\x61uthorization_code\x18\x03 \x01(\t\x12\x14\n\x0cversion_info\x18\x05 \x01(\t\x12\x1c\n\x14service_account_name\x18\x06 \x01(\t\"\xf8\x01\n\x1bUpdateTransferConfigRequest\x12S\n\x0ftransfer_config\x18\x01 \x01(\x0b\x32\x35.google.cloud.bigquery.datatransfer.v1.TransferConfigB\x03\xe0\x41\x02\x12\x1a\n\x12\x61uthorization_code\x18\x03 \x01(\t\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x14\n\x0cversion_info\x18\x05 \x01(\t\x12\x1c\n\x14service_account_name\x18\x06 \x01(\t\"d\n\x18GetTransferConfigRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2bigquerydatatransfer.googleapis.com/TransferConfig\"g\n\x1b\x44\x65leteTransferConfigRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2bigquerydatatransfer.googleapis.com/TransferConfig\"V\n\x15GetTransferRunRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'bigquerydatatransfer.googleapis.com/Run\"Y\n\x18\x44\x65leteTransferRunRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'bigquerydatatransfer.googleapis.com/Run\"\xa8\x01\n\x1aListTransferConfigsRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32\x62igquerydatatransfer.googleapis.com/TransferConfig\x12\x17\n\x0f\x64\x61ta_source_ids\x18\x02 \x03(\t\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\"\x91\x01\n\x1bListTransferConfigsResponse\x12T\n\x10transfer_configs\x18\x01 \x03(\x0b\x32\x35.google.cloud.bigquery.datatransfer.v1.TransferConfigB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xde\x02\n\x17ListTransferRunsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'bigquerydatatransfer.googleapis.com/Run\x12\x44\n\x06states\x18\x02 \x03(\x0e\x32\x34.google.cloud.bigquery.datatransfer.v1.TransferState\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12^\n\x0brun_attempt\x18\x05 \x01(\x0e\x32I.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt\"5\n\nRunAttempt\x12\x1b\n\x17RUN_ATTEMPT_UNSPECIFIED\x10\x00\x12\n\n\x06LATEST\x10\x01\"\x88\x01\n\x18ListTransferRunsResponse\x12N\n\rtransfer_runs\x18\x01 \x03(\x0b\x32\x32.google.cloud.bigquery.datatransfer.v1.TransferRunB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xe0\x01\n\x17ListTransferLogsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'bigquerydatatransfer.googleapis.com/Run\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12]\n\rmessage_types\x18\x06 \x03(\x0e\x32\x46.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity\"\x90\x01\n\x18ListTransferLogsResponse\x12V\n\x11transfer_messages\x18\x01 \x03(\x0b\x32\x36.google.cloud.bigquery.datatransfer.v1.TransferMessageB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"^\n\x16\x43heckValidCredsRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.bigquerydatatransfer.googleapis.com/DataSource\"2\n\x17\x43heckValidCredsResponse\x12\x17\n\x0fhas_valid_creds\x18\x01 \x01(\x08\"\xd1\x01\n\x1bScheduleTransferRunsRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2bigquerydatatransfer.googleapis.com/TransferConfig\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"`\n\x1cScheduleTransferRunsResponse\x12@\n\x04runs\x18\x01 \x03(\x0b\x32\x32.google.cloud.bigquery.datatransfer.v1.TransferRun\"\x87\x03\n\x1eStartManualTransferRunsRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xfa\x41\x34\n2bigquerydatatransfer.googleapis.com/TransferConfig\x12o\n\x14requested_time_range\x18\x03 \x01(\x0b\x32O.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRangeH\x00\x12\x38\n\x12requested_run_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x1ai\n\tTimeRange\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\n\x04time\"c\n\x1fStartManualTransferRunsResponse\x12@\n\x04runs\x18\x01 \x03(\x0b\x32\x32.google.cloud.bigquery.datatransfer.v1.TransferRun\"A\n\x18\x45nrollDataSourcesRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x61ta_source_ids\x18\x02 \x03(\t2\xa0!\n\x13\x44\x61taTransferService\x12\xe6\x01\n\rGetDataSource\x12;.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest\x1a\x31.google.cloud.bigquery.datatransfer.v1.DataSource\"e\x82\xd3\xe4\x93\x02X\x12//v1/{name=projects/*/locations/*/dataSources/*}Z%\x12#/v1/{name=projects/*/dataSources/*}\xda\x41\x04name\x12\xf9\x01\n\x0fListDataSources\x12=.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest\x1a>.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse\"g\x82\xd3\xe4\x93\x02X\x12//v1/{parent=projects/*/locations/*}/dataSourcesZ%\x12#/v1/{parent=projects/*}/dataSources\xda\x41\x06parent\x12\xb6\x02\n\x14\x43reateTransferConfig\x12\x42.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest\x1a\x35.google.cloud.bigquery.datatransfer.v1.TransferConfig\"\xa2\x01\x82\xd3\xe4\x93\x02\x82\x01\"3/v1/{parent=projects/*/locations/*}/transferConfigs:\x0ftransfer_configZ:\"\'/v1/{parent=projects/*}/transferConfigs:\x0ftransfer_config\xda\x41\x16parent,transfer_config\x12\xdb\x02\n\x14UpdateTransferConfig\x12\x42.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest\x1a\x35.google.cloud.bigquery.datatransfer.v1.TransferConfig\"\xc7\x01\x82\xd3\xe4\x93\x02\xa2\x01\x32\x43/v1/{transfer_config.name=projects/*/locations/*/transferConfigs/*}:\x0ftransfer_configZJ27/v1/{transfer_config.name=projects/*/transferConfigs/*}:\x0ftransfer_config\xda\x41\x1btransfer_config,update_mask\x12\xe1\x01\n\x14\x44\x65leteTransferConfig\x12\x42.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest\x1a\x16.google.protobuf.Empty\"m\x82\xd3\xe4\x93\x02`*3/v1/{name=projects/*/locations/*/transferConfigs/*}Z)*\'/v1/{name=projects/*/transferConfigs/*}\xda\x41\x04name\x12\xfa\x01\n\x11GetTransferConfig\x12?.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest\x1a\x35.google.cloud.bigquery.datatransfer.v1.TransferConfig\"m\x82\xd3\xe4\x93\x02`\x12\x33/v1/{name=projects/*/locations/*/transferConfigs/*}Z)\x12\'/v1/{name=projects/*/transferConfigs/*}\xda\x41\x04name\x12\x8d\x02\n\x13ListTransferConfigs\x12\x41.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest\x1a\x42.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse\"o\x82\xd3\xe4\x93\x02`\x12\x33/v1/{parent=projects/*/locations/*}/transferConfigsZ)\x12\'/v1/{parent=projects/*}/transferConfigs\xda\x41\x06parent\x12\xcd\x02\n\x14ScheduleTransferRuns\x12\x42.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest\x1a\x43.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse\"\xab\x01\x88\x02\x01\x82\xd3\xe4\x93\x02\x84\x01\"B/v1/{parent=projects/*/locations/*/transferConfigs/*}:scheduleRuns:\x01*Z;\"6/v1/{parent=projects/*/transferConfigs/*}:scheduleRuns:\x01*\xda\x41\x1aparent,start_time,end_time\x12\xbc\x02\n\x17StartManualTransferRuns\x12\x45.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest\x1a\x46.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse\"\x91\x01\x82\xd3\xe4\x93\x02\x8a\x01\"E/v1/{parent=projects/*/locations/*/transferConfigs/*}:startManualRuns:\x01*Z>\"9/v1/{parent=projects/*/transferConfigs/*}:startManualRuns:\x01*\x12\xff\x01\n\x0eGetTransferRun\x12<.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest\x1a\x32.google.cloud.bigquery.datatransfer.v1.TransferRun\"{\x82\xd3\xe4\x93\x02n\x12:/v1/{name=projects/*/locations/*/transferConfigs/*/runs/*}Z0\x12./v1/{name=projects/*/transferConfigs/*/runs/*}\xda\x41\x04name\x12\xe9\x01\n\x11\x44\x65leteTransferRun\x12?.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest\x1a\x16.google.protobuf.Empty\"{\x82\xd3\xe4\x93\x02n*:/v1/{name=projects/*/locations/*/transferConfigs/*/runs/*}Z0*./v1/{name=projects/*/transferConfigs/*/runs/*}\xda\x41\x04name\x12\x92\x02\n\x10ListTransferRuns\x12>.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest\x1a?.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse\"}\x82\xd3\xe4\x93\x02n\x12:/v1/{parent=projects/*/locations/*/transferConfigs/*}/runsZ0\x12./v1/{parent=projects/*/transferConfigs/*}/runs\xda\x41\x06parent\x12\xb2\x02\n\x10ListTransferLogs\x12>.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest\x1a?.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse\"\x9c\x01\x82\xd3\xe4\x93\x02\x8c\x01\x12I/v1/{parent=projects/*/locations/*/transferConfigs/*/runs/*}/transferLogsZ?\x12=/v1/{parent=projects/*/transferConfigs/*/runs/*}/transferLogs\xda\x41\x06parent\x12\x9e\x02\n\x0f\x43heckValidCreds\x12=.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest\x1a>.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse\"\x8b\x01\x82\xd3\xe4\x93\x02~\"?/v1/{name=projects/*/locations/*/dataSources/*}:checkValidCreds:\x01*Z8\"3/v1/{name=projects/*/dataSources/*}:checkValidCreds:\x01*\xda\x41\x04name\x12\xda\x01\n\x11\x45nrollDataSources\x12?.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest\x1a\x16.google.protobuf.Empty\"l\x82\xd3\xe4\x93\x02\x66\"3/v1/{name=projects/*/locations/*}:enrollDataSources:\x01*Z,\"\'/v1/{name=projects/*}:enrollDataSources:\x01*\x1aW\xca\x41#bigquerydatatransfer.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8b\x02\n)com.google.cloud.bigquery.datatransfer.v1B\x11\x44\x61taTransferProtoP\x01ZMcloud.google.com/go/bigquery/datatransfer/apiv1/datatransferpb;datatransferpb\xaa\x02%Google.Cloud.BigQuery.DataTransfer.V1\xca\x02%Google\\Cloud\\BigQuery\\DataTransfer\\V1\xea\x02)Google::Cloud::Bigquery::DataTransfer::V1b\x06proto3"
|
20
|
+
|
21
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
|
+
|
23
|
+
begin
|
24
|
+
pool.add_serialized_file(descriptor_data)
|
25
|
+
rescue TypeError => e
|
26
|
+
# Compatibility code: will be removed in the next major version.
|
27
|
+
require 'google/protobuf/descriptor_pb'
|
28
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
29
|
+
parsed.clear_dependency
|
30
|
+
serialized = parsed.class.encode(parsed)
|
31
|
+
file = pool.add_serialized_file(serialized)
|
32
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
33
|
+
imports = [
|
34
|
+
["google.protobuf.DoubleValue", "google/protobuf/wrappers.proto"],
|
35
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
36
|
+
["google.cloud.bigquery.datatransfer.v1.TransferConfig", "google/cloud/bigquery/datatransfer/v1/transfer.proto"],
|
37
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
38
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
39
|
+
]
|
40
|
+
imports.each do |type_name, expected_filename|
|
41
|
+
import_file = pool.lookup(type_name).file_descriptor
|
42
|
+
if import_file.name != expected_filename
|
43
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
181
44
|
end
|
182
45
|
end
|
46
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
47
|
+
warn "This will become an error in the next major version."
|
183
48
|
end
|
184
49
|
|
185
50
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/bigquery/datatransfer/v1/transfer.proto
|
3
4
|
|
@@ -7,86 +8,38 @@ require 'google/api/field_behavior_pb'
|
|
7
8
|
require 'google/api/resource_pb'
|
8
9
|
require 'google/protobuf/struct_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
11
|
+
require 'google/protobuf/wrappers_pb'
|
10
12
|
require 'google/rpc/status_pb'
|
11
13
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
optional :user_id, :int64, 11
|
38
|
-
optional :dataset_region, :string, 14
|
39
|
-
optional :notification_pubsub_topic, :string, 15
|
40
|
-
optional :email_preferences, :message, 18, "google.cloud.bigquery.datatransfer.v1.EmailPreferences"
|
41
|
-
proto3_optional :owner_info, :message, 27, "google.cloud.bigquery.datatransfer.v1.UserInfo"
|
42
|
-
oneof :destination do
|
43
|
-
optional :destination_dataset_id, :string, 2
|
44
|
-
end
|
45
|
-
end
|
46
|
-
add_message "google.cloud.bigquery.datatransfer.v1.TransferRun" do
|
47
|
-
optional :name, :string, 1
|
48
|
-
optional :schedule_time, :message, 3, "google.protobuf.Timestamp"
|
49
|
-
optional :run_time, :message, 10, "google.protobuf.Timestamp"
|
50
|
-
optional :error_status, :message, 21, "google.rpc.Status"
|
51
|
-
optional :start_time, :message, 4, "google.protobuf.Timestamp"
|
52
|
-
optional :end_time, :message, 5, "google.protobuf.Timestamp"
|
53
|
-
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
54
|
-
optional :params, :message, 9, "google.protobuf.Struct"
|
55
|
-
optional :data_source_id, :string, 7
|
56
|
-
optional :state, :enum, 8, "google.cloud.bigquery.datatransfer.v1.TransferState"
|
57
|
-
optional :user_id, :int64, 11
|
58
|
-
optional :schedule, :string, 12
|
59
|
-
optional :notification_pubsub_topic, :string, 23
|
60
|
-
optional :email_preferences, :message, 25, "google.cloud.bigquery.datatransfer.v1.EmailPreferences"
|
61
|
-
oneof :destination do
|
62
|
-
optional :destination_dataset_id, :string, 2
|
63
|
-
end
|
64
|
-
end
|
65
|
-
add_message "google.cloud.bigquery.datatransfer.v1.TransferMessage" do
|
66
|
-
optional :message_time, :message, 1, "google.protobuf.Timestamp"
|
67
|
-
optional :severity, :enum, 2, "google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity"
|
68
|
-
optional :message_text, :string, 3
|
69
|
-
end
|
70
|
-
add_enum "google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity" do
|
71
|
-
value :MESSAGE_SEVERITY_UNSPECIFIED, 0
|
72
|
-
value :INFO, 1
|
73
|
-
value :WARNING, 2
|
74
|
-
value :ERROR, 3
|
75
|
-
end
|
76
|
-
add_enum "google.cloud.bigquery.datatransfer.v1.TransferType" do
|
77
|
-
value :TRANSFER_TYPE_UNSPECIFIED, 0
|
78
|
-
value :BATCH, 1
|
79
|
-
value :STREAMING, 2
|
80
|
-
end
|
81
|
-
add_enum "google.cloud.bigquery.datatransfer.v1.TransferState" do
|
82
|
-
value :TRANSFER_STATE_UNSPECIFIED, 0
|
83
|
-
value :PENDING, 2
|
84
|
-
value :RUNNING, 3
|
85
|
-
value :SUCCEEDED, 4
|
86
|
-
value :FAILED, 5
|
87
|
-
value :CANCELLED, 6
|
14
|
+
|
15
|
+
descriptor_data = "\n4google/cloud/bigquery/datatransfer/v1/transfer.proto\x12%google.cloud.bigquery.datatransfer.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"0\n\x10\x45mailPreferences\x12\x1c\n\x14\x65nable_failure_email\x18\x01 \x01(\x08\"\x90\x01\n\x0fScheduleOptions\x12\x1f\n\x17\x64isable_auto_scheduling\x18\x03 \x01(\x08\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"(\n\x08UserInfo\x12\x12\n\x05\x65mail\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_email\"\x97\x08\n\x0eTransferConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12 \n\x16\x64\x65stination_dataset_id\x18\x02 \x01(\tH\x00\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x16\n\x0e\x64\x61ta_source_id\x18\x05 \x01(\t\x12\'\n\x06params\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x10\n\x08schedule\x18\x07 \x01(\t\x12P\n\x10schedule_options\x18\x18 \x01(\x0b\x32\x36.google.cloud.bigquery.datatransfer.v1.ScheduleOptions\x12 \n\x18\x64\x61ta_refresh_window_days\x18\x0c \x01(\x05\x12\x10\n\x08\x64isabled\x18\r \x01(\x08\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\rnext_run_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12H\n\x05state\x18\n \x01(\x0e\x32\x34.google.cloud.bigquery.datatransfer.v1.TransferStateB\x03\xe0\x41\x03\x12\x0f\n\x07user_id\x18\x0b \x01(\x03\x12\x1b\n\x0e\x64\x61taset_region\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12!\n\x19notification_pubsub_topic\x18\x0f \x01(\t\x12R\n\x11\x65mail_preferences\x18\x12 \x01(\x0b\x32\x37.google.cloud.bigquery.datatransfer.v1.EmailPreferences\x12M\n\nowner_info\x18\x1b \x01(\x0b\x32/.google.cloud.bigquery.datatransfer.v1.UserInfoB\x03\xe0\x41\x03H\x01\x88\x01\x01\x12`\n\x18\x65ncryption_configuration\x18\x1c \x01(\x0b\x32>.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration:\xb9\x01\xea\x41\xb5\x01\n2bigquerydatatransfer.googleapis.com/TransferConfig\x12\x34projects/{project}/transferConfigs/{transfer_config}\x12Iprojects/{project}/locations/{location}/transferConfigs/{transfer_config}B\r\n\x0b\x64\x65stinationB\r\n\x0b_owner_info\"M\n\x17\x45ncryptionConfiguration\x12\x32\n\x0ckms_key_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xfa\x06\n\x0bTransferRun\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x31\n\rschedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08run_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\x0c\x65rror_status\x18\x15 \x01(\x0b\x32\x12.google.rpc.Status\x12\x33\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12,\n\x06params\x18\t \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03\x12%\n\x16\x64\x65stination_dataset_id\x18\x02 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x1b\n\x0e\x64\x61ta_source_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x43\n\x05state\x18\x08 \x01(\x0e\x32\x34.google.cloud.bigquery.datatransfer.v1.TransferState\x12\x0f\n\x07user_id\x18\x0b \x01(\x03\x12\x15\n\x08schedule\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12&\n\x19notification_pubsub_topic\x18\x17 \x01(\tB\x03\xe0\x41\x03\x12W\n\x11\x65mail_preferences\x18\x19 \x01(\x0b\x32\x37.google.cloud.bigquery.datatransfer.v1.EmailPreferencesB\x03\xe0\x41\x03:\xc4\x01\xea\x41\xc0\x01\n\'bigquerydatatransfer.googleapis.com/Run\x12?projects/{project}/transferConfigs/{transfer_config}/runs/{run}\x12Tprojects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}B\r\n\x0b\x64\x65stination\"\x8a\x02\n\x0fTransferMessage\x12\x30\n\x0cmessage_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12X\n\x08severity\x18\x02 \x01(\x0e\x32\x46.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity\x12\x14\n\x0cmessage_text\x18\x03 \x01(\t\"U\n\x0fMessageSeverity\x12 \n\x1cMESSAGE_SEVERITY_UNSPECIFIED\x10\x00\x12\x08\n\x04INFO\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03*K\n\x0cTransferType\x12\x1d\n\x19TRANSFER_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41TCH\x10\x01\x12\r\n\tSTREAMING\x10\x02\x1a\x02\x18\x01*s\n\rTransferState\x12\x1e\n\x1aTRANSFER_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\r\n\tCANCELLED\x10\x06\x42\x8f\x02\n)com.google.cloud.bigquery.datatransfer.v1B\rTransferProtoP\x01ZMcloud.google.com/go/bigquery/datatransfer/apiv1/datatransferpb;datatransferpb\xa2\x02\x05GCBDT\xaa\x02%Google.Cloud.BigQuery.DataTransfer.V1\xca\x02%Google\\Cloud\\BigQuery\\DataTransfer\\V1\xea\x02)Google::Cloud::Bigquery::DataTransfer::V1b\x06proto3"
|
16
|
+
|
17
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
+
|
19
|
+
begin
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
21
|
+
rescue TypeError => e
|
22
|
+
# Compatibility code: will be removed in the next major version.
|
23
|
+
require 'google/protobuf/descriptor_pb'
|
24
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
25
|
+
parsed.clear_dependency
|
26
|
+
serialized = parsed.class.encode(parsed)
|
27
|
+
file = pool.add_serialized_file(serialized)
|
28
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
29
|
+
imports = [
|
30
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
31
|
+
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
32
|
+
["google.protobuf.StringValue", "google/protobuf/wrappers.proto"],
|
33
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
34
|
+
]
|
35
|
+
imports.each do |type_name, expected_filename|
|
36
|
+
import_file = pool.lookup(type_name).file_descriptor
|
37
|
+
if import_file.name != expected_filename
|
38
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
88
39
|
end
|
89
40
|
end
|
41
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
42
|
+
warn "This will become an error in the next major version."
|
90
43
|
end
|
91
44
|
|
92
45
|
module Google
|
@@ -98,6 +51,7 @@ module Google
|
|
98
51
|
ScheduleOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ScheduleOptions").msgclass
|
99
52
|
UserInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.UserInfo").msgclass
|
100
53
|
TransferConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferConfig").msgclass
|
54
|
+
EncryptionConfiguration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration").msgclass
|
101
55
|
TransferRun = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferRun").msgclass
|
102
56
|
TransferMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferMessage").msgclass
|
103
57
|
TransferMessage::MessageSeverity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity").enummodule
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|
@@ -100,6 +100,9 @@ module Google
|
|
100
100
|
|
101
101
|
# Page ID for a Google+ Page.
|
102
102
|
PLUS_PAGE = 6
|
103
|
+
|
104
|
+
# List of strings parameter.
|
105
|
+
LIST = 7
|
103
106
|
end
|
104
107
|
end
|
105
108
|
|
@@ -616,11 +619,16 @@ module Google
|
|
616
619
|
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
|
617
620
|
# @!attribute [rw] requested_time_range
|
618
621
|
# @return [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsRequest::TimeRange]
|
619
|
-
#
|
622
|
+
# A time_range start and end timestamp for historical data files or reports
|
623
|
+
# that are scheduled to be transferred by the scheduled transfer run.
|
624
|
+
# requested_time_range must be a past time and cannot include future time
|
625
|
+
# values.
|
620
626
|
# @!attribute [rw] requested_run_time
|
621
627
|
# @return [::Google::Protobuf::Timestamp]
|
622
|
-
#
|
623
|
-
#
|
628
|
+
# A run_time timestamp for historical data files or reports
|
629
|
+
# that are scheduled to be transferred by the scheduled transfer run.
|
630
|
+
# requested_run_time must be a past time and cannot include future time
|
631
|
+
# values.
|
624
632
|
class StartManualTransferRunsRequest
|
625
633
|
include ::Google::Protobuf::MessageExts
|
626
634
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -159,11 +159,27 @@ module Google
|
|
159
159
|
# Output only. Information about the user whose credentials are used to
|
160
160
|
# transfer data. Populated only for `transferConfigs.get` requests. In case
|
161
161
|
# the user information is not available, this field will not be populated.
|
162
|
+
# @!attribute [rw] encryption_configuration
|
163
|
+
# @return [::Google::Cloud::Bigquery::DataTransfer::V1::EncryptionConfiguration]
|
164
|
+
# The encryption configuration part. Currently, it is only used for the
|
165
|
+
# optional KMS key name. The BigQuery service account of your project must be
|
166
|
+
# granted permissions to use the key. Read methods will return the key name
|
167
|
+
# applied in effect. Write methods will apply the key if it is present, or
|
168
|
+
# otherwise try to apply project default keys if it is absent.
|
162
169
|
class TransferConfig
|
163
170
|
include ::Google::Protobuf::MessageExts
|
164
171
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
165
172
|
end
|
166
173
|
|
174
|
+
# Represents the encryption configuration for a transfer.
|
175
|
+
# @!attribute [rw] kms_key_name
|
176
|
+
# @return [::Google::Protobuf::StringValue]
|
177
|
+
# The name of the KMS key used for encrypting BigQuery data.
|
178
|
+
class EncryptionConfiguration
|
179
|
+
include ::Google::Protobuf::MessageExts
|
180
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
181
|
+
end
|
182
|
+
|
167
183
|
# Represents a data transfer run.
|
168
184
|
# @!attribute [rw] name
|
169
185
|
# @return [::String]
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# `NullValue` is a singleton enumeration to represent the null value for the
|
88
88
|
# `Value` type union.
|
89
89
|
#
|
90
|
-
#
|
90
|
+
# The JSON representation for `NullValue` is JSON `null`.
|
91
91
|
module NullValue
|
92
92
|
# Null value.
|
93
93
|
NULL_VALUE = 0
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-data_transfer-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.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: 2023-03
|
11
|
+
date: 2023-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|