google-apis-dns_v1beta2 0.14.0 → 0.18.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: d86e18eb854c90691a795d26e483a3bb3a2185620963a4d27d0295e6ef9b89db
4
- data.tar.gz: e220466f88f65ecadb2b0f9f7e988ceae457eae9c424df569af63b4133bba731
3
+ metadata.gz: ae8fbacaa900570c44cd0a5f114969a1f936205f402a09d393bc51a85e8446a7
4
+ data.tar.gz: 92003615b83f7a3df4a1ad4175eec1852fcc9e5c6db40bd5780852b4c4159f97
5
5
  SHA512:
6
- metadata.gz: 160e0a1efe1cebb17ce1ecab60ef7a00295ed1dfed5278ffa015daffbf62e318990cc0d813f4064190ab744a51dbc14d62eed85523dad6c32f2b9eb205cee751
7
- data.tar.gz: eab4177ec6816280a3fa2cfb7e3040f72cbbf7d5b4dc49b44ffc6dc6cb2c9136439ee7399b39475ef762e39b9dfa5688c58ea2120bf6012bc9512d1a2e4c50ce
6
+ metadata.gz: 5700a3ff70b77aafcae18d080a6dd6f5fef099cd130e1d2813da539656914274836bdc4bc4b9c180812fca1ee995cdb7b7b86b8d3f82fe785d2e0a579b0d4b9a
7
+ data.tar.gz: c5f1946435503d0de7c8bd1c91d3fbde911dbac80fcd482e8562b09b90de805bae5c1363d479600ec436b79dc89b4b2bbfd725607f6702b16c8e7430b12fbc13
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-dns_v1beta2
2
2
 
3
+ ### v0.18.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.17.0 (2021-11-09)
8
+
9
+ * Regenerated from discovery document revision 20211103
10
+
11
+ ### v0.16.0 (2021-10-21)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.15.0 (2021-10-12)
16
+
17
+ * Regenerated from discovery document revision 20211006
18
+
3
19
  ### v0.14.0 (2021-09-01)
4
20
 
5
21
  * Regenerated from discovery document revision 20210809
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.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Dns service in particular.)
67
67
 
@@ -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
@@ -1500,15 +1533,6 @@ module Google
1500
1533
  class RrSetRoutingPolicyGeoPolicy
1501
1534
  include Google::Apis::Core::Hashable
1502
1535
 
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
1536
  # The primary geo routing configuration. If there are multiple items with the
1513
1537
  # same location, an error is returned instead.
1514
1538
  # Corresponds to the JSON property `items`
@@ -1526,7 +1550,6 @@ module Google
1526
1550
 
1527
1551
  # Update properties of this object
1528
1552
  def update!(**args)
1529
- @failovers = args[:failovers] if args.key?(:failovers)
1530
1553
  @items = args[:items] if args.key?(:items)
1531
1554
  @kind = args[:kind] if args.key?(:kind)
1532
1555
  end
@@ -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.14.0"
19
+ GEM_VERSION = "0.18.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 = "20210809"
25
+ REVISION = "20211103"
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
@@ -722,8 +738,6 @@ module Google
722
738
  class RrSetRoutingPolicyGeoPolicy
723
739
  # @private
724
740
  class Representation < Google::Apis::Core::JsonRepresentation
725
- collection :failovers, as: 'failovers', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
726
-
727
741
  collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
728
742
 
729
743
  property :kind, as: 'kind'
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.14.0
4
+ version: 0.18.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-09-06 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.14.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1beta2
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.18.0
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: []
65
65
  require_paths:
@@ -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.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud DNS API V1beta2