google-apis-dns_v1beta2 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8dd595b212e2609dc540f6b769b0b0d7742b082f8f95564a6fc0d6967df370f
4
- data.tar.gz: 15c84f963ec121b07dfb22cb947bb0520b87cab697f1cd12737b961e954edc23
3
+ metadata.gz: 83a43eafb417cbcabdc749a1c855d1b18d6f52d771ab366f8166cdd92a534bef
4
+ data.tar.gz: 7d67834a57dc582a8f0956e42f47e12d1461aba5aa27b6ef37f37b35ba5a80b7
5
5
  SHA512:
6
- metadata.gz: ea4c0d79f66364942695ab95bccb8d02f70969ff0c235fd0b1001b5deee82f1fcbc416c9c82549f59390a4769790c1091623dac9dcd11a90bfd7f36da81b033a
7
- data.tar.gz: 22119e5e9e6b1686838ef10618873203e9ab0524d509ca5804665b2c86cc5a5e731dbe954d88db253bbc04bb717c0cf58c92a214d71383b30af8c67380cc0b94
6
+ metadata.gz: 95baf43ce51c896e5e5f6c2b110f30b61c8d080d2b7571edf550657f43202656f78d78a0ae59d29335ca93f98b22d3ffab3d178b2c8ed4fd3bfcd5cdfb4b60b2
7
+ data.tar.gz: 6e222b70c38c887a122a90ab6c43002c0fd541c964723130fe195d8c9550ff3951150c8ec7af5e81ee767846a19d6cf73662d2947d8e2b5edebc0a44201eef97
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dns_v1beta2
2
2
 
3
+ ### v0.3.0 (2021-02-11)
4
+
5
+ * Regenerated from discovery document revision 20210204
6
+
3
7
  ### v0.2.0 (2021-01-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20210122
@@ -548,6 +548,12 @@ module Google
548
548
  # @return [String]
549
549
  attr_accessor :ipv4_address
550
550
 
551
+ # IPv6 address of a target name server. Will not accept both fields (ipv4 & ipv6)
552
+ # being populated.
553
+ # Corresponds to the JSON property `ipv6Address`
554
+ # @return [String]
555
+ attr_accessor :ipv6_address
556
+
551
557
  #
552
558
  # Corresponds to the JSON property `kind`
553
559
  # @return [String]
@@ -561,6 +567,7 @@ module Google
561
567
  def update!(**args)
562
568
  @forwarding_path = args[:forwarding_path] if args.key?(:forwarding_path)
563
569
  @ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
570
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
564
571
  @kind = args[:kind] if args.key?(:kind)
565
572
  end
566
573
  end
@@ -1180,6 +1187,12 @@ module Google
1180
1187
  # @return [String]
1181
1188
  attr_accessor :ipv4_address
1182
1189
 
1190
+ # IPv6 address to forward to. Will not accept both fields (ipv4 & ipv6) being
1191
+ # populated.
1192
+ # Corresponds to the JSON property `ipv6Address`
1193
+ # @return [String]
1194
+ attr_accessor :ipv6_address
1195
+
1183
1196
  #
1184
1197
  # Corresponds to the JSON property `kind`
1185
1198
  # @return [String]
@@ -1193,6 +1206,7 @@ module Google
1193
1206
  def update!(**args)
1194
1207
  @forwarding_path = args[:forwarding_path] if args.key?(:forwarding_path)
1195
1208
  @ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
1209
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
1196
1210
  @kind = args[:kind] if args.key?(:kind)
1197
1211
  end
1198
1212
  end
@@ -1273,11 +1287,6 @@ module Google
1273
1287
  # @return [Fixnum]
1274
1288
  attr_accessor :dns_keys_per_managed_zone
1275
1289
 
1276
- # Maximum allowed number of GKE clusters per policy.
1277
- # Corresponds to the JSON property `gkeClustersPerPolicy`
1278
- # @return [Fixnum]
1279
- attr_accessor :gke_clusters_per_policy
1280
-
1281
1290
  #
1282
1291
  # Corresponds to the JSON property `kind`
1283
1292
  # @return [String]
@@ -1314,6 +1323,11 @@ module Google
1314
1323
  # @return [Fixnum]
1315
1324
  attr_accessor :resource_records_per_rrset
1316
1325
 
1326
+ # Maximum allowed number of rules per response policy.
1327
+ # Corresponds to the JSON property `responsePolicyRulesPerResponsePolicy`
1328
+ # @return [Fixnum]
1329
+ attr_accessor :response_policy_rules_per_response_policy
1330
+
1317
1331
  # Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.
1318
1332
  # Corresponds to the JSON property `rrsetAdditionsPerChange`
1319
1333
  # @return [Fixnum]
@@ -1357,7 +1371,6 @@ module Google
1357
1371
  # Update properties of this object
1358
1372
  def update!(**args)
1359
1373
  @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
1360
- @gke_clusters_per_policy = args[:gke_clusters_per_policy] if args.key?(:gke_clusters_per_policy)
1361
1374
  @kind = args[:kind] if args.key?(:kind)
1362
1375
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
1363
1376
  @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
@@ -1365,6 +1378,7 @@ module Google
1365
1378
  @networks_per_policy = args[:networks_per_policy] if args.key?(:networks_per_policy)
1366
1379
  @policies = args[:policies] if args.key?(:policies)
1367
1380
  @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
1381
+ @response_policy_rules_per_response_policy = args[:response_policy_rules_per_response_policy] if args.key?(:response_policy_rules_per_response_policy)
1368
1382
  @rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change)
1369
1383
  @rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change)
1370
1384
  @rrsets_per_managed_zone = args[:rrsets_per_managed_zone] if args.key?(:rrsets_per_managed_zone)
@@ -1375,179 +1389,6 @@ module Google
1375
1389
  end
1376
1390
  end
1377
1391
 
1378
- # A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
1379
- # dynamically with the response varying based on configured properties such as
1380
- # geolocation or by weighted random selection.
1381
- class RrSetRoutingPolicy
1382
- include Google::Apis::Core::Hashable
1383
-
1384
- #
1385
- # Corresponds to the JSON property `geoPolicy`
1386
- # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
1387
- attr_accessor :geo_policy
1388
-
1389
- #
1390
- # Corresponds to the JSON property `kind`
1391
- # @return [String]
1392
- attr_accessor :kind
1393
-
1394
- #
1395
- # Corresponds to the JSON property `wrrPolicy`
1396
- # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
1397
- attr_accessor :wrr_policy
1398
-
1399
- def initialize(**args)
1400
- update!(**args)
1401
- end
1402
-
1403
- # Update properties of this object
1404
- def update!(**args)
1405
- @geo_policy = args[:geo_policy] if args.key?(:geo_policy)
1406
- @kind = args[:kind] if args.key?(:kind)
1407
- @wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
1408
- end
1409
- end
1410
-
1411
- #
1412
- class RrSetRoutingPolicyGeoPolicy
1413
- include Google::Apis::Core::Hashable
1414
-
1415
- # If the health check for the primary target for a geo location returns an
1416
- # unhealthy status, the failover target is returned instead. This failover
1417
- # configuration is not mandatory. If a failover is not provided, the primary
1418
- # target won't be healthchecked - we'll return the primarily configured rrdata
1419
- # irrespective of whether it is healthy or not.
1420
- # Corresponds to the JSON property `failovers`
1421
- # @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1422
- attr_accessor :failovers
1423
-
1424
- # The primary geo routing configuration. If there are multiple items with the
1425
- # same location, an error is returned instead.
1426
- # Corresponds to the JSON property `items`
1427
- # @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1428
- attr_accessor :items
1429
-
1430
- #
1431
- # Corresponds to the JSON property `kind`
1432
- # @return [String]
1433
- attr_accessor :kind
1434
-
1435
- def initialize(**args)
1436
- update!(**args)
1437
- end
1438
-
1439
- # Update properties of this object
1440
- def update!(**args)
1441
- @failovers = args[:failovers] if args.key?(:failovers)
1442
- @items = args[:items] if args.key?(:items)
1443
- @kind = args[:kind] if args.key?(:kind)
1444
- end
1445
- end
1446
-
1447
- #
1448
- class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
1449
- include Google::Apis::Core::Hashable
1450
-
1451
- #
1452
- # Corresponds to the JSON property `kind`
1453
- # @return [String]
1454
- attr_accessor :kind
1455
-
1456
- # The geo-location granularity is a GCP region. This location string should
1457
- # correspond to a GCP region. e.g "us-east1", "southamerica-east1", "asia-east1",
1458
- # etc.
1459
- # Corresponds to the JSON property `location`
1460
- # @return [String]
1461
- attr_accessor :location
1462
-
1463
- #
1464
- # Corresponds to the JSON property `rrdatas`
1465
- # @return [Array<String>]
1466
- attr_accessor :rrdatas
1467
-
1468
- # DNSSEC generated signatures for the above geo_rrdata.
1469
- # Corresponds to the JSON property `signatureRrdatas`
1470
- # @return [Array<String>]
1471
- attr_accessor :signature_rrdatas
1472
-
1473
- def initialize(**args)
1474
- update!(**args)
1475
- end
1476
-
1477
- # Update properties of this object
1478
- def update!(**args)
1479
- @kind = args[:kind] if args.key?(:kind)
1480
- @location = args[:location] if args.key?(:location)
1481
- @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1482
- @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1483
- end
1484
- end
1485
-
1486
- #
1487
- class RrSetRoutingPolicyWrrPolicy
1488
- include Google::Apis::Core::Hashable
1489
-
1490
- #
1491
- # Corresponds to the JSON property `items`
1492
- # @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
1493
- attr_accessor :items
1494
-
1495
- #
1496
- # Corresponds to the JSON property `kind`
1497
- # @return [String]
1498
- attr_accessor :kind
1499
-
1500
- def initialize(**args)
1501
- update!(**args)
1502
- end
1503
-
1504
- # Update properties of this object
1505
- def update!(**args)
1506
- @items = args[:items] if args.key?(:items)
1507
- @kind = args[:kind] if args.key?(:kind)
1508
- end
1509
- end
1510
-
1511
- #
1512
- class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
1513
- include Google::Apis::Core::Hashable
1514
-
1515
- #
1516
- # Corresponds to the JSON property `kind`
1517
- # @return [String]
1518
- attr_accessor :kind
1519
-
1520
- #
1521
- # Corresponds to the JSON property `rrdatas`
1522
- # @return [Array<String>]
1523
- attr_accessor :rrdatas
1524
-
1525
- # DNSSEC generated signatures for the above wrr_rrdata.
1526
- # Corresponds to the JSON property `signatureRrdatas`
1527
- # @return [Array<String>]
1528
- attr_accessor :signature_rrdatas
1529
-
1530
- # The weight corresponding to this subset of rrdata. When multiple
1531
- # WeightedRoundRobinPolicyItems are configured, the probability of returning an
1532
- # rrset is proportional to its weight relative to the sum of weights configured
1533
- # for all items. This weight should be a decimal in the range [0,1].
1534
- # Corresponds to the JSON property `weight`
1535
- # @return [Float]
1536
- attr_accessor :weight
1537
-
1538
- def initialize(**args)
1539
- update!(**args)
1540
- end
1541
-
1542
- # Update properties of this object
1543
- def update!(**args)
1544
- @kind = args[:kind] if args.key?(:kind)
1545
- @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1546
- @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1547
- @weight = args[:weight] if args.key?(:weight)
1548
- end
1549
- end
1550
-
1551
1392
  # A unit of data that will be returned by the DNS servers.
1552
1393
  class ResourceRecordSet
1553
1394
  include Google::Apis::Core::Hashable
@@ -1562,13 +1403,6 @@ module Google
1562
1403
  # @return [String]
1563
1404
  attr_accessor :name
1564
1405
 
1565
- # A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
1566
- # dynamically with the response varying based on configured properties such as
1567
- # geolocation or by weighted random selection.
1568
- # Corresponds to the JSON property `routingPolicy`
1569
- # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicy]
1570
- attr_accessor :routing_policy
1571
-
1572
1406
  # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1573
1407
  # examples.
1574
1408
  # Corresponds to the JSON property `rrdatas`
@@ -1599,7 +1433,6 @@ module Google
1599
1433
  def update!(**args)
1600
1434
  @kind = args[:kind] if args.key?(:kind)
1601
1435
  @name = args[:name] if args.key?(:name)
1602
- @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1603
1436
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1604
1437
  @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1605
1438
  @ttl = args[:ttl] if args.key?(:ttl)
@@ -1616,7 +1449,7 @@ module Google
1616
1449
  # @return [Google::Apis::DnsV1beta2::ResponseHeader]
1617
1450
  attr_accessor :header
1618
1451
 
1619
- #
1452
+ # Type of resource.
1620
1453
  # Corresponds to the JSON property `kind`
