google-cloud-security-public_ca 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- 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: 905001dd3bd2f0df37370a3cc30e1c42ff4a5b83970d420404cac998bf88afe4
|
4
|
+
data.tar.gz: 31c1db75c96b39ff248d0374fdb5464b208a928d684525c28075862a73e92cca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c61289faf068787028934f59f5a7c4374e510724bd564ef653703c10540d2429aa41aca77a92812928cbb9435eb2a08ae648b7307642d3de31db108494d4d3d
|
7
|
+
data.tar.gz: 7221fba618f01475b072ed00eaf7c715b018e2760991f0107b5594e1f26922e841996f8731dc163172b3b56e1410f8e0842f40324cd107d8be957aea0b61b252
|
data/README.md
CHANGED
@@ -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.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-02-13 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.3
|
84
78
|
specification_version: 4
|
85
79
|
summary: API Client library for the Public Certificate Authority API
|
86
80
|
test_files: []
|