google-cloud-certificate_manager-v1 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/certificatemanager/v1/certificate_manager.proto
3
4
 
@@ -13,245 +14,33 @@ require 'google/protobuf/empty_pb'
13
14
  require 'google/protobuf/field_mask_pb'
14
15
  require 'google/protobuf/timestamp_pb'
15
16
 
16
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/certificatemanager/v1/certificate_manager.proto", :syntax => :proto3) do
18
- add_message "google.cloud.certificatemanager.v1.ListCertificatesRequest" do
19
- optional :parent, :string, 1
20
- optional :page_size, :int32, 2
21
- optional :page_token, :string, 3
22
- optional :filter, :string, 4
23
- optional :order_by, :string, 5
24
- end
25
- add_message "google.cloud.certificatemanager.v1.ListCertificatesResponse" do
26
- repeated :certificates, :message, 1, "google.cloud.certificatemanager.v1.Certificate"
27
- optional :next_page_token, :string, 2
28
- repeated :unreachable, :string, 3
29
- end
30
- add_message "google.cloud.certificatemanager.v1.GetCertificateRequest" do
31
- optional :name, :string, 1
32
- end
33
- add_message "google.cloud.certificatemanager.v1.CreateCertificateRequest" do
34
- optional :parent, :string, 1
35
- optional :certificate_id, :string, 2
36
- optional :certificate, :message, 3, "google.cloud.certificatemanager.v1.Certificate"
37
- end
38
- add_message "google.cloud.certificatemanager.v1.UpdateCertificateRequest" do
39
- optional :certificate, :message, 1, "google.cloud.certificatemanager.v1.Certificate"
40
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
41
- end
42
- add_message "google.cloud.certificatemanager.v1.DeleteCertificateRequest" do
43
- optional :name, :string, 1
44
- end
45
- add_message "google.cloud.certificatemanager.v1.ListCertificateMapsRequest" do
46
- optional :parent, :string, 1
47
- optional :page_size, :int32, 2
48
- optional :page_token, :string, 3
49
- optional :filter, :string, 4
50
- optional :order_by, :string, 5
51
- end
52
- add_message "google.cloud.certificatemanager.v1.ListCertificateMapsResponse" do
53
- repeated :certificate_maps, :message, 1, "google.cloud.certificatemanager.v1.CertificateMap"
54
- optional :next_page_token, :string, 2
55
- repeated :unreachable, :string, 3
56
- end
57
- add_message "google.cloud.certificatemanager.v1.GetCertificateMapRequest" do
58
- optional :name, :string, 1
59
- end
60
- add_message "google.cloud.certificatemanager.v1.CreateCertificateMapRequest" do
61
- optional :parent, :string, 1
62
- optional :certificate_map_id, :string, 2
63
- optional :certificate_map, :message, 3, "google.cloud.certificatemanager.v1.CertificateMap"
64
- end
65
- add_message "google.cloud.certificatemanager.v1.UpdateCertificateMapRequest" do
66
- optional :certificate_map, :message, 1, "google.cloud.certificatemanager.v1.CertificateMap"
67
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
68
- end
69
- add_message "google.cloud.certificatemanager.v1.DeleteCertificateMapRequest" do
70
- optional :name, :string, 1
71
- end
72
- add_message "google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest" do
73
- optional :parent, :string, 1
74
- optional :page_size, :int32, 2
75
- optional :page_token, :string, 3
76
- optional :filter, :string, 4
77
- optional :order_by, :string, 5
78
- end
79
- add_message "google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse" do
80
- repeated :certificate_map_entries, :message, 1, "google.cloud.certificatemanager.v1.CertificateMapEntry"
81
- optional :next_page_token, :string, 2
82
- repeated :unreachable, :string, 3
83
- end
84
- add_message "google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest" do
85
- optional :name, :string, 1
86
- end
87
- add_message "google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest" do
88
- optional :parent, :string, 1
89
- optional :certificate_map_entry_id, :string, 2
90
- optional :certificate_map_entry, :message, 3, "google.cloud.certificatemanager.v1.CertificateMapEntry"
91
- end
92
- add_message "google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest" do
93
- optional :certificate_map_entry, :message, 1, "google.cloud.certificatemanager.v1.CertificateMapEntry"
94
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
95
- end
96
- add_message "google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest" do
97
- optional :name, :string, 1
98
- end
99
- add_message "google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest" do
100
- optional :parent, :string, 1
101
- optional :page_size, :int32, 2
102
- optional :page_token, :string, 3
103
- optional :filter, :string, 4
104
- optional :order_by, :string, 5
105
- end
106
- add_message "google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse" do
107
- repeated :dns_authorizations, :message, 1, "google.cloud.certificatemanager.v1.DnsAuthorization"
108
- optional :next_page_token, :string, 2
109
- repeated :unreachable, :string, 3
110
- end
111
- add_message "google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest" do
112
- optional :name, :string, 1
113
- end
114
- add_message "google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest" do
115
- optional :parent, :string, 1
116
- optional :dns_authorization_id, :string, 2
117
- optional :dns_authorization, :message, 3, "google.cloud.certificatemanager.v1.DnsAuthorization"
118
- end
119
- add_message "google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest" do
120
- optional :dns_authorization, :message, 1, "google.cloud.certificatemanager.v1.DnsAuthorization"
121
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
122
- end
123
- add_message "google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest" do
124
- optional :name, :string, 1
125
- end
126
- add_message "google.cloud.certificatemanager.v1.OperationMetadata" do
127
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
128
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
129
- optional :target, :string, 3
130
- optional :verb, :string, 4
131
- optional :status_message, :string, 5
132
- optional :requested_cancellation, :bool, 6
133
- optional :api_version, :string, 7
134
- end
135
- add_message "google.cloud.certificatemanager.v1.Certificate" do
136
- optional :name, :string, 1
137
- optional :description, :string, 8
138
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
139
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
140
- map :labels, :string, :string, 4
141
- repeated :san_dnsnames, :string, 6
142
- optional :pem_certificate, :string, 9
143
- optional :expire_time, :message, 7, "google.protobuf.Timestamp"
144
- optional :scope, :enum, 12, "google.cloud.certificatemanager.v1.Certificate.Scope"
145
- oneof :type do
146
- optional :self_managed, :message, 5, "google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate"
147
- optional :managed, :message, 11, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate"
148
- end
149
- end
150
- add_message "google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate" do
151
- optional :pem_certificate, :string, 1
152
- optional :pem_private_key, :string, 2
153
- end
154
- add_message "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate" do
155
- repeated :domains, :string, 1
156
- repeated :dns_authorizations, :string, 2
157
- optional :issuance_config, :string, 6
158
- optional :state, :enum, 4, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State"
159
- optional :provisioning_issue, :message, 3, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue"
160
- repeated :authorization_attempt_info, :message, 5, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo"
161
- end
162
- add_message "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue" do
163
- optional :reason, :enum, 1, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason"
164
- optional :details, :string, 2
165
- end
166
- add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason" do
167
- value :REASON_UNSPECIFIED, 0
168
- value :AUTHORIZATION_ISSUE, 1
169
- value :RATE_LIMITED, 2
170
- end
171
- add_message "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo" do
172
- optional :domain, :string, 1
173
- optional :state, :enum, 2, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State"
174
- optional :failure_reason, :enum, 3, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason"
175
- optional :details, :string, 4
176
- end
177
- add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State" do
178
- value :STATE_UNSPECIFIED, 0
179
- value :AUTHORIZING, 1
180
- value :AUTHORIZED, 6
181
- value :FAILED, 7
182
- end
183
- add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason" do
184
- value :FAILURE_REASON_UNSPECIFIED, 0
185
- value :CONFIG, 1
186
- value :CAA, 2
187
- value :RATE_LIMITED, 3
188
- end
189
- add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State" do
190
- value :STATE_UNSPECIFIED, 0
191
- value :PROVISIONING, 1
192
- value :FAILED, 2
193
- value :ACTIVE, 3
194
- end
195
- add_enum "google.cloud.certificatemanager.v1.Certificate.Scope" do
196
- value :DEFAULT, 0
197
- value :EDGE_CACHE, 1
198
- end
199
- add_message "google.cloud.certificatemanager.v1.CertificateMap" do
200
- optional :name, :string, 1
201
- optional :description, :string, 5
202
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
203
- optional :update_time, :message, 6, "google.protobuf.Timestamp"
204
- map :labels, :string, :string, 3
205
- repeated :gclb_targets, :message, 4, "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget"
206
- end
207
- add_message "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget" do
208
- repeated :ip_configs, :message, 2, "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig"
209
- oneof :target_proxy do
210
- optional :target_https_proxy, :string, 1
211
- optional :target_ssl_proxy, :string, 3
212
- end
213
- end
214
- add_message "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig" do
215
- optional :ip_address, :string, 1
216
- repeated :ports, :uint32, 3
217
- end
218
- add_message "google.cloud.certificatemanager.v1.CertificateMapEntry" do
219
- optional :name, :string, 1
220
- optional :description, :string, 9
221
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
222
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
223
- map :labels, :string, :string, 4
224
- repeated :certificates, :string, 7
225
- optional :state, :enum, 8, "google.cloud.certificatemanager.v1.ServingState"
226
- oneof :match do
227
- optional :hostname, :string, 5
228
- optional :matcher, :enum, 10, "google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher"
229
- end
230
- end
231
- add_enum "google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher" do
232
- value :MATCHER_UNSPECIFIED, 0
233
- value :PRIMARY, 1
234
- end
235
- add_message "google.cloud.certificatemanager.v1.DnsAuthorization" do
236
- optional :name, :string, 1
237
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
238
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
239
- map :labels, :string, :string, 4
240
- optional :description, :string, 5
241
- optional :domain, :string, 6
242
- optional :dns_resource_record, :message, 10, "google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord"
243
- end
244
- add_message "google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord" do
245
- optional :name, :string, 1
246
- optional :type, :string, 2
247
- optional :data, :string, 3
248
- end
249
- add_enum "google.cloud.certificatemanager.v1.ServingState" do
250
- value :SERVING_STATE_UNSPECIFIED, 0
251
- value :ACTIVE, 1
252
- value :PENDING, 2
17
+
18
+ descriptor_data = "\n<google/cloud/certificatemanager/v1/certificate_manager.proto\x12\"google.cloud.certificatemanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x44google/cloud/certificatemanager/v1/certificate_issuance_config.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9d\x01\n\x17ListCertificatesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x8f\x01\n\x18ListCertificatesResponse\x12\x45\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32/.google.cloud.certificatemanager.v1.Certificate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\\\n\x15GetCertificateRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-certificatemanager.googleapis.com/Certificate\"\xbd\x01\n\x18\x43reateCertificateRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1b\n\x0e\x63\x65rtificate_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12I\n\x0b\x63\x65rtificate\x18\x03 \x01(\x0b\x32/.google.cloud.certificatemanager.v1.CertificateB\x03\xe0\x41\x02\"\x9b\x01\n\x18UpdateCertificateRequest\x12I\n\x0b\x63\x65rtificate\x18\x01 \x01(\x0b\x32/.google.cloud.certificatemanager.v1.CertificateB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"_\n\x18\x44\x65leteCertificateRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-certificatemanager.googleapis.com/Certificate\"\xa0\x01\n\x1aListCertificateMapsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x99\x01\n\x1bListCertificateMapsResponse\x12L\n\x10\x63\x65rtificate_maps\x18\x01 \x03(\x0b\x32\x32.google.cloud.certificatemanager.v1.CertificateMap\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"b\n\x18GetCertificateMapRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0certificatemanager.googleapis.com/CertificateMap\"\xcb\x01\n\x1b\x43reateCertificateMapRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1f\n\x12\x63\x65rtificate_map_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0f\x63\x65rtificate_map\x18\x03 \x01(\x0b\x32\x32.google.cloud.certificatemanager.v1.CertificateMapB\x03\xe0\x41\x02\"\xa5\x01\n\x1bUpdateCertificateMapRequest\x12P\n\x0f\x63\x65rtificate_map\x18\x01 \x01(\x0b\x32\x32.google.cloud.certificatemanager.v1.CertificateMapB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"e\n\x1b\x44\x65leteCertificateMapRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0certificatemanager.googleapis.com/CertificateMap\"\xb5\x01\n ListCertificateMapEntriesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0certificatemanager.googleapis.com/CertificateMap\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\xab\x01\n!ListCertificateMapEntriesResponse\x12X\n\x17\x63\x65rtificate_map_entries\x18\x01 \x03(\x0b\x32\x37.google.cloud.certificatemanager.v1.CertificateMapEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"l\n\x1dGetCertificateMapEntryRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5certificatemanager.googleapis.com/CertificateMapEntry\"\xf0\x01\n CreateCertificateMapEntryRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0certificatemanager.googleapis.com/CertificateMap\x12%\n\x18\x63\x65rtificate_map_entry_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12[\n\x15\x63\x65rtificate_map_entry\x18\x03 \x01(\x0b\x32\x37.google.cloud.certificatemanager.v1.CertificateMapEntryB\x03\xe0\x41\x02\"\xb5\x01\n UpdateCertificateMapEntryRequest\x12[\n\x15\x63\x65rtificate_map_entry\x18\x01 \x01(\x0b\x32\x37.google.cloud.certificatemanager.v1.CertificateMapEntryB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"o\n DeleteCertificateMapEntryRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5certificatemanager.googleapis.com/CertificateMapEntry\"\xa2\x01\n\x1cListDnsAuthorizationsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x9f\x01\n\x1dListDnsAuthorizationsResponse\x12P\n\x12\x64ns_authorizations\x18\x01 \x03(\x0b\x32\x34.google.cloud.certificatemanager.v1.DnsAuthorization\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"f\n\x1aGetDnsAuthorizationRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2certificatemanager.googleapis.com/DnsAuthorization\"\xd3\x01\n\x1d\x43reateDnsAuthorizationRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12!\n\x14\x64ns_authorization_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x11\x64ns_authorization\x18\x03 \x01(\x0b\x32\x34.google.cloud.certificatemanager.v1.DnsAuthorizationB\x03\xe0\x41\x02\"\xab\x01\n\x1dUpdateDnsAuthorizationRequest\x12T\n\x11\x64ns_authorization\x18\x01 \x01(\x0b\x32\x34.google.cloud.certificatemanager.v1.DnsAuthorizationB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"i\n\x1d\x44\x65leteDnsAuthorizationRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2certificatemanager.googleapis.com/DnsAuthorization\"\xdd\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x16\n\x0estatus_message\x18\x05 \x01(\t\x12\x1e\n\x16requested_cancellation\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\"\xe1\x11\n\x0b\x43\x65rtificate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\x06labels\x18\x04 \x03(\x0b\x32;.google.cloud.certificatemanager.v1.Certificate.LabelsEntry\x12^\n\x0cself_managed\x18\x05 \x01(\x0b\x32\x46.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateH\x00\x12U\n\x07managed\x18\x0b \x01(\x0b\x32\x42.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateH\x00\x12\x19\n\x0csan_dnsnames\x18\x06 \x03(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fpem_certificate\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12I\n\x05scope\x18\x0c \x01(\x0e\x32\x35.google.cloud.certificatemanager.v1.Certificate.ScopeB\x03\xe0\x41\x05\x1aT\n\x16SelfManagedCertificate\x12\x1c\n\x0fpem_certificate\x18\x01 \x01(\tB\x03\xe0\x41\x04\x12\x1c\n\x0fpem_private_key\x18\x02 \x01(\tB\x03\xe0\x41\x04\x1a\xd9\n\n\x12ManagedCertificate\x12\x14\n\x07\x64omains\x18\x01 \x03(\tB\x03\xe0\x41\x05\x12V\n\x12\x64ns_authorizations\x18\x02 \x03(\tB:\xe0\x41\x05\xfa\x41\x34\n2certificatemanager.googleapis.com/DnsAuthorization\x12\\\n\x0fissuance_config\x18\x06 \x01(\tBC\xe0\x41\x05\xfa\x41=\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\x12\\\n\x05state\x18\x04 \x01(\x0e\x32H.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.StateB\x03\xe0\x41\x03\x12u\n\x12provisioning_issue\x18\x03 \x01(\x0b\x32T.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueB\x03\xe0\x41\x03\x12\x84\x01\n\x1a\x61uthorization_attempt_info\x18\x05 \x03(\x0b\x32[.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoB\x03\xe0\x41\x03\x1a\xe8\x01\n\x11ProvisioningIssue\x12p\n\x06reason\x18\x01 \x01(\x0e\x32[.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.ReasonB\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65tails\x18\x02 \x01(\tB\x03\xe0\x41\x03\"K\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x17\n\x13\x41UTHORIZATION_ISSUE\x10\x01\x12\x10\n\x0cRATE_LIMITED\x10\x02\x1a\xe5\x03\n\x18\x41uthorizationAttemptInfo\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12u\n\x05state\x18\x02 \x01(\x0e\x32\x61.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.StateB\x03\xe0\x41\x03\x12\x86\x01\n\x0e\x66\x61ilure_reason\x18\x03 \x01(\x0e\x32i.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReasonB\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65tails\x18\x04 \x01(\tB\x03\xe0\x41\x03\"K\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41UTHORIZING\x10\x01\x12\x0e\n\nAUTHORIZED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07\"V\n\rFailureReason\x12\x1e\n\x1a\x46\x41ILURE_REASON_UNSPECIFIED\x10\x00\x12\n\n\x06\x43ONFIG\x10\x01\x12\x07\n\x03\x43\x41\x41\x10\x02\x12\x10\n\x0cRATE_LIMITED\x10\x03\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"$\n\x05Scope\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0e\n\nEDGE_CACHE\x10\x01:v\xea\x41s\n-certificatemanager.googleapis.com/Certificate\x12\x42projects/{project}/locations/{location}/certificates/{certificate}B\x06\n\x04type\"\xf8\x05\n\x0e\x43\x65rtificateMap\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12N\n\x06labels\x18\x03 \x03(\x0b\x32>.google.cloud.certificatemanager.v1.CertificateMap.LabelsEntry\x12X\n\x0cgclb_targets\x18\x04 \x03(\x0b\x32=.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetB\x03\xe0\x41\x03\x1a\xfa\x01\n\nGclbTarget\x12!\n\x12target_https_proxy\x18\x01 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x1f\n\x10target_ssl_proxy\x18\x03 \x01(\tB\x03\xe0\x41\x03H\x00\x12_\n\nip_configs\x18\x02 \x03(\x0b\x32\x46.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigB\x03\xe0\x41\x03\x1a\x37\n\x08IpConfig\x12\x17\n\nip_address\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05ports\x18\x03 \x03(\rB\x03\xe0\x41\x03\x42\x0e\n\x0ctarget_proxy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x80\x01\xea\x41}\n0certificatemanager.googleapis.com/CertificateMap\x12Iprojects/{project}/locations/{location}/certificateMaps/{certificate_map}\"\x91\x06\n\x13\x43\x65rtificateMapEntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12S\n\x06labels\x18\x04 \x03(\x0b\x32\x43.google.cloud.certificatemanager.v1.CertificateMapEntry.LabelsEntry\x12\x12\n\x08hostname\x18\x05 \x01(\tH\x00\x12R\n\x07matcher\x18\n \x01(\x0e\x32?.google.cloud.certificatemanager.v1.CertificateMapEntry.MatcherH\x00\x12H\n\x0c\x63\x65rtificates\x18\x07 \x03(\tB2\xfa\x41/\n-certificatemanager.googleapis.com/Certificate\x12\x44\n\x05state\x18\x08 \x01(\x0e\x32\x30.google.cloud.certificatemanager.v1.ServingStateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"/\n\x07Matcher\x12\x17\n\x13MATCHER_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01:\xb4\x01\xea\x41\xb0\x01\n5certificatemanager.googleapis.com/CertificateMapEntry\x12wprojects/{project}/locations/{location}/certificateMaps/{certificate_map}/certificateMapEntries/{certificate_map_entry}B\x07\n\x05match\"\xfc\x04\n\x10\x44nsAuthorization\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12P\n\x06labels\x18\x04 \x03(\x0b\x32@.google.cloud.certificatemanager.v1.DnsAuthorization.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x16\n\x06\x64omain\x18\x06 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12h\n\x13\x64ns_resource_record\x18\n \x01(\x0b\x32\x46.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordB\x03\xe0\x41\x03\x1aL\n\x11\x44nsResourceRecord\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04type\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04\x64\x61ta\x18\x03 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x87\x01\xea\x41\x83\x01\n2certificatemanager.googleapis.com/DnsAuthorization\x12Mprojects/{project}/locations/{location}/dnsAuthorizations/{dns_authorization}*F\n\x0cServingState\x12\x1d\n\x19SERVING_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x32\xd6\x31\n\x12\x43\x65rtificateManager\x12\xd0\x01\n\x10ListCertificates\x12;.google.cloud.certificatemanager.v1.ListCertificatesRequest\x1a<.google.cloud.certificatemanager.v1.ListCertificatesResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/certificates\xda\x41\x06parent\x12\xbd\x01\n\x0eGetCertificate\x12\x39.google.cloud.certificatemanager.v1.GetCertificateRequest\x1a/.google.cloud.certificatemanager.v1.Certificate\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/certificates/*}\xda\x41\x04name\x12\xff\x01\n\x11\x43reateCertificate\x12<.google.cloud.certificatemanager.v1.CreateCertificateRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/certificates:\x0b\x63\x65rtificate\xda\x41!parent,certificate,certificate_id\xca\x41 \n\x0b\x43\x65rtificate\x12\x11OperationMetadata\x12\x81\x02\n\x11UpdateCertificate\x12<.google.cloud.certificatemanager.v1.UpdateCertificateRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\x82\xd3\xe4\x93\x02K2</v1/{certificate.name=projects/*/locations/*/certificates/*}:\x0b\x63\x65rtificate\xda\x41\x17\x63\x65rtificate,update_mask\xca\x41 \n\x0b\x43\x65rtificate\x12\x11OperationMetadata\x12\xde\x01\n\x11\x44\x65leteCertificate\x12<.google.cloud.certificatemanager.v1.DeleteCertificateRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/certificates/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xdc\x01\n\x13ListCertificateMaps\x12>.google.cloud.certificatemanager.v1.ListCertificateMapsRequest\x1a?.google.cloud.certificatemanager.v1.ListCertificateMapsResponse\"D\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*}/certificateMaps\xda\x41\x06parent\x12\xc9\x01\n\x11GetCertificateMap\x12<.google.cloud.certificatemanager.v1.GetCertificateMapRequest\x1a\x32.google.cloud.certificatemanager.v1.CertificateMap\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/certificateMaps/*}\xda\x41\x04name\x12\x97\x02\n\x14\x43reateCertificateMap\x12?.google.cloud.certificatemanager.v1.CreateCertificateMapRequest\x1a\x1d.google.longrunning.Operation\"\x9e\x01\x82\xd3\xe4\x93\x02\x46\"3/v1/{parent=projects/*/locations/*}/certificateMaps:\x0f\x63\x65rtificate_map\xda\x41)parent,certificate_map,certificate_map_id\xca\x41#\n\x0e\x43\x65rtificateMap\x12\x11OperationMetadata\x12\x99\x02\n\x14UpdateCertificateMap\x12?.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\x82\xd3\xe4\x93\x02V2C/v1/{certificate_map.name=projects/*/locations/*/certificateMaps/*}:\x0f\x63\x65rtificate_map\xda\x41\x1b\x63\x65rtificate_map,update_mask\xca\x41#\n\x0e\x43\x65rtificateMap\x12\x11OperationMetadata\x12\xe7\x01\n\x14\x44\x65leteCertificateMap\x12?.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/certificateMaps/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\x86\x02\n\x19ListCertificateMapEntries\x12\x44.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest\x1a\x45.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse\"\\\x82\xd3\xe4\x93\x02M\x12K/v1/{parent=projects/*/locations/*/certificateMaps/*}/certificateMapEntries\xda\x41\x06parent\x12\xf0\x01\n\x16GetCertificateMapEntry\x12\x41.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest\x1a\x37.google.cloud.certificatemanager.v1.CertificateMapEntry\"Z\x82\xd3\xe4\x93\x02M\x12K/v1/{name=projects/*/locations/*/certificateMaps/*/certificateMapEntries/*}\xda\x41\x04name\x12\xd0\x02\n\x19\x43reateCertificateMapEntry\x12\x44.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x01\x82\xd3\xe4\x93\x02\x64\"K/v1/{parent=projects/*/locations/*/certificateMaps/*}/certificateMapEntries:\x15\x63\x65rtificate_map_entry\xda\x41\x35parent,certificate_map_entry,certificate_map_entry_id\xca\x41(\n\x13\x43\x65rtificateMapEntry\x12\x11OperationMetadata\x12\xd2\x02\n\x19UpdateCertificateMapEntry\x12\x44.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest\x1a\x1d.google.longrunning.Operation\"\xcf\x01\x82\xd3\xe4\x93\x02z2a/v1/{certificate_map_entry.name=projects/*/locations/*/certificateMaps/*/certificateMapEntries/*}:\x15\x63\x65rtificate_map_entry\xda\x41!certificate_map_entry,update_mask\xca\x41(\n\x13\x43\x65rtificateMapEntry\x12\x11OperationMetadata\x12\x8a\x02\n\x19\x44\x65leteCertificateMapEntry\x12\x44.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02M*K/v1/{name=projects/*/locations/*/certificateMaps/*/certificateMapEntries/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe4\x01\n\x15ListDnsAuthorizations\x12@.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest\x1a\x41.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/dnsAuthorizations\xda\x41\x06parent\x12\xd1\x01\n\x13GetDnsAuthorization\x12>.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest\x1a\x34.google.cloud.certificatemanager.v1.DnsAuthorization\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/dnsAuthorizations/*}\xda\x41\x04name\x12\xa5\x02\n\x16\x43reateDnsAuthorization\x12\x41.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest\x1a\x1d.google.longrunning.Operation\"\xa8\x01\x82\xd3\xe4\x93\x02J\"5/v1/{parent=projects/*/locations/*}/dnsAuthorizations:\x11\x64ns_authorization\xda\x41-parent,dns_authorization,dns_authorization_id\xca\x41%\n\x10\x44nsAuthorization\x12\x11OperationMetadata\x12\xa7\x02\n\x16UpdateDnsAuthorization\x12\x41.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x01\x82\xd3\xe4\x93\x02\\2G/v1/{dns_authorization.name=projects/*/locations/*/dnsAuthorizations/*}:\x11\x64ns_authorization\xda\x41\x1d\x64ns_authorization,update_mask\xca\x41%\n\x10\x44nsAuthorization\x12\x11OperationMetadata\x12\xed\x01\n\x16\x44\x65leteDnsAuthorization\x12\x41.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest\x1a\x1d.google.longrunning.Operation\"q\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/dnsAuthorizations/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\x88\x02\n\x1eListCertificateIssuanceConfigs\x12I.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest\x1aJ.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*}/certificateIssuanceConfigs\xda\x41\x06parent\x12\xf5\x01\n\x1cGetCertificateIssuanceConfig\x12G.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest\x1a=.google.cloud.certificatemanager.v1.CertificateIssuanceConfig\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/certificateIssuanceConfigs/*}\xda\x41\x04name\x12\xe7\x02\n\x1f\x43reateCertificateIssuanceConfig\x12J.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\x82\xd3\xe4\x93\x02]\">/v1/{parent=projects/*/locations/*}/certificateIssuanceConfigs:\x1b\x63\x65rtificate_issuance_config\xda\x41\x41parent,certificate_issuance_config,certificate_issuance_config_id\xca\x41.\n\x19\x43\x65rtificateIssuanceConfig\x12\x11OperationMetadata\x12\x88\x02\n\x1f\x44\x65leteCertificateIssuanceConfig\x12J.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/certificateIssuanceConfigs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x1aU\xca\x41!certificatemanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8d\x02\n&com.google.cloud.certificatemanager.v1B\x17\x43\x65rtificateManagerProtoP\x01ZVcloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb;certificatemanagerpb\xaa\x02\"Google.Cloud.CertificateManager.V1\xca\x02\"Google\\Cloud\\CertificateManager\\V1\xea\x02%Google::Cloud::CertificateManager::V1b\x06proto3"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError => e
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
34
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
253
40
  end
254
41
  end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
255
44
  end
256
45
 
257
46
  module Google
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
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.5.0
4
+ version: 0.7.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: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-09-12 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.18.0
19
+ version: 0.20.0
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.18.0
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  - !ruby/object:Gem::Version
241
241
  version: '0'
242
242
  requirements: []
243
- rubygems_version: 3.4.2
243
+ rubygems_version: 3.4.19
244
244
  signing_key:
245
245
  specification_version: 4
246
246
  summary: API Client library for the Certificate Manager V1 API