google-apis-dns_v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,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 DnsV1
18
+ # Version of the google-apis-dns_v1 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 = "20201127"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,704 @@
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 DnsV1
24
+
25
+ class Change
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ListChangesResponse
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 ListManagedZonesResponse
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 ListResourceRecordSetsResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ResponseHeader
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Change
260
+ # @private
261
+ class Representation < Google::Apis::Core::JsonRepresentation
262
+ collection :additions, as: 'additions', class: Google::Apis::DnsV1::ResourceRecordSet, decorator: Google::Apis::DnsV1::ResourceRecordSet::Representation
263
+
264
+ collection :deletions, as: 'deletions', class: Google::Apis::DnsV1::ResourceRecordSet, decorator: Google::Apis::DnsV1::ResourceRecordSet::Representation
265
+
266
+ property :id, as: 'id'
267
+ property :is_serving, as: 'isServing'
268
+ property :kind, as: 'kind'
269
+ property :start_time, as: 'startTime'
270
+ property :status, as: 'status'
271
+ end
272
+ end
273
+
274
+ class ListChangesResponse
275
+ # @private
276
+ class Representation < Google::Apis::Core::JsonRepresentation
277
+ collection :changes, as: 'changes', class: Google::Apis::DnsV1::Change, decorator: Google::Apis::DnsV1::Change::Representation
278
+
279
+ property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
280
+
281
+ property :kind, as: 'kind'
282
+ property :next_page_token, as: 'nextPageToken'
283
+ end
284
+ end
285
+
286
+ class DnsKey
287
+ # @private
288
+ class Representation < Google::Apis::Core::JsonRepresentation
289
+ property :algorithm, as: 'algorithm'
290
+ property :creation_time, as: 'creationTime'
291
+ property :description, as: 'description'
292
+ collection :digests, as: 'digests', class: Google::Apis::DnsV1::DnsKeyDigest, decorator: Google::Apis::DnsV1::DnsKeyDigest::Representation
293
+
294
+ property :id, as: 'id'
295
+ property :is_active, as: 'isActive'
296
+ property :key_length, as: 'keyLength'
297
+ property :key_tag, as: 'keyTag'
298
+ property :kind, as: 'kind'
299
+ property :public_key, as: 'publicKey'
300
+ property :type, as: 'type'
301
+ end
302
+ end
303
+
304
+ class DnsKeyDigest
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ property :digest, as: 'digest'
308
+ property :type, as: 'type'
309
+ end
310
+ end
311
+
312
+ class DnsKeySpec
313
+ # @private
314
+ class Representation < Google::Apis::Core::JsonRepresentation
315
+ property :algorithm, as: 'algorithm'
316
+ property :key_length, as: 'keyLength'
317
+ property :key_type, as: 'keyType'
318
+ property :kind, as: 'kind'
319
+ end
320
+ end
321
+
322
+ class DnsKeysListResponse
323
+ # @private
324
+ class Representation < Google::Apis::Core::JsonRepresentation
325
+ collection :dns_keys, as: 'dnsKeys', class: Google::Apis::DnsV1::DnsKey, decorator: Google::Apis::DnsV1::DnsKey::Representation
326
+
327
+ property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
328
+
329
+ property :kind, as: 'kind'
330
+ property :next_page_token, as: 'nextPageToken'
331
+ end
332
+ end
333
+
334
+ class ManagedZone
335
+ # @private
336
+ class Representation < Google::Apis::Core::JsonRepresentation
337
+ property :creation_time, as: 'creationTime'
338
+ property :description, as: 'description'
339
+ property :dns_name, as: 'dnsName'
340
+ property :dnssec_config, as: 'dnssecConfig', class: Google::Apis::DnsV1::ManagedZoneDnsSecConfig, decorator: Google::Apis::DnsV1::ManagedZoneDnsSecConfig::Representation
341
+
342
+ property :forwarding_config, as: 'forwardingConfig', class: Google::Apis::DnsV1::ManagedZoneForwardingConfig, decorator: Google::Apis::DnsV1::ManagedZoneForwardingConfig::Representation
343
+
344
+ property :id, :numeric_string => true, as: 'id'
345
+ property :kind, as: 'kind'
346
+ hash :labels, as: 'labels'
347
+ property :name, as: 'name'
348
+ property :name_server_set, as: 'nameServerSet'
349
+ collection :name_servers, as: 'nameServers'
350
+ property :peering_config, as: 'peeringConfig', class: Google::Apis::DnsV1::ManagedZonePeeringConfig, decorator: Google::Apis::DnsV1::ManagedZonePeeringConfig::Representation
351
+
352
+ property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig::Representation
353
+
354
+ property :reverse_lookup_config, as: 'reverseLookupConfig', class: Google::Apis::DnsV1::ManagedZoneReverseLookupConfig, decorator: Google::Apis::DnsV1::ManagedZoneReverseLookupConfig::Representation
355
+
356
+ property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfig, decorator: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfig::Representation
357
+
358
+ property :visibility, as: 'visibility'
359
+ end
360
+ end
361
+
362
+ class ManagedZoneDnsSecConfig
363
+ # @private
364
+ class Representation < Google::Apis::Core::JsonRepresentation
365
+ collection :default_key_specs, as: 'defaultKeySpecs', class: Google::Apis::DnsV1::DnsKeySpec, decorator: Google::Apis::DnsV1::DnsKeySpec::Representation
366
+
367
+ property :kind, as: 'kind'
368
+ property :non_existence, as: 'nonExistence'
369
+ property :state, as: 'state'
370
+ end
371
+ end
372
+
373
+ class ManagedZoneForwardingConfig
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ property :kind, as: 'kind'
377
+ collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget, decorator: Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget::Representation
378
+
379
+ end
380
+ end
381
+
382
+ class ManagedZoneForwardingConfigNameServerTarget
383
+ # @private
384
+ class Representation < Google::Apis::Core::JsonRepresentation
385
+ property :forwarding_path, as: 'forwardingPath'
386
+ property :ipv4_address, as: 'ipv4Address'
387
+ property :kind, as: 'kind'
388
+ end
389
+ end
390
+
391
+ class ManagedZoneOperationsListResponse
392
+ # @private
393
+ class Representation < Google::Apis::Core::JsonRepresentation
394
+ property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
395
+
396
+ property :kind, as: 'kind'
397
+ property :next_page_token, as: 'nextPageToken'
398
+ collection :operations, as: 'operations', class: Google::Apis::DnsV1::Operation, decorator: Google::Apis::DnsV1::Operation::Representation
399
+
400
+ end
401
+ end
402
+
403
+ class ManagedZonePeeringConfig
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :kind, as: 'kind'
407
+ property :target_network, as: 'targetNetwork', class: Google::Apis::DnsV1::ManagedZonePeeringConfigTargetNetwork, decorator: Google::Apis::DnsV1::ManagedZonePeeringConfigTargetNetwork::Representation
408
+
409
+ end
410
+ end
411
+
412
+ class ManagedZonePeeringConfigTargetNetwork
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :deactivate_time, as: 'deactivateTime'
416
+ property :kind, as: 'kind'
417
+ property :network_url, as: 'networkUrl'
418
+ end
419
+ end
420
+
421
+ class ManagedZonePrivateVisibilityConfig
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :kind, as: 'kind'
425
+ collection :networks, as: 'networks', class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfigNetwork, decorator: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfigNetwork::Representation
426
+
427
+ end
428
+ end
429
+
430
+ class ManagedZonePrivateVisibilityConfigNetwork
431
+ # @private
432
+ class Representation < Google::Apis::Core::JsonRepresentation
433
+ property :kind, as: 'kind'
434
+ property :network_url, as: 'networkUrl'
435
+ end
436
+ end
437
+
438
+ class ManagedZoneReverseLookupConfig
439
+ # @private
440
+ class Representation < Google::Apis::Core::JsonRepresentation
441
+ property :kind, as: 'kind'
442
+ end
443
+ end
444
+
445
+ class ManagedZoneServiceDirectoryConfig
446
+ # @private
447
+ class Representation < Google::Apis::Core::JsonRepresentation
448
+ property :kind, as: 'kind'
449
+ property :namespace, as: 'namespace', class: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace, decorator: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace::Representation
450
+
451
+ end
452
+ end
453
+
454
+ class ManagedZoneServiceDirectoryConfigNamespace
455
+ # @private
456
+ class Representation < Google::Apis::Core::JsonRepresentation
457
+ property :deletion_time, as: 'deletionTime'
458
+ property :kind, as: 'kind'
459
+ property :namespace_url, as: 'namespaceUrl'
460
+ end
461
+ end
462
+
463
+ class ListManagedZonesResponse
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
467
+
468
+ property :kind, as: 'kind'
469
+ collection :managed_zones, as: 'managedZones', class: Google::Apis::DnsV1::ManagedZone, decorator: Google::Apis::DnsV1::ManagedZone::Representation
470
+
471
+ property :next_page_token, as: 'nextPageToken'
472
+ end
473
+ end
474
+
475
+ class Operation
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :dns_key_context, as: 'dnsKeyContext', class: Google::Apis::DnsV1::OperationDnsKeyContext, decorator: Google::Apis::DnsV1::OperationDnsKeyContext::Representation
479
+
480
+ property :id, as: 'id'
481
+ property :kind, as: 'kind'
482
+ property :start_time, as: 'startTime'
483
+ property :status, as: 'status'
484
+ property :type, as: 'type'
485
+ property :user, as: 'user'
486
+ property :zone_context, as: 'zoneContext', class: Google::Apis::DnsV1::OperationManagedZoneContext, decorator: Google::Apis::DnsV1::OperationManagedZoneContext::Representation
487
+
488
+ end
489
+ end
490
+
491
+ class OperationDnsKeyContext
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ property :new_value, as: 'newValue', class: Google::Apis::DnsV1::DnsKey, decorator: Google::Apis::DnsV1::DnsKey::Representation
495
+
496
+ property :old_value, as: 'oldValue', class: Google::Apis::DnsV1::DnsKey, decorator: Google::Apis::DnsV1::DnsKey::Representation
497
+
498
+ end
499
+ end
500
+
501
+ class OperationManagedZoneContext
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ property :new_value, as: 'newValue', class: Google::Apis::DnsV1::ManagedZone, decorator: Google::Apis::DnsV1::ManagedZone::Representation
505
+
506
+ property :old_value, as: 'oldValue', class: Google::Apis::DnsV1::ManagedZone, decorator: Google::Apis::DnsV1::ManagedZone::Representation
507
+
508
+ end
509
+ end
510
+
511
+ class PoliciesListResponse
512
+ # @private
513
+ class Representation < Google::Apis::Core::JsonRepresentation
514
+ property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
515
+
516
+ property :kind, as: 'kind'
517
+ property :next_page_token, as: 'nextPageToken'
518
+ collection :policies, as: 'policies', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
519
+
520
+ end
521
+ end
522
+
523
+ class PoliciesPatchResponse
524
+ # @private
525
+ class Representation < Google::Apis::Core::JsonRepresentation
526
+ property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
527
+
528
+ property :policy, as: 'policy', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
529
+
530
+ end
531
+ end
532
+
533
+ class PoliciesUpdateResponse
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
537
+
538
+ property :policy, as: 'policy', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
539
+
540
+ end
541
+ end
542
+
543
+ class Policy
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ property :alternative_name_server_config, as: 'alternativeNameServerConfig', class: Google::Apis::DnsV1::PolicyAlternativeNameServerConfig, decorator: Google::Apis::DnsV1::PolicyAlternativeNameServerConfig::Representation
547
+
548
+ property :description, as: 'description'
549
+ property :enable_inbound_forwarding, as: 'enableInboundForwarding'
550
+ property :enable_logging, as: 'enableLogging'
551
+ property :id, :numeric_string => true, as: 'id'
552
+ property :kind, as: 'kind'
553
+ property :name, as: 'name'
554
+ collection :networks, as: 'networks', class: Google::Apis::DnsV1::PolicyNetwork, decorator: Google::Apis::DnsV1::PolicyNetwork::Representation
555
+
556
+ end
557
+ end
558
+
559
+ class PolicyAlternativeNameServerConfig
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :kind, as: 'kind'
563
+ collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer, decorator: Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer::Representation
564
+
565
+ end
566
+ end
567
+
568
+ class PolicyAlternativeNameServerConfigTargetNameServer
569
+ # @private
570
+ class Representation < Google::Apis::Core::JsonRepresentation
571
+ property :forwarding_path, as: 'forwardingPath'
572
+ property :ipv4_address, as: 'ipv4Address'
573
+ property :kind, as: 'kind'
574
+ end
575
+ end
576
+
577
+ class PolicyNetwork
578
+ # @private
579
+ class Representation < Google::Apis::Core::JsonRepresentation
580
+ property :kind, as: 'kind'
581
+ property :network_url, as: 'networkUrl'
582
+ end
583
+ end
584
+
585
+ class Project
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :id, as: 'id'
589
+ property :kind, as: 'kind'
590
+ property :number, :numeric_string => true, as: 'number'
591
+ property :quota, as: 'quota', class: Google::Apis::DnsV1::Quota, decorator: Google::Apis::DnsV1::Quota::Representation
592
+
593
+ end
594
+ end
595
+
596
+ class Quota
597
+ # @private
598
+ class Representation < Google::Apis::Core::JsonRepresentation
599
+ property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone'
600
+ property :gke_clusters_per_policy, as: 'gkeClustersPerPolicy'
601
+ property :kind, as: 'kind'
602
+ property :managed_zones, as: 'managedZones'
603
+ property :managed_zones_per_network, as: 'managedZonesPerNetwork'
604
+ property :networks_per_managed_zone, as: 'networksPerManagedZone'
605
+ property :networks_per_policy, as: 'networksPerPolicy'
606
+ property :policies, as: 'policies'
607
+ property :resource_records_per_rrset, as: 'resourceRecordsPerRrset'
608
+ property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange'
609
+ property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange'
610
+ property :rrsets_per_managed_zone, as: 'rrsetsPerManagedZone'
611
+ property :target_name_servers_per_managed_zone, as: 'targetNameServersPerManagedZone'
612
+ property :target_name_servers_per_policy, as: 'targetNameServersPerPolicy'
613
+ property :total_rrdata_size_per_change, as: 'totalRrdataSizePerChange'
614
+ collection :whitelisted_key_specs, as: 'whitelistedKeySpecs', class: Google::Apis::DnsV1::DnsKeySpec, decorator: Google::Apis::DnsV1::DnsKeySpec::Representation
615
+
616
+ end
617
+ end
618
+
619
+ class RrSetRoutingPolicy
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :geo_policy, as: 'geoPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy::Representation
623
+
624
+ property :kind, as: 'kind'
625
+ property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy::Representation
626
+
627
+ end
628
+ end
629
+
630
+ class RrSetRoutingPolicyGeoPolicy
631
+ # @private
632
+ class Representation < Google::Apis::Core::JsonRepresentation
633
+ collection :failovers, as: 'failovers', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
634
+
635
+ collection :items, as: 'items', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
636
+
637
+ property :kind, as: 'kind'
638
+ end
639
+ end
640
+
641
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
642
+ # @private
643
+ class Representation < Google::Apis::Core::JsonRepresentation
644
+ property :kind, as: 'kind'
645
+ property :location, as: 'location'
646
+ collection :rrdatas, as: 'rrdatas'
647
+ collection :signature_rrdatas, as: 'signatureRrdatas'
648
+ end
649
+ end
650
+
651
+ class RrSetRoutingPolicyWrrPolicy
652
+ # @private
653
+ class Representation < Google::Apis::Core::JsonRepresentation
654
+ collection :items, as: 'items', class: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem::Representation
655
+
656
+ property :kind, as: 'kind'
657
+ end
658
+ end
659
+
660
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :kind, as: 'kind'
664
+ collection :rrdatas, as: 'rrdatas'
665
+ collection :signature_rrdatas, as: 'signatureRrdatas'
666
+ property :weight, as: 'weight'
667
+ end
668
+ end
669
+
670
+ class ResourceRecordSet
671
+ # @private
672
+ class Representation < Google::Apis::Core::JsonRepresentation
673
+ property :kind, as: 'kind'
674
+ property :name, as: 'name'
675
+ property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicy::Representation
676
+
677
+ collection :rrdatas, as: 'rrdatas'
678
+ collection :signature_rrdatas, as: 'signatureRrdatas'
679
+ property :ttl, as: 'ttl'
680
+ property :type, as: 'type'
681
+ end
682
+ end
683
+
684
+ class ListResourceRecordSetsResponse
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
688
+
689
+ property :kind, as: 'kind'
690
+ property :next_page_token, as: 'nextPageToken'
691
+ collection :rrsets, as: 'rrsets', class: Google::Apis::DnsV1::ResourceRecordSet, decorator: Google::Apis::DnsV1::ResourceRecordSet::Representation
692
+
693
+ end
694
+ end
695
+
696
+ class ResponseHeader
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ property :operation_id, as: 'operationId'
700
+ end
701
+ end
702
+ end
703
+ end
704
+ end