google-apis-dns_v1beta2 0.16.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65ab9ba7554989c42f4db69f82e7c06a628d4b7ad7777ae2181f81b1758a49e8
4
- data.tar.gz: 9e059500cf62ea01e075552ed733b1a7d2c0775e502ae2b945df21295070e671
3
+ metadata.gz: d853a82212ade653db082ec5540785f9ee0c832efad318734e0196052c65f1c9
4
+ data.tar.gz: abac7612f50f496121c1794c4cbf89b2a14f7ce94a86d94b08b92c3a29b5d4cf
5
5
  SHA512:
6
- metadata.gz: 87c24f0093c59033aea270f66dbdcbcc504fe1df1a9e06555de66f77157c52cc7612ef0c607a1f0fad92ea98892cef423843caaa7e8c9449565c3e8f25c2e13b
7
- data.tar.gz: 8cb1b163ba16005bf49dcf903040c3aee941d155e09157fb430e109544d290e503c8c431846c8ce18d4316a16ac61154cb22a90fd47ef256ffd063946248c878
6
+ metadata.gz: 2f124ac93b13b739fb29e336824515ac7d924f791b7c3aa59ec15b41f4cb088a1bfee4cfa620dfb2d19b143e3db91ca712c766f8bda3f63aec3f5a5e5dfefa2a
7
+ data.tar.gz: d8f6360e18eb5c34f4065de51c792437fe17d6fa74823e408d33402ccebc1ef11dad6cf70a3f29082f8dfe716a97b677675103bea7a803afc01a15ff68a0d1cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-dns_v1beta2
2
2
 
3
+ ### v0.20.0 (2022-02-01)
4
+
5
+ * Regenerated from discovery document revision 20220127
6
+
7
+ ### v0.19.0 (2022-01-13)
8
+
9
+ * Regenerated from discovery document revision 20220105
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.18.0 (2021-12-14)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.17.0 (2021-11-09)
17
+
18
+ * Regenerated from discovery document revision 20211103
19
+
3
20
  ### v0.16.0 (2021-10-21)
4
21
 
5
22
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/dns_v1beta2"
51
51
  client = Google::Apis::DnsV1beta2::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::DnsV1beta2::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
@@ -1371,6 +1404,12 @@ module Google
1371
1404
  # @return [Fixnum]
1372
1405
  attr_accessor :networks_per_policy
1373
1406
 
1407
+ # Maximum allowed number of consumer peering zones per target network owned by
1408
+ # this producer project
1409
+ # Corresponds to the JSON property `peeringZonesPerTargetNetwork`
1410
+ # @return [Fixnum]
1411
+ attr_accessor :peering_zones_per_target_network
1412
+
1374
1413
  # Maximum allowed number of policies per project.
1375
1414
  # Corresponds to the JSON property `policies`
1376
1415
  # @return [Fixnum]
@@ -1438,6 +1477,7 @@ module Google
1438
1477
  @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
1439
1478
  @networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone)
1440
1479
  @networks_per_policy = args[:networks_per_policy] if args.key?(:networks_per_policy)
1480
+ @peering_zones_per_target_network = args[:peering_zones_per_target_network] if args.key?(:peering_zones_per_target_network)
1441
1481
  @policies = args[:policies] if args.key?(:policies)
1442
1482
  @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
1443
1483
  @response_policy_rules_per_response_policy = args[:response_policy_rules_per_response_policy] if args.key?(:response_policy_rules_per_response_policy)
@@ -1457,12 +1497,14 @@ module Google
1457
1497
  class RrSetRoutingPolicy
1458
1498
  include Google::Apis::Core::Hashable
1459
1499
 
1460
- #
1500
+ # Configures a RRSetRoutingPolicy that routes based on the geo location of the
1501
+ # querying user.
1461
1502
  # Corresponds to the JSON property `geo`
1462
1503
  # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
1463
1504
  attr_accessor :geo
1464
1505
 
1465
- #
1506
+ # Configures a RRSetRoutingPolicy that routes based on the geo location of the
1507
+ # querying user.
1466
1508
  # Corresponds to the JSON property `geoPolicy`
1467
1509
  # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
1468
1510
  attr_accessor :geo_policy
@@ -1472,12 +1514,12 @@ module Google
1472
1514
  # @return [String]
1473
1515
  attr_accessor :kind
1474
1516
 
1475
- #
1517
+ # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1476
1518
  # Corresponds to the JSON property `wrr`
1477
1519
  # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
1478
1520
  attr_accessor :wrr
1479
1521
 
1480
- #
1522
+ # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1481
1523
  # Corresponds to the JSON property `wrrPolicy`
