google-cloud-certificate_manager 0.2.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: 591cab5d71d0f500b44456df67e18696f7c5e335b6247c3cd576565437921755
4
- data.tar.gz: 4c8fbc008db5efb0e9aba88985b7681ffaca56b915b30aa595b9db29be95f1d6
3
+ metadata.gz: ef41b28c2cffe8958593bbb84739750035c370d13bff34d6e5216b59cdbb5efe
4
+ data.tar.gz: 876774f216c92c9649000bfc05a53aced6cdafa439462d0976a1a152d6bc6a96
5
5
  SHA512:
6
- metadata.gz: 8e2c1bf52b2ae591e0cc834559bdb4541828188781db2d45b25d8c6fe60a8c97282a26c309ee3a52fe449086d4f6e82a9fb579be48473cfe4ed5ec5201d9d01c
7
- data.tar.gz: 2f46a5860a685f6f2a979f6787ac9553592f34342f1547ebb04268dc43aadd75a3558e17df4611624a2cbc8ee8ba0585704a224f4f4775858356aafc56047d5a
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.
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module CertificateManager
23
- VERSION = "0.2.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.2.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-07-02 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
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  requirements: []
193
- rubygems_version: 3.3.14
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