google-cloud-bigquery-data_transfer 0.9.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -1
  3. data/AUTHENTICATION.md +51 -54
  4. data/LICENSE.md +203 -0
  5. data/MIGRATING.md +301 -0
  6. data/README.md +33 -45
  7. data/lib/{google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datasource.rb → google-cloud-bigquery-data_transfer.rb} +5 -11
  8. data/lib/google/cloud/bigquery/data_transfer.rb +82 -140
  9. data/lib/google/cloud/bigquery/data_transfer/version.rb +6 -2
  10. metadata +85 -65
  11. data/LICENSE +0 -201
  12. data/lib/google/cloud/bigquery/data_transfer/credentials.rb +0 -33
  13. data/lib/google/cloud/bigquery/data_transfer/v1.rb +0 -173
  14. data/lib/google/cloud/bigquery/data_transfer/v1/credentials.rb +0 -43
  15. data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_pb.rb +0 -190
  16. data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service_client.rb +0 -1230
  17. data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service_client_config.json +0 -96
  18. data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_services_pb.rb +0 -87
  19. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/data_transfer/v1/data_transfer.rb +0 -500
  20. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/data_transfer/v1/transfer.rb +0 -217
  21. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb +0 -570
  22. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/transfer.rb +0 -257
  23. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/any.rb +0 -131
  24. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/duration.rb +0 -91
  25. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/empty.rb +0 -29
  26. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/field_mask.rb +0 -222
  27. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/struct.rb +0 -74
  28. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/timestamp.rb +0 -113
  29. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/protobuf/wrappers.rb +0 -26
  30. data/lib/google/cloud/bigquery/data_transfer/v1/doc/google/rpc/status.rb +0 -39
  31. data/lib/google/cloud/bigquery/data_transfer/v1/transfer_pb.rb +0 -83
  32. data/lib/google/cloud/bigquery/datatransfer/v1/datasource_pb.rb +0 -170
  33. data/lib/google/cloud/bigquery/datatransfer/v1/datasource_services_pb.rb +0 -103
  34. data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_pb.rb +0 -217
  35. data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_services_pb.rb +0 -94
  36. data/lib/google/cloud/bigquery/datatransfer/v1/transfer_pb.rb +0 -104
data/README.md CHANGED
@@ -1,64 +1,52 @@
1
- # Ruby Client for BigQuery Data Transfer API
1
+ # Ruby Client for the BigQuery Data Transfer API
2
2
 
3
- [BigQuery Data Transfer API][Product Documentation]:
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 API
8
4
 
9
- ## Quick Start
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
- 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
14
- 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
15
- 3. [Enable the BigQuery Data Transfer API.](https://console.cloud.google.com/apis/library/bigquerydatatransfer.googleapis.com)
16
- 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-bigquery-data_transfer/latest/file.AUTHENTICATION.html)
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
- ### Preview
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
- # Iterate over all results.
32
- data_transfer_client.list_data_sources(formatted_parent).each do |element|
33
- # Process element.
34
- end
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
- ### Next Steps
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
- [Client Library Documentation]: https://googleapis.dev/ruby/google-cloud-bigquery-data_transfer/latest
54
- [Product Documentation]: https://cloud.google.com/bigquery/transfer/
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-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
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 [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
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
- # Copyright 2019 Google LLC
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
- module Google
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,159 +14,99 @@
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"
15
24
 
16
- require "google/gax"
17
- require "pathname"
25
+ require "googleauth"
26
+ gem "google-cloud-core"
27
+ require "google/cloud" unless defined? ::Google::Cloud.new
28
+ require "google/cloud/config"
29
+
30
+ # Set the default configuration
31
+ ::Google::Cloud.configure.add_config! :bigquery_data_transfer do |config|
32
+ config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
33
+ config.add_field! :lib_name, nil, match: ::String
34
+ config.add_field! :lib_version, nil, match: ::String
35
+ config.add_field! :interceptors, nil, match: ::Array
36
+ config.add_field! :timeout, nil, match: ::Numeric
37
+ config.add_field! :metadata, nil, match: ::Hash
38
+ config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
39
+ end
18
40
 
19
41
  module Google
20
42
  module Cloud
21
43
  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
44
  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
45
  ##
46
+ # Create a new client object for DataTransferService.
47
+ #
48
+ # By default, this returns an instance of
49
+ # [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)
50
+ # for version V1 of the API.
51
+ # However, you can specify specify a different API version by passing it in the
52
+ # `version` parameter. If the DataTransferService service is
53
+ # supported by that API version, and the corresponding gem is available, the
54
+ # appropriate versioned client will be returned.
55
+ #
56
+ # ## About DataTransferService
57
+ #
114
58
  # The Google BigQuery Data Transfer Service API enables BigQuery users to
115
59
  # configure the transfer of their data from other Google Products into
116
60
  # BigQuery. This service contains methods that are end user exposed. It backs
117
61
  # up the frontend.
118
62
  #
119
- # @param version [Symbol, String]
120
- # The major version of the service to be used. By default :v1
121
- # is used.
122
- # @overload new(version:, credentials:, scopes:, client_config:, timeout:)
123
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
124
- # Provides the means for authenticating requests made by the client. This parameter can
125
- # be many types.
126
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
127
- # authenticating requests made by this client.
128
- # A `String` will be treated as the path to the keyfile to be used for the construction of
129
- # credentials for this client.
130
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
131
- # credentials for this client.
132
- # A `GRPC::Core::Channel` will be used to make calls through.
133
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
134
- # should already be composed with a `GRPC::Core::CallCredentials` object.
135
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
136
- # metadata for requests, generally, to give OAuth credentials.
137
- # @param scopes [Array<String>]
138
- # The OAuth scopes for this service. This parameter is ignored if
139
- # an updater_proc is supplied.
140
- # @param client_config [Hash]
141
- # A Hash for call options for each method. See
142
- # Google::Gax#construct_settings for the structure of
143
- # this data. Falls back to the default config if not specified
144
- # or the specified config is missing data points.
145
- # @param timeout [Numeric]
146
- # The default timeout, in seconds, for calls made through this client.
147
- # @param metadata [Hash]
148
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
149
- # @param service_address [String]
150
- # Override for the service hostname, or `nil` to leave as the default.
151
- # @param service_port [Integer]
152
- # Override for the service port, or `nil` to leave as the default.
153
- # @param exception_transformer [Proc]
154
- # An optional proc that intercepts any exceptions raised during an API call to inject
155
- # custom error handling.
156
- def self.new(*args, version: :v1, **kwargs)
157
- unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
158
- raise "The version: #{version} is not available. The available versions " \
159
- "are: [#{AVAILABLE_VERSIONS.join(", ")}]"
160
- end
63
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
64
+ # Defaults to `:v1`.
65
+ # @return [DataTransferService::Client] A client object for the specified version.
66
+ #
67
+ def self.data_transfer_service version: :v1, &block
68
+ require "google/cloud/bigquery/data_transfer/#{version.to_s.downcase}"
69
+
70
+ package_name = Google::Cloud::Bigquery::DataTransfer
71
+ .constants
72
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
73
+ .first
74
+ package_module = Google::Cloud::Bigquery::DataTransfer.const_get package_name
75
+ package_module.const_get(:DataTransferService).const_get(:Client).new(&block)
76
+ end
77
+
78
+ ##
79
+ # Configure the google-cloud-bigquery-data_transfer library.
80
+ #
81
+ # The following configuration parameters are supported:
82
+ #
83
+ # * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
84
+ # The path to the keyfile as a String, the contents of the keyfile as a
85
+ # Hash, or a Google::Auth::Credentials object.
86
+ # * `lib_name` (*type:* `String`) -
87
+ # The library name as recorded in instrumentation and logging.
88
+ # * `lib_version` (*type:* `String`) -
89
+ # The library version as recorded in instrumentation and logging.
90
+ # * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
91
+ # An array of interceptors that are run before calls are executed.
92
+ # * `timeout` (*type:* `Integer`) -
93
+ # Default timeout in milliseconds.
94
+ # * `metadata` (*type:* `Hash{Symbol=>String}`) -
95
+ # Additional gRPC headers to be sent with the call.
96
+ # * `retry_policy` (*type:* `Hash`) -
97
+ # The retry policy. The value is a hash with the following keys:
98
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
99
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
100
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
101
+ # * `:retry_codes` (*type:* `Array<String>`) -
102
+ # The error codes that should trigger a retry.
103
+ #
104
+ # @return [::Google::Cloud::Config] The default configuration used by this library
105
+ #
106
+ def self.configure
107
+ yield ::Google::Cloud.configure.bigquery_data_transfer if block_given?
161
108
 
162
- require "#{FILE_DIR}/#{version.to_s.downcase}"
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)
109
+ ::Google::Cloud.configure.bigquery_data_transfer
168
110
  end
169
111
  end
170
112
  end
@@ -1,4 +1,6 @@
1
- # Copyright 2019 Google LLC
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 = "0.9.0".freeze
24
+ VERSION = "1.0.0"
21
25
  end
22
26
  end
23
27
  end
metadata CHANGED
@@ -1,111 +1,155 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-data_transfer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-09 00:00:00.000000000 Z
11
+ date: 2020-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: google-gax
14
+ name: google-cloud-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.8'
19
+ version: '1.5'
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: '1.8'
26
+ version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: googleapis-common-protos
28
+ name: google-cloud-bigquery-data_transfer-v1
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: '2.0'
33
+ version: '0.0'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - ">="
38
+ - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: 1.3.9
44
- - - "<"
40
+ version: '0.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: autotest-suffix
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
45
46
  - !ruby/object:Gem::Version
46
- version: '2.0'
47
+ version: '1.1'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
47
55
  - !ruby/object:Gem::Dependency
48
- name: googleapis-common-protos-types
56
+ name: google-style
49
57
  requirement: !ruby/object:Gem::Requirement
50
58
  requirements:
51
- - - ">="
59
+ - - "~>"
52
60
  - !ruby/object:Gem::Version
53
- version: 1.0.4
54
- - - "<"
61
+ version: 1.24.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
55
67
  - !ruby/object:Gem::Version
56
- version: '2.0'
57
- type: :runtime
68
+ version: 1.24.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '5.14'
76
+ type: :development
58
77
  prerelease: false
59
78
  version_requirements: !ruby/object:Gem::Requirement
60
79
  requirements:
61
- - - ">="
80
+ - - "~>"
62
81
  - !ruby/object:Gem::Version
63
- version: 1.0.4
64
- - - "<"
82
+ version: '5.14'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest-autotest
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
65
88
  - !ruby/object:Gem::Version
66
- version: '2.0'
89
+ version: '1.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.0'
67
97
  - !ruby/object:Gem::Dependency
68
- name: minitest
98
+ name: minitest-focus
69
99
  requirement: !ruby/object:Gem::Requirement
70
100
  requirements:
71
101
  - - "~>"
72
102
  - !ruby/object:Gem::Version
73
- version: '5.10'
103
+ version: '1.1'
74
104
  type: :development
75
105
  prerelease: false
76
106
  version_requirements: !ruby/object:Gem::Requirement
77
107
  requirements:
78
108
  - - "~>"
79
109
  - !ruby/object:Gem::Version
80
- version: '5.10'
110
+ version: '1.1'
81
111
  - !ruby/object:Gem::Dependency
82
- name: redcarpet
112
+ name: minitest-rg
83
113
  requirement: !ruby/object:Gem::Requirement
84
114
  requirements:
85
115
  - - "~>"
86
116
  - !ruby/object:Gem::Version
87
- version: '3.0'
117
+ version: '5.2'
88
118
  type: :development
89
119
  prerelease: false
90
120
  version_requirements: !ruby/object:Gem::Requirement
91
121
  requirements:
92
122
  - - "~>"
93
123
  - !ruby/object:Gem::Version
94
- version: '3.0'
124
+ version: '5.2'
95
125
  - !ruby/object:Gem::Dependency
96
- name: google-style
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '12.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '12.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: redcarpet
97
141
  requirement: !ruby/object:Gem::Requirement
98
142
  requirements:
99
143
  - - "~>"
100
144
  - !ruby/object:Gem::Version
101
- version: 1.24.0
145
+ version: '3.0'
102
146
  type: :development
103
147
  prerelease: false
104
148
  version_requirements: !ruby/object:Gem::Requirement
105
149
  requirements:
106
150
  - - "~>"
107
151
  - !ruby/object:Gem::Version
108
- version: 1.24.0
152
+ version: '3.0'
109
153
  - !ruby/object:Gem::Dependency
110
154
  name: simplecov
111
155
  requirement: !ruby/object:Gem::Requirement
@@ -134,8 +178,8 @@ dependencies:
134
178
  - - "~>"
135
179
  - !ruby/object:Gem::Version
136
180
  version: '0.9'
137
- description: google-cloud-bigquery-data_transfer is the official library for BigQuery
138
- Data Transfer API.
181
+ description: Schedules queries and transfers external data from SaaS applications
182
+ to Google BigQuery on a regular basis.
139
183
  email: googleapis-packages@google.com
140
184
  executables: []
141
185
  extensions: []
@@ -143,37 +187,13 @@ extra_rdoc_files: []
143
187
  files:
144
188
  - ".yardopts"
145
189
  - AUTHENTICATION.md
146
- - LICENSE
190
+ - LICENSE.md
191
+ - MIGRATING.md
147
192
  - README.md
193
+ - lib/google-cloud-bigquery-data_transfer.rb
148
194
  - 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
195
  - lib/google/cloud/bigquery/data_transfer/version.rb
171
- - lib/google/cloud/bigquery/datatransfer/v1/datasource_pb.rb
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
196
+ homepage: https://github.com/googleapis/google-cloud-ruby
177
197
  licenses:
178
198
  - Apache-2.0
179
199
  metadata: {}
@@ -195,5 +215,5 @@ requirements: []
195
215
  rubygems_version: 3.0.6
196
216
  signing_key:
197
217
  specification_version: 4
198
- summary: API Client library for BigQuery Data Transfer API
218
+ summary: API Client library for the BigQuery Data Transfer API
199
219
  test_files: []