google-apis-dns_v1 0.4.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/dns_v1.rb +1 -1
- data/lib/google/apis/dns_v1/classes.rb +42 -29
- data/lib/google/apis/dns_v1/gem_version.rb +3 -3
- data/lib/google/apis/dns_v1/representations.rb +12 -0
- data/lib/google/apis/dns_v1/service.rb +187 -11
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f5f417ffb52e74dc4572d6ebe7b06637c7557e2340d7cfbcdb7480d8d460b92
|
4
|
+
data.tar.gz: fa099f902149030ddf12ac38dd909e3fce12e35eaff0a36174ff1aba0b9b7cb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '082b721e47ed7152bb9e30407a4c799931c1e65c292a40091f5b484bd5743bcd93e2404f8cf640232af2e3cd5b3cae9423ae6987a0018d467a06e1540a8f0312'
|
7
|
+
data.tar.gz: e47eb35a8abe6efd9c1a05f9e169c137fc83ce0c7b386ba02c80b77a42afe31ed5361d6d4fc0338c9cae0279f446af619abe0e2bddc5e0c32389cbca957dbb40
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-dns_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-04-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210423
|
6
|
+
|
7
|
+
### v0.8.0 (2021-03-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210319
|
10
|
+
|
11
|
+
### v0.7.0 (2021-03-22)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210314
|
14
|
+
|
15
|
+
### v0.6.0 (2021-03-17)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210309
|
18
|
+
|
19
|
+
### v0.5.0 (2021-03-08)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210303
|
22
|
+
* Regenerated using generator version 0.2.0
|
23
|
+
|
3
24
|
### v0.4.0 (2021-03-04)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210227
|
data/lib/google/apis/dns_v1.rb
CHANGED
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
#
|
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
|
@@ -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.
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
#
|
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
|
@@ -576,19 +576,19 @@ module Google
|
|
576
576
|
# @return [Google::Apis::DnsV1::ResponseHeader]
|
577
577
|
attr_accessor :header
|
578
578
|
|
579
|
-
#
|
579
|
+
# Type of resource.
|
580
580
|
# Corresponds to the JSON property `kind`
|
581
581
|
# @return [String]
|
582
582
|
attr_accessor :kind
|
583
583
|
|
584
584
|
# The presence of this field indicates that there exist more results following
|
585
585
|
# your last page of results in pagination order. To fetch them, make another
|
586
|
-
# list request using this value as your page token.
|
587
|
-
#
|
588
|
-
#
|
589
|
-
#
|
590
|
-
#
|
591
|
-
#
|
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.
|
592
592
|
# Corresponds to the JSON property `nextPageToken`
|
593
593
|
# @return [String]
|
594
594
|
attr_accessor :next_page_token
|
@@ -783,9 +783,9 @@ module Google
|
|
783
783
|
# @return [String]
|
784
784
|
attr_accessor :kind
|
785
785
|
|
786
|
-
# The fully qualified URL of the namespace associated with the zone.
|
787
|
-
# be
|
788
|
-
#
|
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`
|
789
789
|
# Corresponds to the JSON property `namespaceUrl`
|
790
790
|
# @return [String]
|
791
791
|
attr_accessor :namespace_url
|
@@ -823,12 +823,12 @@ module Google
|
|
823
823
|
|
824
824
|
# The presence of this field indicates that there exist more results following
|
825
825
|
# your last page of results in pagination order. To fetch them, make another
|
826
|
-
# list request using this value as your page token.
|
827
|
-
#
|
828
|
-
#
|
829
|
-
#
|
830
|
-
#
|
831
|
-
#
|
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.
|
832
832
|
# Corresponds to the JSON property `nextPageToken`
|
833
833
|
# @return [String]
|
834
834
|
attr_accessor :next_page_token
|
@@ -988,12 +988,12 @@ module Google
|
|
988
988
|
|
989
989
|
# The presence of this field indicates that there exist more results following
|
990
990
|
# your last page of results in pagination order. To fetch them, make another
|
991
|
-
# list request using this value as your page token.
|
992
|
-
#
|
993
|
-
#
|
994
|
-
#
|
995
|
-
#
|
996
|
-
#
|
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.
|
997
997
|
# Corresponds to the JSON property `nextPageToken`
|
998
998
|
# @return [String]
|
999
999
|
attr_accessor :next_page_token
|
@@ -1229,7 +1229,7 @@ module Google
|
|
1229
1229
|
|
1230
1230
|
# A project resource. The project is a top level container for resources
|
1231
1231
|
# including Cloud DNS ManagedZones. Projects can be created only in the APIs
|
1232
|
-
# console.
|
1232
|
+
# console. Next tag: 7.
|
1233
1233
|
class Project
|
1234
1234
|
include Google::Apis::Core::Hashable
|
1235
1235
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210423"
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
@@ -739,7 +739,7 @@ module Google
|
|
739
739
|
execute_or_queue_command(command, &block)
|
740
740
|
end
|
741
741
|
|
742
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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,6 +853,182 @@ module Google
|
|
853
853
|
execute_or_queue_command(command, &block)
|
854
854
|
end
|
855
855
|
|
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
|
+
|
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
|
+
version: 0.9.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-
|
11
|
+
date: 2021-05-18 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.9.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: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud DNS API V1
|