google-apis-networksecurity_v1beta1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-networksecurity_v1beta1.rb +15 -0
- data/lib/google/apis/networksecurity_v1beta1.rb +36 -0
- data/lib/google/apis/networksecurity_v1beta1/classes.rb +1230 -0
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +28 -0
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +511 -0
- data/lib/google/apis/networksecurity_v1beta1/service.rb +1173 -0
- metadata +82 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module NetworksecurityV1beta1
|
18
|
+
# Version of the google-apis-networksecurity_v1beta1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20210624"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,511 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module NetworksecurityV1beta1
|
24
|
+
|
25
|
+
class AuthorizationPolicy
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class CancelOperationRequest
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class CertificateProviderInstance
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class ClientTlsPolicy
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Destination
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Empty
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class Expr
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GoogleCloudNetworksecurityV1beta1CertificateProvider
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GoogleCloudNetworksecurityV1beta1GrpcEndpoint
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleIamV1AuditConfig
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleIamV1AuditLogConfig
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleIamV1Binding
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GoogleIamV1Policy
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GoogleIamV1SetIamPolicyRequest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleIamV1TestIamPermissionsRequest
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleIamV1TestIamPermissionsResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class HttpHeaderMatch
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class ListAuthorizationPoliciesResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class ListClientTlsPoliciesResponse
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class ListLocationsResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class ListOperationsResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class ListServerTlsPoliciesResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class Location
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class MtlsPolicy
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class Operation
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class OperationMetadata
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class Rule
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class ServerTlsPolicy
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class Source
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class Status
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class ValidationCa
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class AuthorizationPolicy
|
212
|
+
# @private
|
213
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
214
|
+
property :action, as: 'action'
|
215
|
+
property :create_time, as: 'createTime'
|
216
|
+
property :description, as: 'description'
|
217
|
+
hash :labels, as: 'labels'
|
218
|
+
property :name, as: 'name'
|
219
|
+
collection :rules, as: 'rules', class: Google::Apis::NetworksecurityV1beta1::Rule, decorator: Google::Apis::NetworksecurityV1beta1::Rule::Representation
|
220
|
+
|
221
|
+
property :update_time, as: 'updateTime'
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
class CancelOperationRequest
|
226
|
+
# @private
|
227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
class CertificateProviderInstance
|
232
|
+
# @private
|
233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
234
|
+
property :plugin_instance, as: 'pluginInstance'
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class ClientTlsPolicy
|
239
|
+
# @private
|
240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
241
|
+
property :client_certificate, as: 'clientCertificate', class: Google::Apis::NetworksecurityV1beta1::GoogleCloudNetworksecurityV1beta1CertificateProvider, decorator: Google::Apis::NetworksecurityV1beta1::GoogleCloudNetworksecurityV1beta1CertificateProvider::Representation
|
242
|
+
|
243
|
+
property :create_time, as: 'createTime'
|
244
|
+
property :description, as: 'description'
|
245
|
+
hash :labels, as: 'labels'
|
246
|
+
property :name, as: 'name'
|
247
|
+
collection :server_validation_ca, as: 'serverValidationCa', class: Google::Apis::NetworksecurityV1beta1::ValidationCa, decorator: Google::Apis::NetworksecurityV1beta1::ValidationCa::Representation
|
248
|
+
|
249
|
+
property :sni, as: 'sni'
|
250
|
+
property :update_time, as: 'updateTime'
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
class Destination
|
255
|
+
# @private
|
256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
257
|
+
collection :hosts, as: 'hosts'
|
258
|
+
property :http_header_match, as: 'httpHeaderMatch', class: Google::Apis::NetworksecurityV1beta1::HttpHeaderMatch, decorator: Google::Apis::NetworksecurityV1beta1::HttpHeaderMatch::Representation
|
259
|
+
|
260
|
+
collection :methods_prop, as: 'methods'
|
261
|
+
collection :ports, as: 'ports'
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
class Empty
|
266
|
+
# @private
|
267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
class Expr
|
272
|
+
# @private
|
273
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
274
|
+
property :description, as: 'description'
|
275
|
+
property :expression, as: 'expression'
|
276
|
+
property :location, as: 'location'
|
277
|
+
property :title, as: 'title'
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
class GoogleCloudNetworksecurityV1beta1CertificateProvider
|
282
|
+
# @private
|
283
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
284
|
+
property :certificate_provider_instance, as: 'certificateProviderInstance', class: Google::Apis::NetworksecurityV1beta1::CertificateProviderInstance, decorator: Google::Apis::NetworksecurityV1beta1::CertificateProviderInstance::Representation
|
285
|
+
|
286
|
+
property :grpc_endpoint, as: 'grpcEndpoint', class: Google::Apis::NetworksecurityV1beta1::GoogleCloudNetworksecurityV1beta1GrpcEndpoint, decorator: Google::Apis::NetworksecurityV1beta1::GoogleCloudNetworksecurityV1beta1GrpcEndpoint::Representation
|
287
|
+
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
class GoogleCloudNetworksecurityV1beta1GrpcEndpoint
|
292
|
+
# @private
|
293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
+
property :target_uri, as: 'targetUri'
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
class GoogleIamV1AuditConfig
|
299
|
+
# @private
|
300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
301
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::NetworksecurityV1beta1::GoogleIamV1AuditLogConfig, decorator: Google::Apis::NetworksecurityV1beta1::GoogleIamV1AuditLogConfig::Representation
|
302
|
+
|
303
|
+
property :service, as: 'service'
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
class GoogleIamV1AuditLogConfig
|
308
|
+
# @private
|
309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
+
collection :exempted_members, as: 'exemptedMembers'
|
311
|
+
property :log_type, as: 'logType'
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
class GoogleIamV1Binding
|
316
|
+
# @private
|
317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
318
|
+
property :condition, as: 'condition', class: Google::Apis::NetworksecurityV1beta1::Expr, decorator: Google::Apis::NetworksecurityV1beta1::Expr::Representation
|
319
|
+
|
320
|
+
collection :members, as: 'members'
|
321
|
+
property :role, as: 'role'
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
class GoogleIamV1Policy
|
326
|
+
# @private
|
327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
328
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::NetworksecurityV1beta1::GoogleIamV1AuditConfig, decorator: Google::Apis::NetworksecurityV1beta1::GoogleIamV1AuditConfig::Representation
|
329
|
+
|
330
|
+
collection :bindings, as: 'bindings', class: Google::Apis::NetworksecurityV1beta1::GoogleIamV1Binding, decorator: Google::Apis::NetworksecurityV1beta1::GoogleIamV1Binding::Representation
|
331
|
+
|
332
|
+
property :etag, :base64 => true, as: 'etag'
|
333
|
+
property :version, as: 'version'
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
class GoogleIamV1SetIamPolicyRequest
|
338
|
+
# @private
|
339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
340
|
+
property :policy, as: 'policy', class: Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy, decorator: Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation
|
341
|
+
|
342
|
+
property :update_mask, as: 'updateMask'
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
class GoogleIamV1TestIamPermissionsRequest
|
347
|
+
# @private
|
348
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
349
|
+
collection :permissions, as: 'permissions'
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
class GoogleIamV1TestIamPermissionsResponse
|
354
|
+
# @private
|
355
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
356
|
+
collection :permissions, as: 'permissions'
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
360
|
+
class HttpHeaderMatch
|
361
|
+
# @private
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
363
|
+
property :header_name, as: 'headerName'
|
364
|
+
property :regex_match, as: 'regexMatch'
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
class ListAuthorizationPoliciesResponse
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
collection :authorization_policies, as: 'authorizationPolicies', class: Google::Apis::NetworksecurityV1beta1::AuthorizationPolicy, decorator: Google::Apis::NetworksecurityV1beta1::AuthorizationPolicy::Representation
|
372
|
+
|
373
|
+
property :next_page_token, as: 'nextPageToken'
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
377
|
+
class ListClientTlsPoliciesResponse
|
378
|
+
# @private
|
379
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
380
|
+
collection :client_tls_policies, as: 'clientTlsPolicies', class: Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy, decorator: Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy::Representation
|
381
|
+
|
382
|
+
property :next_page_token, as: 'nextPageToken'
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
class ListLocationsResponse
|
387
|
+
# @private
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
389
|
+
collection :locations, as: 'locations', class: Google::Apis::NetworksecurityV1beta1::Location, decorator: Google::Apis::NetworksecurityV1beta1::Location::Representation
|
390
|
+
|
391
|
+
property :next_page_token, as: 'nextPageToken'
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
class ListOperationsResponse
|
396
|
+
# @private
|
397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
398
|
+
property :next_page_token, as: 'nextPageToken'
|
399
|
+
collection :operations, as: 'operations', class: Google::Apis::NetworksecurityV1beta1::Operation, decorator: Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
400
|
+
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
class ListServerTlsPoliciesResponse
|
405
|
+
# @private
|
406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
407
|
+
property :next_page_token, as: 'nextPageToken'
|
408
|
+
collection :server_tls_policies, as: 'serverTlsPolicies', class: Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy, decorator: Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy::Representation
|
409
|
+
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
class Location
|
414
|
+
# @private
|
415
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
416
|
+
property :display_name, as: 'displayName'
|
417
|
+
hash :labels, as: 'labels'
|
418
|
+
property :location_id, as: 'locationId'
|
419
|
+
hash :metadata, as: 'metadata'
|
420
|
+
property :name, as: 'name'
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
class MtlsPolicy
|
425
|
+
# @private
|
426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
427
|
+
collection :client_validation_ca, as: 'clientValidationCa', class: Google::Apis::NetworksecurityV1beta1::ValidationCa, decorator: Google::Apis::NetworksecurityV1beta1::ValidationCa::Representation
|
428
|
+
|
429
|
+
end
|
430
|
+
end
|
431
|
+
|
432
|
+
class Operation
|
433
|
+
# @private
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
435
|
+
property :done, as: 'done'
|
436
|
+
property :error, as: 'error', class: Google::Apis::NetworksecurityV1beta1::Status, decorator: Google::Apis::NetworksecurityV1beta1::Status::Representation
|
437
|
+
|
438
|
+
hash :metadata, as: 'metadata'
|
439
|
+
property :name, as: 'name'
|
440
|
+
hash :response, as: 'response'
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
class OperationMetadata
|
445
|
+
# @private
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
447
|
+
property :api_version, as: 'apiVersion'
|
448
|
+
property :create_time, as: 'createTime'
|
449
|
+
property :end_time, as: 'endTime'
|
450
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
451
|
+
property :status_message, as: 'statusMessage'
|
452
|
+
property :target, as: 'target'
|
453
|
+
property :verb, as: 'verb'
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
457
|
+
class Rule
|
458
|
+
# @private
|
459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
460
|
+
collection :destinations, as: 'destinations', class: Google::Apis::NetworksecurityV1beta1::Destination, decorator: Google::Apis::NetworksecurityV1beta1::Destination::Representation
|
461
|
+
|
462
|
+
collection :sources, as: 'sources', class: Google::Apis::NetworksecurityV1beta1::Source, decorator: Google::Apis::NetworksecurityV1beta1::Source::Representation
|
463
|
+
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
467
|
+
class ServerTlsPolicy
|
468
|
+
# @private
|
469
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
470
|
+
property :allow_open, as: 'allowOpen'
|
471
|
+
property :create_time, as: 'createTime'
|
472
|
+
property :description, as: 'description'
|
473
|
+
hash :labels, as: 'labels'
|
474
|
+
property :mtls_policy, as: 'mtlsPolicy', class: Google::Apis::NetworksecurityV1beta1::MtlsPolicy, decorator: Google::Apis::NetworksecurityV1beta1::MtlsPolicy::Representation
|
475
|
+
|
476
|
+
property :name, as: 'name'
|
477
|
+
property :server_certificate, as: 'serverCertificate', class: Google::Apis::NetworksecurityV1beta1::GoogleCloudNetworksecurityV1beta1CertificateProvider, decorator: Google::Apis::NetworksecurityV1beta1::GoogleCloudNetworksecurityV1beta1CertificateProvider::Representation
|
478
|
+
|
479
|
+
property :update_time, as: 'updateTime'
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
483
|
+
class Source
|
484
|
+
# @private
|
485
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
486
|
+
collection :ip_blocks, as: 'ipBlocks'
|
487
|
+
collection :principals, as: 'principals'
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
class Status
|
492
|
+
# @private
|
493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
494
|
+
property :code, as: 'code'
|
495
|
+
collection :details, as: 'details'
|
496
|
+
property :message, as: 'message'
|
497
|
+
end
|
498
|
+
end
|
499
|
+
|
500
|
+
class ValidationCa
|
501
|
+
# @private
|
502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
503
|
+
property :certificate_provider_instance, as: 'certificateProviderInstance', class: Google::Apis::NetworksecurityV1beta1::CertificateProviderInstance, decorator: Google::Apis::NetworksecurityV1beta1::CertificateProviderInstance::Representation
|
504
|
+
|
505
|
+
property :grpc_endpoint, as: 'grpcEndpoint', class: Google::Apis::NetworksecurityV1beta1::GoogleCloudNetworksecurityV1beta1GrpcEndpoint, decorator: Google::Apis::NetworksecurityV1beta1::GoogleCloudNetworksecurityV1beta1GrpcEndpoint::Representation
|
506
|
+
|
507
|
+
end
|
508
|
+
end
|
509
|
+
end
|
510
|
+
end
|
511
|
+
end
|