google-cloud-bigquery-data_transfer 0.7.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +3 -2
- data/AUTHENTICATION.md +51 -59
- data/LICENSE.md +203 -0
- data/MIGRATING.md +301 -0
- data/README.md +33 -45
- data/lib/{google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datasource.rb → google-cloud-bigquery-data_transfer.rb} +5 -11
- data/lib/google/cloud/bigquery/data_transfer.rb +88 -140
- data/lib/google/cloud/bigquery/data_transfer/version.rb +6 -2
- metadata +60 -68
- data/LICENSE +0 -201
- data/lib/google/cloud/bigquery/data_transfer/credentials.rb +0 -33
- data/lib/google/cloud/bigquery/data_transfer/v1.rb +0 -173
- data/lib/google/cloud/bigquery/data_transfer/v1/credentials.rb +0 -43
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_pb.rb +0 -190
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service_client.rb +0 -1177
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service_client_config.json +0 -96
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_services_pb.rb +0 -87
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/data_transfer/v1/data_transfer.rb +0 -500
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/data_transfer/v1/transfer.rb +0 -217
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb +0 -565
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/transfer.rb +0 -257
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/duration.rb +0 -91
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/field_mask.rb +0 -222
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/struct.rb +0 -74
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/wrappers.rb +0 -26
- data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/rpc/status.rb +0 -39
- data/lib/google/cloud/bigquery/data_transfer/v1/transfer_pb.rb +0 -83
- data/lib/google/cloud/bigquery/datatransfer/v1/datasource_pb.rb +0 -170
- data/lib/google/cloud/bigquery/datatransfer/v1/datasource_services_pb.rb +0 -103
- data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_pb.rb +0 -215
- data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_services_pb.rb +0 -94
- data/lib/google/cloud/bigquery/datatransfer/v1/transfer_pb.rb +0 -103
data/README.md
CHANGED
@@ -1,64 +1,52 @@
|
|
1
|
-
# Ruby Client for BigQuery Data Transfer API
|
1
|
+
# Ruby Client for the BigQuery Data Transfer Service API
|
2
2
|
|
3
|
-
|
4
|
-
Schedule queries or transfer external data from SaaS applications to Google
|
5
|
-
BigQuery on a regular basis.
|
6
|
-
- [Client Library Documentation][]
|
7
|
-
- [Product Documentation][]
|
3
|
+
API Client library for the BigQuery Data Transfer Service API
|
8
4
|
|
9
|
-
|
10
|
-
In order to use this library, you first need to go through the following
|
11
|
-
steps:
|
5
|
+
Schedules queries and transfers external data from SaaS applications to Google BigQuery on a regular basis.
|
12
6
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
7
|
+
Actual client classes for the various versions of this API are defined in
|
8
|
+
_versioned_ client gems, with names of the form `google-cloud-bigquery-data_transfer-v*`.
|
9
|
+
The gem `google-cloud-bigquery-data_transfer` is a convenience wrapper library that brings the
|
10
|
+
verisoned gems in as dependencies, and provides high-level methods for
|
11
|
+
constructing clients.
|
12
|
+
|
13
|
+
View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-bigquery-data_transfer/latest)
|
14
|
+
for this library, google-cloud-bigquery-data_transfer, to see the convenience methods for
|
15
|
+
constructing client objects. Reference documentation for the client objects
|
16
|
+
themselves can be found in the client library documentation for the versioned
|
17
|
+
client gems:
|
18
|
+
[google-cloud-bigquery-data_transfer-v1](https://googleapis.dev/ruby/google-cloud-bigquery-data_transfer-v1/latest).
|
19
|
+
|
20
|
+
See also the [Product Documentation](https://cloud.google.com/bigquery/transfer)
|
21
|
+
for more usage information.
|
22
|
+
|
23
|
+
## Quick Start
|
17
24
|
|
18
|
-
### Installation
|
19
25
|
```
|
20
26
|
$ gem install google-cloud-bigquery-data_transfer
|
21
27
|
```
|
22
28
|
|
23
|
-
|
24
|
-
#### DataTransferServiceClient
|
25
|
-
```rb
|
26
|
-
require "google/cloud/bigquery/data_transfer"
|
27
|
-
|
28
|
-
data_transfer_client = Google::Cloud::Bigquery::DataTransfer.new
|
29
|
-
formatted_parent = Google::Cloud::Bigquery::DataTransfer::V1::DataTransferServiceClient.project_path(project_id)
|
29
|
+
In order to use this library, you first need to go through the following steps:
|
30
30
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
# Or iterate over results one page at a time.
|
37
|
-
data_transfer_client.list_data_sources(formatted_parent).each_page do |page|
|
38
|
-
# Process each page at a time.
|
39
|
-
page.each do |element|
|
40
|
-
# Process element.
|
41
|
-
end
|
42
|
-
end
|
43
|
-
```
|
31
|
+
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
32
|
+
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
33
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/bigquerydatatransfer.googleapis.com)
|
34
|
+
1. {file:AUTHENTICATION.md Set up authentication.}
|
44
35
|
|
45
|
-
|
46
|
-
- Read the [Client Library Documentation][] for BigQuery Data Transfer API
|
47
|
-
to see other available methods on the client.
|
48
|
-
- Read the [BigQuery Data Transfer API Product documentation][Product Documentation]
|
49
|
-
to learn more about the product and see How-to Guides.
|
50
|
-
- View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
|
51
|
-
to see the full list of Cloud APIs that we cover.
|
36
|
+
## Migrating from 0.x versions
|
52
37
|
|
53
|
-
|
54
|
-
[
|
38
|
+
The 1.0 release of the google-cloud-bigquery-data_transfer client is a significant upgrade
|
39
|
+
based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
|
40
|
+
and includes substantial interface changes. Existing code written for earlier
|
41
|
+
versions of this library will likely require updates to use this version.
|
42
|
+
See the {file:MIGRATING.md MIGRATING.md} document for more information.
|
55
43
|
|
56
44
|
## Enabling Logging
|
57
45
|
|
58
46
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
59
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib
|
47
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
|
60
48
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
61
|
-
that will write logs to [
|
49
|
+
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)
|
62
50
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
63
51
|
|
64
52
|
Configuring a Ruby stdlib logger:
|
@@ -1,4 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
2
4
|
#
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
6
|
# you may not use this file except in compliance with the License.
|
@@ -12,14 +14,6 @@
|
|
12
14
|
# See the License for the specific language governing permissions and
|
13
15
|
# limitations under the License.
|
14
16
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
15
18
|
|
16
|
-
|
17
|
-
module Cloud
|
18
|
-
module Bigquery
|
19
|
-
module Datatransfer
|
20
|
-
module V1
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
19
|
+
require "google/cloud/bigquery/data_transfer" unless defined? Google::Cloud::Bigquery::DataTransfer::VERSION
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Copyright 2020 Google LLC
|
2
4
|
#
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -12,161 +14,107 @@
|
|
12
14
|
# See the License for the specific language governing permissions and
|
13
15
|
# limitations under the License.
|
14
16
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
# Require this file early so that the version constant gets defined before
|
20
|
+
# requiring "google/cloud". This is because google-cloud-core will load the
|
21
|
+
# entrypoint (gem name) file, which in turn re-requires this file (hence
|
22
|
+
# causing a require cycle) unless the version constant is already defined.
|
23
|
+
require "google/cloud/bigquery/data_transfer/version"
|
24
|
+
|
25
|
+
require "googleauth"
|
26
|
+
gem "google-cloud-core"
|
27
|
+
require "google/cloud" unless defined? ::Google::Cloud.new
|
28
|
+
require "google/cloud/config"
|
15
29
|
|
16
|
-
|
17
|
-
|
30
|
+
# Set the default configuration
|
31
|
+
::Google::Cloud.configure.add_config! :bigquery_data_transfer do |config|
|
32
|
+
config.add_field! :endpoint, "bigquerydatatransfer.googleapis.com", match: ::String
|
33
|
+
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
|
34
|
+
config.add_field! :scope, nil, match: [::Array, ::String]
|
35
|
+
config.add_field! :lib_name, nil, match: ::String
|
36
|
+
config.add_field! :lib_version, nil, match: ::String
|
37
|
+
config.add_field! :interceptors, nil, match: ::Array
|
38
|
+
config.add_field! :timeout, nil, match: ::Numeric
|
39
|
+
config.add_field! :metadata, nil, match: ::Hash
|
40
|
+
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
|
41
|
+
config.add_field! :quota_project, nil, match: ::String
|
42
|
+
end
|
18
43
|
|
19
44
|
module Google
|
20
45
|
module Cloud
|
21
46
|
module Bigquery
|
22
|
-
# rubocop:disable LineLength
|
23
|
-
|
24
|
-
##
|
25
|
-
# # Ruby Client for BigQuery Data Transfer API
|
26
|
-
#
|
27
|
-
# [BigQuery Data Transfer API][Product Documentation]:
|
28
|
-
# Schedule queries or transfer external data from SaaS applications to Google
|
29
|
-
# BigQuery on a regular basis.
|
30
|
-
# - [Product Documentation][]
|
31
|
-
#
|
32
|
-
# ## Quick Start
|
33
|
-
# In order to use this library, you first need to go through the following
|
34
|
-
# steps:
|
35
|
-
#
|
36
|
-
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
37
|
-
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
38
|
-
# 3. [Enable the BigQuery Data Transfer API.](https://console.cloud.google.com/apis/library/bigquerydatatransfer.googleapis.com)
|
39
|
-
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-bigquery-data_transfer/latest/file.AUTHENTICATION.html)
|
40
|
-
#
|
41
|
-
# ### Installation
|
42
|
-
# ```
|
43
|
-
# $ gem install google-cloud-bigquery-data_transfer
|
44
|
-
# ```
|
45
|
-
#
|
46
|
-
# ### Preview
|
47
|
-
# #### DataTransferServiceClient
|
48
|
-
# ```rb
|
49
|
-
# require "google/cloud/bigquery/data_transfer"
|
50
|
-
#
|
51
|
-
# data_transfer_client = Google::Cloud::Bigquery::DataTransfer.new
|
52
|
-
# formatted_parent = Google::Cloud::Bigquery::DataTransfer::V1::DataTransferServiceClient.project_path(project_id)
|
53
|
-
#
|
54
|
-
# # Iterate over all results.
|
55
|
-
# data_transfer_client.list_data_sources(formatted_parent).each do |element|
|
56
|
-
# # Process element.
|
57
|
-
# end
|
58
|
-
#
|
59
|
-
# # Or iterate over results one page at a time.
|
60
|
-
# data_transfer_client.list_data_sources(formatted_parent).each_page do |page|
|
61
|
-
# # Process each page at a time.
|
62
|
-
# page.each do |element|
|
63
|
-
# # Process element.
|
64
|
-
# end
|
65
|
-
# end
|
66
|
-
# ```
|
67
|
-
#
|
68
|
-
# ### Next Steps
|
69
|
-
# - Read the [BigQuery Data Transfer API Product documentation][Product Documentation]
|
70
|
-
# to learn more about the product and see How-to Guides.
|
71
|
-
# - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
|
72
|
-
# to see the full list of Cloud APIs that we cover.
|
73
|
-
#
|
74
|
-
# [Product Documentation]: https://cloud.google.com/bigquery/transfer/
|
75
|
-
#
|
76
|
-
# ## Enabling Logging
|
77
|
-
#
|
78
|
-
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
79
|
-
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
80
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
81
|
-
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
82
|
-
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
83
|
-
#
|
84
|
-
# Configuring a Ruby stdlib logger:
|
85
|
-
#
|
86
|
-
# ```ruby
|
87
|
-
# require "logger"
|
88
|
-
#
|
89
|
-
# module MyLogger
|
90
|
-
# LOGGER = Logger.new $stderr, level: Logger::WARN
|
91
|
-
# def logger
|
92
|
-
# LOGGER
|
93
|
-
# end
|
94
|
-
# end
|
95
|
-
#
|
96
|
-
# # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
97
|
-
# module GRPC
|
98
|
-
# extend MyLogger
|
99
|
-
# end
|
100
|
-
# ```
|
101
|
-
#
|
102
47
|
module DataTransfer
|
103
|
-
# rubocop:enable LineLength
|
104
|
-
|
105
|
-
FILE_DIR = File.realdirpath(Pathname.new(__FILE__).join("..").join("data_transfer"))
|
106
|
-
|
107
|
-
AVAILABLE_VERSIONS = Dir["#{FILE_DIR}/*"]
|
108
|
-
.select { |file| File.directory?(file) }
|
109
|
-
.select { |dir| Google::Gax::VERSION_MATCHER.match(File.basename(dir)) }
|
110
|
-
.select { |dir| File.exist?(dir + ".rb") }
|
111
|
-
.map { |dir| File.basename(dir) }
|
112
|
-
|
113
48
|
##
|
49
|
+
# Create a new client object for DataTransferService.
|
50
|
+
#
|
51
|
+
# By default, this returns an instance of
|
52
|
+
# [Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Client](https://googleapis.dev/ruby/google-cloud-bigquery-data_transfer-v1/latest/Google/Cloud/Bigquery/DataTransfer/V1/DataTransferService/Client.html)
|
53
|
+
# for version V1 of the API.
|
54
|
+
# However, you can specify specify a different API version by passing it in the
|
55
|
+
# `version` parameter. If the DataTransferService service is
|
56
|
+
# supported by that API version, and the corresponding gem is available, the
|
57
|
+
# appropriate versioned client will be returned.
|
58
|
+
#
|
59
|
+
# ## About DataTransferService
|
60
|
+
#
|
114
61
|
# The Google BigQuery Data Transfer Service API enables BigQuery users to
|
115
62
|
# configure the transfer of their data from other Google Products into
|
116
63
|
# BigQuery. This service contains methods that are end user exposed. It backs
|
117
64
|
# up the frontend.
|
118
65
|
#
|
119
|
-
# @param version [
|
120
|
-
#
|
121
|
-
#
|
122
|
-
#
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
66
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
67
|
+
# Defaults to `:v1`.
|
68
|
+
# @return [DataTransferService::Client] A client object for the specified version.
|
69
|
+
#
|
70
|
+
def self.data_transfer_service version: :v1, &block
|
71
|
+
require "google/cloud/bigquery/data_transfer/#{version.to_s.downcase}"
|
72
|
+
|
73
|
+
package_name = Google::Cloud::Bigquery::DataTransfer
|
74
|
+
.constants
|
75
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
76
|
+
.first
|
77
|
+
package_module = Google::Cloud::Bigquery::DataTransfer.const_get package_name
|
78
|
+
package_module.const_get(:DataTransferService).const_get(:Client).new(&block)
|
79
|
+
end
|
80
|
+
|
81
|
+
##
|
82
|
+
# Configure the google-cloud-bigquery-data_transfer library.
|
83
|
+
#
|
84
|
+
# The following configuration parameters are supported:
|
85
|
+
#
|
86
|
+
# * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
|
87
|
+
# The path to the keyfile as a String, the contents of the keyfile as a
|
88
|
+
# Hash, or a Google::Auth::Credentials object.
|
89
|
+
# * `lib_name` (*type:* `String`) -
|
90
|
+
# The library name as recorded in instrumentation and logging.
|
91
|
+
# * `lib_version` (*type:* `String`) -
|
92
|
+
# The library version as recorded in instrumentation and logging.
|
93
|
+
# * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
|
94
|
+
# An array of interceptors that are run before calls are executed.
|
95
|
+
# * `timeout` (*type:* `Numeric`) -
|
96
|
+
# Default timeout in seconds.
|
97
|
+
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
98
|
+
# Additional gRPC headers to be sent with the call.
|
99
|
+
# * `retry_policy` (*type:* `Hash`) -
|
100
|
+
# The retry policy. The value is a hash with the following keys:
|
101
|
+
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
102
|
+
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
103
|
+
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
104
|
+
# * `:retry_codes` (*type:* `Array<String>`) -
|
105
|
+
# The error codes that should trigger a retry.
|
106
|
+
#
|
107
|
+
# @return [::Google::Cloud::Config] The default configuration used by this library
|
108
|
+
#
|
109
|
+
def self.configure
|
110
|
+
yield ::Google::Cloud.configure.bigquery_data_transfer if block_given?
|
161
111
|
|
162
|
-
|
163
|
-
version_module = Google::Cloud::Bigquery::DataTransfer
|
164
|
-
.constants
|
165
|
-
.select {|sym| sym.to_s.downcase == version.to_s.downcase}
|
166
|
-
.first
|
167
|
-
Google::Cloud::Bigquery::DataTransfer.const_get(version_module).new(*args, **kwargs)
|
112
|
+
::Google::Cloud.configure.bigquery_data_transfer
|
168
113
|
end
|
169
114
|
end
|
170
115
|
end
|
171
116
|
end
|
172
117
|
end
|
118
|
+
|
119
|
+
helper_path = ::File.join __dir__, "data_transfer", "helpers.rb"
|
120
|
+
require "google/cloud/bigquery/data_transfer/helpers" if ::File.file? helper_path
|
@@ -1,4 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
2
4
|
#
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
6
|
# you may not use this file except in compliance with the License.
|
@@ -12,12 +14,14 @@
|
|
12
14
|
# See the License for the specific language governing permissions and
|
13
15
|
# limitations under the License.
|
14
16
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
15
19
|
|
16
20
|
module Google
|
17
21
|
module Cloud
|
18
22
|
module Bigquery
|
19
23
|
module DataTransfer
|
20
|
-
VERSION = "
|
24
|
+
VERSION = "1.1.1"
|
21
25
|
end
|
22
26
|
end
|
23
27
|
end
|
metadata
CHANGED
@@ -1,111 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-data_transfer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: google-
|
14
|
+
name: google-cloud-bigquery-data_transfer-v1
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0.0'
|
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: '
|
26
|
+
version: '0.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: google-cloud-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.3.9
|
34
|
-
- - "<"
|
31
|
+
- - "~>"
|
35
32
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
33
|
+
version: '1.5'
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
|
-
- - "
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 1.3.9
|
44
|
-
- - "<"
|
38
|
+
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
40
|
+
version: '1.5'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
42
|
+
name: google-style
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
50
44
|
requirements:
|
51
|
-
- - "
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.0.4
|
54
|
-
- - "<"
|
45
|
+
- - "~>"
|
55
46
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
57
|
-
type: :
|
47
|
+
version: 1.24.0
|
48
|
+
type: :development
|
58
49
|
prerelease: false
|
59
50
|
version_requirements: !ruby/object:Gem::Requirement
|
60
51
|
requirements:
|
61
|
-
- - "
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: 1.0.4
|
64
|
-
- - "<"
|
52
|
+
- - "~>"
|
65
53
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
54
|
+
version: 1.24.0
|
67
55
|
- !ruby/object:Gem::Dependency
|
68
56
|
name: minitest
|
69
57
|
requirement: !ruby/object:Gem::Requirement
|
70
58
|
requirements:
|
71
59
|
- - "~>"
|
72
60
|
- !ruby/object:Gem::Version
|
73
|
-
version: '5.
|
61
|
+
version: '5.14'
|
74
62
|
type: :development
|
75
63
|
prerelease: false
|
76
64
|
version_requirements: !ruby/object:Gem::Requirement
|
77
65
|
requirements:
|
78
66
|
- - "~>"
|
79
67
|
- !ruby/object:Gem::Version
|
80
|
-
version: '5.
|
68
|
+
version: '5.14'
|
81
69
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
70
|
+
name: minitest-focus
|
83
71
|
requirement: !ruby/object:Gem::Requirement
|
84
72
|
requirements:
|
85
73
|
- - "~>"
|
86
74
|
- !ruby/object:Gem::Version
|
87
|
-
version: '
|
75
|
+
version: '1.1'
|
88
76
|
type: :development
|
89
77
|
prerelease: false
|
90
78
|
version_requirements: !ruby/object:Gem::Requirement
|
91
79
|
requirements:
|
92
80
|
- - "~>"
|
93
81
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
82
|
+
version: '1.1'
|
95
83
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
84
|
+
name: minitest-rg
|
97
85
|
requirement: !ruby/object:Gem::Requirement
|
98
86
|
requirements:
|
99
87
|
- - "~>"
|
100
88
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
89
|
+
version: '5.2'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
93
|
requirements:
|
106
94
|
- - "~>"
|
107
95
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
96
|
+
version: '5.2'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '12.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '12.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: redcarpet
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
109
125
|
- !ruby/object:Gem::Dependency
|
110
126
|
name: simplecov
|
111
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,8 +150,8 @@ dependencies:
|
|
134
150
|
- - "~>"
|
135
151
|
- !ruby/object:Gem::Version
|
136
152
|
version: '0.9'
|
137
|
-
description:
|
138
|
-
|
153
|
+
description: Schedules queries and transfers external data from SaaS applications
|
154
|
+
to Google BigQuery on a regular basis.
|
139
155
|
email: googleapis-packages@google.com
|
140
156
|
executables: []
|
141
157
|
extensions: []
|
@@ -143,37 +159,13 @@ extra_rdoc_files: []
|
|
143
159
|
files:
|
144
160
|
- ".yardopts"
|
145
161
|
- AUTHENTICATION.md
|
146
|
-
- LICENSE
|
162
|
+
- LICENSE.md
|
163
|
+
- MIGRATING.md
|
147
164
|
- README.md
|
165
|
+
- lib/google-cloud-bigquery-data_transfer.rb
|
148
166
|
- lib/google/cloud/bigquery/data_transfer.rb
|
149
|
-
- lib/google/cloud/bigquery/data_transfer/credentials.rb
|
150
|
-
- lib/google/cloud/bigquery/data_transfer/v1.rb
|
151
|
-
- lib/google/cloud/bigquery/data_transfer/v1/credentials.rb
|
152
|
-
- lib/google/cloud/bigquery/data_transfer/v1/data_transfer_pb.rb
|
153
|
-
- lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service_client.rb
|
154
|
-
- lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service_client_config.json
|
155
|
-
- lib/google/cloud/bigquery/data_transfer/v1/data_transfer_services_pb.rb
|
156
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/data_transfer/v1/data_transfer.rb
|
157
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/data_transfer/v1/transfer.rb
|
158
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datasource.rb
|
159
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb
|
160
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/transfer.rb
|
161
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/any.rb
|
162
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/duration.rb
|
163
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/empty.rb
|
164
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/field_mask.rb
|
165
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/struct.rb
|
166
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/timestamp.rb
|
167
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/wrappers.rb
|
168
|
-
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/rpc/status.rb
|
169
|
-
- lib/google/cloud/bigquery/data_transfer/v1/transfer_pb.rb
|
170
167
|
- lib/google/cloud/bigquery/data_transfer/version.rb
|
171
|
-
|
172
|
-
- lib/google/cloud/bigquery/datatransfer/v1/datasource_services_pb.rb
|
173
|
-
- lib/google/cloud/bigquery/datatransfer/v1/datatransfer_pb.rb
|
174
|
-
- lib/google/cloud/bigquery/datatransfer/v1/datatransfer_services_pb.rb
|
175
|
-
- lib/google/cloud/bigquery/datatransfer/v1/transfer_pb.rb
|
176
|
-
homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-bigquery-data_transfer
|
168
|
+
homepage: https://github.com/googleapis/google-cloud-ruby
|
177
169
|
licenses:
|
178
170
|
- Apache-2.0
|
179
171
|
metadata: {}
|
@@ -192,8 +184,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
184
|
- !ruby/object:Gem::Version
|
193
185
|
version: '0'
|
194
186
|
requirements: []
|
195
|
-
rubygems_version: 3.
|
187
|
+
rubygems_version: 3.2.6
|
196
188
|
signing_key:
|
197
189
|
specification_version: 4
|
198
|
-
summary: API Client library for BigQuery Data Transfer API
|
190
|
+
summary: API Client library for the BigQuery Data Transfer Service API
|
199
191
|
test_files: []
|