google-apis-dns_v1 0.1.0 → 0.6.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: 9dc31440066eae80b12acde3d6105cf0d9026c784975d1ace751fd7c6f90c4ad
4
- data.tar.gz: b7dbf389ce5e42c9c73efa7443bf8ee9c2e82eef7f7e40c18a13c257c25541a6
3
+ metadata.gz: 68b269c26728f08e385836532e133da561a3c74d8c76b9f5ea9160f80626d1bc
4
+ data.tar.gz: f7bad9e81b2056ea942cd3229270a76ad90c0870c0210dd66de4b043a4239670
5
5
  SHA512:
6
- metadata.gz: 22af0fcfb494f7a3b03b8e2ef4e9b8769781a53a5058836723d9258968a7d6126959a974234a98b478e1c568a97816b2c4f6ba78ab75161ba24994a21a9ba553
7
- data.tar.gz: 3e7cae17663f65c31ec38bb8f7043fa38f828c50be6fd7a0e5ce0cb3d94c43850dd9eb6aa0e789ff8be70f9cc07ed5326ae51ebec087ea8a853c0e48d5997795
6
+ metadata.gz: b5c8c40e33fb457eb0db79baf08a9b3eefa0abce560526f63ab7101b1d4b88fe3d52838751bc6a95cc127b73135628e55e004b78bcb3f0b79e3ae13ea8b1dd5f
7
+ data.tar.gz: b5fa50855d0f3a6ff531e3b05bf4a8eff225c068a5dbc76b29cd45fb66c100136b3e31f7071365faaf8c46a35f8ef092079dce59ff4b67379af9afe2f5779022
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-dns_v1
2
2
 
3
+ ### v0.6.0 (2021-03-17)
4
+
5
+ * Regenerated from discovery document revision 20210309
6
+
7
+ ### v0.5.0 (2021-03-08)
8
+
9
+ * Regenerated from discovery document revision 20210303
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Regenerated from discovery document revision 20210227
15
+
16
+ ### v0.3.0 (2021-02-23)
17
+
18
+ * Regenerated from discovery document revision 20210213
19
+
20
+ ### v0.2.0 (2021-02-11)
21
+
22
+ * Regenerated from discovery document revision 20210204
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::DnsV1::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
@@ -584,9 +586,9 @@ module Google
584
586
  # list request using this value as your page token. In this way you can retrieve
585
587
  # the complete contents of even very large collections one page at a time.
586
588
  # 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.
589
+ # paginated list request, the set of all elements returned are an inconsistent
590
+ # view of the collection. There is no way to retrieve a consistent snapshot of a
591
+ # collection larger than the maximum page size.
590
592
  # Corresponds to the JSON property `nextPageToken`
591
593
  # @return [String]
592
594
  attr_accessor :next_page_token
@@ -704,9 +706,9 @@ module Google
704
706
  # @return [String]
705
707
  attr_accessor :kind
706
708
 
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`
709
+ # The fully qualified URL of the VPC network to bind to. Format this URL like
710
+ # https://www.googleapis.com/compute/v1/projects/`project`/global/networks/`
711
+ # network`
710
712
  # Corresponds to the JSON property `networkUrl`
711
713
  # @return [String]
712
714
  attr_accessor :network_url
@@ -770,8 +772,8 @@ module Google
770
772
  class ManagedZoneServiceDirectoryConfigNamespace
771
773
  include Google::Apis::Core::Hashable
772
774
 
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.
775
+ # The time that the namespace backing this zone was deleted; an empty string if
776
+ # it still exists. This is in RFC3339 text format. Output only.
775
777
  # Corresponds to the JSON property `deletionTime`
776
778
  # @return [String]
777
779
  attr_accessor :deletion_time
@@ -824,9 +826,9 @@ module Google
824
826
  # list request using this value as your page token. In this way you can retrieve
825
827
  # the complete contents of even very large collections one page at a time.
