google-apis-dns_v1 0.15.0 → 0.19.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: 225319d9e46e5f17f7aa84be721fa50048530187739a2205821bffc3ad95e46a
4
- data.tar.gz: 2a58c41fc645c32280b9b863b0210d8dfde68637c36f5edc285cf2e77664fcc4
3
+ metadata.gz: ec8acfa6021f5c3453e168d5fbd09dbc04fd6404205de8ec79515faea5b9339c
4
+ data.tar.gz: 87f77c5ade7757ab5dd868f2c7250143816033980671d2960c71b3037d09bbc4
5
5
  SHA512:
6
- metadata.gz: e1f7f69192f97d53f6757132de4bee81c318a4c203768ed3b4abbb3a7ed2e4f94c9b00ace91a1d1f3098cebe0b7f9888d5a23c1350f2d97710ddb8e334d8206c
7
- data.tar.gz: a81c09191f0ec79d95959748fd1ee940c5165675cfc294727e10ee8db7c942dfdef02541c1b6367721a5b253c4306da023c48ad9e7bdcb630ae1d2cb3cda7069
6
+ metadata.gz: 2dce7fea0f8db9e1142e12392aebbe74056839388c9d34dbbb299cf80af0918f2a9980986d23c78d0e1ceafe3aca46478c61c11343b3173615086a5b98b01a7f
7
+ data.tar.gz: 2e0bd3f35b635de93d2b26e922473796c6e04982d2c71bc35359a6323fb50cadc9c9680f930fce2a5a3d4edcd693a0afe5ccd644ce1907246b2ea78481192902
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-dns_v1
2
2
 
3
+ ### v0.19.0 (2022-02-01)
4
+
5
+ * Regenerated from discovery document revision 20220127
6
+
7
+ ### v0.18.0 (2022-01-21)
8
+
9
+ * Regenerated from discovery document revision 20220114
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.17.0 (2022-01-08)
13
+
14
+ * Regenerated from discovery document revision 20220106
15
+ * Unspecified changes
16
+
17
+ ### v0.16.0 (2021-11-09)
18
+
19
+ * Regenerated from discovery document revision 20211103
20
+
3
21
  ### v0.15.0 (2021-10-21)
4
22
 
5
23
  * Unspecified changes
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.
@@ -346,6 +346,11 @@ module Google
346
346
  class ManagedZone
347
347
  include Google::Apis::Core::Hashable
348
348
 
349
+ # Cloud Logging configurations for publicly visible zones.
350
+ # Corresponds to the JSON property `cloudLoggingConfig`
351
+ # @return [Google::Apis::DnsV1::ManagedZoneCloudLoggingConfig]
352
+ attr_accessor :cloud_logging_config
353
+
349
354
  # The time that this resource was created on the server. This is in RFC3339 text
350
355
  # format. Output only.
351
356
  # Corresponds to the JSON property `creationTime`
@@ -448,6 +453,7 @@ module Google
448
453
 
449
454
  # Update properties of this object
450
455
  def update!(**args)
456
+ @cloud_logging_config = args[:cloud_logging_config] if args.key?(:cloud_logging_config)
451
457
  @creation_time = args[:creation_time] if args.key?(:creation_time)
452
458
  @description = args[:description] if args.key?(:description)
453
459
  @dns_name = args[:dns_name] if args.key?(:dns_name)
@@ -467,6 +473,33 @@ module Google
467
473
  end
468
474
  end
469
475
 
