google-cloud-certificate_manager-v1 0.1.0 → 0.3.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 +10 -5
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/client.rb +14 -0
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/operations.rb +3 -0
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/paths.rb +0 -38
- data/lib/google/cloud/certificate_manager/v1/version.rb +1 -1
- data/lib/google/cloud/certificatemanager/v1/certificate_manager_pb.rb +2 -1
- data/proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb +4 -4
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +32 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 993badd8e6f4b17597b7e2dcc33db82c8574bd7c4b63cdb776bc05dd15981e50
|
4
|
+
data.tar.gz: 74db4180572623be77fc8bb7c0476636bbf99f7f17432294bc2b33abda5c1cbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78fe6ac5eefd6cba40d636223065260a8e9bddc2b1b99683866eaa121e0b9aeb3bba18ce71bddb8afd71069638174d811c9ea4b05326eace925cd713c9c751c7
|
7
|
+
data.tar.gz: c0da5fe4abe3345beb5c26344324d5d85512b0d07accb949148a4fdbd7203ce470cf5720739f6ab86bf6d0e808052491ff230ab42a5cf74c07d5407fc727df95
|
data/README.md
CHANGED
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/certificatemanager/v1/certificate_manager_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -264,6 +265,12 @@ module Google
|
|
264
265
|
config.endpoint = @config.endpoint
|
265
266
|
end
|
266
267
|
|
268
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
269
|
+
config.credentials = credentials
|
270
|
+
config.quota_project = @quota_project_id
|
271
|
+
config.endpoint = @config.endpoint
|
272
|
+
end
|
273
|
+
|
267
274
|
@certificate_manager_stub = ::Gapic::ServiceStub.new(
|
268
275
|
::Google::Cloud::CertificateManager::V1::CertificateManager::Stub,
|
269
276
|
credentials: credentials,
|
@@ -280,6 +287,13 @@ module Google
|
|
280
287
|
#
|
281
288
|
attr_reader :operations_client
|
282
289
|
|
290
|
+
##
|
291
|
+
# Get the associated client for mix-in of the Locations.
|
292
|
+
#
|
293
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
294
|
+
#
|
295
|
+
attr_reader :location_client
|
296
|
+
|
283
297
|
# Service calls
|
284
298
|
|
285
299
|
##
|
@@ -119,44 +119,6 @@ module Google
|
|
119
119
|
"projects/#{project}/locations/#{location}"
|
120
120
|
end
|
121
121
|
|
122
|
-
##
|
123
|
-
# Create a fully-qualified TargetHttpsProxies resource string.
|
124
|
-
#
|
125
|
-
# The resource will be in the following format:
|
126
|
-
#
|
127
|
-
# `projects/{project}/locations/{location}/targetHttpsProxies/{target_https_proxy}`
|
128
|
-
#
|
129
|
-
# @param project [String]
|
130
|
-
# @param location [String]
|
131
|
-
# @param target_https_proxy [String]
|
132
|
-
#
|
133
|
-
# @return [::String]
|
134
|
-
def target_https_proxies_path project:, location:, target_https_proxy:
|
135
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
136
|
-
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
137
|
-
|
138
|
-
"projects/#{project}/locations/#{location}/targetHttpsProxies/#{target_https_proxy}"
|
139
|
-
end
|
140
|
-
|
141
|
-
##
|
142
|
-
# Create a fully-qualified TargetSslProxies resource string.
|
143
|
-
#
|
144
|
-
# The resource will be in the following format:
|
145
|
-
#
|
146
|
-
# `projects/{project}/locations/{location}/targetSslProxies/{target_ssl_proxy}`
|
147
|
-
#
|
148
|
-
# @param project [String]
|
149
|
-
# @param location [String]
|
150
|
-
# @param target_ssl_proxy [String]
|
151
|
-
#
|
152
|
-
# @return [::String]
|
153
|
-
def target_ssl_proxies_path project:, location:, target_ssl_proxy:
|
154
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
155
|
-
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
156
|
-
|
157
|
-
"projects/#{project}/locations/#{location}/targetSslProxies/#{target_ssl_proxy}"
|
158
|
-
end
|
159
|
-
|
160
122
|
extend self
|
161
123
|
end
|
162
124
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/certificatemanager/v1/certificate_manager.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
|
|
8
10
|
require 'google/longrunning/operations_pb'
|
9
11
|
require 'google/protobuf/field_mask_pb'
|
10
12
|
require 'google/protobuf/timestamp_pb'
|
11
|
-
require 'google/protobuf'
|
12
13
|
|
13
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
15
|
add_file("google/cloud/certificatemanager/v1/certificate_manager.proto", :syntax => :proto3) do
|
@@ -659,12 +659,12 @@ module Google
|
|
659
659
|
# Describes a Target Proxy which uses this Certificate Map.
|
660
660
|
# @!attribute [rw] target_https_proxy
|
661
661
|
# @return [::String]
|
662
|
-
#
|
663
|
-
#
|
662
|
+
# This field returns the resource name in the following format:
|
663
|
+
# `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`.
|
664
664
|
# @!attribute [rw] target_ssl_proxy
|
665
665
|
# @return [::String]
|
666
|
-
#
|
667
|
-
#
|
666
|
+
# This field returns the resource name in the following format:
|
667
|
+
# `//compute.googleapis.com/projects/*/global/targetSslProxies/*`.
|
668
668
|
# @!attribute [rw] ip_configs
|
669
669
|
# @return [::Array<::Google::Cloud::CertificateManager::V1::CertificateMap::GclbTarget::IpConfig>]
|
670
670
|
# IP configurations for this Target Proxy where the
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-certificate_manager-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.3.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-
|
11
|
+
date: 2022-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -44,34 +44,54 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: google-style
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
50
70
|
requirements:
|
51
71
|
- - "~>"
|
52
72
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
73
|
+
version: 1.26.1
|
54
74
|
type: :development
|
55
75
|
prerelease: false
|
56
76
|
version_requirements: !ruby/object:Gem::Requirement
|
57
77
|
requirements:
|
58
78
|
- - "~>"
|
59
79
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
80
|
+
version: 1.26.1
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: minitest
|
63
83
|
requirement: !ruby/object:Gem::Requirement
|
64
84
|
requirements:
|
65
85
|
- - "~>"
|
66
86
|
- !ruby/object:Gem::Version
|
67
|
-
version: '5.
|
87
|
+
version: '5.16'
|
68
88
|
type: :development
|
69
89
|
prerelease: false
|
70
90
|
version_requirements: !ruby/object:Gem::Requirement
|
71
91
|
requirements:
|
72
92
|
- - "~>"
|
73
93
|
- !ruby/object:Gem::Version
|
74
|
-
version: '5.
|
94
|
+
version: '5.16'
|
75
95
|
- !ruby/object:Gem::Dependency
|
76
96
|
name: minitest-focus
|
77
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +126,14 @@ dependencies:
|
|
106
126
|
requirements:
|
107
127
|
- - ">="
|
108
128
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
129
|
+
version: '13.0'
|
110
130
|
type: :development
|
111
131
|
prerelease: false
|
112
132
|
version_requirements: !ruby/object:Gem::Requirement
|
113
133
|
requirements:
|
114
134
|
- - ">="
|
115
135
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
136
|
+
version: '13.0'
|
117
137
|
- !ruby/object:Gem::Dependency
|
118
138
|
name: redcarpet
|
119
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -203,14 +223,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
203
223
|
requirements:
|
204
224
|
- - ">="
|
205
225
|
- !ruby/object:Gem::Version
|
206
|
-
version: '2.
|
226
|
+
version: '2.6'
|
207
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
228
|
requirements:
|
209
229
|
- - ">="
|
210
230
|
- !ruby/object:Gem::Version
|
211
231
|
version: '0'
|
212
232
|
requirements: []
|
213
|
-
rubygems_version: 3.3.
|
233
|
+
rubygems_version: 3.3.14
|
214
234
|
signing_key:
|
215
235
|
specification_version: 4
|
216
236
|
summary: API Client library for the Certificate Manager V1 API
|