google-cloud-bigquery-data_transfer-v1 0.2.0 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65cf69fa9d8cc2c27fbbb757504fe1bfb3970ff0281c7d5c3e245d761d82bd6d
|
4
|
+
data.tar.gz: 47298503a673432caa0a66dfa92aaa1c353d1934e7a6964088ec4a4050964201
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 106a2622cb443011bf95bec5076aa933f306a8dbc9a51194d0fb24a0fc46092776527788d38a069745e4dac31830b3afca3729a2d2980194e4b4bf8937ba5a7b
|
7
|
+
data.tar.gz: d5a388a848123ccff78474936c66dca5d6a2c50e0e7273a0dea47b93f5f43c53adf70e16d57b54a9702581d8c26e449a74f4a02b01264cc284ac8bd37f9d5de7
|
data/README.md
CHANGED
@@ -18,6 +18,7 @@ In order to use this library, you first need to go through the following steps:
|
|
18
18
|
|
19
19
|
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
20
20
|
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
21
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/bigquerydatatransfer.googleapis.com)
|
21
22
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
22
23
|
|
23
24
|
## Quick Start
|
@@ -33,6 +34,9 @@ response = client.get_data_source request
|
|
33
34
|
View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-bigquery-data_transfer-v1/latest)
|
34
35
|
for class and method documentation.
|
35
36
|
|
37
|
+
See also the [Product Documentation](https://cloud.google.com/bigquery/transfer)
|
38
|
+
for general usage information.
|
39
|
+
|
36
40
|
## Enabling Logging
|
37
41
|
|
38
42
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
@@ -74,7 +74,7 @@ module Google
|
|
74
74
|
initial_delay: 0.1,
|
75
75
|
max_delay: 60.0,
|
76
76
|
multiplier: 1.3,
|
77
|
-
retry_codes: [
|
77
|
+
retry_codes: [14, 4]
|
78
78
|
}
|
79
79
|
|
80
80
|
default_config.rpcs.list_data_sources.timeout = 20.0
|
@@ -82,7 +82,7 @@ module Google
|
|
82
82
|
initial_delay: 0.1,
|
83
83
|
max_delay: 60.0,
|
84
84
|
multiplier: 1.3,
|
85
|
-
retry_codes: [
|
85
|
+
retry_codes: [14, 4]
|
86
86
|
}
|
87
87
|
|
88
88
|
default_config.rpcs.create_transfer_config.timeout = 30.0
|
@@ -94,7 +94,7 @@ module Google
|
|
94
94
|
initial_delay: 0.1,
|
95
95
|
max_delay: 60.0,
|
96
96
|
multiplier: 1.3,
|
97
|
-
retry_codes: [
|
97
|
+
retry_codes: [14, 4]
|
98
98
|
}
|
99
99
|
|
100
100
|
default_config.rpcs.get_transfer_config.timeout = 20.0
|
@@ -102,7 +102,7 @@ module Google
|
|
102
102
|
initial_delay: 0.1,
|
103
103
|
max_delay: 60.0,
|
104
104
|
multiplier: 1.3,
|
105
|
-
retry_codes: [
|
105
|
+
retry_codes: [14, 4]
|
106
106
|
}
|
107
107
|
|
108
108
|
default_config.rpcs.list_transfer_configs.timeout = 20.0
|
@@ -110,7 +110,7 @@ module Google
|
|
110
110
|
initial_delay: 0.1,
|
111
111
|
max_delay: 60.0,
|
112
112
|
multiplier: 1.3,
|
113
|
-
retry_codes: [
|
113
|
+
retry_codes: [14, 4]
|
114
114
|
}
|
115
115
|
|
116
116
|
default_config.rpcs.schedule_transfer_runs.timeout = 30.0
|
@@ -120,7 +120,7 @@ module Google
|
|
120
120
|
initial_delay: 0.1,
|
121
121
|
max_delay: 60.0,
|
122
122
|
multiplier: 1.3,
|
123
|
-
retry_codes: [
|
123
|
+
retry_codes: [14, 4]
|
124
124
|
}
|
125
125
|
|
126
126
|
default_config.rpcs.delete_transfer_run.timeout = 20.0
|
@@ -128,7 +128,7 @@ module Google
|
|
128
128
|
initial_delay: 0.1,
|
129
129
|
max_delay: 60.0,
|
130
130
|
multiplier: 1.3,
|
131
|
-
retry_codes: [
|
131
|
+
retry_codes: [14, 4]
|
132
132
|
}
|
133
133
|
|
134
134
|
default_config.rpcs.list_transfer_runs.timeout = 20.0
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
initial_delay: 0.1,
|
137
137
|
max_delay: 60.0,
|
138
138
|
multiplier: 1.3,
|
139
|
-
retry_codes: [
|
139
|
+
retry_codes: [14, 4]
|
140
140
|
}
|
141
141
|
|
142
142
|
default_config.rpcs.list_transfer_logs.timeout = 20.0
|
@@ -144,7 +144,7 @@ module Google
|
|
144
144
|
initial_delay: 0.1,
|
145
145
|
max_delay: 60.0,
|
146
146
|
multiplier: 1.3,
|
147
|
-
retry_codes: [
|
147
|
+
retry_codes: [14, 4]
|
148
148
|
}
|
149
149
|
|
150
150
|
default_config.rpcs.check_valid_creds.timeout = 20.0
|
@@ -152,7 +152,7 @@ module Google
|
|
152
152
|
initial_delay: 0.1,
|
153
153
|
max_delay: 60.0,
|
154
154
|
multiplier: 1.3,
|
155
|
-
retry_codes: [
|
155
|
+
retry_codes: [14, 4]
|
156
156
|
}
|
157
157
|
|
158
158
|
default_config
|
@@ -1406,7 +1406,7 @@ module Google
|
|
1406
1406
|
|
1407
1407
|
config_attr :endpoint, "bigquerydatatransfer.googleapis.com", ::String
|
1408
1408
|
config_attr :credentials, nil do |value|
|
1409
|
-
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1409
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1410
1410
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1411
1411
|
allowed.any? { |klass| klass === value }
|
1412
1412
|
end
|
@@ -1434,7 +1434,7 @@ module Google
|
|
1434
1434
|
def rpcs
|
1435
1435
|
@rpcs ||= begin
|
1436
1436
|
parent_rpcs = nil
|
1437
|
-
parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to?
|
1437
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
|
1438
1438
|
Rpcs.new parent_rpcs
|
1439
1439
|
end
|
1440
1440
|
end
|
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.2.
|
4
|
+
version: 0.2.5
|
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-
|
11
|
+
date: 2020-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: google-cloud-errors
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,7 +171,6 @@ files:
|
|
171
171
|
- lib/google/cloud/bigquery/datatransfer/v1/datatransfer_pb.rb
|
172
172
|
- lib/google/cloud/bigquery/datatransfer/v1/datatransfer_services_pb.rb
|
173
173
|
- lib/google/cloud/bigquery/datatransfer/v1/transfer_pb.rb
|
174
|
-
- lib/google/cloud/common_resources_pb.rb
|
175
174
|
- proto_docs/README.md
|
176
175
|
- proto_docs/google/api/field_behavior.rb
|
177
176
|
- proto_docs/google/api/resource.rb
|
@@ -204,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
203
|
- !ruby/object:Gem::Version
|
205
204
|
version: '0'
|
206
205
|
requirements: []
|
207
|
-
rubygems_version: 3.
|
206
|
+
rubygems_version: 3.1.3
|
208
207
|
signing_key:
|
209
208
|
specification_version: 4
|
210
209
|
summary: API Client library for the BigQuery Data Transfer Service V1 API
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/cloud/common_resources.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'google/api/resource_pb'
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
module Google
|
13
|
-
module Cloud
|
14
|
-
end
|
15
|
-
end
|