google-cloud-kms 1.5.0 → 2.0.2

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.
data/README.md CHANGED
@@ -1,63 +1,53 @@
1
- # Ruby Client for Cloud Key Management Service (KMS) API
1
+ # Ruby Client for the Cloud Key Management Service (KMS) API
2
2
 
3
- [Cloud Key Management Service (KMS) API][Product Documentation]:
4
- Manages keys and performs cryptographic operations in a central cloud
5
- service, for direct use by other cloud resources and applications.
6
- - [Client Library Documentation][]
7
- - [Product Documentation][]
3
+ API Client library for the Cloud Key Management Service (KMS) API
8
4
 
9
- ## Quick Start
10
- In order to use this library, you first need to go through the following
11
- steps:
12
-
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 Cloud Key Management Service (KMS) API.](https://console.cloud.google.com/apis/library/cloudkms.googleapis.com)
16
- 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-kms/latest/file.AUTHENTICATION.html)
5
+ Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.
17
6
 
18
- ### Installation
19
- ```
20
- $ gem install google-cloud-kms
21
- ```
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-kms-v*`.
9
+ The gem `google-cloud-kms` is the main client library that brings the
10
+ verisoned gems in as dependencies, and provides high-level methods for
11
+ constructing clients. More information on versioned clients can be found below
12
+ in the section titled *Which client should I use?*.
22
13
 
23
- ### Example
14
+ View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-kms/latest)
15
+ for this library, google-cloud-kms, to see the convenience methods for
16
+ constructing client objects. Reference documentation for the client objects
17
+ themselves can be found in the client library documentation for the versioned
18
+ client gems:
19
+ [google-cloud-kms-v1](https://googleapis.dev/ruby/google-cloud-kms-v1/latest).
24
20
 
25
- ```ruby
26
- require "google/cloud/kms"
21
+ See also the [Product Documentation](https://cloud.google.com/kms)
22
+ for more usage information.
27
23
 
28
- # Create a client for a project and given credentials
29
- kms = Google::Cloud::Kms.new credentials: "/path/to/keyfile.json"
24
+ ## Quick Start
30
25
 
31
- # Where to create key rings
32
- key_ring_parent = kms.class.location_path "my-project", "us-central1"
26
+ ```
27
+ $ gem install google-cloud-kms
28
+ ```
33
29
 
34
- # Create a new key ring
35
- key_ring = kms.create_key_ring key_ring_parent, "my-ring", {}
36
- puts "Created at #{Time.new key_ring.create_time.seconds}"
30
+ In order to use this library, you first need to go through the following steps:
37
31
 
38
- # Iterate over created key rings
39
- kms.list_key_rings(key_ring_parent).each do |key_ring|
40
- puts "Found ring called #{key_ring.name}"
41
- end
42
- ```
32
+ 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
33
+ 1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
34
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/cloudkms.googleapis.com)
35
+ 1. {file:AUTHENTICATION.md Set up authentication.}
43
36
 
44
- ### Next Steps
45
- - Read the [Client Library Documentation][] for Cloud Key Management Service (KMS) API
46
- to see other available methods on the client.
47
- - Read the [Cloud Key Management Service (KMS) API Product documentation][Product Documentation]
48
- to learn more about the product and see How-to Guides.
49
- - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
50
- to see the full list of Cloud APIs that we cover.
37
+ ## Migrating from 1.x versions
51
38
 
52
- [Client Library Documentation]: https://googleapis.dev/ruby/google-cloud-kms/latest
53
- [Product Documentation]: https://cloud.google.com/kms
39
+ The 2.0 release of the google-cloud-kms client is a significant upgrade
40
+ based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
41
+ and includes substantial interface changes. Existing code written for earlier
42
+ versions of this library will likely require updates to use this version.
43
+ See the {file:MIGRATING.md MIGRATING.md} document for more information.
54
44
 
55
45
  ## Enabling Logging
56
46
 
57
47
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
58
- 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,
48
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
59
49
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
60
- 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)
50
+ 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)
61
51
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
62
52
 
63
53
  Configuring a Ruby stdlib logger:
@@ -88,3 +78,61 @@ in security maintenance, and not end of life. Currently, this means Ruby 2.4
88
78
  and later. Older versions of Ruby _may_ still work, but are unsupported and not
89
79
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
90
80
  about the Ruby support schedule.
81
+
82
+ ## Which client should I use?
83
+
84
+ Most modern Ruby client libraries for Google APIs come in two flavors: the main
85
+ client library with a name such as `google-cloud-kms`,
86
+ and lower-level _versioned_ client libraries with names such as
87
+ `google-cloud-kms-v1`.
88
+ _In most cases, you should install the main client._
89
+
90
+ ### What's the difference between the main client and a versioned client?
91
+
92
+ A _versioned client_ provides a basic set of data types and client classes for
93
+ a _single version_ of a specific service. (That is, for a service with multiple
94
+ versions, there might be a separate versioned client for each service version.)
95
+ Most versioned clients are written and maintained by a code generator.
96
+
97
+ The _main client_ is designed to provide you with the _recommended_ client
98
+ interfaces for the service. There will be only one main client for any given
99
+ service, even a service with multiple versions. The main client includes
100
+ factory methods for constructing the client objects we recommend for most
101
+ users. In some cases, those will be classes provided by an underlying versioned
102
+ client; in other cases, they will be handwritten higher-level client objects
103
+ with additional capabilities, convenience methods, or best practices built in.
104
+ Generally, the main client will default to a recommended service version,
105
+ although in some cases you can override this if you need to talk to a specific
106
+ service version.
107
+
108
+ ### Why would I want to use the main client?
109
+
110
+ We recommend that most users install the main client gem for a service. You can
111
+ identify this gem as the one _without_ a version in its name, e.g.
112
+ `google-cloud-kms`.
113
+ The main client is recommended because it will embody the best practices for
114
+ accessing the service, and may also provide more convenient interfaces or
115
+ tighter integration into frameworks and third-party libraries. In addition, the
116
+ documentation and samples published by Google will generally demonstrate use of
117
+ the main client.
118
+
119
+ ### Why would I want to use a versioned client?
120
+
121
+ You can use a versioned client if you are content with a possibly lower-level
122
+ class interface, you explicitly want to avoid features provided by the main
123
+ client, or you want to access a specific service version not be covered by the
124
+ main client. You can identify versioned client gems because the service version
125
+ is part of the name, e.g. `google-cloud-kms-v1`.
126
+
127
+ ### What about the google-apis-<name> clients?
128
+
129
+ Client library gems with names that begin with `google-apis-` are based on an
130
+ older code generation technology. They talk to a REST/JSON backend (whereas
131
+ most modern clients talk to a [gRPC](https://grpc.io/) backend) and they may
132
+ not offer the same performance, features, and ease of use provided by more
133
+ modern clients.
134
+
135
+ The `google-apis-` clients have wide coverage across Google services, so you
136
+ might need to use one if there is no modern client available for the service.
137
+ However, if a modern client is available, we generally recommend it over the
138
+ older `google-apis-` clients.
@@ -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,10 +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 Iam
18
- module V1
19
- end
20
- end
21
- end
19
+ require "google/cloud/kms" unless defined? Google::Cloud::Kms::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,145 +14,113 @@
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/kms/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
- require "google/gax"
17
- require "pathname"
30
+ # Set the default configuration
31
+ ::Google::Cloud.configure.add_config! :kms do |config|
32
+ config.add_field! :endpoint, "cloudkms.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
- # rubocop:disable LineLength
22
-
23
- ##
24
- # # Ruby Client for Cloud Key Management Service (KMS) API
25
- #
26
- # [Cloud Key Management Service (KMS) API][Product Documentation]:
27
- # Manages keys and performs cryptographic operations in a central cloud
28
- # service, for direct use by other cloud resources and applications.
29
- # - [Product Documentation][]
30
- #
31
- # ## Quick Start
32
- # In order to use this library, you first need to go through the following
33
- # steps:
34
- #
35
- # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
36
- # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
37
- # 3. [Enable the Cloud Key Management Service (KMS) API.](https://console.cloud.google.com/apis/library/cloudkms.googleapis.com)
38
- # 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-kms/latest/file.AUTHENTICATION.html)
39
- #
40
- # ### Installation
41
- # ```
42
- # $ gem install google-cloud-kms
43
- # ```
44
- #
45
- # ### Next Steps
46
- # - Read the [Cloud Key Management Service (KMS) API Product documentation][Product Documentation]
47
- # to learn more about the product and see How-to Guides.
48
- # - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
49
- # to see the full list of Cloud APIs that we cover.
50
- #
51
- # [Product Documentation]: https://cloud.google.com/kms
52
- #
53
- # ## Enabling Logging
54
- #
55
- # To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
56
- # 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,
57
- # or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
58
- # 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)
59
- # and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
60
- #
61
- # Configuring a Ruby stdlib logger:
62
- #
63
- # ```ruby
64
- # require "logger"
65
- #
66
- # module MyLogger
67
- # LOGGER = Logger.new $stderr, level: Logger::WARN
68
- # def logger
69
- # LOGGER
70
- # end
71
- # end
72
- #
73
- # # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
74
- # module GRPC
75
- # extend MyLogger
76
- # end
77
- # ```
78
- #
79
46
  module Kms
80
- # rubocop:enable LineLength
81
-
82
- FILE_DIR = File.realdirpath(Pathname.new(__FILE__).join("..").join("kms"))
83
-
84
- AVAILABLE_VERSIONS = Dir["#{FILE_DIR}/*"]
85
- .select { |file| File.directory?(file) }
86
- .select { |dir| Google::Gax::VERSION_MATCHER.match(File.basename(dir)) }
87
- .select { |dir| File.exist?(dir + ".rb") }
88
- .map { |dir| File.basename(dir) }
89
-
90
47
  ##
48
+ # Create a new client object for KeyManagementService.
49
+ #
50
+ # By default, this returns an instance of
51
+ # [Google::Cloud::Kms::V1::KeyManagementService::Client](https://googleapis.dev/ruby/google-cloud-kms-v1/latest/Google/Cloud/Kms/V1/KeyManagementService/Client.html)
52
+ # for version V1 of the API.
53
+ # However, you can specify specify a different API version by passing it in the
54
+ # `version` parameter. If the KeyManagementService service is
55
+ # supported by that API version, and the corresponding gem is available, the
56
+ # appropriate versioned client will be returned.
57
+ #
58
+ # ## About KeyManagementService
59
+ #
91
60
  # Google Cloud Key Management Service
92
61
  #
93
62
  # Manages cryptographic keys and operations using those keys. Implements a REST
94
63
  # model with the following objects:
95
64
  #
96
- # * {Google::Cloud::Kms::V1::KeyRing KeyRing}
97
- # * {Google::Cloud::Kms::V1::CryptoKey CryptoKey}
98
- # * {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}
99
- # * {Google::Cloud::Kms::V1::ImportJob ImportJob}
65
+ # * KeyRing
66
+ # * CryptoKey
67
+ # * CryptoKeyVersion
68
+ # * ImportJob
100
69
  #
101
70
  # If you are using manual gRPC libraries, see
102
71
  # [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).
103
72
  #
104
- # @param version [Symbol, String]
105
- # The major version of the service to be used. By default :v1
106
- # is used.
107
- # @overload new(version:, credentials:, scopes:, client_config:, timeout:)
108
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
109
- # Provides the means for authenticating requests made by the client. This parameter can
110
- # be many types.
111
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
112
- # authenticating requests made by this client.
113
- # A `String` will be treated as the path to the keyfile to be used for the construction of
114
- # credentials for this client.
115
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
116
- # credentials for this client.
117
- # A `GRPC::Core::Channel` will be used to make calls through.
118
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
119
- # should already be composed with a `GRPC::Core::CallCredentials` object.
120
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
121
- # metadata for requests, generally, to give OAuth credentials.
122
- # @param scopes [Array<String>]
123
- # The OAuth scopes for this service. This parameter is ignored if
124
- # an updater_proc is supplied.
125
- # @param client_config [Hash]
126
- # A Hash for call options for each method. See
127
- # Google::Gax#construct_settings for the structure of
128
- # this data. Falls back to the default config if not specified
129
- # or the specified config is missing data points.
130
- # @param timeout [Numeric]
131
- # The default timeout, in seconds, for calls made through this client.
132
- # @param metadata [Hash]
133
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
134
- # @param service_address [String]
135
- # Override for the service hostname, or `nil` to leave as the default.
136
- # @param service_port [Integer]
137
- # Override for the service port, or `nil` to leave as the default.
138
- # @param exception_transformer [Proc]
139
- # An optional proc that intercepts any exceptions raised during an API call to inject
140
- # custom error handling.
141
- def self.new(*args, version: :v1, **kwargs)
142
- unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
143
- raise "The version: #{version} is not available. The available versions " \
144
- "are: [#{AVAILABLE_VERSIONS.join(", ")}]"
145
- end
73
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
74
+ # Defaults to `:v1`.
75
+ # @return [KeyManagementService::Client] A client object for the specified version.
76
+ #
77
+ def self.key_management_service version: :v1, &block
78
+ require "google/cloud/kms/#{version.to_s.downcase}"
79
+
80
+ package_name = Google::Cloud::Kms
81
+ .constants
82
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
83
+ .first
84
+ package_module = Google::Cloud::Kms.const_get package_name
85
+ package_module.const_get(:KeyManagementService).const_get(:Client).new(&block)
86
+ end
87
+
88
+ ##
89
+ # Configure the google-cloud-kms library.
90
+ #
91
+ # The following configuration parameters are supported:
92
+ #
93
+ # * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
94
+ # The path to the keyfile as a String, the contents of the keyfile as a
95
+ # Hash, or a Google::Auth::Credentials object.
96
+ # * `lib_name` (*type:* `String`) -
97
+ # The library name as recorded in instrumentation and logging.
98
+ # * `lib_version` (*type:* `String`) -
99
+ # The library version as recorded in instrumentation and logging.
100
+ # * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
101
+ # An array of interceptors that are run before calls are executed.
102
+ # * `timeout` (*type:* `Numeric`) -
103
+ # Default timeout in seconds.
104
+ # * `metadata` (*type:* `Hash{Symbol=>String}`) -
105
+ # Additional gRPC headers to be sent with the call.
106
+ # * `retry_policy` (*type:* `Hash`) -
107
+ # The retry policy. The value is a hash with the following keys:
108
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
109
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
110
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
111
+ # * `:retry_codes` (*type:* `Array<String>`) -
112
+ # The error codes that should trigger a retry.
113
+ #
114
+ # @return [::Google::Cloud::Config] The default configuration used by this library
115
+ #
116
+ def self.configure
117
+ yield ::Google::Cloud.configure.kms if block_given?
146
118
 
147
- require "#{FILE_DIR}/#{version.to_s.downcase}"
148
- version_module = Google::Cloud::Kms
149
- .constants
150
- .select {|sym| sym.to_s.downcase == version.to_s.downcase}
151
- .first
152
- Google::Cloud::Kms.const_get(version_module).new(*args, **kwargs)
119
+ ::Google::Cloud.configure.kms
153
120
  end
154
121
  end
155
122
  end
156
123
  end
124
+
125
+ helper_path = ::File.join __dir__, "kms", "helpers.rb"
126
+ require "google/cloud/kms/helpers" if ::File.file? helper_path
@@ -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,11 +14,13 @@
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 Kms
19
- VERSION = "1.5.0".freeze
23
+ VERSION = "2.0.2"
20
24
  end
21
25
  end
22
26
  end
metadata CHANGED
@@ -1,125 +1,127 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-kms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 2.0.2
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-03-11 00:00:00.000000000 Z
11
+ date: 2021-02-03 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-kms-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
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 1.3.9
44
- - - "<"
38
+ - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '2.0'
40
+ version: '0.0'
47
41
  - !ruby/object:Gem::Dependency
48
- name: googleapis-common-protos-types
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: '2.0'
57
- type: :runtime
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: '2.0'
54
+ version: 1.24.0
67
55
  - !ruby/object:Gem::Dependency
68
- name: grpc-google-iam-v1
56
+ name: minitest
69
57
  requirement: !ruby/object:Gem::Requirement
70
58
  requirements:
71
59
  - - "~>"
72
60
  - !ruby/object:Gem::Version
73
- version: 0.6.9
74
- type: :runtime
61
+ version: '5.14'
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: 0.6.9
68
+ version: '5.14'
81
69
  - !ruby/object:Gem::Dependency
82
- name: minitest
70
+ name: minitest-focus
83
71
  requirement: !ruby/object:Gem::Requirement
84
72
  requirements:
85
73
  - - "~>"
86
74
  - !ruby/object:Gem::Version
87
- version: '5.10'
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: '5.10'
82
+ version: '1.1'
95
83
  - !ruby/object:Gem::Dependency
96
- name: redcarpet
84
+ name: minitest-rg
97
85
  requirement: !ruby/object:Gem::Requirement
98
86
  requirements:
99
87
  - - "~>"
100
88
  - !ruby/object:Gem::Version
101
- version: '3.0'
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: '3.0'
96
+ version: '5.2'
109
97
  - !ruby/object:Gem::Dependency
110
- name: google-style
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
111
113
  requirement: !ruby/object:Gem::Requirement
112
114
  requirements:
113
115
  - - "~>"
114
116
  - !ruby/object:Gem::Version
115
- version: 1.24.0
117
+ version: '3.0'
116
118
  type: :development
117
119
  prerelease: false
118
120
  version_requirements: !ruby/object:Gem::Requirement
119
121
  requirements:
120
122
  - - "~>"
121
123
  - !ruby/object:Gem::Version
122
- version: 1.24.0
124
+ version: '3.0'
123
125
  - !ruby/object:Gem::Dependency
124
126
  name: simplecov
125
127
  requirement: !ruby/object:Gem::Requirement
@@ -148,8 +150,8 @@ dependencies:
148
150
  - - "~>"
149
151
  - !ruby/object:Gem::Version
150
152
  version: '0.9'
151
- description: google-cloud-kms is the official library for Cloud Key Management Service
152
- (KMS) API.
153
+ description: Manages keys and performs cryptographic operations in a central cloud
154
+ service, for direct use by other cloud resources and applications.
153
155
  email: googleapis-packages@google.com
154
156
  executables: []
155
157
  extensions: []
@@ -157,28 +159,13 @@ extra_rdoc_files: []
157
159
  files:
158
160
  - ".yardopts"
159
161
  - AUTHENTICATION.md
160
- - LICENSE
162
+ - LICENSE.md
163
+ - MIGRATING.md
161
164
  - README.md
165
+ - lib/google-cloud-kms.rb
162
166
  - lib/google/cloud/kms.rb
163
- - lib/google/cloud/kms/v1.rb
164
- - lib/google/cloud/kms/v1/credentials.rb
165
- - lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb
166
- - lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb
167
- - lib/google/cloud/kms/v1/doc/google/iam/v1/iam_policy.rb
168
- - lib/google/cloud/kms/v1/doc/google/iam/v1/options.rb
169
- - lib/google/cloud/kms/v1/doc/google/iam/v1/policy.rb
170
- - lib/google/cloud/kms/v1/doc/google/protobuf/duration.rb
171
- - lib/google/cloud/kms/v1/doc/google/protobuf/field_mask.rb
172
- - lib/google/cloud/kms/v1/doc/google/protobuf/timestamp.rb
173
- - lib/google/cloud/kms/v1/doc/google/type/expr.rb
174
- - lib/google/cloud/kms/v1/helpers.rb
175
- - lib/google/cloud/kms/v1/key_management_service_client.rb
176
- - lib/google/cloud/kms/v1/key_management_service_client_config.json
177
- - lib/google/cloud/kms/v1/resources_pb.rb
178
- - lib/google/cloud/kms/v1/service_pb.rb
179
- - lib/google/cloud/kms/v1/service_services_pb.rb
180
167
  - lib/google/cloud/kms/version.rb
181
- homepage: https://github.com/googleapis/googleapis
168
+ homepage: https://github.com/googleapis/google-cloud-ruby
182
169
  licenses:
183
170
  - Apache-2.0
184
171
  metadata: {}
@@ -197,8 +184,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
184
  - !ruby/object:Gem::Version
198
185
  version: '0'
199
186
  requirements: []
200
- rubygems_version: 3.0.6
187
+ rubygems_version: 3.2.6
201
188
  signing_key:
202
189
  specification_version: 4
203
- summary: API Client library for Cloud Key Management Service (KMS) API
190
+ summary: API Client library for the Cloud Key Management Service (KMS) API
204
191
  test_files: []