google-cloud-bigquery-migration 0.2.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: 43aff2ab8f89e6a15c28ec6190d4a35eda4aec3551caebbb190e946e2628a438
4
- data.tar.gz: 19c8c4639273e81c4d27053945cd9c4d5b3e6029a2e97283a7f098dd9369fe57
3
+ metadata.gz: f44d614900df4eaf6c8ce9ed0db6fcc45bc95cd186c379f86c47d2c7062fd39b
4
+ data.tar.gz: e9edf669ee78c617a5ad4cd527b735e2a92ab2b3ac9cf6c85290cf84573a069d
5
5
  SHA512:
6
- metadata.gz: 829b692f1ca5422f223524a995c6cd30821fd9732097336b26a3994802fabe346c902147582bb0543868c2555892478907f74dc68be18bab5ba5326663b99615
7
- data.tar.gz: c5fd4468ceac1f994491070377d043e8bb0c556336776a3df4dd47fe513e9e36fcf4679417f00976e4882cbc25fadc9f8630e84faca9d85208feae6abf6b2c85
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
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Bigquery
23
23
  module Migration
24
- VERSION = "0.2.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.2.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-07-01 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
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  - !ruby/object:Gem::Version
190
190
  version: '0'
191
191
  requirements: []
192
- rubygems_version: 3.3.14
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