google-apis-dns_v1beta2 0.1.0 → 0.6.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: b28b213a8c8958960117dbf35f77f162514db08f3d1885c20502214eb31c7daf
4
- data.tar.gz: 27f5ce1ab858249f6f75d0b567874a8b267cecbf62c6d861ce1d80a6682294b9
3
+ metadata.gz: 2ebb56888a2bd1d49fb830da4557a293368a9dfa78a4e6cf0b44313eb1a1781a
4
+ data.tar.gz: bb509890120493a08987c6380c31d3b4f3d9ecb11c6776005c68084a0a6d3e4c
5
5
  SHA512:
6
- metadata.gz: c7f834ff3d755489256e976acec96c3d82e7126e3b0c5cebbef0cbfa1f3076040c36707c4a0286928199b66afad48f5a3c8bd4c0e1f108cbd0cc974a78a307f1
7
- data.tar.gz: 7ba735775ad1ffb3842acd1c1b11b892976b04f9843d11981ee12be1c340d0378e2a553f99eaf2af4ed4cf77971c1c0d8cae559c545b97292560391bfa2cfb72
6
+ metadata.gz: 20e47faf5d4d041229d0505411109263272e432fafefce2df9b090e04092c73900438909d7bd3f1131c5004dcb63cce949004fc8947c4bc25797c84027e96bd3
7
+ data.tar.gz: c0f075d638f262ee5d6fbdc9d76a974c57da367a48de148c3b6a8acd652347cf91fef6974a5c74621779020c1975ff6c95dee63979dca7c6c146bb7a95b5c23c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-dns_v1beta2
2
2
 
3
+ ### v0.6.0 (2021-03-17)
4
+
5
+ * Regenerated from discovery document revision 20210309
6
+ * Regenerated using generator version 0.2.0
7
+
8
+ ### v0.5.0 (2021-03-04)
9
+
10
+ * Regenerated from discovery document revision 20210227
11
+
12
+ ### v0.4.0 (2021-02-23)
13
+
14
+ * Regenerated from discovery document revision 20210213
15
+
16
+ ### v0.3.0 (2021-02-11)
17
+
18
+ * Regenerated from discovery document revision 20210204
19
+
20
+ ### v0.2.0 (2021-01-27)
21
+
22
+ * Regenerated from discovery document revision 20210122
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -65,7 +65,7 @@ module Google
65
65
  attr_accessor :start_time
66
66
 
67
67
  # Status of the operation (output only). A status of "done" means that the
68
- # request to update the authoritative servers has been sent but the servers
68
+ # request to update the authoritative servers has been sent, but the servers
69
69
  # might not be updated yet.
70
70
  # Corresponds to the JSON property `status`
71
71
  # @return [String]
@@ -112,7 +112,7 @@ module Google
112
112
  # list request using this value as your pagination token. In this way you can
113
113
  # retrieve the complete contents of even very large collections one page at a
114
114
  # time. However, if the contents of the collection change between the first and
115
- # last paginated list request, the set of all elements returned will be an
115
+ # last paginated list request, the set of all elements returned are an
116
116
  # inconsistent view of the collection. There is no way to retrieve a "snapshot"
117
117
  # of collections larger than the maximum page size.
118
118
  # Corresponds to the JSON property `nextPageToken`
@@ -166,15 +166,15 @@ module Google
166
166
  # @return [String]
167
167
  attr_accessor :id
168
168
 
169
- # Active keys will be used to sign subsequent changes to the ManagedZone.
170
- # Inactive keys will still be present as DNSKEY Resource Records for the use of
171
- # resolvers validating existing signatures.
169
+ # Active keys are used to sign subsequent changes to the ManagedZone. Inactive
170
+ # keys are still present as DNSKEY Resource Records for the use of resolvers
171
+ # validating existing signatures.
172
172
  # Corresponds to the JSON property `isActive`
173
173
  # @return [Boolean]
174
174
  attr_accessor :is_active
175
175
  alias_method :is_active?, :is_active
176
176
 
177
- # Length of the key in bits. Specified at creation time then immutable.
177
+ # Length of the key in bits. Specified at creation time, and then immutable.
178
178
  # Corresponds to the JSON property `keyLength`
179
179
  # @return [Fixnum]
180
180
  attr_accessor :key_length
@@ -200,10 +200,10 @@ module Google
200
200
  attr_accessor :public_key
201
201
 
202
202
  # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
203
- # Secure Entry Point flag set and, when active, will be used to sign only
204
- # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
205
- # will be cleared and this key will be used to sign only resource record sets of
206
- # other types. Immutable after creation time.
203
+ # Secure Entry Point flag set and, when active, are used to sign only resource
204
+ # record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared,
205
+ # and this key is used to sign only resource record sets of other types.
206
+ # Immutable after creation time.
207
207
  # Corresponds to the JSON property `type`
208
208
  # @return [String]
209
209
  attr_accessor :type
@@ -270,10 +270,10 @@ module Google
270
270
  attr_accessor :key_length
271
271
 
272
272
  # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK).
