google-apis-dns_v1 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72dac0496ab6daa700b8a7e20bbc2c8ea5472770152dd5ff986beb03c234d0f7
4
- data.tar.gz: ae48b14fa2d34d81689691bcfdcb7ea5fb356ed484525adc691b2497159dd86b
3
+ metadata.gz: 4520f42abdea05fc7a6f7ffa8dd91b6ea9f619c4edd1c02e6be4e13f2d0c2523
4
+ data.tar.gz: ec0105c4373eeeb53711ac501ac9dbbf58de99ad39f6466370703c3424d6bbbd
5
5
  SHA512:
6
- metadata.gz: c6c5f5f4e7f2fd1ce839c13ebf0c97889103f4a0a892753df08634ff4d30bdf86c5b1aa0724619fa0a4f50dd3cbc5f69c781549f246abc323c753d6411c910ef
7
- data.tar.gz: e00db318bb4ff351db643626024a2584d91997787d59aa041d5ef946cd82251e5a2533af4cd21ce6ade2dd4ea088cd9f2354eb2e02ecb690a16a9818f7bf703f
6
+ metadata.gz: e31b3982d0983d1a846fe3083013317cd90b391b776a6b460807ee57b9819141fc9064fc97218586e564ff92a0a563dfebac94d353a26be2b34de1558da957d1
7
+ data.tar.gz: 53de4e9da2f29acab4056eeb96e62c98e795637df081151a2a42c8710e340e700f78f5f8b8c497ea06ba86127e0b6fa5d052dd02867b77aa9b3e10576a9a82ad
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dns_v1
2
2
 
3
+ ### v0.5.0 (2021-03-08)
4
+
5
+ * Regenerated from discovery document revision 20210303
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.4.0 (2021-03-04)
4
9
 
5
10
  * Regenerated from discovery document revision 20210227
@@ -1423,6 +1423,19 @@ module Google
1423
1423
  end
1424
1424
  end
1425
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
+
1426
1439
  #
1427
1440
  class ListResourceRecordSetsResponse
1428
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.4.0"
19
+ GEM_VERSION = "0.5.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 = "20210227"
25
+ REVISION = "20210303"
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
@@ -853,6 +853,182 @@ module Google
853
853
  execute_or_queue_command(command, &block)
854
854
  end
855
855
 
856
+ # Create 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
+ # Delete 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
+ # Fetch 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
+ # Apply 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
+
856
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.
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.4.0
4
+ version: 0.5.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-08 00:00:00.000000000 Z
11
+ date: 2021-03-15 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.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.5.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: []