1621
1454
  # @return [String]
1622
1455
  attr_accessor :kind
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DnsV1beta2
18
18
  # Version of the google-apis-dns_v1beta2 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210122"
25
+ REVISION = "20210204"
26
26
  end
27
27
  end
28
28
  end
@@ -208,36 +208,6 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
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
211
  class ResourceRecordSet
242
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
213
 
@@ -444,6 +414,7 @@ module Google
444
414
  class Representation < Google::Apis::Core::JsonRepresentation
445
415
  property :forwarding_path, as: 'forwardingPath'
446
416
  property :ipv4_address, as: 'ipv4Address'
417
+ property :ipv6_address, as: 'ipv6Address'
447
418
  property :kind, as: 'kind'
448
419
  end
449
420
  end
@@ -630,6 +601,7 @@ module Google
630
601
  class Representation < Google::Apis::Core::JsonRepresentation
631
602
  property :forwarding_path, as: 'forwardingPath'
632
603
  property :ipv4_address, as: 'ipv4Address'
604
+ property :ipv6_address, as: 'ipv6Address'
633
605
  property :kind, as: 'kind'
634
606
  end
635
607
  end
@@ -657,7 +629,6 @@ module Google
657
629
  # @private
658
630
  class Representation < Google::Apis::Core::JsonRepresentation
659
631
  property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone'
660
- property :gke_clusters_per_policy, as: 'gkeClustersPerPolicy'
661
632
  property :kind, as: 'kind'
662
633
  property :managed_zones, as: 'managedZones'
663
634
  property :managed_zones_per_network, as: 'managedZonesPerNetwork'
@@ -665,6 +636,7 @@ module Google
665
636
  property :networks_per_policy, as: 'networksPerPolicy'
666
637
  property :policies, as: 'policies'
667
638
  property :resource_records_per_rrset, as: 'resourceRecordsPerRrset'
639
+ property :response_policy_rules_per_response_policy, as: 'responsePolicyRulesPerResponsePolicy'
668
640
  property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange'
669
641
  property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange'
670
642
  property :rrsets_per_managed_zone, as: 'rrsetsPerManagedZone'
@@ -676,64 +648,11 @@ module Google
676
648
  end
677
649
  end
678
650
 
679
- class RrSetRoutingPolicy
680
- # @private
681
- class Representation < Google::Apis::Core::JsonRepresentation
682
- property :geo_policy, as: 'geoPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy::Representation
683
-
684
- property :kind, as: 'kind'
685
- property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy::Representation
686
-
687
- end
688
- end
689
-
690
- class RrSetRoutingPolicyGeoPolicy
691
- # @private
692
- class Representation < Google::Apis::Core::JsonRepresentation
693
- collection :failovers, as: 'failovers', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
694
-
695
- collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
696
-
697
- property :kind, as: 'kind'
698
- end
699
- end
700
-
701
- class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
702
- # @private
703
- class Representation < Google::Apis::Core::JsonRepresentation
704
- property :kind, as: 'kind'
705
- property :location, as: 'location'
706
- collection :rrdatas, as: 'rrdatas'
707
- collection :signature_rrdatas, as: 'signatureRrdatas'
708
- end
709
- end
710
-
711
- class RrSetRoutingPolicyWrrPolicy
712
- # @private
713
- class Representation < Google::Apis::Core::JsonRepresentation
714
- collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem::Representation
715
-
716
- property :kind, as: 'kind'
717
- end
718
- end
719
-
720
- class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
721
- # @private
722
- class Representation < Google::Apis::Core::JsonRepresentation
723
- property :kind, as: 'kind'
724
- collection :rrdatas, as: 'rrdatas'
725
- collection :signature_rrdatas, as: 'signatureRrdatas'
726
- property :weight, as: 'weight'
727
- end
728
- end
729
-
730
651
  class ResourceRecordSet
731
652
  # @private
732
653
  class Representation < Google::Apis::Core::JsonRepresentation
733
654
  property :kind, as: 'kind'
734
655
  property :name, as: 'name'
735
- property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicy::Representation
736
-
737
656
  collection :rrdatas, as: 'rrdatas'
738
657
  collection :signature_rrdatas, as: 'signatureRrdatas'
739
658
  property :ttl, as: 'ttl'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dns_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1beta2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1beta2
57
57
  post_install_message:
58
58
  rdoc_options: []