273
- # Key signing keys have the Secure Entry Point flag set and, when active, will
274
- # only be used to sign resource record sets of type DNSKEY. Zone signing keys do
275
- # not have the Secure Entry Point flag set and will be used to sign all other
276
- # types of resource record sets.
273
+ # Key signing keys have the Secure Entry Point flag set and, when active, are
274
+ # only used to sign resource record sets of type DNSKEY. Zone signing keys do
275
+ # not have the Secure Entry Point flag set and are used to sign all other types
276
+ # of resource record sets.
277
277
  # Corresponds to the JSON property `keyType`
278
278
  # @return [String]
279
279
  attr_accessor :key_type
@@ -320,7 +320,7 @@ module Google
320
320
  # list request using this value as your pagination token. In this way you can
321
321
  # retrieve the complete contents of even very large collections one page at a
322
322
  # time. However, if the contents of the collection change between the first and
323
- # last paginated list request, the set of all elements returned will be an
323
+ # last paginated list request, the set of all elements returned are an
324
324
  # inconsistent view of the collection. There is no way to retrieve a "snapshot"
325
325
  # of collections larger than the maximum page size.
326
326
  # Corresponds to the JSON property `nextPageToken`
@@ -399,7 +399,8 @@ module Google
399
399
 
400
400
  # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet
401
401
  # is a set of DNS name servers that all host the same ManagedZones. Most users
402
- # will leave this field unset.
402
+ # leave this field unset. If you need to use this field, contact your account
403
+ # team.
403
404
  # Corresponds to the JSON property `nameServerSet`
404
405
  # @return [String]
405
406
  attr_accessor :name_server_set
@@ -423,7 +424,7 @@ module Google
423
424
  attr_accessor :private_visibility_config
424
425
 
425
426
  # The presence of this field indicates that this is a managed reverse lookup
426
- # zone and Cloud DNS will resolve reverse lookup queries using automatically
427
+ # zone and Cloud DNS resolves reverse lookup queries using automatically
427
428
  # configured records for VPC resources. This only applies to networks listed
428
429
  # under private_visibility_config.
429
430
  # Corresponds to the JSON property `reverseLookupConfig`
@@ -514,7 +515,7 @@ module Google
514
515
  # @return [String]
515
516
  attr_accessor :kind
516
517
 
517
- # List of target name servers to forward to. Cloud DNS will select the best
518
+ # List of target name servers to forward to. Cloud DNS selects the best
518
519
  # available name server if more than one target is given.
519
520
  # Corresponds to the JSON property `targetNameServers`
520
521
  # @return [Array<Google::Apis::DnsV1beta2::ManagedZoneForwardingConfigNameServerTarget>]
@@ -536,9 +537,10 @@ module Google
536
537
  include Google::Apis::Core::Hashable
537
538
 
538
539
  # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud
539
- # DNS will make forwarding decision based on address ranges, i.e. RFC1918
540
- # addresses go to the VPC, non-RFC1918 addresses go to the Internet. When set to
541
- # PRIVATE, Cloud DNS will always send queries through VPC for this target.
540
+ # DNS makes forwarding decisions based on IP address ranges; that is, RFC1918
541
+ # addresses go to the VPC network, non-RFC1918 addresses go to the internet.
542
+ # When set to PRIVATE, Cloud DNS always sends queries through the VPC network
543
+ # for this target.
542
544
  # Corresponds to the JSON property `forwardingPath`
543
545
  # @return [String]
544
546
  attr_accessor :forwarding_path
@@ -548,6 +550,12 @@ module Google
548
550
  # @return [String]
549
551
  attr_accessor :ipv4_address
550
552
 
553
+ # IPv6 address of a target name server. Does not accept both fields (ipv4 & ipv6)
554
+ # being populated.
555
+ # Corresponds to the JSON property `ipv6Address`
556
+ # @return [String]
557
+ attr_accessor :ipv6_address
558
+
551
559
  #
552
560
  # Corresponds to the JSON property `kind`
553
561
  # @return [String]
@@ -561,6 +569,7 @@ module Google
561
569
  def update!(**args)
562
570
  @forwarding_path = args[:forwarding_path] if args.key?(:forwarding_path)
563
571
  @ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
572
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
564
573
  @kind = args[:kind] if args.key?(:kind)
565
574
  end
566
575
  end
@@ -584,9 +593,9 @@ module Google
584
593
  # list request using this value as your page token. In this way you can retrieve
585
594
  # the complete contents of even very large collections one page at a time.
586
595
  # However, if the contents of the collection change between the first and last
587
- # paginated list request, the set of all elements returned will be an
588
- # inconsistent view of the collection. There is no way to retrieve a consistent
589
- # snapshot of a collection larger than the maximum page size.
596
+ # paginated list request, the set of all elements returned are an inconsistent
597
+ # view of the collection. There is no way to retrieve a consistent snapshot of a
598
+ # collection larger than the maximum page size.
590
599
  # Corresponds to the JSON property `nextPageToken`
591
600
  # @return [String]
592
601
  attr_accessor :next_page_token
@@ -704,9 +713,9 @@ module Google
704
713
  # @return [String]
705
714
  attr_accessor :kind
