google-apis-dns_v1beta2 0.10.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/dns_v1beta2/classes.rb +199 -0
- data/lib/google/apis/dns_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/dns_v1beta2/representations.rb +88 -0
- data/lib/google/apis/dns_v1beta2/service.rb +42 -42
- data/lib/google/apis/dns_v1beta2.rb +2 -2
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d86e18eb854c90691a795d26e483a3bb3a2185620963a4d27d0295e6ef9b89db
|
4
|
+
data.tar.gz: e220466f88f65ecadb2b0f9f7e988ceae457eae9c424df569af63b4133bba731
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 160e0a1efe1cebb17ce1ecab60ef7a00295ed1dfed5278ffa015daffbf62e318990cc0d813f4064190ab744a51dbc14d62eed85523dad6c32f2b9eb205cee751
|
7
|
+
data.tar.gz: eab4177ec6816280a3fa2cfb7e3040f72cbbf7d5b4dc49b44ffc6dc6cb2c9136439ee7399b39475ef762e39b9dfa5688c58ea2120bf6012bc9512d1a2e4c50ce
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
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
|
+
|
7
|
+
### v0.13.0 (2021-07-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210712
|
10
|
+
|
11
|
+
### v0.12.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.4.0
|
14
|
+
|
15
|
+
### v0.11.0 (2021-06-24)
|
16
|
+
|
17
|
+
* Regenerated using generator version 0.3.0
|
18
|
+
|
3
19
|
### v0.10.0 (2021-05-19)
|
4
20
|
|
5
21
|
* Unspecified changes
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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'
|
@@ -880,7 +880,7 @@ module Google
|
|
880
880
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
881
881
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
882
882
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
883
|
-
def
|
883
|
+
def create_resource_record_set(project, managed_zone, resource_record_set_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
884
884
|
command = make_simple_command(:post, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets', options)
|
885
885
|
command.request_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
|
886
886
|
command.request_object = resource_record_set_object
|
@@ -924,7 +924,7 @@ module Google
|
|
924
924
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
925
925
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
926
926
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
927
|
-
def
|
927
|
+
def delete_resource_record_set(project, managed_zone, name, type, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
928
928
|
command = make_simple_command(:delete, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
|
929
929
|
command.params['project'] = project unless project.nil?
|
930
930
|
command.params['managedZone'] = managed_zone unless managed_zone.nil?
|
@@ -966,7 +966,7 @@ module Google
|
|
966
966
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
967
967
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
968
968
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
969
|
-
def
|
969
|
+
def get_resource_record_set(project, managed_zone, name, type, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
970
970
|
command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
|
971
971
|
command.response_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
|
972
972
|
command.response_class = Google::Apis::DnsV1beta2::ResourceRecordSet
|
@@ -980,20 +980,24 @@ module Google
|
|
980
980
|
execute_or_queue_command(command, &block)
|
981
981
|
end
|
982
982
|
|
983
|
-
#
|
983
|
+
# Enumerates ResourceRecordSets that you have created but not yet deleted.
|
984
984
|
# @param [String] project
|
985
985
|
# Identifies the project addressed by this request.
|
986
986
|
# @param [String] managed_zone
|
987
987
|
# Identifies the managed zone addressed by this request. Can be the managed zone
|
988
988
|
# name or ID.
|
989
|
+
# @param [Fixnum] max_results
|
990
|
+
# Optional. Maximum number of results to be returned. If unspecified, the server
|
991
|
+
# decides how many results to return.
|
989
992
|
# @param [String] name
|
990
|
-
#
|
993
|
+
# Restricts the list to return only records with this fully qualified domain
|
994
|
+
# name.
|
995
|
+
# @param [String] page_token
|
996
|
+
# Optional. A tag returned by a previous list request that was truncated. Use
|
997
|
+
# this parameter to continue a previous list request.
|
991
998
|
# @param [String] type
|
992
|
-
#
|
993
|
-
#
|
994
|
-
# @param [String] client_operation_id
|
995
|
-
# For mutating operation requests only. An optional identifier specified by the
|
996
|
-
# client. Must be unique for operation resources in the Operations collection.
|
999
|
+
# Restricts the list to return only records of this type. If present, the "name"
|
1000
|
+
# parameter must also be present.
|
997
1001
|
# @param [String] fields
|
998
1002
|
# Selector specifying which fields to include in a partial response.
|
999
1003
|
# @param [String] quota_user
|
@@ -1003,48 +1007,43 @@ module Google
|
|
1003
1007
|
# Request-specific options
|
1004
1008
|
#
|
1005
1009
|
# @yield [result, err] Result & error if block supplied
|
1006
|
-
# @yieldparam result [Google::Apis::DnsV1beta2::
|
1010
|
+
# @yieldparam result [Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse] parsed result object
|
1007
1011
|
# @yieldparam err [StandardError] error object if request failed
|
1008
1012
|
#
|
1009
|
-
# @return [Google::Apis::DnsV1beta2::
|
1013
|
+
# @return [Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse]
|
1010
1014
|
#
|
1011
1015
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1012
1016
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1013
1017
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1014
|
-
def
|
1015
|
-
command = make_simple_command(:
|
1016
|
-
command.
|
1017
|
-
command.
|
1018
|
-
command.response_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
|
1019
|
-
command.response_class = Google::Apis::DnsV1beta2::ResourceRecordSet
|
1018
|
+
def list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1019
|
+
command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets', options)
|
1020
|
+
command.response_representation = Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse::Representation
|
1021
|
+
command.response_class = Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse
|
1020
1022
|
command.params['project'] = project unless project.nil?
|
1021
1023
|
command.params['managedZone'] = managed_zone unless managed_zone.nil?
|
1022
|
-
command.
|
1023
|
-
command.
|
1024
|
-
command.query['
|
1024
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
1025
|
+
command.query['name'] = name unless name.nil?
|
1026
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1027
|
+
command.query['type'] = type unless type.nil?
|
1025
1028
|
command.query['fields'] = fields unless fields.nil?
|
1026
1029
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1027
1030
|
execute_or_queue_command(command, &block)
|
1028
1031
|
end
|
1029
1032
|
|
1030
|
-
#
|
1033
|
+
# Applies a partial update to an existing ResourceRecordSet.
|
1031
1034
|
# @param [String] project
|
1032
1035
|
# Identifies the project addressed by this request.
|
1033
1036
|
# @param [String] managed_zone
|
1034
1037
|
# Identifies the managed zone addressed by this request. Can be the managed zone
|
1035
1038
|
# name or ID.
|
1036
|
-
# @param [Fixnum] max_results
|
1037
|
-
# Optional. Maximum number of results to be returned. If unspecified, the server
|
1038
|
-
# decides how many results to return.
|
1039
1039
|
# @param [String] name
|
1040
|
-
#
|
1041
|
-
# name.
|
1042
|
-
# @param [String] page_token
|
1043
|
-
# Optional. A tag returned by a previous list request that was truncated. Use
|
1044
|
-
# this parameter to continue a previous list request.
|
1040
|
+
# Fully qualified domain name.
|
1045
1041
|
# @param [String] type
|
1046
|
-
#
|
1047
|
-
#
|
1042
|
+
# RRSet type.
|
1043
|
+
# @param [Google::Apis::DnsV1beta2::ResourceRecordSet] resource_record_set_object
|
1044
|
+
# @param [String] client_operation_id
|
1045
|
+
# For mutating operation requests only. An optional identifier specified by the
|
1046
|
+
# client. Must be unique for operation resources in the Operations collection.
|
1048
1047
|
# @param [String] fields
|
1049
1048
|
# Selector specifying which fields to include in a partial response.
|
1050
1049
|
# @param [String] quota_user
|
@@ -1054,24 +1053,25 @@ module Google
|
|
1054
1053
|
# Request-specific options
|
1055
1054
|
#
|
1056
1055
|
# @yield [result, err] Result & error if block supplied
|
1057
|
-
# @yieldparam result [Google::Apis::DnsV1beta2::
|
1056
|
+
# @yieldparam result [Google::Apis::DnsV1beta2::ResourceRecordSet] parsed result object
|
1058
1057
|
# @yieldparam err [StandardError] error object if request failed
|
1059
1058
|
#
|
1060
|
-
# @return [Google::Apis::DnsV1beta2::
|
1059
|
+
# @return [Google::Apis::DnsV1beta2::ResourceRecordSet]
|
1061
1060
|
#
|
1062
1061
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1063
1062
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1064
1063
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1065
|
-
def
|
1066
|
-
command = make_simple_command(:
|
1067
|
-
command.
|
1068
|
-
command.
|
1064
|
+
def patch_resource_record_set(project, managed_zone, name, type, resource_record_set_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1065
|
+
command = make_simple_command(:patch, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
|
1066
|
+
command.request_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
|
1067
|
+
command.request_object = resource_record_set_object
|
1068
|
+
command.response_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
|
1069
|
+
command.response_class = Google::Apis::DnsV1beta2::ResourceRecordSet
|
1069
1070
|
command.params['project'] = project unless project.nil?
|
1070
1071
|
command.params['managedZone'] = managed_zone unless managed_zone.nil?
|
1071
|
-
command.
|
1072
|
-
command.
|
1073
|
-
command.query['
|
1074
|
-
command.query['type'] = type unless type.nil?
|
1072
|
+
command.params['name'] = name unless name.nil?
|
1073
|
+
command.params['type'] = type unless type.nil?
|
1074
|
+
command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
|
1075
1075
|
command.query['fields'] = fields unless fields.nil?
|
1076
1076
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1077
1077
|
execute_or_queue_command(command, &block)
|
@@ -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
|
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
|
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,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dns_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud DNS API V1beta2. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.14.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1beta2
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|