826
828
  # 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.
829
+ # paginated list request, the set of all elements returned are an inconsistent
830
+ # view of the collection. There is no way to retrieve a consistent snapshot of a
831
+ # collection larger than the maximum page size.
830
832
  # Corresponds to the JSON property `nextPageToken`
831
833
  # @return [String]
832
834
  attr_accessor :next_page_token
@@ -989,9 +991,9 @@ module Google
989
991
  # list request using this value as your page token. In this way you can retrieve
990
992
  # the complete contents of even very large collections one page at a time.
991
993
  # 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.
994
+ # paginated list request, the set of all elements returned are an inconsistent
995
+ # view of the collection. There is no way to retrieve a consistent snapshot of a
996
+ # collection larger than the maximum page size.
995
997
  # Corresponds to the JSON property `nextPageToken`
996
998
  # @return [String]
997
999
  attr_accessor :next_page_token
@@ -1085,8 +1087,8 @@ module Google
1085
1087
  attr_accessor :description
1086
1088
 
1087
1089
  # 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.
1090
+ # applications over VPN connections. When enabled, a virtual IP address is
1091
+ # allocated from each of the subnetworks that are bound to this policy.
1090
1092
  # Corresponds to the JSON property `enableInboundForwarding`
1091
1093
  # @return [Boolean]
1092
1094
  attr_accessor :enable_inbound_forwarding
@@ -1109,7 +1111,7 @@ module Google
1109
1111
  # @return [String]
1110
1112
  attr_accessor :kind
1111
1113
 
1112
- # User assigned name for this policy.
1114
+ # User-assigned name for this policy.
1113
1115
  # Corresponds to the JSON property `name`
1114
1116
  # @return [String]
1115
1117
  attr_accessor :name
@@ -1168,9 +1170,10 @@ module Google
1168
1170
  include Google::Apis::Core::Hashable
1169
1171
 
1170
1172
  # 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.
1173
+ # DNS makes forwarding decisions based on address ranges; that is, RFC1918
1174
+ # addresses go to the VPC network, non-RFC1918 addresses go to the internet.
1175
+ # When set to PRIVATE, Cloud DNS always sends queries through the VPC network
1176
+ # for this target.
1174
1177
  # Corresponds to the JSON property `forwardingPath`
1175
1178
  # @return [String]
1176
1179
  attr_accessor :forwarding_path
@@ -1273,11 +1276,6 @@ module Google
1273
1276
  # @return [Fixnum]
1274
1277
  attr_accessor :dns_keys_per_managed_zone
1275
1278
 
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
1279
  #
1282
1280
  # Corresponds to the JSON property `kind`
1283
1281
  # @return [String]
@@ -1357,7 +1355,6 @@ module Google
1357
1355
  # Update properties of this object
1358
1356
  def update!(**args)
1359
1357
  @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
1358
  @kind = args[:kind] if args.key?(:kind)
1362
1359
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
1363
1360
  @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
@@ -1375,180 +1372,7 @@ module Google
1375
1372
  end
1376
1373
  end
1377
1374
 
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
- # A unit of data that will be returned by the DNS servers.
1375
+ # A unit of data that is returned by the DNS servers.
1552
1376
  class ResourceRecordSet
1553
1377
  include Google::Apis::Core::Hashable
1554
1378
 
@@ -1562,13 +1386,6 @@ module Google
1562
1386
  # @return [String]
1563
1387
  attr_accessor :name
1564
1388
 
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
1389
  # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1573
1390
  # examples.
1574
1391
  # Corresponds to the JSON property `rrdatas`
@@ -1599,7 +1416,6 @@ module Google
1599
1416
  def update!(**args)
1600
1417
  @kind = args[:kind] if args.key?(:kind)
1601
1418
  @name = args[:name] if args.key?(:name)
1602
- @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1603
1419
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1604
1420
  @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1605
1421
  @ttl = args[:ttl] if args.key?(:ttl)