1482
1524
  # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
1483
1525
  attr_accessor :wrr_policy
@@ -1496,7 +1538,8 @@ module Google
1496
1538
  end
1497
1539
  end
1498
1540
 
1499
- #
1541
+ # Configures a RRSetRoutingPolicy that routes based on the geo location of the
1542
+ # querying user.
1500
1543
  class RrSetRoutingPolicyGeoPolicy
1501
1544
  include Google::Apis::Core::Hashable
1502
1545
 
@@ -1522,7 +1565,7 @@ module Google
1522
1565
  end
1523
1566
  end
1524
1567
 
1525
- #
1568
+ # ResourceRecordSet data for one geo location.
1526
1569
  class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
1527
1570
  include Google::Apis::Core::Hashable
1528
1571
 
@@ -1543,7 +1586,9 @@ module Google
1543
1586
  # @return [Array<String>]
1544
1587
  attr_accessor :rrdatas
1545
1588
 
1546
- # DNSSEC generated signatures for the above geo_rrdata.
1589
+ # DNSSEC generated signatures for all the rrdata within this item. Note that if
1590
+ # health checked targets are provided for DNSSEC enabled zones, there's a
1591
+ # restriction of 1 ip per item. .
1547
1592
  # Corresponds to the JSON property `signatureRrdatas`
1548
1593
  # @return [Array<String>]
1549
1594
  attr_accessor :signature_rrdatas
@@ -1561,7 +1606,7 @@ module Google
1561
1606
  end
1562
1607
  end
1563
1608
 
1564
- #
1609
+ # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1565
1610
  class RrSetRoutingPolicyWrrPolicy
1566
1611
  include Google::Apis::Core::Hashable
1567
1612
 
@@ -1586,7 +1631,7 @@ module Google
1586
1631
  end
1587
1632
  end
1588
1633
 
1589
- #
1634
+ # A routing block which contains the routing information for one WRR item.
1590
1635
  class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
1591
1636
  include Google::Apis::Core::Hashable
1592
1637
 
@@ -1600,7 +1645,9 @@ module Google
1600
1645
  # @return [Array<String>]
1601
1646
  attr_accessor :rrdatas
1602
1647
 
1603
- # DNSSEC generated signatures for the above wrr_rrdata.
1648
+ # DNSSEC generated signatures for all the rrdata within this item. Note that if
1649
+ # health checked targets are provided for DNSSEC enabled zones, there's a
1650
+ # restriction of 1 ip per item. .
1604
1651
  # Corresponds to the JSON property `signatureRrdatas`
1605
1652
  # @return [Array<String>]
1606
1653
  attr_accessor :signature_rrdatas
@@ -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.16.0"
19
+ GEM_VERSION = "0.20.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 = "20211006"
25
+ REVISION = "20220127"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class ManagedZoneCloudLoggingConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class ManagedZoneDnsSecConfig
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -406,6 +412,8 @@ module Google
406
412
  class ManagedZone
407
413
  # @private
408
414
  class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :cloud_logging_config, as: 'cloudLoggingConfig', class: Google::Apis::DnsV1beta2::ManagedZoneCloudLoggingConfig, decorator: Google::Apis::DnsV1beta2::ManagedZoneCloudLoggingConfig::Representation
416
+
409
417
  property :creation_time, as: 'creationTime'
410
418
  property :description, as: 'description'
411
419
  property :dns_name, as: 'dnsName'
@@ -431,6 +439,14 @@ module Google
431
439
  end
432
440
  end
433
441
 
442
+ class ManagedZoneCloudLoggingConfig
443
+ # @private
444
+ class Representation < Google::Apis::Core::JsonRepresentation
445
+ property :enable_logging, as: 'enableLogging'
446
+ property :kind, as: 'kind'
447
+ end
448
+ end
449
+
434
450
  class ManagedZoneDnsSecConfig
435
451
  # @private
436
452
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -690,6 +706,7 @@ module Google
690
706
  property :managed_zones_per_network, as: 'managedZonesPerNetwork'
691
707
  property :networks_per_managed_zone, as: 'networksPerManagedZone'
692
708
  property :networks_per_policy, as: 'networksPerPolicy'
709
+ property :peering_zones_per_target_network, as: 'peeringZonesPerTargetNetwork'
693
710
  property :policies, as: 'policies'
694
711
  property :resource_records_per_rrset, as: 'resourceRecordsPerRrset'
695
712
  property :response_policy_rules_per_response_policy, as: 'responsePolicyRulesPerResponsePolicy'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dns_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.20.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-10-27 00:00:00.000000000 Z
11
+ date: 2022-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud DNS API V1beta2