476
+ # Cloud Logging configurations for publicly visible zones.
477
+ class ManagedZoneCloudLoggingConfig
478
+ include Google::Apis::Core::Hashable
479
+
480
+ # If set, enable query logging for this ManagedZone. False by default, making
481
+ # logging opt-in.
482
+ # Corresponds to the JSON property `enableLogging`
483
+ # @return [Boolean]
484
+ attr_accessor :enable_logging
485
+ alias_method :enable_logging?, :enable_logging
486
+
487
+ #
488
+ # Corresponds to the JSON property `kind`
489
+ # @return [String]
490
+ attr_accessor :kind
491
+
492
+ def initialize(**args)
493
+ update!(**args)
494
+ end
495
+
496
+ # Update properties of this object
497
+ def update!(**args)
498
+ @enable_logging = args[:enable_logging] if args.key?(:enable_logging)
499
+ @kind = args[:kind] if args.key?(:kind)
500
+ end
501
+ end
502
+
470
503
  #
471
504
  class ManagedZoneDnsSecConfig
472
505
  include Google::Apis::Core::Hashable
@@ -1276,6 +1309,11 @@ module Google
1276
1309
  # @return [Fixnum]
1277
1310
  attr_accessor :dns_keys_per_managed_zone
1278
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
+
1279
1317
  #
1280
1318
  # Corresponds to the JSON property `kind`
1281
1319
  # @return [String]
@@ -1302,6 +1340,12 @@ module Google
1302
1340
  # @return [Fixnum]
1303
1341
  attr_accessor :networks_per_policy
1304
1342
 
1343
+ # Maximum allowed number of consumer peering zones per target network owned by
1344
+ # this producer project
1345
+ # Corresponds to the JSON property `peeringZonesPerTargetNetwork`
1346
+ # @return [Fixnum]
1347
+ attr_accessor :peering_zones_per_target_network
1348
+
1305
1349
  # Maximum allowed number of policies per project.
1306
1350
  # Corresponds to the JSON property `policies`
1307
1351
  # @return [Fixnum]
@@ -1355,11 +1399,13 @@ module Google
1355
1399
  # Update properties of this object
1356
1400
  def update!(**args)
1357
1401
  @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
1402
+ @items_per_routing_policy = args[:items_per_routing_policy] if args.key?(:items_per_routing_policy)
1358
1403
  @kind = args[:kind] if args.key?(:kind)
1359
1404
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
1360
1405
  @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
1361
1406
  @networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone)
1362
1407
  @networks_per_policy = args[:networks_per_policy] if args.key?(:networks_per_policy)
1408
+ @peering_zones_per_target_network = args[:peering_zones_per_target_network] if args.key?(:peering_zones_per_target_network)
1363
1409
  @policies = args[:policies] if args.key?(:policies)
1364
1410
  @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
1365
1411
  @rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change)
@@ -1372,6 +1418,175 @@ module Google
1372
1418
  end
1373
1419
  end
1374
1420
 
