google-apis-dns_v1 0.16.0 → 0.17.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: 2d2788dddec84cec57a5bd4c66f9e680e03a4ef8939e5629dc954f0533f37bf2
4
- data.tar.gz: ad190f8054abda7da2081b45be04ae1b282161fe2b0f5af6b1008813dd6b08f1
3
+ metadata.gz: 5b0cbef2794c2642c88f165944db6c1528639fe1e04c32cf1d88a547ecb99c70
4
+ data.tar.gz: 860ec03537f5ddfa20eb23f8afd2bf1d473747dc80b2cfca91abdc49a82336cc
5
5
  SHA512:
6
- metadata.gz: 77c3cd8e721e937b36b66aee821aca42d1cd237363e0c2ca1b737a2c77c895502eb98240ec2d4d409542f30ab344a68ddc65d941950a5903bd822d48b60b562d
7
- data.tar.gz: '085c1deb61f09fe14523162edbce44437026e374867aca93dbb3e203b9b484d34f825041f44b53cf7d71d47a71a6ec78714e3f1b5a3fab375bf73f53e9e1ca77'
6
+ metadata.gz: 01f464ea9dd87e5ca0d25c373225011b1057e16ffbae8a57358878af80f0fd3b9f34a97d8a682742eabce19fe0c83ebe31f19129a3ba5dafeedf261ba914093f
7
+ data.tar.gz: b212925903c4b94cc0f82c1803b8ccbaeff0a5d9520bee81f054a49b0a14d3460d90c2c6578e9f08e5ca8624d121bb1f3e463ad43241f8678dcaf2862d8a03c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dns_v1
2
2
 
3
+ ### v0.17.0 (2022-01-08)
4
+
5
+ * Regenerated from discovery document revision 20220106
6
+ * Unspecified changes
7
+
3
8
  ### v0.16.0 (2021-11-09)
4
9
 
5
10
  * Regenerated from discovery document revision 20211103
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/dns_v1"
51
51
  client = Google::Apis::DnsV1::DnsService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -1309,6 +1309,11 @@ module Google
1309
1309
  # @return [Fixnum]
1310
1310
  attr_accessor :dns_keys_per_managed_zone
1311
1311
 
1312
+ # Maximum allowed number of items per routing policy.
1313
+ # Corresponds to the JSON property `itemsPerRoutingPolicy`
1314
+ # @return [Fixnum]
1315
+ attr_accessor :items_per_routing_policy
1316
+
1312
1317
  #
1313
1318
  # Corresponds to the JSON property `kind`
1314
1319
  # @return [String]
@@ -1388,6 +1393,7 @@ module Google
1388
1393
  # Update properties of this object
1389
1394
  def update!(**args)
1390
1395
  @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
1396
+ @items_per_routing_policy = args[:items_per_routing_policy] if args.key?(:items_per_routing_policy)
1391
1397
  @kind = args[:kind] if args.key?(:kind)
1392
1398
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
1393
1399
  @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
@@ -1405,6 +1411,169 @@ module Google
1405
1411
  end
1406
1412
  end
1407
1413
 
