google-cloud-certificate_manager 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +1 -1
- data/lib/google/cloud/certificate_manager/version.rb +1 -1
- data/lib/google/cloud/certificate_manager.rb +10 -10
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef41b28c2cffe8958593bbb84739750035c370d13bff34d6e5216b59cdbb5efe
|
4
|
+
data.tar.gz: 876774f216c92c9649000bfc05a53aced6cdafa439462d0976a1a152d6bc6a96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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.
|
@@ -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
|
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`
|
74
|
-
# * `CertificateMap`
|
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`
|
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
|
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 [
|
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
|
-
|
99
|
-
|
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
|
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.
|
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:
|
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.
|
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
|