706
715
 
707
- # The fully qualified URL of the VPC network to bind to. This should be
708
- # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
709
- # networks/`network`
716
+ # The fully qualified URL of the VPC network to bind to. Format this URL like
717
+ # https://www.googleapis.com/compute/v1/projects/`project`/global/networks/`
718
+ # network`
710
719
  # Corresponds to the JSON property `networkUrl`
711
720
  # @return [String]
712
721
  attr_accessor :network_url
@@ -770,8 +779,8 @@ module Google
770
779
  class ManagedZoneServiceDirectoryConfigNamespace
771
780
  include Google::Apis::Core::Hashable
772
781
 
773
- # The time that the namespace backing this zone was deleted, empty string if it
774
- # still exists. This is in RFC3339 text format. Output only.
782
+ # The time that the namespace backing this zone was deleted; an empty string if
783
+ # it still exists. This is in RFC3339 text format. Output only.
775
784
  # Corresponds to the JSON property `deletionTime`
776
785
  # @return [String]
777
786
  attr_accessor :deletion_time
@@ -824,9 +833,9 @@ module Google
824
833
  # list request using this value as your page token. In this way you can retrieve
825
834
  # the complete contents of even very large collections one page at a time.
826
835
  # However, if the contents of the collection change between the first and last
827
- # paginated list request, the set of all elements returned will be an
828
- # inconsistent view of the collection. There is no way to retrieve a consistent
829
- # snapshot of a collection larger than the maximum page size.
836
+ # paginated list request, the set of all elements returned are an inconsistent
837
+ # view of the collection. There is no way to retrieve a consistent snapshot of a
838
+ # collection larger than the maximum page size.
830
839
  # Corresponds to the JSON property `nextPageToken`
831
840
  # @return [String]
832
841
  attr_accessor :next_page_token
@@ -989,9 +998,9 @@ module Google
989
998
  # list request using this value as your page token. In this way you can retrieve
990
999
  # the complete contents of even very large collections one page at a time.
991
1000
  # However, if the contents of the collection change between the first and last
992
- # paginated list request, the set of all elements returned will be an
993
- # inconsistent view of the collection. There is no way to retrieve a consistent
994
- # snapshot of a collection larger than the maximum page size.
1001
+ # paginated list request, the set of all elements returned are an inconsistent
1002
+ # view of the collection. There is no way to retrieve a consistent snapshot of a
1003
+ # collection larger than the maximum page size.
995
1004
  # Corresponds to the JSON property `nextPageToken`
996
1005
  # @return [String]
997
1006
  attr_accessor :next_page_token
@@ -1085,8 +1094,8 @@ module Google
1085
1094
  attr_accessor :description
1086
1095
 
1087
1096
  # Allows networks bound to this policy to receive DNS queries sent by VMs or
1088
- # applications over VPN connections. When enabled, a virtual IP address will be
1089
- # allocated from each of the sub-networks that are bound to this policy.
1097
+ # applications over VPN connections. When enabled, a virtual IP address is
1098
+ # allocated from each of the subnetworks that are bound to this policy.
1090
1099
  # Corresponds to the JSON property `enableInboundForwarding`
1091
1100
  # @return [Boolean]
1092
1101
  attr_accessor :enable_inbound_forwarding
@@ -1109,7 +1118,7 @@ module Google
1109
1118
  # @return [String]
1110
1119
  attr_accessor :kind
1111
1120
 
1112
- # User assigned name for this policy.
1121
+ # User-assigned name for this policy.
1113
1122
  # Corresponds to the JSON property `name`
1114
1123
  # @return [String]
1115
1124
  attr_accessor :name
@@ -1168,9 +1177,10 @@ module Google
1168
1177
  include Google::Apis::Core::Hashable
1169
1178
 
1170
1179
  # Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud
1171
- # DNS will make forwarding decision based on address ranges, i.e. RFC1918
1172
- # addresses go to the VPC, non-RFC1918 addresses go to the Internet. When set to
1173
- # PRIVATE, Cloud DNS will always send queries through VPC for this target.
1180
+ # DNS makes forwarding decisions based on address ranges; that is, RFC1918
1181
+ # addresses go to the VPC network, non-RFC1918 addresses go to the internet.
1182
+ # When set to PRIVATE, Cloud DNS always sends queries through the VPC network
1183
+ # for this target.
1174
1184
  # Corresponds to the JSON property `forwardingPath`
1175
1185
  # @return [String]
1176
1186
  attr_accessor :forwarding_path
@@ -1180,6 +1190,12 @@ module Google
1180
1190
  # @return [String]
1181
1191
  attr_accessor :ipv4_address
1182
1192
 
1193
+ # IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being
1194
+ # populated.
1195
+ # Corresponds to the JSON property `ipv6Address`
1196
+ # @return [String]
1197
+ attr_accessor :ipv6_address
1198
+
1183
1199
  #
1184
1200
  # Corresponds to the JSON property `kind`
1185
1201
  # @return [String]
@@ -1193,6 +1209,7 @@ module Google
1193
1209
  def update!(**args)