1421
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
1422
+ # dynamically with the response varying based on configured properties such as
1423
+ # geolocation or by weighted random selection.
1424
+ class RrSetRoutingPolicy
1425
+ include Google::Apis::Core::Hashable
1426
+
1427
+ # Configures a RRSetRoutingPolicy that routes based on the geo location of the
1428
+ # querying user.
1429
+ # Corresponds to the JSON property `geo`
1430
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy]
1431
+ attr_accessor :geo
1432
+
1433
+ #
1434
+ # Corresponds to the JSON property `kind`
1435
+ # @return [String]
1436
+ attr_accessor :kind
1437
+
1438
+ # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1439
+ # Corresponds to the JSON property `wrr`
1440
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy]
1441
+ attr_accessor :wrr
1442
+
1443
+ def initialize(**args)
1444
+ update!(**args)
1445
+ end
1446
+
1447
+ # Update properties of this object
1448
+ def update!(**args)
1449
+ @geo = args[:geo] if args.key?(:geo)
1450
+ @kind = args[:kind] if args.key?(:kind)
1451
+ @wrr = args[:wrr] if args.key?(:wrr)
1452
+ end
1453
+ end
1454
+
1455
+ # Configures a RRSetRoutingPolicy that routes based on the geo location of the
1456
+ # querying user.
1457
+ class RrSetRoutingPolicyGeoPolicy
1458
+ include Google::Apis::Core::Hashable
1459
+
1460
+ # The primary geo routing configuration. If there are multiple items with the
1461
+ # same location, an error is returned instead.
1462
+ # Corresponds to the JSON property `items`
1463
+ # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1464
+ attr_accessor :items
1465
+
1466
+ #
1467
+ # Corresponds to the JSON property `kind`
1468
+ # @return [String]
1469
+ attr_accessor :kind
1470
+
1471
+ def initialize(**args)
1472
+ update!(**args)
1473
+ end
1474
+
1475
+ # Update properties of this object
1476
+ def update!(**args)
1477
+ @items = args[:items] if args.key?(:items)
1478
+ @kind = args[:kind] if args.key?(:kind)
1479
+ end
1480
+ end
1481
+
1482
+ # ResourceRecordSet data for one geo location.
1483
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
1484
+ include Google::Apis::Core::Hashable
1485
+
1486
+ #
1487
+ # Corresponds to the JSON property `kind`
1488
+ # @return [String]
1489
+ attr_accessor :kind
1490
+
1491
+ # The geo-location granularity is a GCP region. This location string should
1492
+ # correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1"
1493
+ # , etc.
1494
+ # Corresponds to the JSON property `location`
1495
+ # @return [String]
1496
+ attr_accessor :location
1497
+
1498
+ #
1499
+ # Corresponds to the JSON property `rrdatas`
1500
+ # @return [Array<String>]
1501
+ attr_accessor :rrdatas
1502
+
1503
+ # DNSSEC generated signatures for all the rrdata within this item. Note that if
1504
+ # health checked targets are provided for DNSSEC enabled zones, there's a
1505
+ # restriction of 1 ip per item. .
1506
+ # Corresponds to the JSON property `signatureRrdatas`
1507
+ # @return [Array<String>]
1508
+ attr_accessor :signature_rrdatas
1509
+
1510
+ def initialize(**args)
1511
+ update!(**args)
1512
+ end
1513
+
1514
+ # Update properties of this object
1515
+ def update!(**args)
1516
+ @kind = args[:kind] if args.key?(:kind)
1517
+ @location = args[:location] if args.key?(:location)
1518
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1519
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1520
+ end
1521
+ end
1522
+
1523
+ # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1524
+ class RrSetRoutingPolicyWrrPolicy
1525
+ include Google::Apis::Core::Hashable
1526
+
1527
+ #
1528
+ # Corresponds to the JSON property `items`
1529
+ # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
1530
+ attr_accessor :items
1531
+
1532
+ #
1533
+ # Corresponds to the JSON property `kind`
1534
+ # @return [String]
1535
+ attr_accessor :kind
1536
+
1537
+ def initialize(**args)
1538
+ update!(**args)
1539
+ end
1540
+
1541
+ # Update properties of this object
1542
+ def update!(**args)
1543
+ @items = args[:items] if args.key?(:items)
1544
+ @kind = args[:kind] if args.key?(:kind)
1545
+ end
1546
+ end
1547
+
1548
+ # A routing block which contains the routing information for one WRR item.
1549
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
1550
+ include Google::Apis::Core::Hashable
1551
+
1552
+ #
1553
+ # Corresponds to the JSON property `kind`
1554
+ # @return [String]
1555
+ attr_accessor :kind
1556
+
1557
+ #
1558
+ # Corresponds to the JSON property `rrdatas`
1559
+ # @return [Array<String>]
1560
+ attr_accessor :rrdatas
1561
+
1562
+ # DNSSEC generated signatures for all the rrdata within this item. Note that if
1563
+ # health checked targets are provided for DNSSEC enabled zones, there's a
1564
+ # restriction of 1 ip per item. .
1565
+ # Corresponds to the JSON property `signatureRrdatas`
1566
+ # @return [Array<String>]
1567
+ attr_accessor :signature_rrdatas
1568
+
1569
+ # The weight corresponding to this subset of rrdata. When multiple
1570
+ # WeightedRoundRobinPolicyItems are configured, the probability of returning an
1571
+ # rrset is proportional to its weight relative to the sum of weights configured
1572
+ # for all items. This weight should be non-negative.
1573
+ # Corresponds to the JSON property `weight`
1574
+ # @return [Float]
1575
+ attr_accessor :weight
1576
+
1577
+ def initialize(**args)
1578
+ update!(**args)
1579
+ end
1580
+
1581
+ # Update properties of this object
1582
+ def update!(**args)
1583
+ @kind = args[:kind] if args.key?(:kind)
1584
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1585
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1586
+ @weight = args[:weight] if args.key?(:weight)
1587
+ end
1588
+ end
1589
+
1375
1590
  # A unit of data that is returned by the DNS servers.
1376
1591
  class ResourceRecordSet
1377
1592
  include Google::Apis::Core::Hashable
@@ -1386,6 +1601,13 @@ module Google
1386
1601
  # @return [String]
1387
1602
  attr_accessor :name
1388
1603
 
1604
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
1605
+ # dynamically with the response varying based on configured properties such as
1606
+ # geolocation or by weighted random selection.
1607
+ # Corresponds to the JSON property `routingPolicy`
1608
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicy]
1609
+ attr_accessor :routing_policy
1610
+
1389
1611
  # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1390
1612
  # examples.
1391
1613
  # Corresponds to the JSON property `rrdatas`
@@ -1416,6 +1638,7 @@ module Google
1416
1638
  def update!(**args)
1417
1639
  @kind = args[:kind] if args.key?(:kind)
1418
1640
  @name = args[:name] if args.key?(:name)
1641
+ @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1419
1642
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1420
1643
  @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1421
1644
  @ttl = args[:ttl] if args.key?(:ttl)
@@ -1500,6 +1723,334 @@ module Google
1500
1723
  @operation_id = args[:operation_id] if args.key?(:operation_id)
1501
1724
  end
1502
1725
  end
1726
+
1727
+ #
1728
+ class ResponsePoliciesListResponse
1729
+ include Google::Apis::Core::Hashable
1730
+
1731
+ # Elements common to every response.
1732
+ # Corresponds to the JSON property `header`
1733
+ # @return [Google::Apis::DnsV1::ResponseHeader]
1734
+ attr_accessor :header
1735
+
1736
+ # The presence of this field indicates that there exist more results following
1737
+ # your last page of results in pagination order. To fetch them, make another
1738
+ # list request using this value as your page token. This lets you the complete
1739
+ # contents of even very large collections one page at a time. However, if the
1740
+ # contents of the collection change between the first and last paginated list
1741
+ # request, the set of all elements returned are an inconsistent view of the
1742
+ # collection. You cannot retrieve a consistent snapshot of a collection larger
1743
+ # than the maximum page size.
1744
+ # Corresponds to the JSON property `nextPageToken`
1745
+ # @return [String]
1746
+ attr_accessor :next_page_token
1747
+
1748
+ # The Response Policy resources.
1749
+ # Corresponds to the JSON property `responsePolicies`
1750
+ # @return [Array<Google::Apis::DnsV1::ResponsePolicy>]
1751
+ attr_accessor :response_policies
1752
+
1753
+ def initialize(**args)
1754
+ update!(**args)
1755
+ end
1756
+
1757
+ # Update properties of this object
1758
+ def update!(**args)
1759
+ @header = args[:header] if args.key?(:header)
1760
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1761
+ @response_policies = args[:response_policies] if args.key?(:response_policies)
1762
+ end
1763
+ end
1764
+
1765
+ #
1766
+ class ResponsePoliciesPatchResponse
1767
+ include Google::Apis::Core::Hashable
1768
+
1769
+ # Elements common to every response.
1770
+ # Corresponds to the JSON property `header`
1771
+ # @return [Google::Apis::DnsV1::ResponseHeader]
1772
+ attr_accessor :header
1773
+
1774
+ # A Response Policy is a collection of selectors that apply to queries made
1775
+ # against one or more Virtual Private Cloud networks.
1776
+ # Corresponds to the JSON property `responsePolicy`
1777
+ # @return [Google::Apis::DnsV1::ResponsePolicy]
1778
+ attr_accessor :response_policy
1779
+
1780
+ def initialize(**args)
1781
+ update!(**args)
1782
+ end
1783
+
1784
+ # Update properties of this object
1785
+ def update!(**args)
1786
+ @header = args[:header] if args.key?(:header)
1787
+ @response_policy = args[:response_policy] if args.key?(:response_policy)
1788
+ end
1789
+ end
1790
+
1791
+ #
1792
+ class ResponsePoliciesUpdateResponse
1793
+ include Google::Apis::Core::Hashable
1794
+
1795
+ # Elements common to every response.
1796
+ # Corresponds to the JSON property `header`
1797
+ # @return [Google::Apis::DnsV1::ResponseHeader]
1798
+ attr_accessor :header
1799
+
1800
+ # A Response Policy is a collection of selectors that apply to queries made
1801
+ # against one or more Virtual Private Cloud networks.
1802
+ # Corresponds to the JSON property `responsePolicy`
1803
+ # @return [Google::Apis::DnsV1::ResponsePolicy]
1804
+ attr_accessor :response_policy
1805
+
1806
+ def initialize(**args)
1807
+ update!(**args)
1808
+ end
1809
+
1810
+ # Update properties of this object
1811
+ def update!(**args)
1812
+ @header = args[:header] if args.key?(:header)
1813
+ @response_policy = args[:response_policy] if args.key?(:response_policy)
1814
+ end
1815
+ end
1816
+
1817
+ # A Response Policy is a collection of selectors that apply to queries made
1818
+ # against one or more Virtual Private Cloud networks.
1819
+ class ResponsePolicy
1820
+ include Google::Apis::Core::Hashable
1821
+
1822
+ # User-provided description for this Response Policy.
1823
+ # Corresponds to the JSON property `description`
1824
+ # @return [String]
1825
+ attr_accessor :description
1826
+
1827
+ # Unique identifier for the resource; defined by the server (output only).
1828
+ # Corresponds to the JSON property `id`
1829
+ # @return [Fixnum]
1830
+ attr_accessor :id
1831
+
1832
+ #
1833
+ # Corresponds to the JSON property `kind`
1834
+ # @return [String]
1835
+ attr_accessor :kind
1836
+
1837
+ # List of network names specifying networks to which this policy is applied.
1838
+ # Corresponds to the JSON property `networks`
1839
+ # @return [Array<Google::Apis::DnsV1::ResponsePolicyNetwork>]
1840
+ attr_accessor :networks
1841
+
1842
+ # User assigned name for this Response Policy.
1843
+ # Corresponds to the JSON property `responsePolicyName`
1844
+ # @return [String]
1845
+ attr_accessor :response_policy_name
1846
+
1847
+ def initialize(**args)
1848
+ update!(**args)
1849
+ end
1850
+
1851
+ # Update properties of this object
1852
+ def update!(**args)
1853
+ @description = args[:description] if args.key?(:description)
1854
+ @id = args[:id] if args.key?(:id)
1855
+ @kind = args[:kind] if args.key?(:kind)
1856
+ @networks = args[:networks] if args.key?(:networks)
1857
+ @response_policy_name = args[:response_policy_name] if args.key?(:response_policy_name)
1858
+ end
1859
+ end
1860
+
1861
+ #
1862
+ class ResponsePolicyNetwork
1863
+ include Google::Apis::Core::Hashable
1864
+
1865
+ #
1866
+ # Corresponds to the JSON property `kind`
1867
+ # @return [String]
1868
+ attr_accessor :kind
1869
+
1870
+ # The fully qualified URL of the VPC network to bind to. This should be
1871
+ # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
1872
+ # networks/`network`
1873
+ # Corresponds to the JSON property `networkUrl`
1874
+ # @return [String]
1875
+ attr_accessor :network_url
1876
+
1877
+ def initialize(**args)
1878
+ update!(**args)
1879
+ end
1880
+
1881
+ # Update properties of this object
1882
+ def update!(**args)
1883
+ @kind = args[:kind] if args.key?(:kind)
1884
+ @network_url = args[:network_url] if args.key?(:network_url)
1885
+ end
1886
+ end
1887
+
1888
+ # A Response Policy Rule is a selector that applies its behavior to queries that
1889
+ # match the selector. Selectors are DNS names, which may be wildcards or exact
1890
+ # matches. Each DNS query subject to a Response Policy matches at most one
1891
+ # ResponsePolicyRule, as identified by the dns_name field with the longest
1892
+ # matching suffix.
1893
+ class ResponsePolicyRule
1894
+ include Google::Apis::Core::Hashable
1895
+
1896
+ # Answer this query with a behavior rather than DNS data.
1897
+ # Corresponds to the JSON property `behavior`
1898
+ # @return [String]
1899
+ attr_accessor :behavior
1900
+
1901
+ # The DNS name (wildcard or exact) to apply this rule to. Must be unique within
1902
+ # the Response Policy Rule.
1903
+ # Corresponds to the JSON property `dnsName`
1904
+ # @return [String]
1905
+ attr_accessor :dns_name
1906
+
1907
+ #
1908
+ # Corresponds to the JSON property `kind`
1909
+ # @return [String]
1910
+ attr_accessor :kind
1911
+
1912
+ # Answer this query directly with DNS data. These ResourceRecordSets override
1913
+ # any other DNS behavior for the matched name; in particular they override
1914
+ # private zones, the public internet, and GCP internal DNS. No SOA nor NS types
1915
+ # are allowed.
1916
+ # Corresponds to the JSON property `localData`
1917
+ # @return [Google::Apis::DnsV1::ResponsePolicyRuleLocalData]
1918
+ attr_accessor :local_data
1919
+
1920
+ # An identifier for this rule. Must be unique with the ResponsePolicy.
1921
+ # Corresponds to the JSON property `ruleName`
1922
+ # @return [String]
1923
+ attr_accessor :rule_name
1924
+
1925
+ def initialize(**args)
1926
+ update!(**args)
1927
+ end
1928
+
1929
+ # Update properties of this object
1930
+ def update!(**args)
1931
+ @behavior = args[:behavior] if args.key?(:behavior)
1932
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
1933
+ @kind = args[:kind] if args.key?(:kind)
1934
+ @local_data = args[:local_data] if args.key?(:local_data)
1935
+ @rule_name = args[:rule_name] if args.key?(:rule_name)
1936
+ end
1937
+ end
1938
+
1939
+ #
1940
+ class ResponsePolicyRuleLocalData
1941
+ include Google::Apis::Core::Hashable
1942
+
1943
+ # All resource record sets for this selector, one per resource record type. The
1944
+ # name must match the dns_name.
1945
+ # Corresponds to the JSON property `localDatas`
1946
+ # @return [Array<Google::Apis::DnsV1::ResourceRecordSet>]
1947
+ attr_accessor :local_datas
1948
+
1949
+ def initialize(**args)
1950
+ update!(**args)
1951
+ end
1952
+
1953
+ # Update properties of this object
1954
+ def update!(**args)
1955
+ @local_datas = args[:local_datas] if args.key?(:local_datas)
1956
+ end
1957
+ end
1958
+
1959
+ #
1960
+ class ResponsePolicyRulesListResponse
1961
+ include Google::Apis::Core::Hashable
1962
+
1963
+ # Elements common to every response.
1964
+ # Corresponds to the JSON property `header`
1965
+ # @return [Google::Apis::DnsV1::ResponseHeader]
1966
+ attr_accessor :header
1967
+
1968
+ # The presence of this field indicates that there exist more results following
1969
+ # your last page of results in pagination order. To fetch them, make another
1970
+ # list request using this value as your page token. This lets you the complete
1971
+ # contents of even very large collections one page at a time. However, if the
1972
+ # contents of the collection change between the first and last paginated list
1973
+ # request, the set of all elements returned are an inconsistent view of the
1974
+ # collection. You cannot retrieve a consistent snapshot of a collection larger
1975
+ # than the maximum page size.
1976
+ # Corresponds to the JSON property `nextPageToken`
1977
+ # @return [String]
1978
+ attr_accessor :next_page_token
1979
+
1980
+ # The Response Policy Rule resources.
1981
+ # Corresponds to the JSON property `responsePolicyRules`
1982
+ # @return [Array<Google::Apis::DnsV1::ResponsePolicyRule>]
1983
+ attr_accessor :response_policy_rules
1984
+
1985
+ def initialize(**args)
1986
+ update!(**args)
1987
+ end
1988
+
1989
+ # Update properties of this object
1990
+ def update!(**args)
1991
+ @header = args[:header] if args.key?(:header)
1992
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1993
+ @response_policy_rules = args[:response_policy_rules] if args.key?(:response_policy_rules)
1994
+ end
1995
+ end
1996
+
1997
+ #
1998
+ class ResponsePolicyRulesPatchResponse
1999
+ include Google::Apis::Core::Hashable
2000
+
2001
+ # Elements common to every response.
2002
+ # Corresponds to the JSON property `header`
2003
+ # @return [Google::Apis::DnsV1::ResponseHeader]
2004
+ attr_accessor :header
2005
+
2006
+ # A Response Policy Rule is a selector that applies its behavior to queries that
2007
+ # match the selector. Selectors are DNS names, which may be wildcards or exact
2008
+ # matches. Each DNS query subject to a Response Policy matches at most one
2009
+ # ResponsePolicyRule, as identified by the dns_name field with the longest
2010
+ # matching suffix.
2011
+ # Corresponds to the JSON property `responsePolicyRule`
2012
+ # @return [Google::Apis::DnsV1::ResponsePolicyRule]
2013
+ attr_accessor :response_policy_rule
2014
+
2015
+ def initialize(**args)
2016
+ update!(**args)
2017
+ end
2018
+
2019
+ # Update properties of this object
2020
+ def update!(**args)
2021
+ @header = args[:header] if args.key?(:header)
2022
+ @response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule)
2023
+ end
2024
+ end
2025
+
2026
+ #
2027
+ class ResponsePolicyRulesUpdateResponse
2028
+ include Google::Apis::Core::Hashable
2029
+
2030
+ # Elements common to every response.
2031
+ # Corresponds to the JSON property `header`
2032
+ # @return [Google::Apis::DnsV1::ResponseHeader]
2033
+ attr_accessor :header
2034
+
2035
+ # A Response Policy Rule is a selector that applies its behavior to queries that
2036
+ # match the selector. Selectors are DNS names, which may be wildcards or exact
2037
+ # matches. Each DNS query subject to a Response Policy matches at most one
2038
+ # ResponsePolicyRule, as identified by the dns_name field with the longest
2039
+ # matching suffix.
2040
+ # Corresponds to the JSON property `responsePolicyRule`
2041
+ # @return [Google::Apis::DnsV1::ResponsePolicyRule]
2042
+ attr_accessor :response_policy_rule
2043
+
2044
+ def initialize(**args)
2045
+ update!(**args)
2046
+ end
2047
+
2048
+ # Update properties of this object
2049
+ def update!(**args)
2050
+ @header = args[:header] if args.key?(:header)
2051
+ @response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule)
2052
+ end
2053
+ end
1503
2054
  end
1504
2055
  end
1505
2056
  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.15.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210809"
25
+ REVISION = "20220127"
26
26
  end
27
27
  end
28
28
  end