google-apis-dns_v1beta2 0.12.0 → 0.16.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: 8664e753428a9de8d6df9cd6194c0d9677c0a05e18b6e0dfc30298fe32aa1e3b
4
- data.tar.gz: 59304a8e2881f009ce9a8b6faa0e8de361dad0b252f450d65344368305020699
3
+ metadata.gz: 65ab9ba7554989c42f4db69f82e7c06a628d4b7ad7777ae2181f81b1758a49e8
4
+ data.tar.gz: 9e059500cf62ea01e075552ed733b1a7d2c0775e502ae2b945df21295070e671
5
5
  SHA512:
6
- metadata.gz: f2cd97a43de476ef0f1d2ca2d9511745248979dad48c55daa1e042378395511f4ca839134be0f93b21c8eaf6c4acc948e12174f83d09e1c3d3283f4e3fd73401
7
- data.tar.gz: c108d1880a728ac618b06a29d7d76ee88e47078d9ffdf0a9414ea9345cea7b1e3b39fee001a8d15fd5edcce4a8e9903e3d8996729c290c693cbb469296869a78
6
+ metadata.gz: 87c24f0093c59033aea270f66dbdcbcc504fe1df1a9e06555de66f77157c52cc7612ef0c607a1f0fad92ea98892cef423843caaa7e8c9449565c3e8f25c2e13b
7
+ data.tar.gz: 8cb1b163ba16005bf49dcf903040c3aee941d155e09157fb430e109544d290e503c8c431846c8ce18d4316a16ac61154cb22a90fd47ef256ffd063946248c878
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-dns_v1beta2
2
2
 
3
+ ### v0.16.0 (2021-10-21)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.15.0 (2021-10-12)
8
+
9
+ * Regenerated from discovery document revision 20211006
10
+
11
+ ### v0.14.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210809
14
+
15
+ ### v0.13.0 (2021-07-20)
16
+
17
+ * Regenerated from discovery document revision 20210712
18
+
3
19
  ### v0.12.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Dns service in particular.)
67
67
 
@@ -1335,6 +1335,11 @@ module Google
1335
1335
  # @return [Fixnum]
1336
1336
  attr_accessor :gke_clusters_per_response_policy
1337
1337
 
1338
+ # Maximum allowed number of items per routing policy.
1339
+ # Corresponds to the JSON property `itemsPerRoutingPolicy`
1340
+ # @return [Fixnum]
1341
+ attr_accessor :items_per_routing_policy
1342
+
1338
1343
  #
1339
1344
  # Corresponds to the JSON property `kind`
1340
1345
  # @return [String]
@@ -1426,6 +1431,7 @@ module Google
1426
1431
  @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
1427
1432
  @gke_clusters_per_managed_zone = args[:gke_clusters_per_managed_zone] if args.key?(:gke_clusters_per_managed_zone)
1428
1433
  @gke_clusters_per_response_policy = args[:gke_clusters_per_response_policy] if args.key?(:gke_clusters_per_response_policy)
1434
+ @items_per_routing_policy = args[:items_per_routing_policy] if args.key?(:items_per_routing_policy)
1429
1435
  @kind = args[:kind] if args.key?(:kind)
1430
1436
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
1431
1437
  @managed_zones_per_gke_cluster = args[:managed_zones_per_gke_cluster] if args.key?(:managed_zones_per_gke_cluster)
@@ -1445,6 +1451,181 @@ module Google
1445
1451
  end
1446
1452
  end
1447
1453
 