1414
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
1415
+ # dynamically with the response varying based on configured properties such as
1416
+ # geolocation or by weighted random selection.
1417
+ class RrSetRoutingPolicy
1418
+ include Google::Apis::Core::Hashable
1419
+
1420
+ #
1421
+ # Corresponds to the JSON property `geo`
1422
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy]
1423
+ attr_accessor :geo
1424
+
1425
+ #
1426
+ # Corresponds to the JSON property `kind`
1427
+ # @return [String]
1428
+ attr_accessor :kind
1429
+
1430
+ #
1431
+ # Corresponds to the JSON property `wrr`
1432
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy]
1433
+ attr_accessor :wrr
1434
+
1435
+ def initialize(**args)
1436
+ update!(**args)
1437
+ end
1438
+
1439
+ # Update properties of this object
1440
+ def update!(**args)
1441
+ @geo = args[:geo] if args.key?(:geo)
1442
+ @kind = args[:kind] if args.key?(:kind)
1443
+ @wrr = args[:wrr] if args.key?(:wrr)
1444
+ end
1445
+ end
1446
+
1447
+ #
1448
+ class RrSetRoutingPolicyGeoPolicy
1449
+ include Google::Apis::Core::Hashable
1450
+
1451
+ # The primary geo routing configuration. If there are multiple items with the
1452
+ # same location, an error is returned instead.
1453
+ # Corresponds to the JSON property `items`
1454
+ # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1455
+ attr_accessor :items
1456
+
1457
+ #
1458
+ # Corresponds to the JSON property `kind`
1459
+ # @return [String]
1460
+ attr_accessor :kind
1461
+
1462
+ def initialize(**args)
1463
+ update!(**args)
1464
+ end
1465
+
1466
+ # Update properties of this object
1467
+ def update!(**args)
1468
+ @items = args[:items] if args.key?(:items)
1469
+ @kind = args[:kind] if args.key?(:kind)
1470
+ end
1471
+ end
1472
+
1473
+ #
1474
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
1475
+ include Google::Apis::Core::Hashable
1476
+
1477
+ #
1478
+ # Corresponds to the JSON property `kind`
1479
+ # @return [String]
1480
+ attr_accessor :kind
1481
+
1482
+ # The geo-location granularity is a GCP region. This location string should
1483
+ # correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1"
1484
+ # , etc.
1485
+ # Corresponds to the JSON property `location`
1486
+ # @return [String]
1487
+ attr_accessor :location
1488
+
1489
+ #
1490
+ # Corresponds to the JSON property `rrdatas`
1491
+ # @return [Array<String>]
1492
+ attr_accessor :rrdatas
1493
+
1494
+ # DNSSEC generated signatures for the above geo_rrdata.
1495
+ # Corresponds to the JSON property `signatureRrdatas`
1496
+ # @return [Array<String>]
1497
+ attr_accessor :signature_rrdatas
1498
+
1499
+ def initialize(**args)
1500
+ update!(**args)
1501
+ end
1502
+
1503
+ # Update properties of this object
1504
+ def update!(**args)
1505
+ @kind = args[:kind] if args.key?(:kind)
1506
+ @location = args[:location] if args.key?(:location)
1507
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1508
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1509
+ end
1510
+ end
1511
+
1512
+ #
1513
+ class RrSetRoutingPolicyWrrPolicy
1514
+ include Google::Apis::Core::Hashable
1515
+
1516
+ #
1517
+ # Corresponds to the JSON property `items`
1518
+ # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
1519
+ attr_accessor :items
1520
+
1521
+ #
1522
+ # Corresponds to the JSON property `kind`
1523
+ # @return [String]
1524
+ attr_accessor :kind
1525
+
1526
+ def initialize(**args)
1527
+ update!(**args)
1528
+ end
1529
+
1530
+ # Update properties of this object
1531
+ def update!(**args)
1532
+ @items = args[:items] if args.key?(:items)
1533
+ @kind = args[:kind] if args.key?(:kind)
1534
+ end
1535
+ end
1536
+
1537
+ #
1538
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
1539
+ include Google::Apis::Core::Hashable
1540
+
1541
+ #
1542
+ # Corresponds to the JSON property `kind`
1543
+ # @return [String]
1544
+ attr_accessor :kind
1545
+
1546
+ #
1547
+ # Corresponds to the JSON property `rrdatas`
1548
+ # @return [Array<String>]
1549
+ attr_accessor :rrdatas
1550
+
1551
+ # DNSSEC generated signatures for the above wrr_rrdata.
1552
+ # Corresponds to the JSON property `signatureRrdatas`
1553
+ # @return [Array<String>]
1554
+ attr_accessor :signature_rrdatas
1555
+
1556
+ # The weight corresponding to this subset of rrdata. When multiple
1557
+ # WeightedRoundRobinPolicyItems are configured, the probability of returning an
1558
+ # rrset is proportional to its weight relative to the sum of weights configured
1559
+ # for all items. This weight should be non-negative.
1560
+ # Corresponds to the JSON property `weight`
1561
+ # @return [Float]
1562
+ attr_accessor :weight
1563
+
1564
+ def initialize(**args)
1565
+ update!(**args)
1566
+ end
1567
+
1568
+ # Update properties of this object
1569
+ def update!(**args)
1570
+ @kind = args[:kind] if args.key?(:kind)
1571
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1572
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1573
+ @weight = args[:weight] if args.key?(:weight)
1574
+ end
1575
+ end
1576
+
1408
1577
  # A unit of data that is returned by the DNS servers.
