google-apis-dns_v1 0.1.0 → 0.2.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: 9dc31440066eae80b12acde3d6105cf0d9026c784975d1ace751fd7c6f90c4ad
4
- data.tar.gz: b7dbf389ce5e42c9c73efa7443bf8ee9c2e82eef7f7e40c18a13c257c25541a6
3
+ metadata.gz: 03fd7edaab0f126ebdea68b483e0a87dc06ab96556aaf930c2e2a3dc3b507c9c
4
+ data.tar.gz: 959d27e88566ca3b528b92f84962810fde52712a30be5a61d5c76328f4e0987b
5
5
  SHA512:
6
- metadata.gz: 22af0fcfb494f7a3b03b8e2ef4e9b8769781a53a5058836723d9258968a7d6126959a974234a98b478e1c568a97816b2c4f6ba78ab75161ba24994a21a9ba553
7
- data.tar.gz: 3e7cae17663f65c31ec38bb8f7043fa38f828c50be6fd7a0e5ce0cb3d94c43850dd9eb6aa0e789ff8be70f9cc07ed5326ae51ebec087ea8a853c0e48d5997795
6
+ metadata.gz: 47eeaa1af8a034fbeaed8f2c7ab9eeb9e190d755731fd77c75d948f2964cbfee11704a79b5fad9389d445bf1c7bc4ee87ed0d4fa81b0f8ff0f2adaef53fea26f
7
+ data.tar.gz: 0c93344d0b2f382c955c58c9ecff5473d0cdb6e786f96c8881a9ec555e27ea5cb77c4848f2f6af6b912c5ffe5228e8ee98047987b653610556345face09ad04a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dns_v1
2
2
 
3
+ ### v0.2.0 (2021-02-11)
4
+
5
+ * Regenerated from discovery document revision 20210204
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -1273,11 +1273,6 @@ module Google
1273
1273
  # @return [Fixnum]
1274
1274
  attr_accessor :dns_keys_per_managed_zone
1275
1275
 
1276
- # Maximum allowed number of GKE clusters per policy.
1277
- # Corresponds to the JSON property `gkeClustersPerPolicy`
1278
- # @return [Fixnum]
1279
- attr_accessor :gke_clusters_per_policy
1280
-
1281
1276
  #
1282
1277
  # Corresponds to the JSON property `kind`
1283
1278
  # @return [String]
@@ -1357,7 +1352,6 @@ module Google
1357
1352
  # Update properties of this object
1358
1353
  def update!(**args)
1359
1354
  @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
1360
- @gke_clusters_per_policy = args[:gke_clusters_per_policy] if args.key?(:gke_clusters_per_policy)
1361
1355
  @kind = args[:kind] if args.key?(:kind)
1362
1356
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
1363
1357
  @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
@@ -1375,179 +1369,6 @@ module Google
1375
1369
  end
1376
1370
  end
1377
1371
 
