google-apis-dns_v1beta2 0.13.0 → 0.14.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cb1de55de286f3ecea155e4353901a5a4e1b1ae622577f342b2477e35ce1eb7
4
- data.tar.gz: fe2e4d229bdbe141624f1119d26a726cbdf1c82139395e168643987650705f72
3
+ metadata.gz: d86e18eb854c90691a795d26e483a3bb3a2185620963a4d27d0295e6ef9b89db
4
+ data.tar.gz: e220466f88f65ecadb2b0f9f7e988ceae457eae9c424df569af63b4133bba731
5
5
  SHA512:
6
- metadata.gz: 8f9a8a3c8a91df7f04334724fb4e8e9f19c363c4e6ee246ba6c7d93b0e1859914ff9494df3dc8cc8687f18a4730ec3239612f7e6954d5d5f8a4e1a0f8548c6ed
7
- data.tar.gz: 6b4e5fcdb8fa3970df22dd221e2818e93bebd8143b8abb874b1df97753ad8cab2b22423797fb9979f25cc379ce1094d1379c15e2ba2625c50818202d9913e895
6
+ metadata.gz: 160e0a1efe1cebb17ce1ecab60ef7a00295ed1dfed5278ffa015daffbf62e318990cc0d813f4064190ab744a51dbc14d62eed85523dad6c32f2b9eb205cee751
7
+ data.tar.gz: eab4177ec6816280a3fa2cfb7e3040f72cbbf7d5b4dc49b44ffc6dc6cb2c9136439ee7399b39475ef762e39b9dfa5688c58ea2120bf6012bc9512d1a2e4c50ce
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dns_v1beta2
2
2
 
3
+ ### v0.14.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210809
6
+
3
7
  ### v0.13.0 (2021-07-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20210712
@@ -1335,6 +1335,11 @@ module Google
1335
1335
  # @return [Fixnum]
1336
1336
  attr_accessor :gke_clusters_per_response_policy
1337
1337
 
1338
+ # Maximum allowed number of items per routing policy.
1339
+ # Corresponds to the JSON property `itemsPerRoutingPolicy`
1340
+ # @return [Fixnum]
1341
+ attr_accessor :items_per_routing_policy
1342
+
1338
1343
  #
1339
1344
  # Corresponds to the JSON property `kind`
1340
1345
  # @return [String]
@@ -1426,6 +1431,7 @@ module Google
1426
1431
  @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
1427
1432
  @gke_clusters_per_managed_zone = args[:gke_clusters_per_managed_zone] if args.key?(:gke_clusters_per_managed_zone)
1428
1433
  @gke_clusters_per_response_policy = args[:gke_clusters_per_response_policy] if args.key?(:gke_clusters_per_response_policy)
1434
+ @items_per_routing_policy = args[:items_per_routing_policy] if args.key?(:items_per_routing_policy)
1429
1435
  @kind = args[:kind] if args.key?(:kind)
1430
1436
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
1431
1437
  @managed_zones_per_gke_cluster = args[:managed_zones_per_gke_cluster] if args.key?(:managed_zones_per_gke_cluster)
@@ -1445,6 +1451,191 @@ module Google
1445
1451
  end
1446
1452
  end
1447
1453
 