1409
1578
  class ResourceRecordSet
1410
1579
  include Google::Apis::Core::Hashable
@@ -1419,6 +1588,13 @@ module Google
1419
1588
  # @return [String]
1420
1589
  attr_accessor :name
1421
1590
 
1591
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
1592
+ # dynamically with the response varying based on configured properties such as
1593
+ # geolocation or by weighted random selection.
1594
+ # Corresponds to the JSON property `routingPolicy`
1595
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicy]
1596
+ attr_accessor :routing_policy
1597
+
1422
1598
  # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1423
1599
  # examples.
1424
1600
  # Corresponds to the JSON property `rrdatas`
@@ -1449,6 +1625,7 @@ module Google
1449
1625
  def update!(**args)
1450
1626
  @kind = args[:kind] if args.key?(:kind)
1451
1627
  @name = args[:name] if args.key?(:name)
1628
+ @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1452
1629
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1453
1630
  @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1454
1631
  @ttl = args[:ttl] if args.key?(:ttl)
@@ -1533,6 +1710,334 @@ module Google
1533
1710
  @operation_id = args[:operation_id] if args.key?(:operation_id)
1534
1711
  end
1535
1712
  end
1713
+
1714
+ #
1715
+ class ResponsePoliciesListResponse
1716
+ include Google::Apis::Core::Hashable
1717
+
1718
+ # Elements common to every response.
1719
+ # Corresponds to the JSON property `header`
1720
+ # @return [Google::Apis::DnsV1::ResponseHeader]
1721
+ attr_accessor :header
1722
+
1723
+ # The presence of this field indicates that there exist more results following
1724
+ # your last page of results in pagination order. To fetch them, make another
1725
+ # list request using this value as your page token. This lets you the complete
1726
+ # contents of even very large collections one page at a time. However, if the
1727
+ # contents of the collection change between the first and last paginated list
1728
+ # request, the set of all elements returned are an inconsistent view of the
1729
+ # collection. You cannot retrieve a consistent snapshot of a collection larger
1730
+ # than the maximum page size.
1731
+ # Corresponds to the JSON property `nextPageToken`
1732
+ # @return [String]
1733
+ attr_accessor :next_page_token
1734
+
1735
+ # The Response Policy resources.
1736
+ # Corresponds to the JSON property `responsePolicies`
1737
+ # @return [Array<Google::Apis::DnsV1::ResponsePolicy>]
1738
+ attr_accessor :response_policies
1739
+
1740
+ def initialize(**args)
1741
+ update!(**args)
1742
+ end
1743
+
1744
+ # Update properties of this object
1745
+ def update!(**args)
1746
+ @header = args[:header] if args.key?(:header)
1747
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1748
+ @response_policies = args[:response_policies] if args.key?(:response_policies)
1749
+ end
1750
+ end
1751
+
1752
+ #
1753
+ class ResponsePoliciesPatchResponse
1754
+ include Google::Apis::Core::Hashable
1755
+
1756
+ # Elements common to every response.
1757
+ # Corresponds to the JSON property `header`
1758
+ # @return [Google::Apis::DnsV1::ResponseHeader]
1759
+ attr_accessor :header
1760
+
1761
+ # A Response Policy is a collection of selectors that apply to queries made
1762
+ # against one or more Virtual Private Cloud networks.
1763
+ # Corresponds to the JSON property `responsePolicy`
1764
+ # @return [Google::Apis::DnsV1::ResponsePolicy]
1765
+ attr_accessor :response_policy
1766
+
1767
+ def initialize(**args)
1768
+ update!(**args)
1769
+ end
1770
+
1771
+ # Update properties of this object
1772
+ def update!(**args)
1773
+ @header = args[:header] if args.key?(:header)
1774
+ @response_policy = args[:response_policy] if args.key?(:response_policy)
1775
+ end
1776
+ end
1777
+
1778
+ #
1779
+ class ResponsePoliciesUpdateResponse
1780
+ include Google::Apis::Core::Hashable
1781
+
1782
+ # Elements common to every response.
1783
+ # Corresponds to the JSON property `header`
1784
+ # @return [Google::Apis::DnsV1::ResponseHeader]
1785
+ attr_accessor :header
1786
+
1787
+ # A Response Policy is a collection of selectors that apply to queries made
1788
+ # against one or more Virtual Private Cloud networks.
1789
+ # Corresponds to the JSON property `responsePolicy`
1790
+ # @return [Google::Apis::DnsV1::ResponsePolicy]
1791
+ attr_accessor :response_policy
1792
+
1793
+ def initialize(**args)
1794
+ update!(**args)
1795
+ end
1796
+
1797
+ # Update properties of this object
1798
+ def update!(**args)
1799
+ @header = args[:header] if args.key?(:header)
1800
+ @response_policy = args[:response_policy] if args.key?(:response_policy)
1801
+ end
1802
+ end
1803
+
1804
+ # A Response Policy is a collection of selectors that apply to queries made
1805
+ # against one or more Virtual Private Cloud networks.
1806
+ class ResponsePolicy
1807
+ include Google::Apis::Core::Hashable
1808
+
1809
+ # User-provided description for this Response Policy.
1810
+ # Corresponds to the JSON property `description`
1811
+ # @return [String]
1812
+ attr_accessor :description
1813
+
1814
+ # Unique identifier for the resource; defined by the server (output only).
1815
+ # Corresponds to the JSON property `id`
1816
+ # @return [Fixnum]
1817
+ attr_accessor :id
1818
+
1819
+ #
1820
+ # Corresponds to the JSON property `kind`
1821
+ # @return [String]
1822
+ attr_accessor :kind
1823
+
1824
+ # List of network names specifying networks to which this policy is applied.
1825
+ # Corresponds to the JSON property `networks`
1826
+ # @return [Array<Google::Apis::DnsV1::ResponsePolicyNetwork>]
1827
+ attr_accessor :networks
1828
+
1829
+ # User assigned name for this Response Policy.
1830
+ # Corresponds to the JSON property `responsePolicyName`
1831
+ # @return [String]
1832
+ attr_accessor :response_policy_name
1833
+
1834
+ def initialize(**args)
1835
+ update!(**args)
1836
+ end
1837
+
1838
+ # Update properties of this object
1839
+ def update!(**args)
1840
+ @description = args[:description] if args.key?(:description)
1841
+ @id = args[:id] if args.key?(:id)
1842
+ @kind = args[:kind] if args.key?(:kind)
1843
+ @networks = args[:networks] if args.key?(:networks)
1844
+ @response_policy_name = args[:response_policy_name] if args.key?(:response_policy_name)
1845
+ end
1846
+ end
1847
+
1848
+ #
1849
+ class ResponsePolicyNetwork
1850
+ include Google::Apis::Core::Hashable
1851
+
1852
+ #
1853
+ # Corresponds to the JSON property `kind`
1854
+ # @return [String]
1855
+ attr_accessor :kind
1856
+
1857
+ # The fully qualified URL of the VPC network to bind to. This should be
1858
+ # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
1859
+ # networks/`network`
1860
+ # Corresponds to the JSON property `networkUrl`
1861
+ # @return [String]
1862
+ attr_accessor :network_url
1863
+
1864
+ def initialize(**args)
1865
+ update!(**args)
1866
+ end
1867
+
1868
+ # Update properties of this object
1869
+ def update!(**args)
1870
+ @kind = args[:kind] if args.key?(:kind)
1871
+ @network_url = args[:network_url] if args.key?(:network_url)
1872
+ end
1873
+ end
1874
+
1875
+ # A Response Policy Rule is a selector that applies its behavior to queries that
1876
+ # match the selector. Selectors are DNS names, which may be wildcards or exact
1877
+ # matches. Each DNS query subject to a Response Policy matches at most one
1878
+ # ResponsePolicyRule, as identified by the dns_name field with the longest
1879
+ # matching suffix.
1880
+ class ResponsePolicyRule
1881
+ include Google::Apis::Core::Hashable
1882
+
1883
+ # Answer this query with a behavior rather than DNS data.
1884
+ # Corresponds to the JSON property `behavior`
1885
+ # @return [String]
1886
+ attr_accessor :behavior
1887
+
1888
+ # The DNS name (wildcard or exact) to apply this rule to. Must be unique within
1889
+ # the Response Policy Rule.
1890
+ # Corresponds to the JSON property `dnsName`
1891
+ # @return [String]
1892
+ attr_accessor :dns_name
1893
+
1894
+ #
1895
+ # Corresponds to the JSON property `kind`
1896
+ # @return [String]
1897
+ attr_accessor :kind
1898
+
1899
+ # Answer this query directly with DNS data. These ResourceRecordSets override
1900
+ # any other DNS behavior for the matched name; in particular they override
1901
+ # private zones, the public internet, and GCP internal DNS. No SOA nor NS types
1902
+ # are allowed.
1903
+ # Corresponds to the JSON property `localData`
1904
+ # @return [Google::Apis::DnsV1::ResponsePolicyRuleLocalData]
1905
+ attr_accessor :local_data
1906
+
1907
+ # An identifier for this rule. Must be unique with the ResponsePolicy.
1908
+ # Corresponds to the JSON property `ruleName`
1909
+ # @return [String]
1910
+ attr_accessor :rule_name
1911
+
1912
+ def initialize(**args)
1913
+ update!(**args)
1914
+ end
1915
+
1916
+ # Update properties of this object
1917
+ def update!(**args)
1918
+ @behavior = args[:behavior] if args.key?(:behavior)
1919
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
1920
+ @kind = args[:kind] if args.key?(:kind)
1921
+ @local_data = args[:local_data] if args.key?(:local_data)
1922
+ @rule_name = args[:rule_name] if args.key?(:rule_name)
1923
+ end
1924
+ end
1925
+
1926
+ #
1927
+ class ResponsePolicyRuleLocalData
1928
+ include Google::Apis::Core::Hashable
1929
+
1930
+ # All resource record sets for this selector, one per resource record type. The
1931
+ # name must match the dns_name.
1932
+ # Corresponds to the JSON property `localDatas`
1933
+ # @return [Array<Google::Apis::DnsV1::ResourceRecordSet>]
1934
+ attr_accessor :local_datas
1935
+
1936
+ def initialize(**args)
1937
+ update!(**args)
1938
+ end
1939
+
1940
+ # Update properties of this object
1941
+ def update!(**args)
1942
+ @local_datas = args[:local_datas] if args.key?(:local_datas)
1943
+ end
1944
+ end
1945
+
1946
+ #
1947
+ class ResponsePolicyRulesListResponse
1948
+ include Google::Apis::Core::Hashable
1949
+
1950
+ # Elements common to every response.
1951
+ # Corresponds to the JSON property `header`
1952
+ # @return [Google::Apis::DnsV1::ResponseHeader]
1953
+ attr_accessor :header
1954
+
1955
+ # The presence of this field indicates that there exist more results following
1956
+ # your last page of results in pagination order. To fetch them, make another
1957
+ # list request using this value as your page token. This lets you the complete
1958
+ # contents of even very large collections one page at a time. However, if the
1959
+ # contents of the collection change between the first and last paginated list
1960
+ # request, the set of all elements returned are an inconsistent view of the
1961
+ # collection. You cannot retrieve a consistent snapshot of a collection larger
1962
+ # than the maximum page size.
1963
+ # Corresponds to the JSON property `nextPageToken`
1964
+ # @return [String]
1965
+ attr_accessor :next_page_token
1966
+
1967
+ # The Response Policy Rule resources.
1968
+ # Corresponds to the JSON property `responsePolicyRules`
1969
+ # @return [Array<Google::Apis::DnsV1::ResponsePolicyRule>]
1970
+ attr_accessor :response_policy_rules
1971
+
1972
+ def initialize(**args)
1973
+ update!(**args)
1974
+ end
1975
+
1976
+ # Update properties of this object
1977
+ def update!(**args)
1978
+ @header = args[:header] if args.key?(:header)
1979
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1980
+ @response_policy_rules = args[:response_policy_rules] if args.key?(:response_policy_rules)
1981
+ end
1982
+ end
1983
+
1984
+ #
1985
+ class ResponsePolicyRulesPatchResponse
1986
+ include Google::Apis::Core::Hashable
1987
+
1988
+ # Elements common to every response.
1989
+ # Corresponds to the JSON property `header`
1990
+ # @return [Google::Apis::DnsV1::ResponseHeader]
1991
+ attr_accessor :header
1992
+
1993
+ # A Response Policy Rule is a selector that applies its behavior to queries that
1994
+ # match the selector. Selectors are DNS names, which may be wildcards or exact
1995
+ # matches. Each DNS query subject to a Response Policy matches at most one
1996
+ # ResponsePolicyRule, as identified by the dns_name field with the longest
1997
+ # matching suffix.
1998
+ # Corresponds to the JSON property `responsePolicyRule`
1999
+ # @return [Google::Apis::DnsV1::ResponsePolicyRule]
2000
+ attr_accessor :response_policy_rule
2001
+
2002
+ def initialize(**args)
2003
+ update!(**args)
2004
+ end
2005
+
2006
+ # Update properties of this object
2007
+ def update!(**args)
2008
+ @header = args[:header] if args.key?(:header)
2009
+ @response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule)
2010
+ end
2011
+ end
2012
+
2013
+ #
2014
+ class ResponsePolicyRulesUpdateResponse
2015
+ include Google::Apis::Core::Hashable
2016
+
2017
+ # Elements common to every response.
2018
+ # Corresponds to the JSON property `header`
2019
+ # @return [Google::Apis::DnsV1::ResponseHeader]
2020
+ attr_accessor :header
2021
+
2022
+ # A Response Policy Rule is a selector that applies its behavior to queries that
2023
+ # match the selector. Selectors are DNS names, which may be wildcards or exact
2024
+ # matches. Each DNS query subject to a Response Policy matches at most one
2025
+ # ResponsePolicyRule, as identified by the dns_name field with the longest
2026
+ # matching suffix.
2027
+ # Corresponds to the JSON property `responsePolicyRule`
2028
+ # @return [Google::Apis::DnsV1::ResponsePolicyRule]
2029
+ attr_accessor :response_policy_rule
2030
+
2031
+ def initialize(**args)
2032
+ update!(**args)
2033
+ end
2034
+
2035
+ # Update properties of this object
2036
+ def update!(**args)
2037
+ @header = args[:header] if args.key?(:header)
2038
+ @response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule)
2039
+ end
2040
+ end
1536
2041
  end
1537
2042
  end
1538
2043
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DnsV1
18
18
  # Version of the google-apis-dns_v1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.17.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 = "20211103"
25
+ REVISION = "20220106"
26
26
  end
27
27
  end
28
28
  end