google-cloud-certificate_manager-v1 0.1.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.
@@ -0,0 +1,166 @@
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 CertificateManager
23
+ module V1
24
+ module CertificateManager
25
+ # Path helper methods for the CertificateManager API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Certificate resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/certificates/{certificate}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param certificate [String]
37
+ #
38
+ # @return [::String]
39
+ def certificate_path project:, location:, certificate:
40
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
+
43
+ "projects/#{project}/locations/#{location}/certificates/#{certificate}"
44
+ end
45
+
46
+ ##
47
+ # Create a fully-qualified CertificateMap resource string.
48
+ #
49
+ # The resource will be in the following format:
50
+ #
51
+ # `projects/{project}/locations/{location}/certificateMaps/{certificate_map}`
52
+ #
53
+ # @param project [String]
54
+ # @param location [String]
55
+ # @param certificate_map [String]
56
+ #
57
+ # @return [::String]
58
+ def certificate_map_path project:, location:, certificate_map:
59
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
60
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
61
+
62
+ "projects/#{project}/locations/#{location}/certificateMaps/#{certificate_map}"
63
+ end
64
+
65
+ ##
66
+ # Create a fully-qualified CertificateMapEntry resource string.
67
+ #
68
+ # The resource will be in the following format:
69
+ #
70
+ # `projects/{project}/locations/{location}/certificateMaps/{certificate_map}/certificateMapEntries/{certificate_map_entry}`
71
+ #
72
+ # @param project [String]
73
+ # @param location [String]
74
+ # @param certificate_map [String]
75
+ # @param certificate_map_entry [String]
76
+ #
77
+ # @return [::String]
78
+ def certificate_map_entry_path project:, location:, certificate_map:, certificate_map_entry:
79
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
80
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
81
+ raise ::ArgumentError, "certificate_map cannot contain /" if certificate_map.to_s.include? "/"
82
+
83
+ "projects/#{project}/locations/#{location}/certificateMaps/#{certificate_map}/certificateMapEntries/#{certificate_map_entry}"
84
+ end
85
+
86
+ ##
87
+ # Create a fully-qualified DnsAuthorization resource string.
88
+ #
89
+ # The resource will be in the following format:
90
+ #
91
+ # `projects/{project}/locations/{location}/dnsAuthorizations/{dns_authorization}`
92
+ #
93
+ # @param project [String]
94
+ # @param location [String]
95
+ # @param dns_authorization [String]
96
+ #
97
+ # @return [::String]
98
+ def dns_authorization_path project:, location:, dns_authorization:
99
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
100
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
101
+
102
+ "projects/#{project}/locations/#{location}/dnsAuthorizations/#{dns_authorization}"
103
+ end
104
+
105
+ ##
106
+ # Create a fully-qualified Location resource string.
107
+ #
108
+ # The resource will be in the following format:
109
+ #
110
+ # `projects/{project}/locations/{location}`
111
+ #
112
+ # @param project [String]
113
+ # @param location [String]
114
+ #
115
+ # @return [::String]
116
+ def location_path project:, location:
117
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
118
+
119
+ "projects/#{project}/locations/#{location}"
120
+ end
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
+ extend self
161
+ end
162
+ end
163
+ end
164
+ end
165
+ end
166
+ end
@@ -0,0 +1,75 @@
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
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/certificate_manager/v1/version"
24
+
25
+ require "google/cloud/certificate_manager/v1/certificate_manager/credentials"
26
+ require "google/cloud/certificate_manager/v1/certificate_manager/paths"
27
+ require "google/cloud/certificate_manager/v1/certificate_manager/operations"
28
+ require "google/cloud/certificate_manager/v1/certificate_manager/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module CertificateManager
33
+ module V1
34
+ ##
35
+ # API Overview
36
+ #
37
+ # Certificates Manager API allows customers to see and manage all their TLS
38
+ # certificates.
39
+ #
40
+ # Certificates Manager API service provides methods to manage certificates,
41
+ # group them into collections, and create serving configuration that can be
42
+ # easily applied to other Cloud resources e.g. Target Proxies.
43
+ #
44
+ # Data Model
45
+ #
46
+ # The Certificates Manager service exposes the following resources:
47
+ #
48
+ # * `Certificate` which describes a single TLS certificate.
49
+ # * `CertificateMap` which describes a collection of certificates that can be
50
+ # attached to a target resource.
51
+ # * `CertificateMapEntry` which describes a single configuration entry that
52
+ # consists of a SNI and a group of certificates. It's a subresource of
53
+ # CertificateMap.
54
+ #
55
+ # Certificate, CertificateMap and CertificateMapEntry IDs
56
+ # have to match "^[a-z0-9-]\\{1,63}$" regexp, which means that
57
+ # - only lower case letters, digits, and hyphen are allowed
58
+ # - length of the resource ID has to be in [1,63] range.
59
+ #
60
+ # Provides methods to manage Cloud Certificate Manager entities.
61
+ #
62
+ # To load this service and instantiate a client:
63
+ #
64
+ # require "google/cloud/certificate_manager/v1/certificate_manager"
65
+ # client = ::Google::Cloud::CertificateManager::V1::CertificateManager::Client.new
66
+ #
67
+ module CertificateManager
68
+ end
69
+ end
70
+ end
71
+ end
72
+ end
73
+
74
+ helper_path = ::File.join __dir__, "certificate_manager", "helpers.rb"
75
+ require "google/cloud/certificate_manager/v1/certificate_manager/helpers" if ::File.file? helper_path
@@ -0,0 +1,28 @@
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 CertificateManager
23
+ module V1
24
+ VERSION = "0.1.0"
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,40 @@
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
+ require "google/cloud/certificate_manager/v1/certificate_manager"
20
+ require "google/cloud/certificate_manager/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module CertificateManager
25
+ ##
26
+ # To load this package, including all its services, and instantiate a client:
27
+ #
28
+ # @example
29
+ #
30
+ # require "google/cloud/certificate_manager/v1"
31
+ # client = ::Google::Cloud::CertificateManager::V1::CertificateManager::Client.new
32
+ #
33
+ module V1
34
+ end
35
+ end
36
+ end
37
+ end
38
+
39
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
40
+ require "google/cloud/certificate_manager/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,303 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/certificatemanager/v1/certificate_manager.proto
3
+
4
+ require 'google/api/annotations_pb'
5
+ require 'google/api/client_pb'
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/longrunning/operations_pb'
9
+ require 'google/protobuf/field_mask_pb'
10
+ require 'google/protobuf/timestamp_pb'
11
+ require 'google/protobuf'
12
+
13
+ Google::Protobuf::DescriptorPool.generated_pool.build do
14
+ add_file("google/cloud/certificatemanager/v1/certificate_manager.proto", :syntax => :proto3) do
15
+ add_message "google.cloud.certificatemanager.v1.ListCertificatesRequest" do
16
+ optional :parent, :string, 1
17
+ optional :page_size, :int32, 2
18
+ optional :page_token, :string, 3
19
+ optional :filter, :string, 4
20
+ optional :order_by, :string, 5
21
+ end
22
+ add_message "google.cloud.certificatemanager.v1.ListCertificatesResponse" do
23
+ repeated :certificates, :message, 1, "google.cloud.certificatemanager.v1.Certificate"
24
+ optional :next_page_token, :string, 2
25
+ repeated :unreachable, :string, 3
26
+ end
27
+ add_message "google.cloud.certificatemanager.v1.GetCertificateRequest" do
28
+ optional :name, :string, 1
29
+ end
30
+ add_message "google.cloud.certificatemanager.v1.CreateCertificateRequest" do
31
+ optional :parent, :string, 1
32
+ optional :certificate_id, :string, 2
33
+ optional :certificate, :message, 3, "google.cloud.certificatemanager.v1.Certificate"
34
+ end
35
+ add_message "google.cloud.certificatemanager.v1.UpdateCertificateRequest" do
36
+ optional :certificate, :message, 1, "google.cloud.certificatemanager.v1.Certificate"
37
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
38
+ end
39
+ add_message "google.cloud.certificatemanager.v1.DeleteCertificateRequest" do
40
+ optional :name, :string, 1
41
+ end
42
+ add_message "google.cloud.certificatemanager.v1.ListCertificateMapsRequest" do
43
+ optional :parent, :string, 1
44
+ optional :page_size, :int32, 2
45
+ optional :page_token, :string, 3
46
+ optional :filter, :string, 4
47
+ optional :order_by, :string, 5
48
+ end
49
+ add_message "google.cloud.certificatemanager.v1.ListCertificateMapsResponse" do
50
+ repeated :certificate_maps, :message, 1, "google.cloud.certificatemanager.v1.CertificateMap"
51
+ optional :next_page_token, :string, 2
52
+ repeated :unreachable, :string, 3
53
+ end
54
+ add_message "google.cloud.certificatemanager.v1.GetCertificateMapRequest" do
55
+ optional :name, :string, 1
56
+ end
57
+ add_message "google.cloud.certificatemanager.v1.CreateCertificateMapRequest" do
58
+ optional :parent, :string, 1
59
+ optional :certificate_map_id, :string, 2
60
+ optional :certificate_map, :message, 3, "google.cloud.certificatemanager.v1.CertificateMap"
61
+ end
62
+ add_message "google.cloud.certificatemanager.v1.UpdateCertificateMapRequest" do
63
+ optional :certificate_map, :message, 1, "google.cloud.certificatemanager.v1.CertificateMap"
64
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
65
+ end
66
+ add_message "google.cloud.certificatemanager.v1.DeleteCertificateMapRequest" do
67
+ optional :name, :string, 1
68
+ end
69
+ add_message "google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest" do
70
+ optional :parent, :string, 1
71
+ optional :page_size, :int32, 2
72
+ optional :page_token, :string, 3
73
+ optional :filter, :string, 4
74
+ optional :order_by, :string, 5
75
+ end
76
+ add_message "google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse" do
77
+ repeated :certificate_map_entries, :message, 1, "google.cloud.certificatemanager.v1.CertificateMapEntry"
78
+ optional :next_page_token, :string, 2
79
+ repeated :unreachable, :string, 3
80
+ end
81
+ add_message "google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest" do
82
+ optional :name, :string, 1
83
+ end
84
+ add_message "google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest" do
85
+ optional :parent, :string, 1
86
+ optional :certificate_map_entry_id, :string, 2
87
+ optional :certificate_map_entry, :message, 3, "google.cloud.certificatemanager.v1.CertificateMapEntry"
88
+ end
89
+ add_message "google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest" do
90
+ optional :certificate_map_entry, :message, 1, "google.cloud.certificatemanager.v1.CertificateMapEntry"
91
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
92
+ end
93
+ add_message "google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest" do
94
+ optional :name, :string, 1
95
+ end
96
+ add_message "google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest" do
97
+ optional :parent, :string, 1
98
+ optional :page_size, :int32, 2
99
+ optional :page_token, :string, 3
100
+ optional :filter, :string, 4
101
+ optional :order_by, :string, 5
102
+ end
103
+ add_message "google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse" do
104
+ repeated :dns_authorizations, :message, 1, "google.cloud.certificatemanager.v1.DnsAuthorization"
105
+ optional :next_page_token, :string, 2
106
+ repeated :unreachable, :string, 3
107
+ end
108
+ add_message "google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest" do
109
+ optional :name, :string, 1
110
+ end
111
+ add_message "google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest" do
112
+ optional :parent, :string, 1
113
+ optional :dns_authorization_id, :string, 2
114
+ optional :dns_authorization, :message, 3, "google.cloud.certificatemanager.v1.DnsAuthorization"
115
+ end
116
+ add_message "google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest" do
117
+ optional :dns_authorization, :message, 1, "google.cloud.certificatemanager.v1.DnsAuthorization"
118
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
119
+ end
120
+ add_message "google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest" do
121
+ optional :name, :string, 1
122
+ end
123
+ add_message "google.cloud.certificatemanager.v1.OperationMetadata" do
124
+ optional :create_time, :message, 1, "google.protobuf.Timestamp"
125
+ optional :end_time, :message, 2, "google.protobuf.Timestamp"
126
+ optional :target, :string, 3
127
+ optional :verb, :string, 4
128
+ optional :status_message, :string, 5
129
+ optional :requested_cancellation, :bool, 6
130
+ optional :api_version, :string, 7
131
+ end
132
+ add_message "google.cloud.certificatemanager.v1.Certificate" do
133
+ optional :name, :string, 1
134
+ optional :description, :string, 8
135
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
136
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
137
+ map :labels, :string, :string, 4
138
+ repeated :san_dnsnames, :string, 6
139
+ optional :pem_certificate, :string, 9
140
+ optional :expire_time, :message, 7, "google.protobuf.Timestamp"
141
+ optional :scope, :enum, 12, "google.cloud.certificatemanager.v1.Certificate.Scope"
142
+ oneof :type do
143
+ optional :self_managed, :message, 5, "google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate"
144
+ optional :managed, :message, 11, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate"
145
+ end
146
+ end
147
+ add_message "google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate" do
148
+ optional :pem_certificate, :string, 1
149
+ optional :pem_private_key, :string, 2
150
+ end
151
+ add_message "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate" do
152
+ repeated :domains, :string, 1
153
+ repeated :dns_authorizations, :string, 2
154
+ optional :state, :enum, 4, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State"
155
+ optional :provisioning_issue, :message, 3, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue"
156
+ repeated :authorization_attempt_info, :message, 5, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo"
157
+ end
158
+ add_message "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue" do
159
+ optional :reason, :enum, 1, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason"
160
+ optional :details, :string, 2
161
+ end
162
+ add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason" do
163
+ value :REASON_UNSPECIFIED, 0
164
+ value :AUTHORIZATION_ISSUE, 1
165
+ value :RATE_LIMITED, 2
166
+ end
167
+ add_message "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo" do
168
+ optional :domain, :string, 1
169
+ optional :state, :enum, 2, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State"
170
+ optional :failure_reason, :enum, 3, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason"
171
+ optional :details, :string, 4
172
+ end
173
+ add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State" do
174
+ value :STATE_UNSPECIFIED, 0
175
+ value :AUTHORIZING, 1
176
+ value :AUTHORIZED, 6
177
+ value :FAILED, 7
178
+ end
179
+ add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason" do
180
+ value :FAILURE_REASON_UNSPECIFIED, 0
181
+ value :CONFIG, 1
182
+ value :CAA, 2
183
+ value :RATE_LIMITED, 3
184
+ end
185
+ add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State" do
186
+ value :STATE_UNSPECIFIED, 0
187
+ value :PROVISIONING, 1
188
+ value :FAILED, 2
189
+ value :ACTIVE, 3
190
+ end
191
+ add_enum "google.cloud.certificatemanager.v1.Certificate.Scope" do
192
+ value :DEFAULT, 0
193
+ value :EDGE_CACHE, 1
194
+ end
195
+ add_message "google.cloud.certificatemanager.v1.CertificateMap" do
196
+ optional :name, :string, 1
197
+ optional :description, :string, 5
198
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
199
+ optional :update_time, :message, 6, "google.protobuf.Timestamp"
200
+ map :labels, :string, :string, 3
201
+ repeated :gclb_targets, :message, 4, "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget"
202
+ end
203
+ add_message "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget" do
204
+ repeated :ip_configs, :message, 2, "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig"
205
+ oneof :target_proxy do
206
+ optional :target_https_proxy, :string, 1
207
+ optional :target_ssl_proxy, :string, 3
208
+ end
209
+ end
210
+ add_message "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig" do
211
+ optional :ip_address, :string, 1
212
+ repeated :ports, :uint32, 3
213
+ end
214
+ add_message "google.cloud.certificatemanager.v1.CertificateMapEntry" do
215
+ optional :name, :string, 1
216
+ optional :description, :string, 9
217
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
218
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
219
+ map :labels, :string, :string, 4
220
+ repeated :certificates, :string, 7
221
+ optional :state, :enum, 8, "google.cloud.certificatemanager.v1.ServingState"
222
+ oneof :match do
223
+ optional :hostname, :string, 5
224
+ optional :matcher, :enum, 10, "google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher"
225
+ end
226
+ end
227
+ add_enum "google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher" do
228
+ value :MATCHER_UNSPECIFIED, 0
229
+ value :PRIMARY, 1
230
+ end
231
+ add_message "google.cloud.certificatemanager.v1.DnsAuthorization" do
232
+ optional :name, :string, 1
233
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
234
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
235
+ map :labels, :string, :string, 4
236
+ optional :description, :string, 5
237
+ optional :domain, :string, 6
238
+ optional :dns_resource_record, :message, 10, "google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord"
239
+ end
240
+ add_message "google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord" do
241
+ optional :name, :string, 1
242
+ optional :type, :string, 2
243
+ optional :data, :string, 3
244
+ end
245
+ add_enum "google.cloud.certificatemanager.v1.ServingState" do
246
+ value :SERVING_STATE_UNSPECIFIED, 0
247
+ value :ACTIVE, 1
248
+ value :PENDING, 2
249
+ end
250
+ end
251
+ end
252
+
253
+ module Google
254
+ module Cloud
255
+ module CertificateManager
256
+ module V1
257
+ ListCertificatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListCertificatesRequest").msgclass
258
+ ListCertificatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListCertificatesResponse").msgclass
259
+ GetCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.GetCertificateRequest").msgclass
260
+ CreateCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CreateCertificateRequest").msgclass
261
+ UpdateCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.UpdateCertificateRequest").msgclass
262
+ DeleteCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.DeleteCertificateRequest").msgclass
263
+ ListCertificateMapsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListCertificateMapsRequest").msgclass
264
+ ListCertificateMapsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListCertificateMapsResponse").msgclass
265
+ GetCertificateMapRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.GetCertificateMapRequest").msgclass
266
+ CreateCertificateMapRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CreateCertificateMapRequest").msgclass
267
+ UpdateCertificateMapRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.UpdateCertificateMapRequest").msgclass
268
+ DeleteCertificateMapRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.DeleteCertificateMapRequest").msgclass
269
+ ListCertificateMapEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest").msgclass
270
+ ListCertificateMapEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse").msgclass
271
+ GetCertificateMapEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest").msgclass
272
+ CreateCertificateMapEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest").msgclass
273
+ UpdateCertificateMapEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest").msgclass
274
+ DeleteCertificateMapEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest").msgclass
275
+ ListDnsAuthorizationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest").msgclass
276
+ ListDnsAuthorizationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse").msgclass
277
+ GetDnsAuthorizationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest").msgclass
278
+ CreateDnsAuthorizationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest").msgclass
279
+ UpdateDnsAuthorizationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest").msgclass
280
+ DeleteDnsAuthorizationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest").msgclass
281
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.OperationMetadata").msgclass
282
+ Certificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.Certificate").msgclass
283
+ Certificate::SelfManagedCertificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate").msgclass
284
+ Certificate::ManagedCertificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.Certificate.ManagedCertificate").msgclass
285
+ Certificate::ManagedCertificate::ProvisioningIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue").msgclass
286
+ Certificate::ManagedCertificate::ProvisioningIssue::Reason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason").enummodule
287
+ Certificate::ManagedCertificate::AuthorizationAttemptInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo").msgclass
288
+ Certificate::ManagedCertificate::AuthorizationAttemptInfo::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State").enummodule
289
+ Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason").enummodule
290
+ Certificate::ManagedCertificate::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State").enummodule
291
+ Certificate::Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.Certificate.Scope").enummodule
292
+ CertificateMap = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateMap").msgclass
293
+ CertificateMap::GclbTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateMap.GclbTarget").msgclass
294
+ CertificateMap::GclbTarget::IpConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig").msgclass
295
+ CertificateMapEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateMapEntry").msgclass
296
+ CertificateMapEntry::Matcher = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher").enummodule
297
+ DnsAuthorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.DnsAuthorization").msgclass
298
+ DnsAuthorization::DnsResourceRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord").msgclass
299
+ ServingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ServingState").enummodule
300
+ end
301
+ end
302
+ end
303
+ end