1378
- # A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
1379
- # dynamically with the response varying based on configured properties such as
1380
- # geolocation or by weighted random selection.
1381
- class RrSetRoutingPolicy
1382
- include Google::Apis::Core::Hashable
1383
-
1384
- #
1385
- # Corresponds to the JSON property `geoPolicy`
1386
- # @return [Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy]
1387
- attr_accessor :geo_policy
1388
-
1389
- #
1390
- # Corresponds to the JSON property `kind`
1391
- # @return [String]
1392
- attr_accessor :kind
1393
-
1394
- #
1395
- # Corresponds to the JSON property `wrrPolicy`
1396
- # @return [Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy]
1397
- attr_accessor :wrr_policy
1398
-
1399
- def initialize(**args)
1400
- update!(**args)
1401
- end
1402
-
1403
- # Update properties of this object
1404
- def update!(**args)
1405
- @geo_policy = args[:geo_policy] if args.key?(:geo_policy)
1406
- @kind = args[:kind] if args.key?(:kind)
1407
- @wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
1408
- end
1409
- end
1410
-
1411
- #
1412
- class RrSetRoutingPolicyGeoPolicy
1413
- include Google::Apis::Core::Hashable
1414
-
1415
- # If the health check for the primary target for a geo location returns an
1416
- # unhealthy status, the failover target is returned instead. This failover
1417
- # configuration is not mandatory. If a failover is not provided, the primary
1418
- # target won't be healthchecked - we'll return the primarily configured rrdata
1419
- # irrespective of whether it is healthy or not.
1420
- # Corresponds to the JSON property `failovers`
1421
- # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1422
- attr_accessor :failovers
1423
-
1424
- # The primary geo routing configuration. If there are multiple items with the
1425
- # same location, an error is returned instead.
1426
- # Corresponds to the JSON property `items`
1427
- # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1428
- attr_accessor :items
1429
-
1430
- #
1431
- # Corresponds to the JSON property `kind`
1432
- # @return [String]
1433
- attr_accessor :kind
1434
-
1435
- def initialize(**args)
1436
- update!(**args)
1437
- end
1438
-
1439
- # Update properties of this object
1440
- def update!(**args)
1441
- @failovers = args[:failovers] if args.key?(:failovers)
1442
- @items = args[:items] if args.key?(:items)
1443
- @kind = args[:kind] if args.key?(:kind)
1444
- end
1445
- end
1446
-
1447
- #
1448
- class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
1449
- include Google::Apis::Core::Hashable
1450
-
1451
- #
1452
- # Corresponds to the JSON property `kind`
1453
- # @return [String]
1454
- attr_accessor :kind
1455
-
1456
- # The geo-location granularity is a GCP region. This location string should
1457
- # correspond to a GCP region. e.g "us-east1", "southamerica-east1", "asia-east1",
1458
- # etc.
1459
- # Corresponds to the JSON property `location`
1460
- # @return [String]
1461
- attr_accessor :location
1462
-
1463
- #
1464
- # Corresponds to the JSON property `rrdatas`
1465
- # @return [Array<String>]
1466
- attr_accessor :rrdatas
1467
-
1468
- # DNSSEC generated signatures for the above geo_rrdata.
1469
- # Corresponds to the JSON property `signatureRrdatas`
1470
- # @return [Array<String>]
1471
- attr_accessor :signature_rrdatas
1472
-
1473
- def initialize(**args)
1474
- update!(**args)
1475
- end
1476
-
1477
- # Update properties of this object
1478
- def update!(**args)
1479
- @kind = args[:kind] if args.key?(:kind)
1480
- @location = args[:location] if args.key?(:location)
1481
- @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1482
- @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1483
- end
1484
- end
1485
-
1486
- #
1487
- class RrSetRoutingPolicyWrrPolicy
1488
- include Google::Apis::Core::Hashable
1489
-
1490
- #
1491
- # Corresponds to the JSON property `items`
1492
- # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
1493
- attr_accessor :items
1494
-
1495
- #
1496
- # Corresponds to the JSON property `kind`
1497
- # @return [String]
1498
- attr_accessor :kind
1499
-
1500
- def initialize(**args)
1501
- update!(**args)
1502
- end
1503
-
1504
- # Update properties of this object
1505
- def update!(**args)
1506
- @items = args[:items] if args.key?(:items)
1507
- @kind = args[:kind] if args.key?(:kind)
1508
- end
1509
- end
1510
-
1511
- #
1512
- class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
1513
- include Google::Apis::Core::Hashable
1514
-
1515
- #
1516
- # Corresponds to the JSON property `kind`
1517
- # @return [String]
1518
- attr_accessor :kind
1519
-
1520
- #
1521
- # Corresponds to the JSON property `rrdatas`
1522
- # @return [Array<String>]
1523
- attr_accessor :rrdatas
1524
-
1525
- # DNSSEC generated signatures for the above wrr_rrdata.
1526
- # Corresponds to the JSON property `signatureRrdatas`
1527
- # @return [Array<String>]
1528
- attr_accessor :signature_rrdatas
1529
-
1530
- # The weight corresponding to this subset of rrdata. When multiple
1531
- # WeightedRoundRobinPolicyItems are configured, the probability of returning an
1532
- # rrset is proportional to its weight relative to the sum of weights configured
1533
- # for all items. This weight should be a decimal in the range [0,1].
1534
- # Corresponds to the JSON property `weight`
1535
- # @return [Float]
1536
- attr_accessor :weight
1537
-
1538
- def initialize(**args)
1539
- update!(**args)
1540
- end
1541
-
1542
- # Update properties of this object
1543
- def update!(**args)
1544
- @kind = args[:kind] if args.key?(:kind)
1545
- @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1546
- @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1547
- @weight = args[:weight] if args.key?(:weight)
1548
- end
1549
- end
1550
-
1551
1372
  # A unit of data that will be returned by the DNS servers.
1552
1373
  class ResourceRecordSet
1553
1374
  include Google::Apis::Core::Hashable