1454
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
1455
+ # dynamically with the response varying based on configured properties such as
1456
+ # geolocation or by weighted random selection.
1457
+ class RrSetRoutingPolicy
1458
+ include Google::Apis::Core::Hashable
1459
+
1460
+ #
1461
+ # Corresponds to the JSON property `geo`
1462
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
1463
+ attr_accessor :geo
1464
+
1465
+ #
1466
+ # Corresponds to the JSON property `geoPolicy`
1467
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
1468
+ attr_accessor :geo_policy
1469
+
1470
+ #
1471
+ # Corresponds to the JSON property `kind`
1472
+ # @return [String]
1473
+ attr_accessor :kind
1474
+
1475
+ #
1476
+ # Corresponds to the JSON property `wrr`
1477
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
1478
+ attr_accessor :wrr
1479
+
1480
+ #
1481
+ # Corresponds to the JSON property `wrrPolicy`
1482
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
1483
+ attr_accessor :wrr_policy
1484
+
1485
+ def initialize(**args)
1486
+ update!(**args)
1487
+ end
1488
+
1489
+ # Update properties of this object
1490
+ def update!(**args)
1491
+ @geo = args[:geo] if args.key?(:geo)
1492
+ @geo_policy = args[:geo_policy] if args.key?(:geo_policy)
1493
+ @kind = args[:kind] if args.key?(:kind)
1494
+ @wrr = args[:wrr] if args.key?(:wrr)
1495
+ @wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
1496
+ end
1497
+ end
1498
+
1499
+ #
1500
+ class RrSetRoutingPolicyGeoPolicy
1501
+ include Google::Apis::Core::Hashable
1502
+
1503
+ # If the health check for the primary target for a geo location returns an
1504
+ # unhealthy status, the failover target is returned instead. This failover
1505
+ # configuration is not mandatory. If a failover is not provided, the primary
1506
+ # target won't be healthchecked, and it returns the primarily configured rrdata
1507
+ # irrespective of whether it is healthy or not.
1508
+ # Corresponds to the JSON property `failovers`
1509
+ # @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1510
+ attr_accessor :failovers
1511
+
1512
+ # The primary geo routing configuration. If there are multiple items with the
1513
+ # same location, an error is returned instead.
1514
+ # Corresponds to the JSON property `items`
1515
+ # @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1516
+ attr_accessor :items
1517
+
1518
+ #
1519
+ # Corresponds to the JSON property `kind`
1520
+ # @return [String]
1521
+ attr_accessor :kind
1522
+
1523
+ def initialize(**args)
1524
+ update!(**args)
1525
+ end
1526
+
1527
+ # Update properties of this object
1528
+ def update!(**args)
1529
+ @failovers = args[:failovers] if args.key?(:failovers)
1530
+ @items = args[:items] if args.key?(:items)
1531
+ @kind = args[:kind] if args.key?(:kind)
1532
+ end
1533
+ end
1534
+
1535
+ #
1536
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
1537
+ include Google::Apis::Core::Hashable
1538
+
1539
+ #
1540
+ # Corresponds to the JSON property `kind`
1541
+ # @return [String]
1542
+ attr_accessor :kind
1543
+
1544
+ # The geo-location granularity is a GCP region. This location string should
1545
+ # correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1"
1546
+ # , etc.
1547
+ # Corresponds to the JSON property `location`
1548
+ # @return [String]
1549
+ attr_accessor :location
1550
+
1551
+ #
1552
+ # Corresponds to the JSON property `rrdatas`
1553
+ # @return [Array<String>]
1554
+ attr_accessor :rrdatas
1555
+
1556
+ # DNSSEC generated signatures for the above geo_rrdata.
1557
+ # Corresponds to the JSON property `signatureRrdatas`
1558
+ # @return [Array<String>]
1559
+ attr_accessor :signature_rrdatas
1560
+
1561
+ def initialize(**args)
1562
+ update!(**args)
1563
+ end
1564
+
1565
+ # Update properties of this object
1566
+ def update!(**args)
1567
+ @kind = args[:kind] if args.key?(:kind)
1568
+ @location = args[:location] if args.key?(:location)
1569
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1570
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1571
+ end
1572
+ end
1573
+
1574
+ #
1575
+ class RrSetRoutingPolicyWrrPolicy
1576
+ include Google::Apis::Core::Hashable
1577
+
1578
+ #
1579
+ # Corresponds to the JSON property `items`
1580
+ # @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
1581
+ attr_accessor :items
1582
+
1583
+ #
1584
+ # Corresponds to the JSON property `kind`
1585
+ # @return [String]
1586
+ attr_accessor :kind
1587
+
1588
+ def initialize(**args)
1589
+ update!(**args)
1590
+ end
1591
+
1592
+ # Update properties of this object
1593
+ def update!(**args)
1594
+ @items = args[:items] if args.key?(:items)
1595
+ @kind = args[:kind] if args.key?(:kind)
1596
+ end
1597
+ end
1598
+
1599
+ #
1600
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
1601
+ include Google::Apis::Core::Hashable
1602
+
1603
+ #
1604
+ # Corresponds to the JSON property `kind`
1605
+ # @return [String]
1606
+ attr_accessor :kind
1607
+
1608
+ #
1609
+ # Corresponds to the JSON property `rrdatas`
1610
+ # @return [Array<String>]
1611
+ attr_accessor :rrdatas
1612
+
1613
+ # DNSSEC generated signatures for the above wrr_rrdata.
1614
+ # Corresponds to the JSON property `signatureRrdatas`
1615
+ # @return [Array<String>]
1616
+ attr_accessor :signature_rrdatas
1617
+
1618
+ # The weight corresponding to this subset of rrdata. When multiple
1619
+ # WeightedRoundRobinPolicyItems are configured, the probability of returning an
1620
+ # rrset is proportional to its weight relative to the sum of weights configured
1621
+ # for all items. This weight should be non-negative.
1622
+ # Corresponds to the JSON property `weight`
1623
+ # @return [Float]
1624
+ attr_accessor :weight
1625
+
1626
+ def initialize(**args)
1627
+ update!(**args)
1628
+ end
1629
+
1630
+ # Update properties of this object
1631
+ def update!(**args)
1632
+ @kind = args[:kind] if args.key?(:kind)
1633
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1634
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1635
+ @weight = args[:weight] if args.key?(:weight)
1636
+ end
1637
+ end
1638
+
1448
1639
  # A unit of data that is returned by the DNS servers.
