google-apis-dns_v1beta2 0.15.0 → 0.19.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 +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/dns_v1beta2/classes.rb +50 -10
- data/lib/google/apis/dns_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/dns_v1beta2/representations.rb +16 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9845ef65fbfd1eeb6c2344ebcdbdc447de23e1226b439dc6b6dbf81a1eebda26
|
4
|
+
data.tar.gz: c26519022f2baed666684d737f3339ae46d753d0e37868b2aa72af73ce9ff3be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cf0329442286e37a8ca08024f1699e6a2da0a32b8e7d64293d58ab640c12e9e38ddfa86d9d258fb1e565419e90f83ba94779457532b95915ba112b21286f3e0
|
7
|
+
data.tar.gz: a1110f18ee68e95c95b1e96f5f842e042ca9acec54f8beba519cf0a72c34267addc9d2abe7758f233f3ad395cff3740f51a71270281a13b4751135b7582c28d8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-dns_v1beta2
|
2
2
|
|
3
|
+
### v0.19.0 (2022-01-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220105
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.18.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.17.0 (2021-11-09)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211103
|
15
|
+
|
16
|
+
### v0.16.0 (2021-10-21)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.15.0 (2021-10-12)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211006
|
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.
|
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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
@@ -1457,12 +1490,14 @@ module Google
|
|
1457
1490
|
class RrSetRoutingPolicy
|
1458
1491
|
include Google::Apis::Core::Hashable
|
1459
1492
|
|
1460
|
-
#
|
1493
|
+
# Configures a RRSetRoutingPolicy that routes based on the geo location of the
|
1494
|
+
# querying user.
|
1461
1495
|
# Corresponds to the JSON property `geo`
|
1462
1496
|
# @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
|
1463
1497
|
attr_accessor :geo
|
1464
1498
|
|
1465
|
-
#
|
1499
|
+
# Configures a RRSetRoutingPolicy that routes based on the geo location of the
|
1500
|
+
# querying user.
|
1466
1501
|
# Corresponds to the JSON property `geoPolicy`
|
1467
1502
|
# @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
|
1468
1503
|
attr_accessor :geo_policy
|
@@ -1472,12 +1507,12 @@ module Google
|
|
1472
1507
|
# @return [String]
|
1473
1508
|
attr_accessor :kind
|
1474
1509
|
|
1475
|
-
#
|
1510
|
+
# Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
|
1476
1511
|
# Corresponds to the JSON property `wrr`
|
1477
1512
|
# @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
|
1478
1513
|
attr_accessor :wrr
|
1479
1514
|
|
1480
|
-
#
|
1515
|
+
# Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
|
1481
1516
|
# Corresponds to the JSON property `wrrPolicy`
|
1482
1517
|
# @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
|
1483
1518
|
attr_accessor :wrr_policy
|
@@ -1496,7 +1531,8 @@ module Google
|
|
1496
1531
|
end
|
1497
1532
|
end
|
1498
1533
|
|
1499
|
-
#
|
1534
|
+
# Configures a RRSetRoutingPolicy that routes based on the geo location of the
|
1535
|
+
# querying user.
|
1500
1536
|
class RrSetRoutingPolicyGeoPolicy
|
1501
1537
|
include Google::Apis::Core::Hashable
|
1502
1538
|
|
@@ -1522,7 +1558,7 @@ module Google
|
|
1522
1558
|
end
|
1523
1559
|
end
|
1524
1560
|
|
1525
|
-
#
|
1561
|
+
# ResourceRecordSet data for one geo location.
|
1526
1562
|
class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
|
1527
1563
|
include Google::Apis::Core::Hashable
|
1528
1564
|
|
@@ -1543,7 +1579,9 @@ module Google
|
|
1543
1579
|
# @return [Array<String>]
|
1544
1580
|
attr_accessor :rrdatas
|
1545
1581
|
|
1546
|
-
# DNSSEC generated signatures for the
|
1582
|
+
# DNSSEC generated signatures for all the rrdata within this item. Note that if
|
1583
|
+
# health checked targets are provided for DNSSEC enabled zones, there's a
|
1584
|
+
# restriction of 1 ip per item. .
|
1547
1585
|
# Corresponds to the JSON property `signatureRrdatas`
|
1548
1586
|
# @return [Array<String>]
|
1549
1587
|
attr_accessor :signature_rrdatas
|
@@ -1561,7 +1599,7 @@ module Google
|
|
1561
1599
|
end
|
1562
1600
|
end
|
1563
1601
|
|
1564
|
-
#
|
1602
|
+
# Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
|
1565
1603
|
class RrSetRoutingPolicyWrrPolicy
|
1566
1604
|
include Google::Apis::Core::Hashable
|
1567
1605
|
|
@@ -1586,7 +1624,7 @@ module Google
|
|
1586
1624
|
end
|
1587
1625
|
end
|
1588
1626
|
|
1589
|
-
#
|
1627
|
+
# A routing block which contains the routing information for one WRR item.
|
1590
1628
|
class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
|
1591
1629
|
include Google::Apis::Core::Hashable
|
1592
1630
|
|
@@ -1600,7 +1638,9 @@ module Google
|
|
1600
1638
|
# @return [Array<String>]
|
1601
1639
|
attr_accessor :rrdatas
|
1602
1640
|
|
1603
|
-
# DNSSEC generated signatures for the
|
1641
|
+
# DNSSEC generated signatures for all the rrdata within this item. Note that if
|
1642
|
+
# health checked targets are provided for DNSSEC enabled zones, there's a
|
1643
|
+
# restriction of 1 ip per item. .
|
1604
1644
|
# Corresponds to the JSON property `signatureRrdatas`
|
1605
1645
|
# @return [Array<String>]
|
1606
1646
|
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.
|
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.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220105"
|
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
|
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.
|
4
|
+
version: 0.19.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:
|
11
|
+
date: 2022-01-17 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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.19.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.
|
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
|