google-cloud-certificate_manager-v1 0.2.0 → 0.3.0
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/lib/google/cloud/certificate_manager/v1/certificate_manager/client.rb +14 -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/proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb +4 -4
- data/proto_docs/google/cloud/location/locations.rb +98 -0
- metadata +23 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1944204ea2222e89a08066856a2eb3823a86e2555b5a45e4ee58233f17ab23d7
|
4
|
+
data.tar.gz: 285984e7e5319d0619e60b11ed576573ec2ec6a850c84ccfc36ec9114b836f86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17656ce6b9006f276fdf780417bd718649fde66b1b97e8e2eb389c03edf1a56092f1dadaab74884dfacfd19018d013cdfe4b320b6547360f4d2441015dd38ff3
|
7
|
+
data.tar.gz: ae0f72eb0f9ee8242bdd396aa16f58a7d65eb8917214f2ade739c3eb9e8ce50f5da6dbde6d2fe1e0b0cd6c11dd07949904f126e7ca49dd25545456e0d580a057
|
@@ -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
|
@@ -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
|
@@ -0,0 +1,98 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Location
|
23
|
+
# The request message for {::Google::Cloud::Location::Locations::Client#list_locations Locations.ListLocations}.
|
24
|
+
# @!attribute [rw] name
|
25
|
+
# @return [::String]
|
26
|
+
# The resource that owns the locations collection, if applicable.
|
27
|
+
# @!attribute [rw] filter
|
28
|
+
# @return [::String]
|
29
|
+
# The standard list filter.
|
30
|
+
# @!attribute [rw] page_size
|
31
|
+
# @return [::Integer]
|
32
|
+
# The standard list page size.
|
33
|
+
# @!attribute [rw] page_token
|
34
|
+
# @return [::String]
|
35
|
+
# The standard list page token.
|
36
|
+
class ListLocationsRequest
|
37
|
+
include ::Google::Protobuf::MessageExts
|
38
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
end
|
40
|
+
|
41
|
+
# The response message for {::Google::Cloud::Location::Locations::Client#list_locations Locations.ListLocations}.
|
42
|
+
# @!attribute [rw] locations
|
43
|
+
# @return [::Array<::Google::Cloud::Location::Location>]
|
44
|
+
# A list of locations that matches the specified filter in the request.
|
45
|
+
# @!attribute [rw] next_page_token
|
46
|
+
# @return [::String]
|
47
|
+
# The standard List next-page token.
|
48
|
+
class ListLocationsResponse
|
49
|
+
include ::Google::Protobuf::MessageExts
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
end
|
52
|
+
|
53
|
+
# The request message for {::Google::Cloud::Location::Locations::Client#get_location Locations.GetLocation}.
|
54
|
+
# @!attribute [rw] name
|
55
|
+
# @return [::String]
|
56
|
+
# Resource name for the location.
|
57
|
+
class GetLocationRequest
|
58
|
+
include ::Google::Protobuf::MessageExts
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
60
|
+
end
|
61
|
+
|
62
|
+
# A resource that represents Google Cloud Platform location.
|
63
|
+
# @!attribute [rw] name
|
64
|
+
# @return [::String]
|
65
|
+
# Resource name for the location, which may vary between implementations.
|
66
|
+
# For example: `"projects/example-project/locations/us-east1"`
|
67
|
+
# @!attribute [rw] location_id
|
68
|
+
# @return [::String]
|
69
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
70
|
+
# @!attribute [rw] display_name
|
71
|
+
# @return [::String]
|
72
|
+
# The friendly name for this location, typically a nearby city name.
|
73
|
+
# For example, "Tokyo".
|
74
|
+
# @!attribute [rw] labels
|
75
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
76
|
+
# Cross-service attributes for the location. For example
|
77
|
+
#
|
78
|
+
# {"cloud.googleapis.com/region": "us-east1"}
|
79
|
+
# @!attribute [rw] metadata
|
80
|
+
# @return [::Google::Protobuf::Any]
|
81
|
+
# Service-specific metadata. For example the available capacity at the given
|
82
|
+
# location.
|
83
|
+
class Location
|
84
|
+
include ::Google::Protobuf::MessageExts
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
|
87
|
+
# @!attribute [rw] key
|
88
|
+
# @return [::String]
|
89
|
+
# @!attribute [rw] value
|
90
|
+
# @return [::String]
|
91
|
+
class LabelsEntry
|
92
|
+
include ::Google::Protobuf::MessageExts
|
93
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
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.
|
4
|
+
version: 0.3.0
|
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-
|
11
|
+
date: 2022-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,6 +44,26 @@ 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
|
@@ -184,6 +204,7 @@ files:
|
|
184
204
|
- proto_docs/google/api/field_behavior.rb
|
185
205
|
- proto_docs/google/api/resource.rb
|
186
206
|
- proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb
|
207
|
+
- proto_docs/google/cloud/location/locations.rb
|
187
208
|
- proto_docs/google/longrunning/operations.rb
|
188
209
|
- proto_docs/google/protobuf/any.rb
|
189
210
|
- proto_docs/google/protobuf/duration.rb
|