1454
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
1455
+ # dynamically with the response varying based on configured properties such as
1456
+ # geolocation or by weighted random selection.
1457
+ class RrSetRoutingPolicy
1458
+ include Google::Apis::Core::Hashable
1459
+
1460
+ #
1461
+ # Corresponds to the JSON property `geo`
1462
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
1463
+ attr_accessor :geo
1464
+
1465
+ #
1466
+ # Corresponds to the JSON property `geoPolicy`
1467
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
1468
+ attr_accessor :geo_policy
1469
+
1470
+ #
1471
+ # Corresponds to the JSON property `kind`
1472
+ # @return [String]
1473
+ attr_accessor :kind
1474
+
1475
+ #
1476
+ # Corresponds to the JSON property `wrr`
1477
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
1478
+ attr_accessor :wrr
1479
+
1480
+ #
1481
+ # Corresponds to the JSON property `wrrPolicy`
1482
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
1483
+ attr_accessor :wrr_policy
1484
+
1485
+ def initialize(**args)
1486
+ update!(**args)
1487
+ end
1488
+
1489
+ # Update properties of this object
1490
+ def update!(**args)
1491
+ @geo = args[:geo] if args.key?(:geo)
1492
+ @geo_policy = args[:geo_policy] if args.key?(:geo_policy)
1493
+ @kind = args[:kind] if args.key?(:kind)
1494
+ @wrr = args[:wrr] if args.key?(:wrr)
1495
+ @wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
1496
+ end
1497
+ end
1498
+
1499
+ #
1500
+ class RrSetRoutingPolicyGeoPolicy
1501
+ include Google::Apis::Core::Hashable
1502
+
1503
+ # The primary geo routing configuration. If there are multiple items with the
1504
+ # same location, an error is returned instead.
1505
+ # Corresponds to the JSON property `items`
1506
+ # @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1507
+ attr_accessor :items
1508
+
1509
+ #
1510
+ # Corresponds to the JSON property `kind`
1511
+ # @return [String]
1512
+ attr_accessor :kind
1513
+
1514
+ def initialize(**args)
1515
+ update!(**args)
1516
+ end
1517
+
1518
+ # Update properties of this object
1519
+ def update!(**args)
1520
+ @items = args[:items] if args.key?(:items)
1521
+ @kind = args[:kind] if args.key?(:kind)
1522
+ end
1523
+ end
1524
+
1525
+ #
1526
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
1527
+ include Google::Apis::Core::Hashable
1528
+
1529
+ #
1530
+ # Corresponds to the JSON property `kind`
1531
+ # @return [String]
1532
+ attr_accessor :kind
1533
+
1534
+ # The geo-location granularity is a GCP region. This location string should
1535
+ # correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1"
1536
+ # , etc.
1537
+ # Corresponds to the JSON property `location`
1538
+ # @return [String]
1539
+ attr_accessor :location
1540
+
1541
+ #
1542
+ # Corresponds to the JSON property `rrdatas`
1543
+ # @return [Array<String>]
1544
+ attr_accessor :rrdatas
1545
+
1546
+ # DNSSEC generated signatures for the above geo_rrdata.
1547
+ # Corresponds to the JSON property `signatureRrdatas`
1548
+ # @return [Array<String>]
1549
+ attr_accessor :signature_rrdatas
1550
+
1551
+ def initialize(**args)
1552
+ update!(**args)
1553
+ end
1554
+
1555
+ # Update properties of this object
1556
+ def update!(**args)
1557
+ @kind = args[:kind] if args.key?(:kind)
1558
+ @location = args[:location] if args.key?(:location)
1559
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1560
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1561
+ end
1562
+ end
1563
+
1564
+ #
1565
+ class RrSetRoutingPolicyWrrPolicy
1566
+ include Google::Apis::Core::Hashable
1567
+
1568
+ #
1569
+ # Corresponds to the JSON property `items`
1570
+ # @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
1571
+ attr_accessor :items
1572
+
1573
+ #
1574
+ # Corresponds to the JSON property `kind`
1575
+ # @return [String]
1576
+ attr_accessor :kind
1577
+
1578
+ def initialize(**args)
1579
+ update!(**args)
1580
+ end
1581
+
1582
+ # Update properties of this object
1583
+ def update!(**args)
1584
+ @items = args[:items] if args.key?(:items)
1585
+ @kind = args[:kind] if args.key?(:kind)
1586
+ end
1587
+ end
1588
+
1589
+ #
1590
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
1591
+ include Google::Apis::Core::Hashable
1592
+
1593
+ #
1594
+ # Corresponds to the JSON property `kind`
1595
+ # @return [String]
1596
+ attr_accessor :kind
1597
+
1598
+ #
1599
+ # Corresponds to the JSON property `rrdatas`
1600
+ # @return [Array<String>]
1601
+ attr_accessor :rrdatas
1602
+
1603
+ # DNSSEC generated signatures for the above wrr_rrdata.
1604
+ # Corresponds to the JSON property `signatureRrdatas`
1605
+ # @return [Array<String>]
1606
+ attr_accessor :signature_rrdatas
1607
+
1608
+ # The weight corresponding to this subset of rrdata. When multiple
1609
+ # WeightedRoundRobinPolicyItems are configured, the probability of returning an
1610
+ # rrset is proportional to its weight relative to the sum of weights configured
1611
+ # for all items. This weight should be non-negative.
1612
+ # Corresponds to the JSON property `weight`
1613
+ # @return [Float]
1614
+ attr_accessor :weight
1615
+
1616
+ def initialize(**args)
1617
+ update!(**args)
1618
+ end
1619
+
1620
+ # Update properties of this object
1621
+ def update!(**args)
1622
+ @kind = args[:kind] if args.key?(:kind)
1623
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1624
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1625
+ @weight = args[:weight] if args.key?(:weight)
1626
+ end
1627
+ end
1628
+
1448
1629
  # A unit of data that is returned by the DNS servers.