1194
1210
  @forwarding_path = args[:forwarding_path] if args.key?(:forwarding_path)
1195
1211
  @ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
1212
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
1196
1213
  @kind = args[:kind] if args.key?(:kind)
1197
1214
  end
1198
1215
  end
@@ -1273,11 +1290,6 @@ module Google
1273
1290
  # @return [Fixnum]
1274
1291
  attr_accessor :dns_keys_per_managed_zone
1275
1292
 
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
1293
  #
1282
1294
  # Corresponds to the JSON property `kind`
1283
1295
  # @return [String]
@@ -1314,6 +1326,11 @@ module Google
1314
1326
  # @return [Fixnum]
1315
1327
  attr_accessor :resource_records_per_rrset
1316
1328
 
1329
+ # Maximum allowed number of rules per response policy.
1330
+ # Corresponds to the JSON property `responsePolicyRulesPerResponsePolicy`
1331
+ # @return [Fixnum]
1332
+ attr_accessor :response_policy_rules_per_response_policy
1333
+
1317
1334
  # Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.
1318
1335
  # Corresponds to the JSON property `rrsetAdditionsPerChange`
1319
1336
  # @return [Fixnum]
@@ -1357,7 +1374,6 @@ module Google
1357
1374
  # Update properties of this object
1358
1375
  def update!(**args)
1359
1376
  @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
1377
  @kind = args[:kind] if args.key?(:kind)
1362
1378
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
1363
1379
  @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
@@ -1365,6 +1381,7 @@ module Google
1365
1381
  @networks_per_policy = args[:networks_per_policy] if args.key?(:networks_per_policy)
1366
1382
  @policies = args[:policies] if args.key?(:policies)
1367
1383
  @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
1384
+ @response_policy_rules_per_response_policy = args[:response_policy_rules_per_response_policy] if args.key?(:response_policy_rules_per_response_policy)
1368
1385
  @rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change)
1369
1386
  @rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change)
1370
1387
  @rrsets_per_managed_zone = args[:rrsets_per_managed_zone] if args.key?(:rrsets_per_managed_zone)
@@ -1375,26 +1392,41 @@ module Google
1375
1392
  end
1376
1393
  end
1377
1394
 
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
1395
+ # A unit of data that is returned by the DNS servers.
1396
+ class ResourceRecordSet
1382
1397
  include Google::Apis::Core::Hashable
1383
1398
 
1384
- #
1385
- # Corresponds to the JSON property `geoPolicy`
1386
- # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
1387
- attr_accessor :geo_policy
1388
-
1389
1399
  #
1390
1400
  # Corresponds to the JSON property `kind`
1391
1401
  # @return [String]
1392
1402
  attr_accessor :kind
1393
1403
 
1394
- #
1395
- # Corresponds to the JSON property `wrrPolicy`
1396
- # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
1397
- attr_accessor :wrr_policy
1404
+ # For example, www.example.com.
1405
+ # Corresponds to the JSON property `name`
1406
+ # @return [String]
1407
+ attr_accessor :name
1408
+
1409
+ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1410
+ # examples.
1411
+ # Corresponds to the JSON property `rrdatas`
1412
+ # @return [Array<String>]
1413
+ attr_accessor :rrdatas
1414
+
1415
+ # As defined in RFC 4034 (section 3.2).
1416
+ # Corresponds to the JSON property `signatureRrdatas`
1417
+ # @return [Array<String>]
1418
+ attr_accessor :signature_rrdatas
1419
+
1420
+ # Number of seconds that this ResourceRecordSet can be cached by resolvers.
1421
+ # Corresponds to the JSON property `ttl`
1422
+ # @return [Fixnum]
1423
+ attr_accessor :ttl
1424
+
1425
+ # The identifier of a supported record type. See the list of Supported DNS
1426
+ # record types.
1427
+ # Corresponds to the JSON property `type`
1428
+ # @return [String]
1429
+ attr_accessor :type
1398
1430
 
1399
1431
  def initialize(**args)
1400
1432
  update!(**args)
@@ -1402,73 +1434,105 @@ module Google
1402
1434
 
1403
1435
  # Update properties of this object
1404
1436
  def update!(**args)
1405
- @geo_policy = args[:geo_policy] if args.key?(:geo_policy)
1406
1437
  @kind = args[:kind] if args.key?(:kind)
1407
- @wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
1438
+ @name = args[:name] if args.key?(:name)
1439
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1440
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1441
+ @ttl = args[:ttl] if args.key?(:ttl)
1442
+ @type = args[:type] if args.key?(:type)
1408
1443
  end
1409
1444
  end
1410
1445
 
1411
1446
  #
1412
- class RrSetRoutingPolicyGeoPolicy
1447
+ class ResourceRecordSetsListResponse
1413
1448
  include Google::Apis::Core::Hashable
1414
1449
 
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::DnsV1beta2::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::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1428
- attr_accessor :items
1450
+ # Elements common to every response.
1451
+ # Corresponds to the JSON property `header`
1452
+ # @return [Google::Apis::DnsV1beta2::ResponseHeader]
1453
+ attr_accessor :header
1429
1454
 
1430
- #
1455
+ # Type of resource.
1431
1456
  # Corresponds to the JSON property `kind`
1432
1457
  # @return [String]
1433
1458
  attr_accessor :kind
1434
1459
 
1460
+ # The presence of this field indicates that there exist more results following
1461
+ # your last page of results in pagination order. To fetch them, make another
1462
+ # list request using this value as your pagination token. This lets you retrieve
1463
+ # complete contents of even larger collections, one page at a time. However, if
1464
+ # the contents of the collection change between the first and last paginated
1465
+ # list request, the set of elements returned are an inconsistent view of the
1466
+ # collection. You cannot retrieve a consistent snapshot of a collection larger
1467
+ # than the maximum page size.
1468
+ # Corresponds to the JSON property `nextPageToken`
1469
+ # @return [String]
1470
+ attr_accessor :next_page_token
1471
+
1472
+ # The resource record set resources.
1473
+ # Corresponds to the JSON property `rrsets`
1474
+ # @return [Array<Google::Apis::DnsV1beta2::ResourceRecordSet>]
1475
+ attr_accessor :rrsets
1476
+
1435
1477
  def initialize(**args)
1436
1478
  update!(**args)
1437
1479
  end
1438
1480
 
1439
1481
  # Update properties of this object
1440
1482
  def update!(**args)
1441
- @failovers = args[:failovers] if args.key?(:failovers)
1442
- @items = args[:items] if args.key?(:items)
1483
+ @header = args[:header] if args.key?(:header)
1443
1484
  @kind = args[:kind] if args.key?(:kind)
1485
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1486
+ @rrsets = args[:rrsets] if args.key?(:rrsets)
1444
1487
  end
1445
1488
  end
1446
1489
 
1447
- #
1448
- class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
1490
+ # Elements common to every response.
1491
+ class ResponseHeader
1449
1492
  include Google::Apis::Core::Hashable
1450
1493
 
1451
- #
1452
- # Corresponds to the JSON property `kind`
1494
+ # For mutating operation requests that completed successfully. This is the
1495
+ # client_operation_id if the client specified it, otherwise it is generated by
1496
+ # the server (output only).
1497
+ # Corresponds to the JSON property `operationId`
1453
1498
  # @return [String]
1454
- attr_accessor :kind
1499
+ attr_accessor :operation_id
1455
1500
 
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
1501
+ def initialize(**args)
1502
+ update!(**args)
1503
+ end
1462
1504
 
1463
- #
1464
- # Corresponds to the JSON property `rrdatas`
1465
- # @return [Array<String>]
1466
- attr_accessor :rrdatas
1505
+ # Update properties of this object
1506
+ def update!(**args)
1507
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
1508
+ end
1509
+ end
1467
1510
 
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
1511
+ #
1512
+ class ResponsePoliciesListResponse
1513
+ include Google::Apis::Core::Hashable
1514
+
1515
+ # Elements common to every response.
1516
+ # Corresponds to the JSON property `header`
1517
+ # @return [Google::Apis::DnsV1beta2::ResponseHeader]
1518
+ attr_accessor :header
1519
+
1520
+ # The presence of this field indicates that there exist more results following
1521
+ # your last page of results in pagination order. To fetch them, make another
1522
+ # list request using this value as your page token. In this way you can retrieve
1523
+ # the complete contents of even very large collections one page at a time.
1524
+ # However, if the contents of the collection change between the first and last
1525
+ # paginated list request, the set of all elements returned are an inconsistent
1526
+ # view of the collection. There is no way to retrieve a consistent snapshot of a
1527
+ # collection larger than the maximum page size.
1528
+ # Corresponds to the JSON property `nextPageToken`
1529
+ # @return [String]
1530
+ attr_accessor :next_page_token
1531
+
1532
+ # The Response Policy resources.
1533
+ # Corresponds to the JSON property `responsePolicies`
1534
+ # @return [Array<Google::Apis::DnsV1beta2::ResponsePolicy>]
1535
+ attr_accessor :response_policies
1472
1536
 
1473
1537
  def initialize(**args)
1474
1538
  update!(**args)
@@ -1476,26 +1540,26 @@ module Google
1476
1540
 
1477
1541
  # Update properties of this object
1478
1542
  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)
1543
+ @header = args[:header] if args.key?(:header)
1544
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1545
+ @response_policies = args[:response_policies] if args.key?(:response_policies)
1483
1546
  end
1484
1547
  end
1485
1548
 
1486
1549
  #
1487
- class RrSetRoutingPolicyWrrPolicy
1550
+ class ResponsePoliciesPatchResponse
1488
1551
  include Google::Apis::Core::Hashable
1489
1552
 
1490
- #
1491
- # Corresponds to the JSON property `items`
1492
- # @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
1493
- attr_accessor :items
1553
+ # Elements common to every response.
1554
+ # Corresponds to the JSON property `header`
1555
+ # @return [Google::Apis::DnsV1beta2::ResponseHeader]
1556
+ attr_accessor :header
1494
1557
 
