google-cloud-certificate_manager 0.1.0 → 0.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0f7101ff53447b7b315db4579cf026a49ede57dec64deeaf0d0dd3c8e9d04e8
4
- data.tar.gz: 3350889738da8c5acf2626b5df7101142a242e51dc6ded650673fc11af64e733
3
+ metadata.gz: ef41b28c2cffe8958593bbb84739750035c370d13bff34d6e5216b59cdbb5efe
4
+ data.tar.gz: 876774f216c92c9649000bfc05a53aced6cdafa439462d0976a1a152d6bc6a96
5
5
  SHA512:
6
- metadata.gz: d708d08298cc042e9c3cb23d95aca7496ba4ee9db81b8248c8ef74d939d734d1ec1ecb10c4ad2a389f8b55a61a119b826678e1443cad8583d58891ffec3a0dc8
7
- data.tar.gz: 3116ea610b5c4728d8df3f63711623d14b90db47191443d653b31ee2eba492d9d6e103a098dd3be7b87532e288cbfeb3ffb0cc0fd28c63e102e50efee25b198d
6
+ metadata.gz: 5f8b54e737a5c019977f2757de0f86b186fda30e1d06bc0e1e3c5bfb4e553807144662b5a7aab96ab79c6a1fe54b8b78d22cd464aa47c9291abf5e65bd9923e2
7
+ data.tar.gz: 17c99be297e55d3d328ba21cbf9a22b693815c2d7db987e3234e3c24320fba4f6910318ca6b2e3130baa40b5f0b4bd69f23b82573ef0438f83086ef14316efe1
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
@@ -37,7 +37,7 @@ 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,
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
41
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/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.
@@ -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
 
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module CertificateManager
23
- VERSION = "0.1.0"
23
+ VERSION = "0.2.1"
24
24
  end
25
25
  end
26
26
  end
@@ -49,8 +49,8 @@ module Google
49
49
  #
50
50
  # By default, this returns an instance of
51
51
  # [Google::Cloud::CertificateManager::V1::CertificateManager::Client](https://googleapis.dev/ruby/google-cloud-certificate_manager-v1/latest/Google/Cloud/CertificateManager/V1/CertificateManager/Client.html)
52
- # for version V1 of the API.
53
- # However, you can specify specify a different API version by passing it in the
52
+ # for a gRPC client for version V1 of the API.
53
+ # However, you can specify a different API version by passing it in the
54
54
  # `version` parameter. If the CertificateManager service is
55
55
  # supported by that API version, and the corresponding gem is available, the
56
56
  # appropriate versioned client will be returned.
@@ -70,15 +70,15 @@ module Google
70
70
  #
71
71
  # The Certificates Manager service exposes the following resources:
72
72
  #
73
- # * `Certificate` which describes a single TLS certificate.
74
- # * `CertificateMap` which describes a collection of certificates that can be
73
+ # * `Certificate` that describes a single TLS certificate.
74
+ # * `CertificateMap` that describes a collection of certificates that can be
75
75
  # attached to a target resource.
76
- # * `CertificateMapEntry` which describes a single configuration entry that
76
+ # * `CertificateMapEntry` that describes a single configuration entry that
77
77
  # consists of a SNI and a group of certificates. It's a subresource of
78
78
  # CertificateMap.
79
79
  #
80
80
  # Certificate, CertificateMap and CertificateMapEntry IDs
81
- # have to match "^[a-z0-9-]\\{1,63}$" regexp, which means that
81
+ # have to fully match the regexp `[a-z0-9-]{1,63}`. In other words,
82
82
  # - only lower case letters, digits, and hyphen are allowed
83
83
  # - length of the resource ID has to be in [1,63] range.
84
84
  #
@@ -86,7 +86,7 @@ module Google
86
86
  #
87
87
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
88
88
  # Defaults to `:v1`.
89
- # @return [CertificateManager::Client] A client object for the specified version.
89
+ # @return [::Object] A client object for the specified version.
90
90
  #
91
91
  def self.certificate_manager version: :v1, &block
92
92
  require "google/cloud/certificate_manager/#{version.to_s.downcase}"
@@ -95,8 +95,8 @@ module Google
95
95
  .constants
96
96
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
97
97
  .first
98
- package_module = Google::Cloud::CertificateManager.const_get package_name
99
- package_module.const_get(:CertificateManager).const_get(:Client).new(&block)
98
+ service_module = Google::Cloud::CertificateManager.const_get(package_name).const_get(:CertificateManager)
99
+ service_module.const_get(:Client).new(&block)
100
100
  end
101
101
 
102
102
  ##
@@ -116,7 +116,7 @@ module Google
116
116
  # * `timeout` (*type:* `Numeric`) -
117
117
  # Default timeout in seconds.
118
118
  # * `metadata` (*type:* `Hash{Symbol=>String}`) -
119
- # Additional gRPC headers to be sent with the call.
119
+ # Additional headers to be sent with the call.
120
120
  # * `retry_policy` (*type:* `Hash`) -
121
121
  # The retry policy. The value is a hash with the following keys:
122
122
  # * `: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-certificate_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2022-03-31 00:00:00.000000000 Z
11
+ date: 2023-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-certificate_manager-v1
@@ -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
@@ -183,14 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - ">="
185
185
  - !ruby/object:Gem::Version
186
- version: '2.5'
186
+ version: '2.6'
187
187
  required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  requirements:
189
189
  - - ">="
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  requirements: []
193
- rubygems_version: 3.3.5
193
+ rubygems_version: 3.4.2
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: API Client library for the Certificate Manager API