@@ -1607,6 +1423,19 @@ module Google
1607
1423
  end
1608
1424
  end
1609
1425
 
1426
+ #
1427
+ class ResourceRecordSetsDeleteResponse
1428
+ include Google::Apis::Core::Hashable
1429
+
1430
+ def initialize(**args)
1431
+ update!(**args)
1432
+ end
1433
+
1434
+ # Update properties of this object
1435
+ def update!(**args)
1436
+ end
1437
+ end
1438
+
1610
1439
  #
1611
1440
  class ListResourceRecordSetsResponse
1612
1441
  include Google::Apis::Core::Hashable
@@ -1623,12 +1452,12 @@ module Google
1623
1452
 
1624
1453
  # The presence of this field indicates that there exist more results following
1625
1454
  # your last page of results in pagination order. To fetch them, make another
1626
- # list request using this value as your pagination token. In this way you can
1627
- # retrieve the complete contents of even very large collections one page at a
1628
- # time. However, if the contents of the collection change between the first and
1629
- # last paginated list request, the set of all elements returned will be an
1630
- # inconsistent view of the collection. There is no way to retrieve a consistent
1631
- # snapshot of a collection larger than the maximum page size.
1455
+ # list request using this value as your pagination token. This lets you retrieve
1456
+ # complete contents of even larger collections, one page at a time. However, if
1457
+ # the contents of the collection change between the first and last paginated
1458
+ # list request, the set of elements returned are an inconsistent view of the
1459
+ # collection. You cannot retrieve a consistent snapshot of a collection larger
1460
+ # than the maximum page size.
1632
1461
  # Corresponds to the JSON property `nextPageToken`
1633
1462
  # @return [String]
1634
1463
  attr_accessor :next_page_token
@@ -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.6.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.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201127"
25
+ REVISION = "20210309"
26
26
  end
27
27
  end
28
28
  end
@@ -208,37 +208,13 @@ 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
211
+ class ResourceRecordSet
236
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
213
 
238
214
  include Google::Apis::Core::JsonObjectSupport
239
215
  end
240
216
 
241
- class ResourceRecordSet
217
+ class ResourceRecordSetsDeleteResponse
242
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
219
 
244
220
  include Google::Apis::Core::JsonObjectSupport
@@ -597,7 +573,6 @@ module Google
597
573
  # @private
598
574
  class Representation < Google::Apis::Core::JsonRepresentation
599
575
  property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone'
600
- property :gke_clusters_per_policy, as: 'gkeClustersPerPolicy'
601
576
  property :kind, as: 'kind'
602
577
  property :managed_zones, as: 'managedZones'
603
578
  property :managed_zones_per_network, as: 'managedZonesPerNetwork'
@@ -616,68 +591,21 @@ module Google
616
591
  end
617
592
  end
618
593
 
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
594
+ class ResourceRecordSet
661
595
  # @private
662
596
  class Representation < Google::Apis::Core::JsonRepresentation
663
597
  property :kind, as: 'kind'
598
+ property :name, as: 'name'
664
599
  collection :rrdatas, as: 'rrdatas'
665
600
  collection :signature_rrdatas, as: 'signatureRrdatas'
666
- property :weight, as: 'weight'
601
+ property :ttl, as: 'ttl'
602
+ property :type, as: 'type'
667
603
  end
668
604
  end
669
605
 
670
- class ResourceRecordSet
606
+ class ResourceRecordSetsDeleteResponse
671
607
  # @private
672
608
  class Representation < Google::Apis::Core::JsonRepresentation
673
- property :kind, as: 'kind'
674
- property :name, as: 'name'
675
- property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicy::Representation
676
-
677
- collection :rrdatas, as: 'rrdatas'
678
- collection :signature_rrdatas, as: 'signatureRrdatas'
679
- property :ttl, as: 'ttl'
680
- property :type, as: 'type'
681
609
  end