1495
- #
1496
- # Corresponds to the JSON property `kind`
1497
- # @return [String]
1498
- attr_accessor :kind
1558
+ # A Response Policy is a collection of selectors that apply to queries made
1559
+ # against one or more Virtual Private Cloud networks.
1560
+ # Corresponds to the JSON property `responsePolicy`
1561
+ # @return [Google::Apis::DnsV1beta2::ResponsePolicy]
1562
+ attr_accessor :response_policy
1499
1563
 
1500
1564
  def initialize(**args)
1501
1565
  update!(**args)
@@ -1503,37 +1567,66 @@ module Google
1503
1567
 
1504
1568
  # Update properties of this object
1505
1569
  def update!(**args)
1506
- @items = args[:items] if args.key?(:items)
1507
- @kind = args[:kind] if args.key?(:kind)
1570
+ @header = args[:header] if args.key?(:header)
1571
+ @response_policy = args[:response_policy] if args.key?(:response_policy)
1508
1572
  end
1509
1573
  end
1510
1574
 
1511
1575
  #
1512
- class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
1576
+ class ResponsePoliciesUpdateResponse
1577
+ include Google::Apis::Core::Hashable
1578
+
1579
+ # Elements common to every response.
1580
+ # Corresponds to the JSON property `header`
1581
+ # @return [Google::Apis::DnsV1beta2::ResponseHeader]
1582
+ attr_accessor :header
1583
+
1584
+ # A Response Policy is a collection of selectors that apply to queries made
1585
+ # against one or more Virtual Private Cloud networks.
1586
+ # Corresponds to the JSON property `responsePolicy`
1587
+ # @return [Google::Apis::DnsV1beta2::ResponsePolicy]
1588
+ attr_accessor :response_policy
1589
+
1590
+ def initialize(**args)
1591
+ update!(**args)
1592
+ end
1593
+
1594
+ # Update properties of this object
1595
+ def update!(**args)
1596
+ @header = args[:header] if args.key?(:header)
1597
+ @response_policy = args[:response_policy] if args.key?(:response_policy)
1598
+ end
1599
+ end
1600
+
1601
+ # A Response Policy is a collection of selectors that apply to queries made
1602
+ # against one or more Virtual Private Cloud networks.
1603
+ class ResponsePolicy
1513
1604
  include Google::Apis::Core::Hashable
1514
1605
 
1606
+ # User-provided description for this Response Policy.
1607
+ # Corresponds to the JSON property `description`
1608
+ # @return [String]
1609
+ attr_accessor :description
1610
+
1611
+ # Unique identifier for the resource; defined by the server (output only).
1612
+ # Corresponds to the JSON property `id`
1613
+ # @return [Fixnum]
1614
+ attr_accessor :id
1615
+
1515
1616
  #
1516
1617
  # Corresponds to the JSON property `kind`
1517
1618
  # @return [String]
1518
1619
  attr_accessor :kind
1519
1620
 
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
1621
+ # List of network names specifying networks to which this policy is applied.
1622
+ # Corresponds to the JSON property `networks`
1623
+ # @return [Array<Google::Apis::DnsV1beta2::ResponsePolicyNetwork>]
1624
+ attr_accessor :networks
1529
1625
 
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
1626
+ # User assigned name for this Response Policy.
1627
+ # Corresponds to the JSON property `responsePolicyName`
1628
+ # @return [String]
1629
+ attr_accessor :response_policy_name
1537
1630
 
1538
1631
  def initialize(**args)
1539
1632
  update!(**args)
@@ -1541,15 +1634,16 @@ module Google
1541
1634
 
1542
1635
  # Update properties of this object
1543
1636
  def update!(**args)
1637
+ @description = args[:description] if args.key?(:description)
1638
+ @id = args[:id] if args.key?(:id)
1544
1639
  @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)
1640
+ @networks = args[:networks] if args.key?(:networks)
1641
+ @response_policy_name = args[:response_policy_name] if args.key?(:response_policy_name)
1548
1642
  end
1549
1643
  end
1550
1644
 
1551
- # A unit of data that will be returned by the DNS servers.
1552
- class ResourceRecordSet
1645
+ #
1646
+ class ResponsePolicyNetwork
1553
1647
  include Google::Apis::Core::Hashable
1554
1648
 
1555
1649
  #
@@ -1557,39 +1651,60 @@ module Google
1557
1651
  # @return [String]
1558
1652
  attr_accessor :kind
1559
1653
 
1560
- # For example, www.example.com.
1561
- # Corresponds to the JSON property `name`
1654
+ # The fully qualified URL of the VPC network to bind to. This should be
1655
+ # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
1656
+ # networks/`network`
1657
+ # Corresponds to the JSON property `networkUrl`
1562
1658
  # @return [String]
1563
- attr_accessor :name
1659
+ attr_accessor :network_url
1564
1660
 
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::DnsV1beta2::RrSetRoutingPolicy]
1570
- attr_accessor :routing_policy
1661
+ def initialize(**args)
1662
+ update!(**args)
1663
+ end
1571
1664
 