1449
1630
  class ResourceRecordSet
1450
1631
  include Google::Apis::Core::Hashable
@@ -1459,6 +1640,13 @@ module Google
1459
1640
  # @return [String]
1460
1641
  attr_accessor :name
1461
1642
 
1643
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
1644
+ # dynamically with the response varying based on configured properties such as
1645
+ # geolocation or by weighted random selection.
1646
+ # Corresponds to the JSON property `routingPolicy`
1647
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicy]
1648
+ attr_accessor :routing_policy
1649
+
1462
1650
  # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1463
1651
  # examples.
1464
1652
  # Corresponds to the JSON property `rrdatas`
@@ -1489,6 +1677,7 @@ module Google
1489
1677
  def update!(**args)
1490
1678
  @kind = args[:kind] if args.key?(:kind)
1491
1679
  @name = args[:name] if args.key?(:name)
1680
+ @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1492
1681
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1493
1682
  @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1494
1683
  @ttl = args[:ttl] if args.key?(:ttl)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DnsV1beta2
18
18
  # Version of the google-apis-dns_v1beta2 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210430"
25
+ REVISION = "20211006"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,36 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class RrSetRoutingPolicy
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class RrSetRoutingPolicyGeoPolicy
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class RrSetRoutingPolicyWrrPolicy
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
217
247
  class ResourceRecordSet
218
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
249
 
@@ -653,6 +683,7 @@ module Google
653
683
  property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone'
654
684
  property :gke_clusters_per_managed_zone, as: 'gkeClustersPerManagedZone'
655
685
  property :gke_clusters_per_response_policy, as: 'gkeClustersPerResponsePolicy'
686
+ property :items_per_routing_policy, as: 'itemsPerRoutingPolicy'
656
687
  property :kind, as: 'kind'
657
688
  property :managed_zones, as: 'managedZones'
658
689
  property :managed_zones_per_gke_cluster, as: 'managedZonesPerGkeCluster'
@@ -673,11 +704,66 @@ module Google
673
704
  end
674
705
  end
675
706
 
707
+ class RrSetRoutingPolicy
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :geo, as: 'geo', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy::Representation
711
+
712
+ property :geo_policy, as: 'geoPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy::Representation
713
+
714
+ property :kind, as: 'kind'
715
+ property :wrr, as: 'wrr', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy::Representation
716
+
717
+ property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy::Representation
718
+
719
+ end
720
+ end
721
+
722
+ class RrSetRoutingPolicyGeoPolicy
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
726
+
727
+ property :kind, as: 'kind'
728
+ end
729
+ end
730
+
731
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
732
+ # @private
733
+ class Representation < Google::Apis::Core::JsonRepresentation
734
+ property :kind, as: 'kind'
735
+ property :location, as: 'location'
736
+ collection :rrdatas, as: 'rrdatas'
737
+ collection :signature_rrdatas, as: 'signatureRrdatas'
738
+ end
739
+ end
740
+
741
+ class RrSetRoutingPolicyWrrPolicy
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem::Representation
745
+
746
+ property :kind, as: 'kind'
747
+ end
748
+ end
749
+
750
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ property :kind, as: 'kind'
754
+ collection :rrdatas, as: 'rrdatas'
755
+ collection :signature_rrdatas, as: 'signatureRrdatas'
756
+ property :weight, as: 'weight'
757
+ end
758
+ end
759
+
676
760
  class ResourceRecordSet