682
610
  end
683
611
 
@@ -49,7 +49,7 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
- # Atomically update the ResourceRecordSet collection.
52
+ # Atomically updates the ResourceRecordSet collection.
53
53
  # @param [String] project
54
54
  # Identifies the project addressed by this request.
55
55
  # @param [String] managed_zone
@@ -90,7 +90,7 @@ module Google
90
90
  execute_or_queue_command(command, &block)
91
91
  end
92
92
 
93
- # Fetch the representation of an existing Change.
93
+ # Fetches the representation of an existing Change.
94
94
  # @param [String] project
95
95
  # Identifies the project addressed by this request.
96
96
  # @param [String] managed_zone
@@ -132,7 +132,7 @@ module Google
132
132
  execute_or_queue_command(command, &block)
133
133
  end
134
134
 
135
- # Enumerate Changes to a ResourceRecordSet collection.
135
+ # Enumerates Changes to a ResourceRecordSet collection.
136
136
  # @param [String] project
137
137
  # Identifies the project addressed by this request.
138
138
  # @param [String] managed_zone
@@ -140,7 +140,7 @@ module Google
140
140
  # name or ID.
141
141
  # @param [Fixnum] max_results
142
142
  # Optional. Maximum number of results to be returned. If unspecified, the server
143
- # will decide how many results to return.
143
+ # decides how many results to return.
144
144
  # @param [String] page_token
145
145
  # Optional. A tag returned by a previous list request that was truncated. Use
146
146
  # this parameter to continue a previous list request.
@@ -180,7 +180,7 @@ module Google
180
180
  execute_or_queue_command(command, &block)
181
181
  end
182
182
 
183
- # Fetch the representation of an existing DnsKey.
183
+ # Fetches the representation of an existing DnsKey.
184
184
  # @param [String] project
185
185
  # Identifies the project addressed by this request.
186
186
  # @param [String] managed_zone
@@ -193,7 +193,7 @@ module Google
193
193
  # client. Must be unique for operation resources in the Operations collection.
194
194
  # @param [String] digest_type
195
195
  # An optional comma-separated list of digest types to compute and display for
196
- # key signing keys. If omitted, the recommended digest type will be computed and
196
+ # key signing keys. If omitted, the recommended digest type is computed and
197
197
  # displayed.
198
198
  # @param [String] fields
199
199
  # Selector specifying which fields to include in a partial response.
@@ -226,7 +226,7 @@ module Google
226
226
  execute_or_queue_command(command, &block)
227
227
  end
228
228
 
229
- # Enumerate DnsKeys to a ResourceRecordSet collection.
229
+ # Enumerates DnsKeys to a ResourceRecordSet collection.
230
230
  # @param [String] project
231
231
  # Identifies the project addressed by this request.
232
232
  # @param [String] managed_zone
@@ -234,11 +234,11 @@ module Google
234
234
  # name or ID.
235
235
  # @param [String] digest_type
236
236
  # An optional comma-separated list of digest types to compute and display for
237
- # key signing keys. If omitted, the recommended digest type will be computed and
237
+ # key signing keys. If omitted, the recommended digest type is computed and
238
238
  # displayed.
239
239
  # @param [Fixnum] max_results
240
240
  # Optional. Maximum number of results to be returned. If unspecified, the server
241
- # will decide how many results to return.
241
+ # decides how many results to return.
242
242
  # @param [String] page_token
243
243
  # Optional. A tag returned by a previous list request that was truncated. Use
244
244
  # this parameter to continue a previous list request.
@@ -273,13 +273,13 @@ module Google
273
273
  execute_or_queue_command(command, &block)
274
274
  end
275
275
 
276
- # Fetch the representation of an existing Operation.
276
+ # Fetches the representation of an existing Operation.
277
277
  # @param [String] project
278
278
  # Identifies the project addressed by this request.
279
279
  # @param [String] managed_zone
280
280
  # Identifies the managed zone addressed by this request.
281
281
  # @param [String] operation
282
- # Identifies the operation addressed by this request.
282
+ # Identifies the operation addressed by this request (ID of the operation).
283
283
  # @param [String] client_operation_id
284
284
  # For mutating operation requests only. An optional identifier specified by the
285
285
  # client. Must be unique for operation resources in the Operations collection.
@@ -313,14 +313,14 @@ module Google
313
313
  execute_or_queue_command(command, &block)
314
314
  end
315
315
 
316
- # Enumerate Operations for the given ManagedZone.
316
+ # Enumerates Operations for the given ManagedZone.
317
317
  # @param [String] project
318
318
  # Identifies the project addressed by this request.
319
319
  # @param [String] managed_zone
320
320
  # Identifies the managed zone addressed by this request.
321
321
  # @param [Fixnum] max_results
322
322
  # Optional. Maximum number of results to be returned. If unspecified, the server
323
- # will decide how many results to return.
323
+ # decides how many results to return.
324
324
  # @param [String] page_token
325
325
  # Optional. A tag returned by a previous list request that was truncated. Use
326
326
  # this parameter to continue a previous list request.
@@ -357,7 +357,7 @@ module Google
357
357
  execute_or_queue_command(command, &block)
358
358
  end
359
359
 
360
- # Create a new ManagedZone.
360
+ # Creates a new ManagedZone.
361
361
  # @param [String] project
362
362
  # Identifies the project addressed by this request.
363
363
  # @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object
@@ -394,7 +394,7 @@ module Google
394
394
  execute_or_queue_command(command, &block)
395
395
  end
396
396
 
397
- # Delete a previously created ManagedZone.
397
+ # Deletes a previously created ManagedZone.
398
398
  # @param [String] project
399
399
  # Identifies the project addressed by this request.
400
400
  # @param [String] managed_zone
@@ -430,7 +430,7 @@ module Google
430
430
  execute_or_queue_command(command, &block)
431
431
  end
432
432
 
433
- # Fetch the representation of an existing ManagedZone.
433
+ # Fetches the representation of an existing ManagedZone.
434
434
  # @param [String] project
435
435
  # Identifies the project addressed by this request.
436
436
  # @param [String] managed_zone
@@ -468,14 +468,14 @@ module Google
468
468
  execute_or_queue_command(command, &block)
469
469
  end
470
470
 
471
- # Enumerate ManagedZones that have been created but not yet deleted.
471
+ # Enumerates ManagedZones that have been created but not yet deleted.
472
472
  # @param [String] project
473
473
  # Identifies the project addressed by this request.
474
474
  # @param [String] dns_name
475
475
  # Restricts the list to return only zones with this domain name.
476
476
  # @param [Fixnum] max_results
477
477
  # Optional. Maximum number of results to be returned. If unspecified, the server
478
- # will decide how many results to return.
478
+ # decides how many results to return.
479
479
  # @param [String] page_token
480
480
  # Optional. A tag returned by a previous list request that was truncated. Use
481
481
  # this parameter to continue a previous list request.
@@ -509,7 +509,7 @@ module Google
509
509
  execute_or_queue_command(command, &block)
510
510
  end
511
511
 
512
- # Apply a partial update to an existing ManagedZone.
512
+ # Applies a partial update to an existing ManagedZone.
513
513
  # @param [String] project
514
514
  # Identifies the project addressed by this request.
515
515
  # @param [String] managed_zone
@@ -550,7 +550,7 @@ module Google
550
550
  execute_or_queue_command(command, &block)
551
551
  end
552
552
 
553
- # Update an existing ManagedZone.
553
+ # Updates an existing ManagedZone.
554
554
  # @param [String] project
555
555
  # Identifies the project addressed by this request.
556
556
  # @param [String] managed_zone
@@ -591,7 +591,7 @@ module Google
591
591
  execute_or_queue_command(command, &block)
592
592
  end
593
593
 
594
- # Create a new Policy
594
+ # Creates a new Policy.
595
595
  # @param [String] project
596
596
  # Identifies the project addressed by this request.
597
597
  # @param [Google::Apis::DnsV1::Policy] policy_object
@@ -628,7 +628,7 @@ module Google
628
628
  execute_or_queue_command(command, &block)
629
629
  end
630
630
 
631
- # Delete a previously created Policy. Will fail if the policy is still being
631
+ # Deletes a previously created Policy. Fails if the policy is still being
632
632
  # referenced by a network.
633
633
  # @param [String] project
634
634
  # Identifies the project addressed by this request.
@@ -664,7 +664,7 @@ module Google
664
664
  execute_or_queue_command(command, &block)
665
665
  end
666
666
 
667
- # Fetch the representation of an existing Policy.
667
+ # Fetches the representation of an existing Policy.
668
668
  # @param [String] project
669
669
  # Identifies the project addressed by this request.
670
670
  # @param [String] policy
@@ -701,12 +701,12 @@ module Google
701
701
  execute_or_queue_command(command, &block)
702
702
  end
703
703
 
704
- # Enumerate all Policies associated with a project.
704
+ # Enumerates all Policies associated with a project.
705
705
  # @param [String] project
706
706
  # Identifies the project addressed by this request.
707
707
  # @param [Fixnum] max_results
708
708
  # Optional. Maximum number of results to be returned. If unspecified, the server
709
- # will decide how many results to return.
709
+ # decides how many results to return.
710
710
  # @param [String] page_token
711
711
  # Optional. A tag returned by a previous list request that was truncated. Use
712
712
  # this parameter to continue a previous list request.
@@ -739,7 +739,7 @@ module Google
739
739
  execute_or_queue_command(command, &block)
740
740
  end
741
741
 
742
- # Apply a partial update to an existing Policy.
742
+ # Applies a partial update to an existing Policy.
743
743
  # @param [String] project
744
744
  # Identifies the project addressed by this request.
745
745
  # @param [String] policy
@@ -779,7 +779,7 @@ module Google
779
779
  execute_or_queue_command(command, &block)
780
780
  end
781
781
 
782
- # Update an existing Policy.
782
+ # Updates an existing Policy.
783
783
  # @param [String] project
784
784
  # Identifies the project addressed by this request.
785
785
  # @param [String] policy
@@ -853,7 +853,183 @@ module Google
853
853
  execute_or_queue_command(command, &block)
854
854
  end
855
855
 
856
- # Enumerate ResourceRecordSets that have been created but not yet deleted.
856
+ # Creates a new ResourceRecordSet.
857
+ # @param [String] project
858
+ # Identifies the project addressed by this request.
859
+ # @param [String] managed_zone
860
+ # Identifies the managed zone addressed by this request. Can be the managed zone
861
+ # name or ID.
862
+ # @param [Google::Apis::DnsV1::ResourceRecordSet] resource_record_set_object
863
+ # @param [String] client_operation_id
864
+ # For mutating operation requests only. An optional identifier specified by the
865
+ # client. Must be unique for operation resources in the Operations collection.
866
+ # @param [String] fields
867
+ # Selector specifying which fields to include in a partial response.
868
+ # @param [String] quota_user
869
+ # Available to use for quota purposes for server-side applications. Can be any
870
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
871
+ # @param [Google::Apis::RequestOptions] options
872
+ # Request-specific options
873
+ #
874
+ # @yield [result, err] Result & error if block supplied
875
+ # @yieldparam result [Google::Apis::DnsV1::ResourceRecordSet] parsed result object
876
+ # @yieldparam err [StandardError] error object if request failed
877
+ #
878
+ # @return [Google::Apis::DnsV1::ResourceRecordSet]
879
+ #
880
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
881
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
882
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
883
+ def create_project_managed_zone_rrset(project, managed_zone, resource_record_set_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
884
+ command = make_simple_command(:post, 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets', options)
885
+ command.request_representation = Google::Apis::DnsV1::ResourceRecordSet::Representation
886
+ command.request_object = resource_record_set_object
887
+ command.response_representation = Google::Apis::DnsV1::ResourceRecordSet::Representation
888
+ command.response_class = Google::Apis::DnsV1::ResourceRecordSet
889
+ command.params['project'] = project unless project.nil?
890
+ command.params['managedZone'] = managed_zone unless managed_zone.nil?
891
+ command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
892
+ command.query['fields'] = fields unless fields.nil?
893
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
894
+ execute_or_queue_command(command, &block)
895
+ end
896
+
897
+ # Deletes a previously created ResourceRecordSet.
898
+ # @param [String] project
899
+ # Identifies the project addressed by this request.
900
+ # @param [String] managed_zone
901
+ # Identifies the managed zone addressed by this request. Can be the managed zone
902
+ # name or ID.
903
+ # @param [String] name
904
+ # Fully qualified domain name.
905
+ # @param [String] type
906
+ # RRSet type.
907
+ # @param [String] client_operation_id
908
+ # For mutating operation requests only. An optional identifier specified by the
909
+ # client. Must be unique for operation resources in the Operations collection.
910
+ # @param [String] fields
911
+ # Selector specifying which fields to include in a partial response.
912
+ # @param [String] quota_user
913
+ # Available to use for quota purposes for server-side applications. Can be any
914
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
915
+ # @param [Google::Apis::RequestOptions] options
916
+ # Request-specific options
917
+ #
918
+ # @yield [result, err] Result & error if block supplied
919
+ # @yieldparam result [Google::Apis::DnsV1::ResourceRecordSetsDeleteResponse] parsed result object
920
+ # @yieldparam err [StandardError] error object if request failed
921
+ #
922
+ # @return [Google::Apis::DnsV1::ResourceRecordSetsDeleteResponse]
923
+ #
924
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
925
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
926
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
927
+ def delete_project_managed_zone_rrset(project, managed_zone, name, type, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
928
+ command = make_simple_command(:delete, 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
929
+ command.response_representation = Google::Apis::DnsV1::ResourceRecordSetsDeleteResponse::Representation
930
+ command.response_class = Google::Apis::DnsV1::ResourceRecordSetsDeleteResponse
931
+ command.params['project'] = project unless project.nil?
932
+ command.params['managedZone'] = managed_zone unless managed_zone.nil?
933
+ command.params['name'] = name unless name.nil?
934
+ command.params['type'] = type unless type.nil?
935
+ command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
936
+ command.query['fields'] = fields unless fields.nil?
937
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
938
+ execute_or_queue_command(command, &block)
939
+ end
940
+
941
+ # Fetches the representation of an existing ResourceRecordSet.
942
+ # @param [String] project
943
+ # Identifies the project addressed by this request.
944
+ # @param [String] managed_zone
945
+ # Identifies the managed zone addressed by this request. Can be the managed zone
946
+ # name or ID.
947
+ # @param [String] name
948
+ # Fully qualified domain name.
949
+ # @param [String] type
950
+ # RRSet type.
951
+ # @param [String] client_operation_id
952
+ # For mutating operation requests only. An optional identifier specified by the
953
+ # client. Must be unique for operation resources in the Operations collection.
954
+ # @param [String] fields
955
+ # Selector specifying which fields to include in a partial response.
956
+ # @param [String] quota_user
957
+ # Available to use for quota purposes for server-side applications. Can be any
958
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
959
+ # @param [Google::Apis::RequestOptions] options
960
+ # Request-specific options
961
+ #
962
+ # @yield [result, err] Result & error if block supplied
963
+ # @yieldparam result [Google::Apis::DnsV1::ResourceRecordSet] parsed result object
964
+ # @yieldparam err [StandardError] error object if request failed
965
+ #
966
+ # @return [Google::Apis::DnsV1::ResourceRecordSet]
967
+ #
968
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
969
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
970
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
971
+ def get_project_managed_zone_rrset(project, managed_zone, name, type, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
972
+ command = make_simple_command(:get, 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
973
+ command.response_representation = Google::Apis::DnsV1::ResourceRecordSet::Representation
974
+ command.response_class = Google::Apis::DnsV1::ResourceRecordSet
975
+ command.params['project'] = project unless project.nil?
976
+ command.params['managedZone'] = managed_zone unless managed_zone.nil?
977
+ command.params['name'] = name unless name.nil?
978
+ command.params['type'] = type unless type.nil?
979
+ command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
980
+ command.query['fields'] = fields unless fields.nil?
981
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
982
+ execute_or_queue_command(command, &block)
983
+ end
984
+
985
+ # Applies a partial update to an existing ResourceRecordSet.
986
+ # @param [String] project
987
+ # Identifies the project addressed by this request.
988
+ # @param [String] managed_zone
989
+ # Identifies the managed zone addressed by this request. Can be the managed zone
990
+ # name or ID.
991
+ # @param [String] name
992
+ # Fully qualified domain name.
993
+ # @param [String] type
994
+ # RRSet type.
995
+ # @param [Google::Apis::DnsV1::ResourceRecordSet] resource_record_set_object
996
+ # @param [String] client_operation_id
997
+ # For mutating operation requests only. An optional identifier specified by the
998
+ # client. Must be unique for operation resources in the Operations collection.
999
+ # @param [String] fields
1000
+ # Selector specifying which fields to include in a partial response.
1001
+ # @param [String] quota_user
1002
+ # Available to use for quota purposes for server-side applications. Can be any
1003
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1004
+ # @param [Google::Apis::RequestOptions] options
1005
+ # Request-specific options
1006
+ #
1007
+ # @yield [result, err] Result & error if block supplied
1008
+ # @yieldparam result [Google::Apis::DnsV1::ResourceRecordSet] parsed result object
1009
+ # @yieldparam err [StandardError] error object if request failed
1010
+ #
1011
+ # @return [Google::Apis::DnsV1::ResourceRecordSet]
1012
+ #
1013
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1014
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1015
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1016
+ def patch_project_managed_zone_rrset(project, managed_zone, name, type, resource_record_set_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1017
+ command = make_simple_command(:patch, 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
1018
+ command.request_representation = Google::Apis::DnsV1::ResourceRecordSet::Representation
1019
+ command.request_object = resource_record_set_object
1020
+ command.response_representation = Google::Apis::DnsV1::ResourceRecordSet::Representation
1021
+ command.response_class = Google::Apis::DnsV1::ResourceRecordSet
1022
+ command.params['project'] = project unless project.nil?
1023
+ command.params['managedZone'] = managed_zone unless managed_zone.nil?
1024
+ command.params['name'] = name unless name.nil?
1025
+ command.params['type'] = type unless type.nil?
1026
+ command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
1027
+ command.query['fields'] = fields unless fields.nil?
1028
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1029
+ execute_or_queue_command(command, &block)
1030
+ end
1031
+
1032
+ # Enumerates ResourceRecordSets that you have created but not yet deleted.
857
1033
  # @param [String] project
858
1034
  # Identifies the project addressed by this request.
859
1035
  # @param [String] managed_zone
@@ -861,7 +1037,7 @@ module Google
861
1037
  # name or ID.
862
1038
  # @param [Fixnum] max_results
863
1039
  # Optional. Maximum number of results to be returned. If unspecified, the server
864
- # will decide how many results to return.
1040
+ # decides how many results to return.
865
1041
  # @param [String] name
866
1042
  # Restricts the list to return only records with this fully qualified domain
867
1043
  # name.
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.6.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-03-22 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.6.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: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud DNS API V1