1572
- # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1573
- # examples.
1574
- # Corresponds to the JSON property `rrdatas`
1575
- # @return [Array<String>]
1576
- attr_accessor :rrdatas
1665
+ # Update properties of this object
1666
+ def update!(**args)
1667
+ @kind = args[:kind] if args.key?(:kind)
1668
+ @network_url = args[:network_url] if args.key?(:network_url)
1669
+ end
1670
+ end
1577
1671
 
1578
- # As defined in RFC 4034 (section 3.2).
1579
- # Corresponds to the JSON property `signatureRrdatas`
1580
- # @return [Array<String>]
1581
- attr_accessor :signature_rrdatas
1672
+ # A Response Policy Rule is a selector that applies its behavior to queries that
1673
+ # match the selector. Selectors are DNS names, which may be wildcards or exact
1674
+ # matches. Each DNS query subject to a Response Policy matches at most one
1675
+ # ResponsePolicyRule, as identified by the dns_name field with the longest
1676
+ # matching suffix.
1677
+ class ResponsePolicyRule
1678
+ include Google::Apis::Core::Hashable
1582
1679
 
1583
- # Number of seconds that this ResourceRecordSet can be cached by resolvers.
1584
- # Corresponds to the JSON property `ttl`
1585
- # @return [Fixnum]
1586
- attr_accessor :ttl
1680
+ # Answer this query with a behavior rather than DNS data.
1681
+ # Corresponds to the JSON property `behavior`
1682
+ # @return [String]
1683
+ attr_accessor :behavior
1587
1684
 
1588
- # The identifier of a supported record type. See the list of Supported DNS
1589
- # record types.
1590
- # Corresponds to the JSON property `type`
1685
+ # The DNS name (wildcard or exact) to apply this rule to. Must be unique within
1686
+ # the Response Policy Rule.
1687
+ # Corresponds to the JSON property `dnsName`
1591
1688
  # @return [String]
1592
- attr_accessor :type
1689
+ attr_accessor :dns_name
1690
+
1691
+ #
1692
+ # Corresponds to the JSON property `kind`
1693
+ # @return [String]
1694
+ attr_accessor :kind
1695
+
1696
+ # Answer this query directly with DNS data. These ResourceRecordSets override
1697
+ # any other DNS behavior for the matched name; in particular they override
1698
+ # private zones, the public internet, and GCP internal DNS. No SOA nor NS types
1699
+ # are allowed.
1700
+ # Corresponds to the JSON property `localData`
1701
+ # @return [Google::Apis::DnsV1beta2::ResponsePolicyRuleLocalData]
1702
+ attr_accessor :local_data
1703
+
1704
+ # An identifier for this rule. Must be unique with the ResponsePolicy.
1705
+ # Corresponds to the JSON property `ruleName`
1706
+ # @return [String]
1707
+ attr_accessor :rule_name
1593
1708
 
1594
1709
  def initialize(**args)
1595
1710
  update!(**args)
@@ -1597,31 +1712,36 @@ module Google
1597
1712
 
1598
1713
  # Update properties of this object
1599
1714
  def update!(**args)
1715
+ @behavior = args[:behavior] if args.key?(:behavior)
1716
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
1600
1717
  @kind = args[:kind] if args.key?(:kind)
1601
- @name = args[:name] if args.key?(:name)
1602
- @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1603
- @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1604
- @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1605
- @ttl = args[:ttl] if args.key?(:ttl)
1606
- @type = args[:type] if args.key?(:type)
1718
+ @local_data = args[:local_data] if args.key?(:local_data)
1719
+ @rule_name = args[:rule_name] if args.key?(:rule_name)
1607
1720
  end
1608
1721
  end
1609
1722
 
1610
1723
  #
1611
- class ResourceRecordSetsDeleteResponse
1724
+ class ResponsePolicyRuleLocalData
1612
1725
  include Google::Apis::Core::Hashable
1613
1726
 
1727
+ # All resource record sets for this selector, one per resource record type. The
1728
+ # name must match the dns_name.
1729
+ # Corresponds to the JSON property `localDatas`
1730
+ # @return [Array<Google::Apis::DnsV1beta2::ResourceRecordSet>]
1731
+ attr_accessor :local_datas
1732
+
1614
1733
  def initialize(**args)
1615
1734
  update!(**args)
1616
1735
  end
1617
1736
 
1618
1737
  # Update properties of this object
1619
1738
  def update!(**args)
1739
+ @local_datas = args[:local_datas] if args.key?(:local_datas)
1620
1740
  end
1621
1741
  end
1622
1742
 
1623
1743
  #
1624
- class ResourceRecordSetsListResponse
1744
+ class ResponsePolicyRulesListResponse
1625
1745
  include Google::Apis::Core::Hashable
1626
1746
 
1627
1747
  # Elements common to every response.
@@ -1629,27 +1749,22 @@ module Google
1629
1749
  # @return [Google::Apis::DnsV1beta2::ResponseHeader]
1630
1750
  attr_accessor :header
1631
1751
 
1632
- #
1633
- # Corresponds to the JSON property `kind`
1634
- # @return [String]
1635
- attr_accessor :kind
1636
-
1637
1752
  # The presence of this field indicates that there exist more results following
