google-apis-dns_v1 0.3.0 → 0.8.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: 22fb3fed7330cdddded6980065c706d6980b5dfeb4aff34c99ed29474dfe8d9e
4
- data.tar.gz: 560851e3086ae6576ffd5ea236840dd704f13004b87719178c3f1cd09b3add99
3
+ metadata.gz: 68c59d03a1a098dcdae8c824641738564a8ddbc1eed5e892602a7b01527c58ad
4
+ data.tar.gz: 69842a08edccf86b9240a7c6622a7e8873db9d1c65070f1e3c300532f25b5c12
5
5
  SHA512:
6
- metadata.gz: 57cf89a434beca5b6c72ff38b44844e1c58dab65f10ed0e0d92357d5d3393d1ff524d0ac39215944c45e73bfee5d905edbdb67ddee0dda279b15f04c546fca11
7
- data.tar.gz: 3774370383f4931b1bc256bc519e0c0ec272e43e7bdddfce1ba879f6a68c9c171abf87cf4ac907ffd5513176190d19f062a62cb239e3982e8194a02f961e85b7
6
+ metadata.gz: 46bb39ae9fa709675b9b63e1e13241b415d684037e18c12918fa17679446d58a2213e7e24c40d1c6c2e13480ef1c987d42be96fe2991a6d1351484b016696e21
7
+ data.tar.gz: 3d4d01688841763383858d8f5ab96c1a6cb5fa5a88bf6da771df7d9aaa03656975763ce315d8547cd6b4b78f01f7ccf1aaa6815298bc2aa8eaf0eca779a13e38
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-dns_v1
2
2
 
3
+ ### v0.8.0 (2021-03-29)
4
+
5
+ * Regenerated from discovery document revision 20210319
6
+
7
+ ### v0.7.0 (2021-03-22)
8
+
9
+ * Regenerated from discovery document revision 20210314
10
+
11
+ ### v0.6.0 (2021-03-17)
12
+
13
+ * Regenerated from discovery document revision 20210309
14
+
15
+ ### v0.5.0 (2021-03-08)
16
+
17
+ * Regenerated from discovery document revision 20210303
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.4.0 (2021-03-04)
21
+
22
+ * Regenerated from discovery document revision 20210227
23
+
3
24
  ### v0.3.0 (2021-02-23)
4
25
 
5
26
  * Regenerated from discovery document revision 20210213
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
35
  # View your data across Google Cloud Platform services
@@ -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]
@@ -109,12 +109,12 @@ module Google
109
109
 
110
110
  # The presence of this field indicates that there exist more results following
111
111
  # your last page of results in pagination order. To fetch them, make another
112
- # list request using this value as your pagination token. In this way you can
113
- # retrieve the complete contents of even very large collections one page at a
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 are an
116
- # inconsistent view of the collection. There is no way to retrieve a "snapshot"
117
- # of collections larger than the maximum page size.
112
+ # list request using this value as your pagination token. This lets you retrieve
113
+ # the complete contents of even very large collections one page at a time.
114
+ # However, if the contents of the collection change between the first and last
115
+ # paginated list request, the set of all elements returned are an inconsistent
116
+ # view of the collection. You cannot retrieve a "snapshot" of collections larger
117
+ # than the maximum page size.
118
118
  # Corresponds to the JSON property `nextPageToken`
119
119
  # @return [String]
120
120
  attr_accessor :next_page_token
@@ -167,14 +167,14 @@ module Google
167
167
  attr_accessor :id
168
168
 
169
169
  # Active keys are used to sign subsequent changes to the ManagedZone. Inactive
170
- # keys will still be present as DNSKEY Resource Records for the use of resolvers
170
+ # keys are still present as DNSKEY Resource Records for the use of resolvers
171
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
@@ -201,7 +201,7 @@ module Google
201
201
 
202
202
  # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
203
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
204
+ # record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared,
205
205
  # and this key is used to sign only resource record sets of other types.
206
206
  # Immutable after creation time.
207
207
  # Corresponds to the JSON property `type`
@@ -399,8 +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. If you need to use this field, please reach out
403
- # to your account team.
402
+ # leave this field unset. If you need to use this field, contact your account
403
+ # team.
404
404
  # Corresponds to the JSON property `nameServerSet`
405
405
  # @return [String]
