google-apis-dns_v1beta2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 DnsV1beta2
18
+ # Version of the google-apis-dns_v1beta2 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201116"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,716 @@
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 DnsV1beta2
24
+
25
+ class Change
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ChangesListResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class DnsKey
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class DnsKeyDigest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class DnsKeySpec
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class DnsKeysListResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ManagedZone
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ManagedZoneDnsSecConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ManagedZoneForwardingConfig
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ManagedZoneForwardingConfigNameServerTarget
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ManagedZoneOperationsListResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ManagedZonePeeringConfig
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ManagedZonePeeringConfigTargetNetwork
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ManagedZonePrivateVisibilityConfig
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ManagedZonePrivateVisibilityConfigNetwork
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ManagedZoneReverseLookupConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ManagedZoneServiceDirectoryConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ManagedZoneServiceDirectoryConfigNamespace
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ManagedZonesListResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Operation
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class OperationDnsKeyContext
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class OperationManagedZoneContext
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class PoliciesListResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class PoliciesPatchResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class PoliciesUpdateResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class Policy
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class PolicyAlternativeNameServerConfig
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class PolicyAlternativeNameServerConfigTargetNameServer
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class PolicyNetwork
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Project
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class Quota
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class RrSetRoutingPolicy
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class RrSetRoutingPolicyGeoPolicy
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class RrSetRoutingPolicyWrrPolicy
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ResourceRecordSet
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ResourceRecordSetsDeleteResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ResourceRecordSetsListResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ResponseHeader
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Change
266
+ # @private
267
+ class Representation < Google::Apis::Core::JsonRepresentation
268
+ collection :additions, as: 'additions', class: Google::Apis::DnsV1beta2::ResourceRecordSet, decorator: Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
269
+
270
+ collection :deletions, as: 'deletions', class: Google::Apis::DnsV1beta2::ResourceRecordSet, decorator: Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
271
+
272
+ property :id, as: 'id'
273
+ property :is_serving, as: 'isServing'
274
+ property :kind, as: 'kind'
275
+ property :start_time, as: 'startTime'
276
+ property :status, as: 'status'
277
+ end
278
+ end
279
+
280
+ class ChangesListResponse
281
+ # @private
282
+ class Representation < Google::Apis::Core::JsonRepresentation
283
+ collection :changes, as: 'changes', class: Google::Apis::DnsV1beta2::Change, decorator: Google::Apis::DnsV1beta2::Change::Representation
284
+
285
+ property :header, as: 'header', class: Google::Apis::DnsV1beta2::ResponseHeader, decorator: Google::Apis::DnsV1beta2::ResponseHeader::Representation
286
+
287
+ property :kind, as: 'kind'
288
+ property :next_page_token, as: 'nextPageToken'
289
+ end
290
+ end
291
+
292
+ class DnsKey
293
+ # @private
294
+ class Representation < Google::Apis::Core::JsonRepresentation
295
+ property :algorithm, as: 'algorithm'
296
+ property :creation_time, as: 'creationTime'
297
+ property :description, as: 'description'
298
+ collection :digests, as: 'digests', class: Google::Apis::DnsV1beta2::DnsKeyDigest, decorator: Google::Apis::DnsV1beta2::DnsKeyDigest::Representation
299
+
300
+ property :id, as: 'id'
301
+ property :is_active, as: 'isActive'
302
+ property :key_length, as: 'keyLength'
303
+ property :key_tag, as: 'keyTag'
304
+ property :kind, as: 'kind'
305
+ property :public_key, as: 'publicKey'
306
+ property :type, as: 'type'
307
+ end
308
+ end
309
+
310
+ class DnsKeyDigest
311
+ # @private
312
+ class Representation < Google::Apis::Core::JsonRepresentation
313
+ property :digest, as: 'digest'
314
+ property :type, as: 'type'
315
+ end
316
+ end
317
+
318
+ class DnsKeySpec
319
+ # @private
320
+ class Representation < Google::Apis::Core::JsonRepresentation
321
+ property :algorithm, as: 'algorithm'
322
+ property :key_length, as: 'keyLength'
323
+ property :key_type, as: 'keyType'
324
+ property :kind, as: 'kind'
325
+ end
326
+ end
327
+
328
+ class DnsKeysListResponse
329
+ # @private
330
+ class Representation < Google::Apis::Core::JsonRepresentation
331
+ collection :dns_keys, as: 'dnsKeys', class: Google::Apis::DnsV1beta2::DnsKey, decorator: Google::Apis::DnsV1beta2::DnsKey::Representation
332
+
333
+ property :header, as: 'header', class: Google::Apis::DnsV1beta2::ResponseHeader, decorator: Google::Apis::DnsV1beta2::ResponseHeader::Representation
334
+
335
+ property :kind, as: 'kind'
336
+ property :next_page_token, as: 'nextPageToken'
337
+ end
338
+ end
339
+
340
+ class ManagedZone
341
+ # @private
342
+ class Representation < Google::Apis::Core::JsonRepresentation
343
+ property :creation_time, as: 'creationTime'
344
+ property :description, as: 'description'
345
+ property :dns_name, as: 'dnsName'
346
+ property :dnssec_config, as: 'dnssecConfig', class: Google::Apis::DnsV1beta2::ManagedZoneDnsSecConfig, decorator: Google::Apis::DnsV1beta2::ManagedZoneDnsSecConfig::Representation
347
+
348
+ property :forwarding_config, as: 'forwardingConfig', class: Google::Apis::DnsV1beta2::ManagedZoneForwardingConfig, decorator: Google::Apis::DnsV1beta2::ManagedZoneForwardingConfig::Representation
349
+
350
+ property :id, :numeric_string => true, as: 'id'
351
+ property :kind, as: 'kind'
352
+ hash :labels, as: 'labels'
353
+ property :name, as: 'name'
354
+ property :name_server_set, as: 'nameServerSet'
355
+ collection :name_servers, as: 'nameServers'
356
+ property :peering_config, as: 'peeringConfig', class: Google::Apis::DnsV1beta2::ManagedZonePeeringConfig, decorator: Google::Apis::DnsV1beta2::ManagedZonePeeringConfig::Representation
357
+
358
+ property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig::Representation
359
+
360
+ property :reverse_lookup_config, as: 'reverseLookupConfig', class: Google::Apis::DnsV1beta2::ManagedZoneReverseLookupConfig, decorator: Google::Apis::DnsV1beta2::ManagedZoneReverseLookupConfig::Representation
361
+
362
+ property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfig, decorator: Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfig::Representation
363
+
364
+ property :visibility, as: 'visibility'
365
+ end
366
+ end
367
+
368
+ class ManagedZoneDnsSecConfig
369
+ # @private
370
+ class Representation < Google::Apis::Core::JsonRepresentation
371
+ collection :default_key_specs, as: 'defaultKeySpecs', class: Google::Apis::DnsV1beta2::DnsKeySpec, decorator: Google::Apis::DnsV1beta2::DnsKeySpec::Representation
372
+
373
+ property :kind, as: 'kind'
374
+ property :non_existence, as: 'nonExistence'
375
+ property :state, as: 'state'
376
+ end
377
+ end
378
+
379
+ class ManagedZoneForwardingConfig
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ property :kind, as: 'kind'
383
+ collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV1beta2::ManagedZoneForwardingConfigNameServerTarget, decorator: Google::Apis::DnsV1beta2::ManagedZoneForwardingConfigNameServerTarget::Representation
384
+
385
+ end
386
+ end
387
+
388
+ class ManagedZoneForwardingConfigNameServerTarget
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :forwarding_path, as: 'forwardingPath'
392
+ property :ipv4_address, as: 'ipv4Address'
393
+ property :kind, as: 'kind'
394
+ end
395
+ end
396
+
397
+ class ManagedZoneOperationsListResponse
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :header, as: 'header', class: Google::Apis::DnsV1beta2::ResponseHeader, decorator: Google::Apis::DnsV1beta2::ResponseHeader::Representation
401
+
402
+ property :kind, as: 'kind'
403
+ property :next_page_token, as: 'nextPageToken'
404
+ collection :operations, as: 'operations', class: Google::Apis::DnsV1beta2::Operation, decorator: Google::Apis::DnsV1beta2::Operation::Representation
405
+
406
+ end
407
+ end
408
+
409
+ class ManagedZonePeeringConfig
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ property :kind, as: 'kind'
413
+ property :target_network, as: 'targetNetwork', class: Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork, decorator: Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork::Representation
414
+
415
+ end
416
+ end
417
+
418
+ class ManagedZonePeeringConfigTargetNetwork
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ property :deactivate_time, as: 'deactivateTime'
422
+ property :kind, as: 'kind'
423
+ property :network_url, as: 'networkUrl'
424
+ end
425
+ end
426
+
427
+ class ManagedZonePrivateVisibilityConfig
428
+ # @private
429
+ class Representation < Google::Apis::Core::JsonRepresentation
430
+ property :kind, as: 'kind'
431
+ collection :networks, as: 'networks', class: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfigNetwork, decorator: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfigNetwork::Representation
432
+
433
+ end
434
+ end
435
+
436
+ class ManagedZonePrivateVisibilityConfigNetwork
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ property :kind, as: 'kind'
440
+ property :network_url, as: 'networkUrl'
441
+ end
442
+ end
443
+
444
+ class ManagedZoneReverseLookupConfig
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :kind, as: 'kind'
448
+ end
449
+ end
450
+
451
+ class ManagedZoneServiceDirectoryConfig
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :kind, as: 'kind'
455
+ property :namespace, as: 'namespace', class: Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfigNamespace, decorator: Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfigNamespace::Representation
456
+
457
+ end
458
+ end
459
+
460
+ class ManagedZoneServiceDirectoryConfigNamespace
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :deletion_time, as: 'deletionTime'
464
+ property :kind, as: 'kind'
465
+ property :namespace_url, as: 'namespaceUrl'
466
+ end
467
+ end
468
+
469
+ class ManagedZonesListResponse
470
+ # @private
471
+ class Representation < Google::Apis::Core::JsonRepresentation
472
+ property :header, as: 'header', class: Google::Apis::DnsV1beta2::ResponseHeader, decorator: Google::Apis::DnsV1beta2::ResponseHeader::Representation
473
+
474
+ property :kind, as: 'kind'
475
+ collection :managed_zones, as: 'managedZones', class: Google::Apis::DnsV1beta2::ManagedZone, decorator: Google::Apis::DnsV1beta2::ManagedZone::Representation
476
+
477
+ property :next_page_token, as: 'nextPageToken'
478
+ end
479
+ end
480
+
481
+ class Operation
482
+ # @private
483
+ class Representation < Google::Apis::Core::JsonRepresentation
484
+ property :dns_key_context, as: 'dnsKeyContext', class: Google::Apis::DnsV1beta2::OperationDnsKeyContext, decorator: Google::Apis::DnsV1beta2::OperationDnsKeyContext::Representation
485
+
486
+ property :id, as: 'id'
487
+ property :kind, as: 'kind'
488
+ property :start_time, as: 'startTime'
489
+ property :status, as: 'status'
490
+ property :type, as: 'type'
491
+ property :user, as: 'user'
492
+ property :zone_context, as: 'zoneContext', class: Google::Apis::DnsV1beta2::OperationManagedZoneContext, decorator: Google::Apis::DnsV1beta2::OperationManagedZoneContext::Representation
493
+
494
+ end
495
+ end
496
+
497
+ class OperationDnsKeyContext
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ property :new_value, as: 'newValue', class: Google::Apis::DnsV1beta2::DnsKey, decorator: Google::Apis::DnsV1beta2::DnsKey::Representation
501
+
502
+ property :old_value, as: 'oldValue', class: Google::Apis::DnsV1beta2::DnsKey, decorator: Google::Apis::DnsV1beta2::DnsKey::Representation
503
+
504
+ end
505
+ end
506
+
507
+ class OperationManagedZoneContext
508
+ # @private
509
+ class Representation < Google::Apis::Core::JsonRepresentation
510
+ property :new_value, as: 'newValue', class: Google::Apis::DnsV1beta2::ManagedZone, decorator: Google::Apis::DnsV1beta2::ManagedZone::Representation
511
+
512
+ property :old_value, as: 'oldValue', class: Google::Apis::DnsV1beta2::ManagedZone, decorator: Google::Apis::DnsV1beta2::ManagedZone::Representation
513
+
514
+ end
515
+ end
516
+
517
+ class PoliciesListResponse
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ property :header, as: 'header', class: Google::Apis::DnsV1beta2::ResponseHeader, decorator: Google::Apis::DnsV1beta2::ResponseHeader::Representation
521
+
522
+ property :kind, as: 'kind'
523
+ property :next_page_token, as: 'nextPageToken'
524
+ collection :policies, as: 'policies', class: Google::Apis::DnsV1beta2::Policy, decorator: Google::Apis::DnsV1beta2::Policy::Representation
525
+
526
+ end
527
+ end
528
+
529
+ class PoliciesPatchResponse
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ property :header, as: 'header', class: Google::Apis::DnsV1beta2::ResponseHeader, decorator: Google::Apis::DnsV1beta2::ResponseHeader::Representation
533
+
534
+ property :policy, as: 'policy', class: Google::Apis::DnsV1beta2::Policy, decorator: Google::Apis::DnsV1beta2::Policy::Representation
535
+
536
+ end
537
+ end
538
+
539
+ class PoliciesUpdateResponse
540
+ # @private
541
+ class Representation < Google::Apis::Core::JsonRepresentation
542
+ property :header, as: 'header', class: Google::Apis::DnsV1beta2::ResponseHeader, decorator: Google::Apis::DnsV1beta2::ResponseHeader::Representation
543
+
544
+ property :policy, as: 'policy', class: Google::Apis::DnsV1beta2::Policy, decorator: Google::Apis::DnsV1beta2::Policy::Representation
545
+
546
+ end
547
+ end
548
+
549
+ class Policy
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :alternative_name_server_config, as: 'alternativeNameServerConfig', class: Google::Apis::DnsV1beta2::PolicyAlternativeNameServerConfig, decorator: Google::Apis::DnsV1beta2::PolicyAlternativeNameServerConfig::Representation
553
+
554
+ property :description, as: 'description'
555
+ property :enable_inbound_forwarding, as: 'enableInboundForwarding'
556
+ property :enable_logging, as: 'enableLogging'
557
+ property :id, :numeric_string => true, as: 'id'
558
+ property :kind, as: 'kind'
559
+ property :name, as: 'name'
560
+ collection :networks, as: 'networks', class: Google::Apis::DnsV1beta2::PolicyNetwork, decorator: Google::Apis::DnsV1beta2::PolicyNetwork::Representation
561
+
562
+ end
563
+ end
564
+
565
+ class PolicyAlternativeNameServerConfig
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :kind, as: 'kind'
569
+ collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV1beta2::PolicyAlternativeNameServerConfigTargetNameServer, decorator: Google::Apis::DnsV1beta2::PolicyAlternativeNameServerConfigTargetNameServer::Representation
570
+
571
+ end
572
+ end
573
+
574
+ class PolicyAlternativeNameServerConfigTargetNameServer
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :forwarding_path, as: 'forwardingPath'
578
+ property :ipv4_address, as: 'ipv4Address'
579
+ property :kind, as: 'kind'
580
+ end
581
+ end
582
+
583
+ class PolicyNetwork
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ property :kind, as: 'kind'
587
+ property :network_url, as: 'networkUrl'
588
+ end
589
+ end
590
+
591
+ class Project
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :id, as: 'id'
595
+ property :kind, as: 'kind'
596
+ property :number, :numeric_string => true, as: 'number'
597
+ property :quota, as: 'quota', class: Google::Apis::DnsV1beta2::Quota, decorator: Google::Apis::DnsV1beta2::Quota::Representation
598
+
599
+ end
600
+ end
601
+
602
+ class Quota
603
+ # @private
604
+ class Representation < Google::Apis::Core::JsonRepresentation
605
+ property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone'
606
+ property :gke_clusters_per_policy, as: 'gkeClustersPerPolicy'
607
+ property :kind, as: 'kind'
608
+ property :managed_zones, as: 'managedZones'
609
+ property :managed_zones_per_network, as: 'managedZonesPerNetwork'
610
+ property :networks_per_managed_zone, as: 'networksPerManagedZone'
611
+ property :networks_per_policy, as: 'networksPerPolicy'
612
+ property :policies, as: 'policies'
613
+ property :resource_records_per_rrset, as: 'resourceRecordsPerRrset'
614
+ property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange'
615
+ property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange'
616
+ property :rrsets_per_managed_zone, as: 'rrsetsPerManagedZone'
617
+ property :target_name_servers_per_managed_zone, as: 'targetNameServersPerManagedZone'
618
+ property :target_name_servers_per_policy, as: 'targetNameServersPerPolicy'
619
+ property :total_rrdata_size_per_change, as: 'totalRrdataSizePerChange'
620
+ collection :whitelisted_key_specs, as: 'whitelistedKeySpecs', class: Google::Apis::DnsV1beta2::DnsKeySpec, decorator: Google::Apis::DnsV1beta2::DnsKeySpec::Representation
621
+
622
+ end
623
+ end
624
+
625
+ class RrSetRoutingPolicy
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :geo_policy, as: 'geoPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy::Representation
629
+
630
+ property :kind, as: 'kind'
631
+ property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy::Representation
632
+
633
+ end
634
+ end
635
+
636
+ class RrSetRoutingPolicyGeoPolicy
637
+ # @private
638
+ class Representation < Google::Apis::Core::JsonRepresentation
639
+ collection :failovers, as: 'failovers', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
640
+
641
+ collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
642
+
643
+ property :kind, as: 'kind'
644
+ end
645
+ end
646
+
647
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
648
+ # @private
649
+ class Representation < Google::Apis::Core::JsonRepresentation
650
+ property :kind, as: 'kind'
651
+ property :location, as: 'location'
652
+ collection :rrdatas, as: 'rrdatas'
653
+ collection :signature_rrdatas, as: 'signatureRrdatas'
654
+ end
655
+ end
656
+
657
+ class RrSetRoutingPolicyWrrPolicy
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem::Representation
661
+
662
+ property :kind, as: 'kind'
663
+ end
664
+ end
665
+
666
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :kind, as: 'kind'
670
+ collection :rrdatas, as: 'rrdatas'
671
+ collection :signature_rrdatas, as: 'signatureRrdatas'
672
+ property :weight, as: 'weight'
673
+ end
674
+ end
675
+
676
+ class ResourceRecordSet
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :kind, as: 'kind'
680
+ property :name, as: 'name'
681
+ property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicy::Representation
682
+
683
+ collection :rrdatas, as: 'rrdatas'
684
+ collection :signature_rrdatas, as: 'signatureRrdatas'
685
+ property :ttl, as: 'ttl'
686
+ property :type, as: 'type'
687
+ end
688
+ end
689
+
690
+ class ResourceRecordSetsDeleteResponse
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ end
694
+ end
695
+
696
+ class ResourceRecordSetsListResponse
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ property :header, as: 'header', class: Google::Apis::DnsV1beta2::ResponseHeader, decorator: Google::Apis::DnsV1beta2::ResponseHeader::Representation
700
+
701
+ property :kind, as: 'kind'
702
+ property :next_page_token, as: 'nextPageToken'
703
+ collection :rrsets, as: 'rrsets', class: Google::Apis::DnsV1beta2::ResourceRecordSet, decorator: Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
704
+
705
+ end
706
+ end
707
+
708
+ class ResponseHeader
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :operation_id, as: 'operationId'
712
+ end
713
+ end
714
+ end
715
+ end
716
+ end