677
761
  # @private
678
762
  class Representation < Google::Apis::Core::JsonRepresentation
679
763
  property :kind, as: 'kind'
680
764
  property :name, as: 'name'
765
+ property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicy::Representation
766
+
681
767
  collection :rrdatas, as: 'rrdatas'
682
768
  collection :signature_rrdatas, as: 'signatureRrdatas'
683
769
  property :ttl, as: 'ttl'
@@ -880,7 +880,7 @@ module Google
880
880
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
881
881
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
882
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)
883
+ def create_resource_record_set(project, managed_zone, resource_record_set_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
884
884
  command = make_simple_command(:post, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets', options)
885
885
  command.request_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
886
886
  command.request_object = resource_record_set_object
@@ -924,7 +924,7 @@ module Google
924
924
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
925
925
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
926
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)
927
+ def delete_resource_record_set(project, managed_zone, name, type, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
928
928
  command = make_simple_command(:delete, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
929
929
  command.params['project'] = project unless project.nil?
930
930
  command.params['managedZone'] = managed_zone unless managed_zone.nil?
@@ -966,7 +966,7 @@ module Google
966
966
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
967
967
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
968
968
  # @raise [Google::Apis::AuthorizationError] Authorization is required
969
- def get_project_managed_zone_rrset(project, managed_zone, name, type, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
969
+ def get_resource_record_set(project, managed_zone, name, type, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
970
970
  command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
971
971
  command.response_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
972
972
  command.response_class = Google::Apis::DnsV1beta2::ResourceRecordSet
@@ -980,20 +980,24 @@ module Google
980
980
  execute_or_queue_command(command, &block)
981
981
  end
982
982
 
983
- # Applies a partial update to an existing ResourceRecordSet.
983
+ # Enumerates ResourceRecordSets that you have created but not yet deleted.
984
984
  # @param [String] project
985
985
  # Identifies the project addressed by this request.
986
986
  # @param [String] managed_zone
987
987
  # Identifies the managed zone addressed by this request. Can be the managed zone
988
988
  # name or ID.
989
+ # @param [Fixnum] max_results
990
+ # Optional. Maximum number of results to be returned. If unspecified, the server
991
+ # decides how many results to return.
989
992
  # @param [String] name
990
- # Fully qualified domain name.
993
+ # Restricts the list to return only records with this fully qualified domain
994
+ # name.
995
+ # @param [String] page_token
996
+ # Optional. A tag returned by a previous list request that was truncated. Use
997
+ # this parameter to continue a previous list request.
991
998
  # @param [String] type
992
- # RRSet type.
993
- # @param [Google::Apis::DnsV1beta2::ResourceRecordSet] resource_record_set_object
994
- # @param [String] client_operation_id
995
- # For mutating operation requests only. An optional identifier specified by the
996
- # client. Must be unique for operation resources in the Operations collection.
999
+ # Restricts the list to return only records of this type. If present, the "name"
1000
+ # parameter must also be present.
997
1001
  # @param [String] fields
998
1002
  # Selector specifying which fields to include in a partial response.
999
1003
  # @param [String] quota_user
@@ -1003,48 +1007,43 @@ module Google
1003
1007
  # Request-specific options
1004
1008
  #
1005
1009
  # @yield [result, err] Result & error if block supplied
1006
- # @yieldparam result [Google::Apis::DnsV1beta2::ResourceRecordSet] parsed result object
1010
+ # @yieldparam result [Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse] parsed result object
1007
1011
  # @yieldparam err [StandardError] error object if request failed
1008
1012
  #
1009
- # @return [Google::Apis::DnsV1beta2::ResourceRecordSet]
1013
+ # @return [Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse]
1010
1014
  #
1011
1015
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1012
1016
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1013
1017
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1014
- 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)
1015
- command = make_simple_command(:patch, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
1016
- command.request_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
1017
- command.request_object = resource_record_set_object
1018
- command.response_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
1019
- command.response_class = Google::Apis::DnsV1beta2::ResourceRecordSet
1018
+ def list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
1019
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets', options)
1020
+ command.response_representation = Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse::Representation
1021
+ command.response_class = Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse
1020
1022
  command.params['project'] = project unless project.nil?
1021
1023
  command.params['managedZone'] = managed_zone unless managed_zone.nil?
1022
- command.params['name'] = name unless name.nil?
1023
- command.params['type'] = type unless type.nil?
1024
- command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
1024
+ command.query['maxResults'] = max_results unless max_results.nil?
1025
+ command.query['name'] = name unless name.nil?
1026
+ command.query['pageToken'] = page_token unless page_token.nil?
1027
+ command.query['type'] = type unless type.nil?
1025
1028
  command.query['fields'] = fields unless fields.nil?
1026
1029
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1027
1030
  execute_or_queue_command(command, &block)
1028
1031
  end
1029
1032
 
1030
- # Enumerates ResourceRecordSets that you have created but not yet deleted.
1033
+ # Applies a partial update to an existing ResourceRecordSet.
1031
1034
  # @param [String] project
1032
1035
  # Identifies the project addressed by this request.
1033
1036
  # @param [String] managed_zone
1034
1037
  # Identifies the managed zone addressed by this request. Can be the managed zone
1035
1038
  # name or ID.
1036
- # @param [Fixnum] max_results
1037
- # Optional. Maximum number of results to be returned. If unspecified, the server
1038
- # decides how many results to return.
1039
1039
  # @param [String] name
1040
- # Restricts the list to return only records with this fully qualified domain
1041
- # name.
1042
- # @param [String] page_token
1043
- # Optional. A tag returned by a previous list request that was truncated. Use
1044
- # this parameter to continue a previous list request.
1040
+ # Fully qualified domain name.
1045
1041
  # @param [String] type
1046
- # Restricts the list to return only records of this type. If present, the "name"
1047
- # parameter must also be present.
1042
+ # RRSet type.
1043
+ # @param [Google::Apis::DnsV1beta2::ResourceRecordSet] resource_record_set_object
1044
+ # @param [String] client_operation_id
1045
+ # For mutating operation requests only. An optional identifier specified by the
1046
+ # client. Must be unique for operation resources in the Operations collection.
1048
1047
  # @param [String] fields
1049
1048
  # Selector specifying which fields to include in a partial response.
1050
1049
  # @param [String] quota_user
@@ -1054,24 +1053,25 @@ module Google
1054
1053
  # Request-specific options
1055
1054
  #
1056
1055
  # @yield [result, err] Result & error if block supplied
1057
- # @yieldparam result [Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse] parsed result object
1056
+ # @yieldparam result [Google::Apis::DnsV1beta2::ResourceRecordSet] parsed result object
1058
1057
  # @yieldparam err [StandardError] error object if request failed
1059
1058
  #
1060
- # @return [Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse]
1059
+ # @return [Google::Apis::DnsV1beta2::ResourceRecordSet]
1061
1060
  #
1062
1061
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1063
1062
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1064
1063
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1065
- def list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
1066
- command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets', options)
1067
- command.response_representation = Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse::Representation
1068
- command.response_class = Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse
1064
+ def patch_resource_record_set(project, managed_zone, name, type, resource_record_set_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1065
+ command = make_simple_command(:patch, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
1066
+ command.request_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
1067
+ command.request_object = resource_record_set_object
1068
+ command.response_representation = Google::Apis::DnsV1beta2::ResourceRecordSet::Representation
1069
+ command.response_class = Google::Apis::DnsV1beta2::ResourceRecordSet
1069
1070
  command.params['project'] = project unless project.nil?
1070
1071
  command.params['managedZone'] = managed_zone unless managed_zone.nil?
1071
- command.query['maxResults'] = max_results unless max_results.nil?
1072
- command.query['name'] = name unless name.nil?
1073
- command.query['pageToken'] = page_token unless page_token.nil?
1074
- command.query['type'] = type unless type.nil?
1072
+ command.params['name'] = name unless name.nil?
1073
+ command.params['type'] = type unless type.nil?
1074
+ command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
1075
1075
  command.query['fields'] = fields unless fields.nil?
1076
1076
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1077
1077
  execute_or_queue_command(command, &block)
@@ -29,10 +29,10 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta2'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
- # View your data across Google Cloud Platform services
35
+ # View your data across Google Cloud services and see the email address of your Google Account
36
36
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
37
37
 
38
38
  # View your DNS records hosted by Google Cloud DNS
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dns_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.16.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.12.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1beta2
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1beta2/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.16.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: