google-cloud-bigquery-migration 0.1.0 → 1.0.0

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: 635b34f9054b10acc971ee62a15b9cd8fef89106bd86290a2d0dcafce7ee4ff0
4
- data.tar.gz: bf9ec4d5e618ea7f77cabebc591c57cc69fb01f6fe7d14b3398492a75e9a39f9
3
+ metadata.gz: f44d614900df4eaf6c8ce9ed0db6fcc45bc95cd186c379f86c47d2c7062fd39b
4
+ data.tar.gz: e9edf669ee78c617a5ad4cd527b735e2a92ab2b3ac9cf6c85290cf84573a069d
5
5
  SHA512:
6
- metadata.gz: 79a0ba19938d580fcb37e5132841ecaa0cd7e2e6432c6d1cc6a9a6174aec5fab060291c558bf590972b69a6866373dc330f1a3d413eac9eafb4f67d1f237dbfd
7
- data.tar.gz: 4211dd8c3b836e01ccd50f1720a467e6667726136bd16e9a22fd17fd7e940d9a3102e878b91279f5c9ae9ed086a060f15d7565c88cf8acf8ade32b101788f603
6
+ metadata.gz: 8d584c5265da5c43b457c908552bac4e99ff62b1efee5b5193ed13532b29308b8ccd458c87202e346680dace05af9129dd052cdb71a306224ed423ee0c1b77e4
7
+ data.tar.gz: 23d0167c4462b74644113ef311b7934c1659637105cdc4dd871dcc6f910d204dd391c36f521229e5da885c22e1ad87f27050703aa8bed9a8091251798c9aa42d
data/AUTHENTICATION.md CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
112
112
  To configure your system for this, simply:
113
113
 
114
114
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
115
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
115
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
116
116
  3. Write code as if already authenticated.
117
117
 
118
118
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -16,7 +16,7 @@ for this library, google-cloud-bigquery-migration, to see the convenience method
16
16
  constructing client objects. Reference documentation for the client objects
17
17
  themselves can be found in the client library documentation for the versioned
18
18
  client gems:
19
- [google-cloud-bigquery-migration-v2](https://googleapis.dev/ruby/google-cloud-bigquery-migration-v2/latest).
19
+ [google-cloud-bigquery-migration-v2](https://cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest).
20
20
 
21
21
  See also the [Product Documentation](https://cloud.google.com/bigquery/docs/reference/migration)
22
22
  for more usage information.
@@ -37,8 +37,8 @@ In order to use this library, you first need to go through the following steps:
37
37
  ## Enabling Logging
38
38
 
39
39
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
40
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
41
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
40
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
41
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
42
42
  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)
43
43
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
44
44
 
@@ -62,14 +62,14 @@ end
62
62
 
63
63
  ## Supported Ruby Versions
64
64
 
65
- This library is supported on Ruby 2.5+.
65
+ This library is supported on Ruby 2.6+.
66
66
 
67
67
  Google provides official support for Ruby versions that are actively supported
68
68
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
69
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
70
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
71
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
72
- about the Ruby support schedule.
69
+ in security maintenance, and not end of life. Older versions of Ruby _may_
70
+ still work, but are unsupported and not recommended. See
71
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
72
+ support schedule.
73
73
 
74
74
  ## Which client should I use?
75
75
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Bigquery
23
23
  module Migration
24
- VERSION = "0.1.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -49,9 +49,9 @@ module Google
49
49
  # Create a new client object for MigrationService.
50
50
  #
51
51
  # By default, this returns an instance of
52
- # [Google::Cloud::Bigquery::Migration::V2::MigrationService::Client](https://googleapis.dev/ruby/google-cloud-bigquery-migration-v2/latest/Google/Cloud/Bigquery/Migration/V2/MigrationService/Client.html)
53
- # for version V2 of the API.
54
- # However, you can specify specify a different API version by passing it in the
52
+ # [Google::Cloud::Bigquery::Migration::V2::MigrationService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-MigrationService-Client)
53
+ # for a gRPC client for version V2 of the API.
54
+ # However, you can specify a different API version by passing it in the
55
55
  # `version` parameter. If the MigrationService service is
56
56
  # supported by that API version, and the corresponding gem is available, the
57
57
  # appropriate versioned client will be returned.
@@ -62,7 +62,7 @@ module Google
62
62
  #
63
63
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
64
64
  # Defaults to `:v2`.
65
- # @return [MigrationService::Client] A client object for the specified version.
65
+ # @return [::Object] A client object for the specified version.
66
66
  #
67
67
  def self.migration_service version: :v2, &block
68
68
  require "google/cloud/bigquery/migration/#{version.to_s.downcase}"
@@ -71,8 +71,8 @@ module Google
71
71
  .constants
72
72
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
73
73
  .first
74
- package_module = Google::Cloud::Bigquery::Migration.const_get package_name
75
- package_module.const_get(:MigrationService).const_get(:Client).new(&block)
74
+ service_module = Google::Cloud::Bigquery::Migration.const_get(package_name).const_get(:MigrationService)
75
+ service_module.const_get(:Client).new(&block)
76
76
  end
77
77
 
78
78
  ##
@@ -92,7 +92,7 @@ module Google
92
92
  # * `timeout` (*type:* `Numeric`) -
93
93
  # Default timeout in seconds.
94
94
  # * `metadata` (*type:* `Hash{Symbol=>String}`) -
95
- # Additional gRPC headers to be sent with the call.
95
+ # Additional headers to be sent with the call.
96
96
  # * `retry_policy` (*type:* `Hash`) -
97
97
  # The retry policy. The value is a hash with the following keys:
98
98
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-migration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.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: 2022-05-06 00:00:00.000000000 Z
11
+ date: 2023-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-bigquery-migration-v2
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.25.1
53
+ version: 1.26.1
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.25.1
60
+ version: 1.26.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '5.14'
67
+ version: '5.16'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '5.14'
74
+ version: '5.16'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest-focus
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '12.0'
109
+ version: '13.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '12.0'
116
+ version: '13.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: redcarpet
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -182,14 +182,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
182
182
  requirements:
183
183
  - - ">="
184
184
  - !ruby/object:Gem::Version
185
- version: '2.5'
185
+ version: '2.6'
186
186
  required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  requirements:
188
188
  - - ">="
189
189
  - !ruby/object:Gem::Version
190
190
  version: '0'
191
191
  requirements: []
192
- rubygems_version: 3.3.5
192
+ rubygems_version: 3.4.2
193
193
  signing_key:
194
194
  specification_version: 4
195
195
  summary: API Client library for the BigQuery Migration API