google-apis-dns_v2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,913 @@
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 DnsV2
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 ManagedZoneCloudLoggingConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ManagedZoneDnsSecConfig
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ManagedZoneForwardingConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ManagedZoneForwardingConfigNameServerTarget
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ManagedZoneOperationsListResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ManagedZonePeeringConfig
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ManagedZonePeeringConfigTargetNetwork
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ManagedZonePrivateVisibilityConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ManagedZonePrivateVisibilityConfigGkeCluster
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ManagedZonePrivateVisibilityConfigNetwork
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ManagedZoneReverseLookupConfig
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ManagedZoneServiceDirectoryConfig
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ManagedZoneServiceDirectoryConfigNamespace
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ManagedZonesListResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Operation
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class OperationDnsKeyContext
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class OperationManagedZoneContext
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class PoliciesListResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class PoliciesPatchResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class PoliciesUpdateResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Policy
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class PolicyAlternativeNameServerConfig
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class PolicyAlternativeNameServerConfigTargetNameServer
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class PolicyNetwork
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Project
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Quota
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class RrSetRoutingPolicy
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class RrSetRoutingPolicyGeoPolicy
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class RrSetRoutingPolicyWrrPolicy
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ResourceRecordSet
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ResourceRecordSetsListResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ResponseHeader
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ResponsePoliciesListResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ResponsePoliciesPatchResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class ResponsePoliciesUpdateResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class ResponsePolicy
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ResponsePolicyGkeCluster
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class ResponsePolicyNetwork
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class ResponsePolicyRule
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class ResponsePolicyRuleLocalData
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class ResponsePolicyRulesListResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class ResponsePolicyRulesPatchResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class ResponsePolicyRulesUpdateResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class Change
338
+ # @private
339
+ class Representation < Google::Apis::Core::JsonRepresentation
340
+ collection :additions, as: 'additions', class: Google::Apis::DnsV2::ResourceRecordSet, decorator: Google::Apis::DnsV2::ResourceRecordSet::Representation
341
+
342
+ collection :deletions, as: 'deletions', class: Google::Apis::DnsV2::ResourceRecordSet, decorator: Google::Apis::DnsV2::ResourceRecordSet::Representation
343
+
344
+ property :id, as: 'id'
345
+ property :is_serving, as: 'isServing'
346
+ property :kind, as: 'kind'
347
+ property :start_time, as: 'startTime'
348
+ property :status, as: 'status'
349
+ end
350
+ end
351
+
352
+ class ChangesListResponse
353
+ # @private
354
+ class Representation < Google::Apis::Core::JsonRepresentation
355
+ collection :changes, as: 'changes', class: Google::Apis::DnsV2::Change, decorator: Google::Apis::DnsV2::Change::Representation
356
+
357
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
358
+
359
+ property :kind, as: 'kind'
360
+ property :next_page_token, as: 'nextPageToken'
361
+ end
362
+ end
363
+
364
+ class DnsKey
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :algorithm, as: 'algorithm'
368
+ property :creation_time, as: 'creationTime'
369
+ property :description, as: 'description'
370
+ collection :digests, as: 'digests', class: Google::Apis::DnsV2::DnsKeyDigest, decorator: Google::Apis::DnsV2::DnsKeyDigest::Representation
371
+
372
+ property :id, as: 'id'
373
+ property :is_active, as: 'isActive'
374
+ property :key_length, as: 'keyLength'
375
+ property :key_tag, as: 'keyTag'
376
+ property :kind, as: 'kind'
377
+ property :public_key, as: 'publicKey'
378
+ property :type, as: 'type'
379
+ end
380
+ end
381
+
382
+ class DnsKeyDigest
383
+ # @private
384
+ class Representation < Google::Apis::Core::JsonRepresentation
385
+ property :digest, as: 'digest'
386
+ property :type, as: 'type'
387
+ end
388
+ end
389
+
390
+ class DnsKeySpec
391
+ # @private
392
+ class Representation < Google::Apis::Core::JsonRepresentation
393
+ property :algorithm, as: 'algorithm'
394
+ property :key_length, as: 'keyLength'
395
+ property :key_type, as: 'keyType'
396
+ property :kind, as: 'kind'
397
+ end
398
+ end
399
+
400
+ class DnsKeysListResponse
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ collection :dns_keys, as: 'dnsKeys', class: Google::Apis::DnsV2::DnsKey, decorator: Google::Apis::DnsV2::DnsKey::Representation
404
+
405
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
406
+
407
+ property :kind, as: 'kind'
408
+ property :next_page_token, as: 'nextPageToken'
409
+ end
410
+ end
411
+
412
+ class ManagedZone
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :cloud_logging_config, as: 'cloudLoggingConfig', class: Google::Apis::DnsV2::ManagedZoneCloudLoggingConfig, decorator: Google::Apis::DnsV2::ManagedZoneCloudLoggingConfig::Representation
416
+
417
+ property :creation_time, as: 'creationTime'
418
+ property :description, as: 'description'
419
+ property :dns_name, as: 'dnsName'
420
+ property :dnssec_config, as: 'dnssecConfig', class: Google::Apis::DnsV2::ManagedZoneDnsSecConfig, decorator: Google::Apis::DnsV2::ManagedZoneDnsSecConfig::Representation
421
+
422
+ property :forwarding_config, as: 'forwardingConfig', class: Google::Apis::DnsV2::ManagedZoneForwardingConfig, decorator: Google::Apis::DnsV2::ManagedZoneForwardingConfig::Representation
423
+
424
+ property :id, :numeric_string => true, as: 'id'
425
+ property :kind, as: 'kind'
426
+ hash :labels, as: 'labels'
427
+ property :name, as: 'name'
428
+ property :name_server_set, as: 'nameServerSet'
429
+ collection :name_servers, as: 'nameServers'
430
+ property :peering_config, as: 'peeringConfig', class: Google::Apis::DnsV2::ManagedZonePeeringConfig, decorator: Google::Apis::DnsV2::ManagedZonePeeringConfig::Representation
431
+
432
+ property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV2::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV2::ManagedZonePrivateVisibilityConfig::Representation
433
+
434
+ property :reverse_lookup_config, as: 'reverseLookupConfig', class: Google::Apis::DnsV2::ManagedZoneReverseLookupConfig, decorator: Google::Apis::DnsV2::ManagedZoneReverseLookupConfig::Representation
435
+
436
+ property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DnsV2::ManagedZoneServiceDirectoryConfig, decorator: Google::Apis::DnsV2::ManagedZoneServiceDirectoryConfig::Representation
437
+
438
+ property :visibility, as: 'visibility'
439
+ end
440
+ end
441
+
442
+ class ManagedZoneCloudLoggingConfig
443
+ # @private
444
+ class Representation < Google::Apis::Core::JsonRepresentation
445
+ property :enable_logging, as: 'enableLogging'
446
+ property :kind, as: 'kind'
447
+ end
448
+ end
449
+
450
+ class ManagedZoneDnsSecConfig
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ collection :default_key_specs, as: 'defaultKeySpecs', class: Google::Apis::DnsV2::DnsKeySpec, decorator: Google::Apis::DnsV2::DnsKeySpec::Representation
454
+
455
+ property :kind, as: 'kind'
456
+ property :non_existence, as: 'nonExistence'
457
+ property :state, as: 'state'
458
+ end
459
+ end
460
+
461
+ class ManagedZoneForwardingConfig
462
+ # @private
463
+ class Representation < Google::Apis::Core::JsonRepresentation
464
+ property :kind, as: 'kind'
465
+ collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV2::ManagedZoneForwardingConfigNameServerTarget, decorator: Google::Apis::DnsV2::ManagedZoneForwardingConfigNameServerTarget::Representation
466
+
467
+ end
468
+ end
469
+
470
+ class ManagedZoneForwardingConfigNameServerTarget
471
+ # @private
472
+ class Representation < Google::Apis::Core::JsonRepresentation
473
+ property :forwarding_path, as: 'forwardingPath'
474
+ property :ipv4_address, as: 'ipv4Address'
475
+ property :kind, as: 'kind'
476
+ end
477
+ end
478
+
479
+ class ManagedZoneOperationsListResponse
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
483
+
484
+ property :kind, as: 'kind'
485
+ property :next_page_token, as: 'nextPageToken'
486
+ collection :operations, as: 'operations', class: Google::Apis::DnsV2::Operation, decorator: Google::Apis::DnsV2::Operation::Representation
487
+
488
+ end
489
+ end
490
+
491
+ class ManagedZonePeeringConfig
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ property :kind, as: 'kind'
495
+ property :target_network, as: 'targetNetwork', class: Google::Apis::DnsV2::ManagedZonePeeringConfigTargetNetwork, decorator: Google::Apis::DnsV2::ManagedZonePeeringConfigTargetNetwork::Representation
496
+
497
+ end
498
+ end
499
+
500
+ class ManagedZonePeeringConfigTargetNetwork
501
+ # @private
502
+ class Representation < Google::Apis::Core::JsonRepresentation
503
+ property :deactivate_time, as: 'deactivateTime'
504
+ property :kind, as: 'kind'
505
+ property :network_url, as: 'networkUrl'
506
+ end
507
+ end
508
+
509
+ class ManagedZonePrivateVisibilityConfig
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ collection :gke_clusters, as: 'gkeClusters', class: Google::Apis::DnsV2::ManagedZonePrivateVisibilityConfigGkeCluster, decorator: Google::Apis::DnsV2::ManagedZonePrivateVisibilityConfigGkeCluster::Representation
513
+
514
+ property :kind, as: 'kind'
515
+ collection :networks, as: 'networks', class: Google::Apis::DnsV2::ManagedZonePrivateVisibilityConfigNetwork, decorator: Google::Apis::DnsV2::ManagedZonePrivateVisibilityConfigNetwork::Representation
516
+
517
+ end
518
+ end
519
+
520
+ class ManagedZonePrivateVisibilityConfigGkeCluster
521
+ # @private
522
+ class Representation < Google::Apis::Core::JsonRepresentation
523
+ property :gke_cluster_name, as: 'gkeClusterName'
524
+ property :kind, as: 'kind'
525
+ end
526
+ end
527
+
528
+ class ManagedZonePrivateVisibilityConfigNetwork
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :kind, as: 'kind'
532
+ property :network_url, as: 'networkUrl'
533
+ end
534
+ end
535
+
536
+ class ManagedZoneReverseLookupConfig
537
+ # @private
538
+ class Representation < Google::Apis::Core::JsonRepresentation
539
+ property :kind, as: 'kind'
540
+ end
541
+ end
542
+
543
+ class ManagedZoneServiceDirectoryConfig
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ property :kind, as: 'kind'
547
+ property :namespace, as: 'namespace', class: Google::Apis::DnsV2::ManagedZoneServiceDirectoryConfigNamespace, decorator: Google::Apis::DnsV2::ManagedZoneServiceDirectoryConfigNamespace::Representation
548
+
549
+ end
550
+ end
551
+
552
+ class ManagedZoneServiceDirectoryConfigNamespace
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :deletion_time, as: 'deletionTime'
556
+ property :kind, as: 'kind'
557
+ property :namespace_url, as: 'namespaceUrl'
558
+ end
559
+ end
560
+
561
+ class ManagedZonesListResponse
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
565
+
566
+ property :kind, as: 'kind'
567
+ collection :managed_zones, as: 'managedZones', class: Google::Apis::DnsV2::ManagedZone, decorator: Google::Apis::DnsV2::ManagedZone::Representation
568
+
569
+ property :next_page_token, as: 'nextPageToken'
570
+ end
571
+ end
572
+
573
+ class Operation
574
+ # @private
575
+ class Representation < Google::Apis::Core::JsonRepresentation
576
+ property :dns_key_context, as: 'dnsKeyContext', class: Google::Apis::DnsV2::OperationDnsKeyContext, decorator: Google::Apis::DnsV2::OperationDnsKeyContext::Representation
577
+
578
+ property :id, as: 'id'
579
+ property :kind, as: 'kind'
580
+ property :start_time, as: 'startTime'
581
+ property :status, as: 'status'
582
+ property :type, as: 'type'
583
+ property :user, as: 'user'
584
+ property :zone_context, as: 'zoneContext', class: Google::Apis::DnsV2::OperationManagedZoneContext, decorator: Google::Apis::DnsV2::OperationManagedZoneContext::Representation
585
+
586
+ end
587
+ end
588
+
589
+ class OperationDnsKeyContext
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ property :new_value, as: 'newValue', class: Google::Apis::DnsV2::DnsKey, decorator: Google::Apis::DnsV2::DnsKey::Representation
593
+
594
+ property :old_value, as: 'oldValue', class: Google::Apis::DnsV2::DnsKey, decorator: Google::Apis::DnsV2::DnsKey::Representation
595
+
596
+ end
597
+ end
598
+
599
+ class OperationManagedZoneContext
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :new_value, as: 'newValue', class: Google::Apis::DnsV2::ManagedZone, decorator: Google::Apis::DnsV2::ManagedZone::Representation
603
+
604
+ property :old_value, as: 'oldValue', class: Google::Apis::DnsV2::ManagedZone, decorator: Google::Apis::DnsV2::ManagedZone::Representation
605
+
606
+ end
607
+ end
608
+
609
+ class PoliciesListResponse
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
613
+
614
+ property :kind, as: 'kind'
615
+ property :next_page_token, as: 'nextPageToken'
616
+ collection :policies, as: 'policies', class: Google::Apis::DnsV2::Policy, decorator: Google::Apis::DnsV2::Policy::Representation
617
+
618
+ end
619
+ end
620
+
621
+ class PoliciesPatchResponse
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
625
+
626
+ property :policy, as: 'policy', class: Google::Apis::DnsV2::Policy, decorator: Google::Apis::DnsV2::Policy::Representation
627
+
628
+ end
629
+ end
630
+
631
+ class PoliciesUpdateResponse
632
+ # @private
633
+ class Representation < Google::Apis::Core::JsonRepresentation
634
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
635
+
636
+ property :policy, as: 'policy', class: Google::Apis::DnsV2::Policy, decorator: Google::Apis::DnsV2::Policy::Representation
637
+
638
+ end
639
+ end
640
+
641
+ class Policy
642
+ # @private
643
+ class Representation < Google::Apis::Core::JsonRepresentation
644
+ property :alternative_name_server_config, as: 'alternativeNameServerConfig', class: Google::Apis::DnsV2::PolicyAlternativeNameServerConfig, decorator: Google::Apis::DnsV2::PolicyAlternativeNameServerConfig::Representation
645
+
646
+ property :description, as: 'description'
647
+ property :enable_inbound_forwarding, as: 'enableInboundForwarding'
648
+ property :enable_logging, as: 'enableLogging'
649
+ property :id, :numeric_string => true, as: 'id'
650
+ property :kind, as: 'kind'
651
+ property :name, as: 'name'
652
+ collection :networks, as: 'networks', class: Google::Apis::DnsV2::PolicyNetwork, decorator: Google::Apis::DnsV2::PolicyNetwork::Representation
653
+
654
+ end
655
+ end
656
+
657
+ class PolicyAlternativeNameServerConfig
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :kind, as: 'kind'
661
+ collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV2::PolicyAlternativeNameServerConfigTargetNameServer, decorator: Google::Apis::DnsV2::PolicyAlternativeNameServerConfigTargetNameServer::Representation
662
+
663
+ end
664
+ end
665
+
666
+ class PolicyAlternativeNameServerConfigTargetNameServer
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :forwarding_path, as: 'forwardingPath'
670
+ property :ipv4_address, as: 'ipv4Address'
671
+ property :kind, as: 'kind'
672
+ end
673
+ end
674
+
675
+ class PolicyNetwork
676
+ # @private
677
+ class Representation < Google::Apis::Core::JsonRepresentation
678
+ property :kind, as: 'kind'
679
+ property :network_url, as: 'networkUrl'
680
+ end
681
+ end
682
+
683
+ class Project
684
+ # @private
685
+ class Representation < Google::Apis::Core::JsonRepresentation
686
+ property :id, as: 'id'
687
+ property :kind, as: 'kind'
688
+ property :number, :numeric_string => true, as: 'number'
689
+ property :quota, as: 'quota', class: Google::Apis::DnsV2::Quota, decorator: Google::Apis::DnsV2::Quota::Representation
690
+
691
+ end
692
+ end
693
+
694
+ class Quota
695
+ # @private
696
+ class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone'
698
+ property :items_per_routing_policy, as: 'itemsPerRoutingPolicy'
699
+ property :kind, as: 'kind'
700
+ property :managed_zones, as: 'managedZones'
701
+ property :managed_zones_per_network, as: 'managedZonesPerNetwork'
702
+ property :networks_per_managed_zone, as: 'networksPerManagedZone'
703
+ property :networks_per_policy, as: 'networksPerPolicy'
704
+ property :peering_zones_per_target_network, as: 'peeringZonesPerTargetNetwork'
705
+ property :policies, as: 'policies'
706
+ property :resource_records_per_rrset, as: 'resourceRecordsPerRrset'
707
+ property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange'
708
+ property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange'
709
+ property :rrsets_per_managed_zone, as: 'rrsetsPerManagedZone'
710
+ property :target_name_servers_per_managed_zone, as: 'targetNameServersPerManagedZone'
711
+ property :target_name_servers_per_policy, as: 'targetNameServersPerPolicy'
712
+ property :total_rrdata_size_per_change, as: 'totalRrdataSizePerChange'
713
+ collection :whitelisted_key_specs, as: 'whitelistedKeySpecs', class: Google::Apis::DnsV2::DnsKeySpec, decorator: Google::Apis::DnsV2::DnsKeySpec::Representation
714
+
715
+ end
716
+ end
717
+
718
+ class RrSetRoutingPolicy
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ property :geo, as: 'geo', class: Google::Apis::DnsV2::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV2::RrSetRoutingPolicyGeoPolicy::Representation
722
+
723
+ property :kind, as: 'kind'
724
+ property :wrr, as: 'wrr', class: Google::Apis::DnsV2::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV2::RrSetRoutingPolicyWrrPolicy::Representation
725
+
726
+ end
727
+ end
728
+
729
+ class RrSetRoutingPolicyGeoPolicy
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ collection :items, as: 'items', class: Google::Apis::DnsV2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
733
+
734
+ property :kind, as: 'kind'
735
+ end
736
+ end
737
+
738
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :kind, as: 'kind'
742
+ property :location, as: 'location'
743
+ collection :rrdatas, as: 'rrdatas'
744
+ collection :signature_rrdatas, as: 'signatureRrdatas'
745
+ end
746
+ end
747
+
748
+ class RrSetRoutingPolicyWrrPolicy
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ collection :items, as: 'items', class: Google::Apis::DnsV2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem, decorator: Google::Apis::DnsV2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem::Representation
752
+
753
+ property :kind, as: 'kind'
754
+ end
755
+ end
756
+
757
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
758
+ # @private
759
+ class Representation < Google::Apis::Core::JsonRepresentation
760
+ property :kind, as: 'kind'
761
+ collection :rrdatas, as: 'rrdatas'
762
+ collection :signature_rrdatas, as: 'signatureRrdatas'
763
+ property :weight, as: 'weight'
764
+ end
765
+ end
766
+
767
+ class ResourceRecordSet
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :kind, as: 'kind'
771
+ property :name, as: 'name'
772
+ property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV2::RrSetRoutingPolicy, decorator: Google::Apis::DnsV2::RrSetRoutingPolicy::Representation
773
+
774
+ collection :rrdatas, as: 'rrdatas'
775
+ collection :signature_rrdatas, as: 'signatureRrdatas'
776
+ property :ttl, as: 'ttl'
777
+ property :type, as: 'type'
778
+ end
779
+ end
780
+
781
+ class ResourceRecordSetsListResponse
782
+ # @private
783
+ class Representation < Google::Apis::Core::JsonRepresentation
784
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
785
+
786
+ property :kind, as: 'kind'
787
+ property :next_page_token, as: 'nextPageToken'
788
+ collection :rrsets, as: 'rrsets', class: Google::Apis::DnsV2::ResourceRecordSet, decorator: Google::Apis::DnsV2::ResourceRecordSet::Representation
789
+
790
+ end
791
+ end
792
+
793
+ class ResponseHeader
794
+ # @private
795
+ class Representation < Google::Apis::Core::JsonRepresentation
796
+ property :operation_id, as: 'operationId'
797
+ end
798
+ end
799
+
800
+ class ResponsePoliciesListResponse
801
+ # @private
802
+ class Representation < Google::Apis::Core::JsonRepresentation
803
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
804
+
805
+ property :next_page_token, as: 'nextPageToken'
806
+ collection :response_policies, as: 'responsePolicies', class: Google::Apis::DnsV2::ResponsePolicy, decorator: Google::Apis::DnsV2::ResponsePolicy::Representation
807
+
808
+ end
809
+ end
810
+
811
+ class ResponsePoliciesPatchResponse
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
815
+
816
+ property :response_policy, as: 'responsePolicy', class: Google::Apis::DnsV2::ResponsePolicy, decorator: Google::Apis::DnsV2::ResponsePolicy::Representation
817
+
818
+ end
819
+ end
820
+
821
+ class ResponsePoliciesUpdateResponse
822
+ # @private
823
+ class Representation < Google::Apis::Core::JsonRepresentation
824
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
825
+
826
+ property :response_policy, as: 'responsePolicy', class: Google::Apis::DnsV2::ResponsePolicy, decorator: Google::Apis::DnsV2::ResponsePolicy::Representation
827
+
828
+ end
829
+ end
830
+
831
+ class ResponsePolicy
832
+ # @private
833
+ class Representation < Google::Apis::Core::JsonRepresentation
834
+ property :description, as: 'description'
835
+ collection :gke_clusters, as: 'gkeClusters', class: Google::Apis::DnsV2::ResponsePolicyGkeCluster, decorator: Google::Apis::DnsV2::ResponsePolicyGkeCluster::Representation
836
+
837
+ property :id, :numeric_string => true, as: 'id'
838
+ property :kind, as: 'kind'
839
+ collection :networks, as: 'networks', class: Google::Apis::DnsV2::ResponsePolicyNetwork, decorator: Google::Apis::DnsV2::ResponsePolicyNetwork::Representation
840
+
841
+ property :response_policy_name, as: 'responsePolicyName'
842
+ end
843
+ end
844
+
845
+ class ResponsePolicyGkeCluster
846
+ # @private
847
+ class Representation < Google::Apis::Core::JsonRepresentation
848
+ property :gke_cluster_name, as: 'gkeClusterName'
849
+ property :kind, as: 'kind'
850
+ end
851
+ end
852
+
853
+ class ResponsePolicyNetwork
854
+ # @private
855
+ class Representation < Google::Apis::Core::JsonRepresentation
856
+ property :kind, as: 'kind'
857
+ property :network_url, as: 'networkUrl'
858
+ end
859
+ end
860
+
861
+ class ResponsePolicyRule
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ property :behavior, as: 'behavior'
865
+ property :dns_name, as: 'dnsName'
866
+ property :kind, as: 'kind'
867
+ property :local_data, as: 'localData', class: Google::Apis::DnsV2::ResponsePolicyRuleLocalData, decorator: Google::Apis::DnsV2::ResponsePolicyRuleLocalData::Representation
868
+
869
+ property :rule_name, as: 'ruleName'
870
+ end
871
+ end
872
+
873
+ class ResponsePolicyRuleLocalData
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ collection :local_datas, as: 'localDatas', class: Google::Apis::DnsV2::ResourceRecordSet, decorator: Google::Apis::DnsV2::ResourceRecordSet::Representation
877
+
878
+ end
879
+ end
880
+
881
+ class ResponsePolicyRulesListResponse
882
+ # @private
883
+ class Representation < Google::Apis::Core::JsonRepresentation
884
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
885
+
886
+ property :next_page_token, as: 'nextPageToken'
887
+ collection :response_policy_rules, as: 'responsePolicyRules', class: Google::Apis::DnsV2::ResponsePolicyRule, decorator: Google::Apis::DnsV2::ResponsePolicyRule::Representation
888
+
889
+ end
890
+ end
891
+
892
+ class ResponsePolicyRulesPatchResponse
893
+ # @private
894
+ class Representation < Google::Apis::Core::JsonRepresentation
895
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
896
+
897
+ property :response_policy_rule, as: 'responsePolicyRule', class: Google::Apis::DnsV2::ResponsePolicyRule, decorator: Google::Apis::DnsV2::ResponsePolicyRule::Representation
898
+
899
+ end
900
+ end
901
+
902
+ class ResponsePolicyRulesUpdateResponse
903
+ # @private
904
+ class Representation < Google::Apis::Core::JsonRepresentation
905
+ property :header, as: 'header', class: Google::Apis::DnsV2::ResponseHeader, decorator: Google::Apis::DnsV2::ResponseHeader::Representation
906
+
907
+ property :response_policy_rule, as: 'responsePolicyRule', class: Google::Apis::DnsV2::ResponsePolicyRule, decorator: Google::Apis::DnsV2::ResponsePolicyRule::Representation
908
+
909
+ end
910
+ end
911
+ end
912
+ end
913
+ end