@@ -1562,13 +1383,6 @@ module Google
1562
1383
  # @return [String]
1563
1384
  attr_accessor :name
1564
1385
 
1565
- # A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
1566
- # dynamically with the response varying based on configured properties such as
1567
- # geolocation or by weighted random selection.
1568
- # Corresponds to the JSON property `routingPolicy`
1569
- # @return [Google::Apis::DnsV1::RrSetRoutingPolicy]
1570
- attr_accessor :routing_policy
1571
-
1572
1386
  # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1573
1387
  # examples.
1574
1388
  # Corresponds to the JSON property `rrdatas`
@@ -1599,7 +1413,6 @@ module Google
1599
1413
  def update!(**args)
1600
1414
  @kind = args[:kind] if args.key?(:kind)
1601
1415
  @name = args[:name] if args.key?(:name)
1602
- @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1603
1416
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1604
1417
  @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1605
1418
  @ttl = args[:ttl] if args.key?(:ttl)
@@ -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.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201127"
25
+ REVISION = "20210204"
26
26
  end
27
27
  end
28
28
  end
@@ -208,36 +208,6 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
- class RrSetRoutingPolicy
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
- class RrSetRoutingPolicyGeoPolicy
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
219
-
220
- include Google::Apis::Core::JsonObjectSupport
221
- end
222
-
223
- class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
224
- class Representation < Google::Apis::Core::JsonRepresentation; end
225
-
226
- include Google::Apis::Core::JsonObjectSupport
227
- end
228
-
229
- class RrSetRoutingPolicyWrrPolicy
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
- class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
236
- class Representation < Google::Apis::Core::JsonRepresentation; end
237
-
238
- include Google::Apis::Core::JsonObjectSupport
239
- end
240
-
241
211
  class ResourceRecordSet
242
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
213
 
@@ -597,7 +567,6 @@ module Google
597
567
  # @private
598
568
  class Representation < Google::Apis::Core::JsonRepresentation
599
569
  property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone'
600
- property :gke_clusters_per_policy, as: 'gkeClustersPerPolicy'
601
570
  property :kind, as: 'kind'
602
571
  property :managed_zones, as: 'managedZones'
603
572
  property :managed_zones_per_network, as: 'managedZonesPerNetwork'
@@ -616,64 +585,11 @@ module Google
616
585
  end
617
586
  end
618
587
 
619
- class RrSetRoutingPolicy
620
- # @private
621
- class Representation < Google::Apis::Core::JsonRepresentation
622
- property :geo_policy, as: 'geoPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy::Representation
623
-
624
- property :kind, as: 'kind'
625
- property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy::Representation
626
-
627
- end
628
- end
629
-
630
- class RrSetRoutingPolicyGeoPolicy
631
- # @private
632
- class Representation < Google::Apis::Core::JsonRepresentation
633
- collection :failovers, as: 'failovers', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
634
-
635
- collection :items, as: 'items', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
636
-
637
- property :kind, as: 'kind'
638
- end
639
- end
640
-
641
- class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
642
- # @private
643
- class Representation < Google::Apis::Core::JsonRepresentation
644
- property :kind, as: 'kind'
645
- property :location, as: 'location'
646
- collection :rrdatas, as: 'rrdatas'
647
- collection :signature_rrdatas, as: 'signatureRrdatas'
648
- end
649
- end
650
-
651
- class RrSetRoutingPolicyWrrPolicy
652
- # @private
653
- class Representation < Google::Apis::Core::JsonRepresentation
654
- collection :items, as: 'items', class: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem::Representation
655
-
656
- property :kind, as: 'kind'
657
- end
658
- end
659
-
660
- class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
661
- # @private
662
- class Representation < Google::Apis::Core::JsonRepresentation
663
- property :kind, as: 'kind'
664
- collection :rrdatas, as: 'rrdatas'
665
- collection :signature_rrdatas, as: 'signatureRrdatas'
666
- property :weight, as: 'weight'
667
- end
668
- end
669
-
670
588
  class ResourceRecordSet
671
589
  # @private
672
590
  class Representation < Google::Apis::Core::JsonRepresentation
673
591
  property :kind, as: 'kind'
674
592
  property :name, as: 'name'
675
- property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicy::Representation
676
-
677
593
  collection :rrdatas, as: 'rrdatas'
678
594
  collection :signature_rrdatas, as: 'signatureRrdatas'
679
595
  property :ttl, as: 'ttl'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dns_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud DNS API V1