406
406
  attr_accessor :name_server_set
@@ -537,9 +537,10 @@ module Google
537
537
  include Google::Apis::Core::Hashable
538
538
 
539
539
  # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud
540
- # DNS makes forwarding decisions based on address ranges; that is, RFC1918
541
- # addresses go to the VPC, non-RFC1918 addresses go to the internet. When set to
542
- # PRIVATE, Cloud DNS always sends 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.
543
544
  # Corresponds to the JSON property `forwardingPath`
544
545
  # @return [String]
545
546
  attr_accessor :forwarding_path
@@ -582,12 +583,12 @@ module Google
582
583
 
583
584
  # The presence of this field indicates that there exist more results following
584
585
  # your last page of results in pagination order. To fetch them, make another
585
- # list request using this value as your page token. In this way you can retrieve
586
- # the complete contents of even very large collections one page at a time.
587
- # However, if the contents of the collection change between the first and last
588
- # paginated list request, the set of all elements returned are an inconsistent
589
- # view of the collection. There is no way to retrieve a consistent snapshot of a
590
- # collection larger than the maximum page size.
586
+ # list request using this value as your page token. This lets you retrieve the
587
+ # complete contents of even very large collections one page at a time. However,
588
+ # if the contents of the collection change between the first and last paginated
589
+ # list request, the set of all elements returned are an inconsistent view of the
590
+ # collection. You cannot retrieve a consistent snapshot of a collection larger
591
+ # than the maximum page size.
591
592
  # Corresponds to the JSON property `nextPageToken`
592
593
  # @return [String]
593
594
  attr_accessor :next_page_token
@@ -705,9 +706,9 @@ module Google
705
706
  # @return [String]
706
707
  attr_accessor :kind
707
708
 
708
- # The fully qualified URL of the VPC network to bind to. This should be
709
- # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
710
- # 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`
711
712
  # Corresponds to the JSON property `networkUrl`
712
713
  # @return [String]
713
714
  attr_accessor :network_url
@@ -771,8 +772,8 @@ module Google
771
772
  class ManagedZoneServiceDirectoryConfigNamespace
772
773
  include Google::Apis::Core::Hashable
773
774
 
774
- # The time that the namespace backing this zone was deleted, empty string if it
775
- # 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.
776
777
  # Corresponds to the JSON property `deletionTime`
777
778
  # @return [String]
778
779
  attr_accessor :deletion_time
@@ -782,9 +783,9 @@ module Google
782
783
  # @return [String]
783
784
  attr_accessor :kind
784
785
 
785
- # The fully qualified URL of the namespace associated with the zone. This should
786
- # be formatted like https://servicedirectory.googleapis.com/v1/projects/`project`
787
- # /locations/`location`/namespaces/`namespace`
786
+ # The fully qualified URL of the namespace associated with the zone. Format must
787
+ # be https://servicedirectory.googleapis.com/v1/projects/`project`/locations/`
788
+ # location`/namespaces/`namespace`
788
789
  # Corresponds to the JSON property `namespaceUrl`
789
790
  # @return [String]
790
791
  attr_accessor :namespace_url
@@ -822,12 +823,12 @@ module Google
822
823
 
823
824
  # The presence of this field indicates that there exist more results following
824
825
  # your last page of results in pagination order. To fetch them, make another
825
- # list request using this value as your page token. In this way you can retrieve
826
- # the complete contents of even very large collections one page at a time.
827
- # However, if the contents of the collection change between the first and last
828
- # paginated list request, the set of all elements returned are an inconsistent
829
- # view of the collection. There is no way to retrieve a consistent snapshot of a
830
- # collection larger than the maximum page size.
826
+ # list request using this value as your page token. This lets you the complete
827
+ # contents of even very large collections one page at a time. However, if the
828
+ # contents of the collection change between the first and last paginated list
829
+ # request, the set of all elements returned are an inconsistent view of the
830
+ # collection. You cannot retrieve a consistent snapshot of a collection larger
831
+ # than the maximum page size.
831
832
  # Corresponds to the JSON property `nextPageToken`
832
833
  # @return [String]
833
834
  attr_accessor :next_page_token
@@ -987,12 +988,12 @@ module Google
987
988
 
988
989
  # The presence of this field indicates that there exist more results following
989
990
  # your last page of results in pagination order. To fetch them, make another
990
- # list request using this value as your page token. In this way you can retrieve
991
- # the complete contents of even very large collections one page at a time.
992
- # However, if the contents of the collection change between the first and last
993
- # paginated list request, the set of all elements returned are an inconsistent
994
- # view of the collection. There is no way to retrieve a consistent snapshot of a
995
- # collection larger than the maximum page size.
991
+ # list request using this value as your page token. This lets you the complete
992
+ # contents of even very large collections one page at a time. However, if the
993
+ # contents of the collection change between the first and last paginated list
994
+ # request, the set of all elements returned are an inconsistent view of the
995
+ # collection. You cannot retrieve a consistent snapshot of a collection larger
996
+ # than the maximum page size.
996
997
  # Corresponds to the JSON property `nextPageToken`
997
998
  # @return [String]
998
999
  attr_accessor :next_page_token
@@ -1087,7 +1088,7 @@ module Google
1087
1088
 
1088
1089
  # Allows networks bound to this policy to receive DNS queries sent by VMs or
1089
1090
  # applications over VPN connections. When enabled, a virtual IP address is
1090
- # allocated from each of the sub-networks that are bound to this policy.
1091
+ # allocated from each of the subnetworks that are bound to this policy.
1091
1092
  # Corresponds to the JSON property `enableInboundForwarding`
1092
1093
  # @return [Boolean]
1093
1094
  attr_accessor :enable_inbound_forwarding
@@ -1169,9 +1170,10 @@ module Google
1169
1170
  include Google::Apis::Core::Hashable
1170
1171
 
1171
1172
  # Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud
1172
- # DNS makes forwarding decision based on address ranges; that is, RFC1918
1173
- # addresses go to the VPC, non-RFC1918 addresses go to the internet. When set to
1174
- # PRIVATE, Cloud DNS always sends 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.
1175
1177
  # Corresponds to the JSON property `forwardingPath`
1176
1178
  # @return [String]
1177
1179
  attr_accessor :forwarding_path
@@ -1227,7 +1229,7 @@ module Google
1227
1229
 
1228
1230
  # A project resource. The project is a top level container for resources
1229
1231
  # including Cloud DNS ManagedZones. Projects can be created only in the APIs
1230
- # console.
1232
+ # console. Next tag: 7.
1231
1233
  class Project
1232
1234
  include Google::Apis::Core::Hashable
1233
1235
 
@@ -1370,7 +1372,7 @@ module Google
1370
1372
  end
1371
1373
  end
1372
1374
 
1373
- # A unit of data that will be returned by the DNS servers.
1375
+ # A unit of data that is returned by the DNS servers.
1374
1376
  class ResourceRecordSet
1375
1377
  include Google::Apis::Core::Hashable
1376
1378
 
@@ -1421,6 +1423,19 @@ module Google
1421
1423
  end
1422
1424
  end
1423
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
+
1424
1439
  #
1425
1440
  class ListResourceRecordSetsResponse
1426
1441
  include Google::Apis::Core::Hashable
@@ -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.3.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210213"
25
+ REVISION = "20210319"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class ResourceRecordSetsDeleteResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class ListResourceRecordSetsResponse
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -597,6 +603,12 @@ module Google
597
603
  end
598
604
  end
599
605
 
606
+ class ResourceRecordSetsDeleteResponse
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ end
610
+ end
611
+
600
612
  class ListResourceRecordSetsResponse
601
613
  # @private
602
614
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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
@@ -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
@@ -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,7 +468,7 @@ 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
@@ -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
- # Creates 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. Fails 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.
@@ -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
@@ -819,7 +819,7 @@ module Google
819
819
  execute_or_queue_command(command, &block)
820
820
  end
821
821
 
822
- # Fetch the representation of an existing Project.
822
+ # Fetches the representation of an existing Project.
823
823
  # @param [String] project
824
824
  # Identifies the project addressed by this request.
825
825
  # @param [String] client_operation_id
@@ -853,7 +853,183 @@ module Google
853
853
  execute_or_queue_command(command, &block)
854
854
  end
855
855
 
856
- # Enumerate ResourceRecordSets that you have 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
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.3.0
4
+ version: 0.8.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-03-01 00:00:00.000000000 Z
11
+ date: 2021-04-05 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.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.8.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.2.11
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