google-cloud-security-public_ca 1.1.0 → 2.0.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 +4 -4
- data/README.md +5 -5
- data/lib/google/cloud/security/public_ca/version.rb +1 -1
- data/lib/google/cloud/security/public_ca.rb +6 -6
- metadata +8 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a7957ed245bce56223555861a6e9efd54a0dbb10d3e9d353df8673b76502602
|
4
|
+
data.tar.gz: 578bcbf115ef4640523209f0bfad6fb8d2e3166875382995712824ea3b21ccd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a860f013c904bda16c13642c15bfc77d3316a6ce96af5cc4086af2b713e6208dbb2f9dc82060d6bc7eb11f0be5c4e301933018aa5e0d8f89b896499b72837c4d
|
7
|
+
data.tar.gz: 06403ed88f98356aebfbcac356c83154d84ac8ff52355b21c26ca601a7e449398a6ada6265715a88d2e38e5abcd64d1d0531723c9b0af30dcb6a3145e8ef8d98
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Certificate Manager's Public Certificate Authority (CA) functionality allows you
|
|
7
7
|
Actual client classes for the various versions of this API are defined in
|
8
8
|
_versioned_ client gems, with names of the form `google-cloud-security-public_ca-v*`.
|
9
9
|
The gem `google-cloud-security-public_ca` is the main client library that brings the
|
10
|
-
|
10
|
+
versioned gems in as dependencies, and provides high-level methods for
|
11
11
|
constructing clients. More information on versioned clients can be found below
|
12
12
|
in the section titled *Which client should I use?*.
|
13
13
|
|
@@ -16,7 +16,7 @@ for this library, google-cloud-security-public_ca, 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-security-public_ca-
|
19
|
+
[google-cloud-security-public_ca-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-security-public_ca-v1/latest).
|
20
20
|
|
21
21
|
See also the [Product Documentation](https://cloud.google.com/certificate-manager/docs/public-ca/)
|
22
22
|
for more usage information.
|
@@ -62,7 +62,7 @@ results in logs appearing alongside your application logs in the
|
|
62
62
|
Debug logging also requires that the versioned clients for this service be
|
63
63
|
sufficiently recent, released after about Dec 10, 2024. If logging is not
|
64
64
|
working, try updating the versioned clients in your bundle or installed gems:
|
65
|
-
[google-cloud-security-public_ca-
|
65
|
+
[google-cloud-security-public_ca-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-security-public_ca-v1/latest).
|
66
66
|
|
67
67
|
## Supported Ruby Versions
|
68
68
|
|
@@ -80,7 +80,7 @@ support schedule.
|
|
80
80
|
Most modern Ruby client libraries for Google APIs come in two flavors: the main
|
81
81
|
client library with a name such as `google-cloud-security-public_ca`,
|
82
82
|
and lower-level _versioned_ client libraries with names such as
|
83
|
-
`google-cloud-security-public_ca-
|
83
|
+
`google-cloud-security-public_ca-v1`.
|
84
84
|
_In most cases, you should install the main client._
|
85
85
|
|
86
86
|
### What's the difference between the main client and a versioned client?
|
@@ -118,7 +118,7 @@ You can use a versioned client if you are content with a possibly lower-level
|
|
118
118
|
class interface, you explicitly want to avoid features provided by the main
|
119
119
|
client, or you want to access a specific service version not be covered by the
|
120
120
|
main client. You can identify versioned client gems because the service version
|
121
|
-
is part of the name, e.g. `google-cloud-security-public_ca-
|
121
|
+
is part of the name, e.g. `google-cloud-security-public_ca-v1`.
|
122
122
|
|
123
123
|
### What about the google-apis-<name> clients?
|
124
124
|
|
@@ -50,8 +50,8 @@ module Google
|
|
50
50
|
# Create a new client object for PublicCertificateAuthorityService.
|
51
51
|
#
|
52
52
|
# By default, this returns an instance of
|
53
|
-
# [Google::Cloud::Security::PublicCA::
|
54
|
-
# for a gRPC client for version
|
53
|
+
# [Google::Cloud::Security::PublicCA::V1::PublicCertificateAuthorityService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-security-public_ca-v1/latest/Google-Cloud-Security-PublicCA-V1-PublicCertificateAuthorityService-Client)
|
54
|
+
# for a gRPC client for version V1 of the API.
|
55
55
|
# However, you can specify a different API version by passing it in the
|
56
56
|
# `version` parameter. If the PublicCertificateAuthorityService service is
|
57
57
|
# supported by that API version, and the corresponding gem is available, the
|
@@ -71,11 +71,11 @@ module Google
|
|
71
71
|
# the public certificate authority service.
|
72
72
|
#
|
73
73
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
74
|
-
# Defaults to `:
|
74
|
+
# Defaults to `:v1`.
|
75
75
|
# @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
|
76
76
|
# @return [::Object] A client object for the specified version.
|
77
77
|
#
|
78
|
-
def self.public_certificate_authority_service version: :
|
78
|
+
def self.public_certificate_authority_service version: :v1, transport: :grpc, &block
|
79
79
|
require "google/cloud/security/public_ca/#{version.to_s.downcase}"
|
80
80
|
|
81
81
|
package_name = Google::Cloud::Security::PublicCA
|
@@ -95,11 +95,11 @@ module Google
|
|
95
95
|
# or if the versioned client gem needs an update to support the PublicCertificateAuthorityService service.
|
96
96
|
#
|
97
97
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
98
|
-
# Defaults to `:
|
98
|
+
# Defaults to `:v1`.
|
99
99
|
# @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
|
100
100
|
# @return [boolean] Whether the service is available.
|
101
101
|
#
|
102
|
-
def self.public_certificate_authority_service_available? version: :
|
102
|
+
def self.public_certificate_authority_service_available? version: :v1, transport: :grpc
|
103
103
|
require "google/cloud/security/public_ca/#{version.to_s.downcase}"
|
104
104
|
package_name = Google::Cloud::Security::PublicCA
|
105
105
|
.constants
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-security-public_ca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-cloud-core
|
@@ -24,25 +24,19 @@ dependencies:
|
|
24
24
|
- !ruby/object:Gem::Version
|
25
25
|
version: '1.6'
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
|
-
name: google-cloud-security-public_ca-
|
27
|
+
name: google-cloud-security-public_ca-v1
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- - "
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0.5'
|
33
|
-
- - "<"
|
30
|
+
- - "~>"
|
34
31
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
32
|
+
version: '1.0'
|
36
33
|
type: :runtime
|
37
34
|
prerelease: false
|
38
35
|
version_requirements: !ruby/object:Gem::Requirement
|
39
36
|
requirements:
|
40
|
-
- - "
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '0.5'
|
43
|
-
- - "<"
|
37
|
+
- - "~>"
|
44
38
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
39
|
+
version: '1.0'
|
46
40
|
description: Certificate Manager's Public Certificate Authority (CA) functionality
|
47
41
|
allows you to provision and deploy widely trusted X.509 certificates after validating
|
48
42
|
that the certificate requester controls the domains. Certificate Manager lets you
|
@@ -80,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
74
|
- !ruby/object:Gem::Version
|
81
75
|
version: '0'
|
82
76
|
requirements: []
|
83
|
-
rubygems_version: 3.6.
|
77
|
+
rubygems_version: 3.6.8
|
84
78
|
specification_version: 4
|
85
79
|
summary: API Client library for the Public Certificate Authority API
|
86
80
|
test_files: []
|