1638
1753
  # your last page of results in pagination order. To fetch them, make another
1639
- # list request using this value as your pagination token. In this way you can
1640
- # retrieve the complete contents of even very large collections one page at a
1641
- # time. However, if the contents of the collection change between the first and
1642
- # last paginated list request, the set of all elements returned will be an
1643
- # inconsistent view of the collection. There is no way to retrieve a consistent
1644
- # snapshot of a collection larger than the maximum page size.
1754
+ # list request using this value as your page token. In this way you can retrieve
1755
+ # the complete contents of even very large collections one page at a time.
1756
+ # However, if the contents of the collection change between the first and last
1757
+ # paginated list request, the set of all elements returned are an inconsistent
1758
+ # view of the collection. There is no way to retrieve a consistent snapshot of a
1759
+ # collection larger than the maximum page size.
1645
1760
  # Corresponds to the JSON property `nextPageToken`
1646
1761
  # @return [String]
1647
1762
  attr_accessor :next_page_token
1648
1763
 
1649
- # The resource record set resources.
1650
- # Corresponds to the JSON property `rrsets`
1651
- # @return [Array<Google::Apis::DnsV1beta2::ResourceRecordSet>]
1652
- attr_accessor :rrsets
1764
+ # The Response Policy Rule resources.
1765
+ # Corresponds to the JSON property `responsePolicyRules`
1766
+ # @return [Array<Google::Apis::DnsV1beta2::ResponsePolicyRule>]
1767
+ attr_accessor :response_policy_rules
1653
1768
 
1654
1769
  def initialize(**args)
1655
1770
  update!(**args)
@@ -1658,22 +1773,28 @@ module Google
1658
1773
  # Update properties of this object
1659
1774
  def update!(**args)
1660
1775
  @header = args[:header] if args.key?(:header)
1661
- @kind = args[:kind] if args.key?(:kind)
1662
1776
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1663
- @rrsets = args[:rrsets] if args.key?(:rrsets)
1777
+ @response_policy_rules = args[:response_policy_rules] if args.key?(:response_policy_rules)
1664
1778
  end
1665
1779
  end
1666
1780
 
1667
- # Elements common to every response.
1668
- class ResponseHeader
1781
+ #
1782
+ class ResponsePolicyRulesPatchResponse
1669
1783
  include Google::Apis::Core::Hashable
1670
1784
 
1671
- # For mutating operation requests that completed successfully. This is the
1672
- # client_operation_id if the client specified it, otherwise it is generated by
1673
- # the server (output only).
1674
- # Corresponds to the JSON property `operationId`
1675
- # @return [String]
1676
- attr_accessor :operation_id
1785
+ # Elements common to every response.
1786
+ # Corresponds to the JSON property `header`
1787
+ # @return [Google::Apis::DnsV1beta2::ResponseHeader]
1788
+ attr_accessor :header
1789
+
1790
+ # A Response Policy Rule is a selector that applies its behavior to queries that
1791
+ # match the selector. Selectors are DNS names, which may be wildcards or exact
1792
+ # matches. Each DNS query subject to a Response Policy matches at most one
1793
+ # ResponsePolicyRule, as identified by the dns_name field with the longest
1794
+ # matching suffix.
1795
+ # Corresponds to the JSON property `responsePolicyRule`
1796
+ # @return [Google::Apis::DnsV1beta2::ResponsePolicyRule]
1797
+ attr_accessor :response_policy_rule
1677
1798
 
1678
1799
  def initialize(**args)
1679
1800
  update!(**args)
@@ -1681,7 +1802,37 @@ module Google
1681
1802
 
1682
1803
  # Update properties of this object
1683
1804
  def update!(**args)
1684
- @operation_id = args[:operation_id] if args.key?(:operation_id)
1805
+ @header = args[:header] if args.key?(:header)
1806
+ @response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule)
1807
+ end
1808
+ end
1809
+
1810
+ #
1811
+ class ResponsePolicyRulesUpdateResponse
1812
+ include Google::Apis::Core::Hashable
1813
+
1814
+ # Elements common to every response.
1815
+ # Corresponds to the JSON property `header`
1816
+ # @return [Google::Apis::DnsV1beta2::ResponseHeader]
1817
+ attr_accessor :header
1818
+
1819
+ # A Response Policy Rule is a selector that applies its behavior to queries that
1820
+ # match the selector. Selectors are DNS names, which may be wildcards or exact
1821
+ # matches. Each DNS query subject to a Response Policy matches at most one
1822
+ # ResponsePolicyRule, as identified by the dns_name field with the longest
1823
+ # matching suffix.
1824
+ # Corresponds to the JSON property `responsePolicyRule`
1825
+ # @return [Google::Apis::DnsV1beta2::ResponsePolicyRule]
1826
+ attr_accessor :response_policy_rule
1827
+
1828
+ def initialize(**args)
1829
+ update!(**args)
1830
+ end
1831
+
1832
+ # Update properties of this object
1833
+ def update!(**args)
1834
+ @header = args[:header] if args.key?(:header)
1835
+ @response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule)
1685
1836
  end
1686
1837
  end
1687
1838
  end