1449
1640
  class ResourceRecordSet
1450
1641
  include Google::Apis::Core::Hashable
@@ -1459,6 +1650,13 @@ module Google
1459
1650
  # @return [String]
1460
1651
  attr_accessor :name
1461
1652
 
1653
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
1654
+ # dynamically with the response varying based on configured properties such as
1655
+ # geolocation or by weighted random selection.
1656
+ # Corresponds to the JSON property `routingPolicy`
1657
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicy]
1658
+ attr_accessor :routing_policy
1659
+
1462
1660
  # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1463
1661
  # examples.
1464
1662
  # Corresponds to the JSON property `rrdatas`
@@ -1489,6 +1687,7 @@ module Google
1489
1687
  def update!(**args)
1490
1688
  @kind = args[:kind] if args.key?(:kind)
1491
1689
  @name = args[:name] if args.key?(:name)
1690
+ @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1492
1691
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1493
1692
  @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1494
1693
  @ttl = args[:ttl] if args.key?(:ttl)
@@ -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.13.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210712"
25
+ REVISION = "20210809"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,36 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class RrSetRoutingPolicy
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class RrSetRoutingPolicyGeoPolicy
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class RrSetRoutingPolicyWrrPolicy
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
217
247
  class ResourceRecordSet
218
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
249
 
@@ -653,6 +683,7 @@ module Google
653
683
  property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone'
654
684
  property :gke_clusters_per_managed_zone, as: 'gkeClustersPerManagedZone'
655
685
  property :gke_clusters_per_response_policy, as: 'gkeClustersPerResponsePolicy'
686
+ property :items_per_routing_policy, as: 'itemsPerRoutingPolicy'
656
687
  property :kind, as: 'kind'
657
688
  property :managed_zones, as: 'managedZones'
658
689
  property :managed_zones_per_gke_cluster, as: 'managedZonesPerGkeCluster'
@@ -673,11 +704,68 @@ module Google
673
704
  end
674
705
  end
675
706
 
707
+ class RrSetRoutingPolicy
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :geo, as: 'geo', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy::Representation
711
+
712
+ property :geo_policy, as: 'geoPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy::Representation
713
+
714
+ property :kind, as: 'kind'
715
+ property :wrr, as: 'wrr', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy::Representation
716
+
717
+ property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy::Representation
718
+
719
+ end
720
+ end
721
+
722
+ class RrSetRoutingPolicyGeoPolicy
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ collection :failovers, as: 'failovers', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
726
+
727
+ collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
728
+
729
+ property :kind, as: 'kind'
730
+ end
731
+ end
732
+
733
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
734
+ # @private
735
+ class Representation < Google::Apis::Core::JsonRepresentation
736
+ property :kind, as: 'kind'
737
+ property :location, as: 'location'
738
+ collection :rrdatas, as: 'rrdatas'
739
+ collection :signature_rrdatas, as: 'signatureRrdatas'
740
+ end
741
+ end
742
+
743
+ class RrSetRoutingPolicyWrrPolicy
744
+ # @private
745
+ class Representation < Google::Apis::Core::JsonRepresentation
746
+ collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem::Representation
747
+
748
+ property :kind, as: 'kind'
749
+ end
750
+ end
751
+
752
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
753
+ # @private
754
+ class Representation < Google::Apis::Core::JsonRepresentation
755
+ property :kind, as: 'kind'
756
+ collection :rrdatas, as: 'rrdatas'
757
+ collection :signature_rrdatas, as: 'signatureRrdatas'
758
+ property :weight, as: 'weight'
759
+ end
760
+ end
761
+
676
762
  class ResourceRecordSet
677
763
  # @private
678
764
  class Representation < Google::Apis::Core::JsonRepresentation
679
765
  property :kind, as: 'kind'
680
766
  property :name, as: 'name'
767
+ property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicy::Representation
768
+
681
769
  collection :rrdatas, as: 'rrdatas'
682
770
  collection :signature_rrdatas, as: 'signatureRrdatas'
683
771
  property :ttl, as: 'ttl'
@@ -29,10 +29,10 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta2'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
- # View your data across Google Cloud Platform services
35
+ # View your data across Google Cloud services and see the email address of your Google Account
36
36
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
37
37
 
38
38
  # View your DNS records hosted by Google Cloud DNS
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.13.0
4
+ version: 0.14.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-07-26 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []