google-apis-dns_v1 0.12.0 → 0.13.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 +4 -0
- data/lib/google/apis/dns_v1/gem_version.rb +2 -2
- data/lib/google/apis/dns_v1/service.rb +42 -42
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e35360343b00a19cc5ff25fb90d1fcb078f5b207a188f0df171595a89d414391
|
4
|
+
data.tar.gz: 25f195d2d43ecaf83e54d45e1cded1cdb7c63a5d3cf669f3d96c754a286a5e18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa0282e240276a8e44824fbfffd9a011ecb9ee3a6d1f0844a6b2d6646ed29cd196c8b439a31991161dd2421b3a74580ece4d5cd021556befe7594ba2e9537f1
|
7
|
+
data.tar.gz: ad49a08e862ddbe4294ba2158465768dcf30c5dab2d29b3ca8733a19c8bb86834d71e71ba9cc0fd70f87594028bdc3b98fd8875ead611c618ee8356534b7697a
|
data/CHANGELOG.md
CHANGED
@@ -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.13.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 = "
|
25
|
+
REVISION = "20210712"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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
|
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/v1/projects/{project}/managedZones/{managedZone}/rrsets', options)
|
885
885
|
command.request_representation = Google::Apis::DnsV1::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
|
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/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
|
929
929
|
command.response_representation = Google::Apis::DnsV1::ResourceRecordSetsDeleteResponse::Representation
|
930
930
|
command.response_class = Google::Apis::DnsV1::ResourceRecordSetsDeleteResponse
|
@@ -968,7 +968,7 @@ module Google
|
|
968
968
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
969
969
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
970
970
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
971
|
-
def
|
971
|
+
def get_resource_record_set(project, managed_zone, name, type, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
972
972
|
command = make_simple_command(:get, 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
|
973
973
|
command.response_representation = Google::Apis::DnsV1::ResourceRecordSet::Representation
|
974
974
|
command.response_class = Google::Apis::DnsV1::ResourceRecordSet
|
@@ -982,20 +982,24 @@ module Google
|
|
982
982
|
execute_or_queue_command(command, &block)
|
983
983
|
end
|
984
984
|
|
985
|
-
#
|
985
|
+
# Enumerates ResourceRecordSets that you have created but not yet deleted.
|
986
986
|
# @param [String] project
|
987
987
|
# Identifies the project addressed by this request.
|
988
988
|
# @param [String] managed_zone
|
989
989
|
# Identifies the managed zone addressed by this request. Can be the managed zone
|
990
990
|
# name or ID.
|
991
|
+
# @param [Fixnum] max_results
|
992
|
+
# Optional. Maximum number of results to be returned. If unspecified, the server
|
993
|
+
# decides how many results to return.
|
991
994
|
# @param [String] name
|
992
|
-
#
|
995
|
+
# Restricts the list to return only records with this fully qualified domain
|
996
|
+
# name.
|
997
|
+
# @param [String] page_token
|
998
|
+
# Optional. A tag returned by a previous list request that was truncated. Use
|
999
|
+
# this parameter to continue a previous list request.
|
993
1000
|
# @param [String] type
|
994
|
-
#
|
995
|
-
#
|
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.
|
1001
|
+
# Restricts the list to return only records of this type. If present, the "name"
|
1002
|
+
# parameter must also be present.
|
999
1003
|
# @param [String] fields
|
1000
1004
|
# Selector specifying which fields to include in a partial response.
|
1001
1005
|
# @param [String] quota_user
|
@@ -1005,48 +1009,43 @@ module Google
|
|
1005
1009
|
# Request-specific options
|
1006
1010
|
#
|
1007
1011
|
# @yield [result, err] Result & error if block supplied
|
1008
|
-
# @yieldparam result [Google::Apis::DnsV1::
|
1012
|
+
# @yieldparam result [Google::Apis::DnsV1::ListResourceRecordSetsResponse] parsed result object
|
1009
1013
|
# @yieldparam err [StandardError] error object if request failed
|
1010
1014
|
#
|
1011
|
-
# @return [Google::Apis::DnsV1::
|
1015
|
+
# @return [Google::Apis::DnsV1::ListResourceRecordSetsResponse]
|
1012
1016
|
#
|
1013
1017
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1014
1018
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1015
1019
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1016
|
-
def
|
1017
|
-
command = make_simple_command(:
|
1018
|
-
command.
|
1019
|
-
command.
|
1020
|
-
command.response_representation = Google::Apis::DnsV1::ResourceRecordSet::Representation
|
1021
|
-
command.response_class = Google::Apis::DnsV1::ResourceRecordSet
|
1020
|
+
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)
|
1021
|
+
command = make_simple_command(:get, 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets', options)
|
1022
|
+
command.response_representation = Google::Apis::DnsV1::ListResourceRecordSetsResponse::Representation
|
1023
|
+
command.response_class = Google::Apis::DnsV1::ListResourceRecordSetsResponse
|
1022
1024
|
command.params['project'] = project unless project.nil?
|
1023
1025
|
command.params['managedZone'] = managed_zone unless managed_zone.nil?
|
1024
|
-
command.
|
1025
|
-
command.
|
1026
|
-
command.query['
|
1026
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
1027
|
+
command.query['name'] = name unless name.nil?
|
1028
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1029
|
+
command.query['type'] = type unless type.nil?
|
1027
1030
|
command.query['fields'] = fields unless fields.nil?
|
1028
1031
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1029
1032
|
execute_or_queue_command(command, &block)
|
1030
1033
|
end
|
1031
1034
|
|
1032
|
-
#
|
1035
|
+
# Applies a partial update to an existing ResourceRecordSet.
|
1033
1036
|
# @param [String] project
|
1034
1037
|
# Identifies the project addressed by this request.
|
1035
1038
|
# @param [String] managed_zone
|
1036
1039
|
# Identifies the managed zone addressed by this request. Can be the managed zone
|
1037
1040
|
# name or ID.
|
1038
|
-
# @param [Fixnum] max_results
|
1039
|
-
# Optional. Maximum number of results to be returned. If unspecified, the server
|
1040
|
-
# decides how many results to return.
|
1041
1041
|
# @param [String] name
|
1042
|
-
#
|
1043
|
-
# name.
|
1044
|
-
# @param [String] page_token
|
1045
|
-
# Optional. A tag returned by a previous list request that was truncated. Use
|
1046
|
-
# this parameter to continue a previous list request.
|
1042
|
+
# Fully qualified domain name.
|
1047
1043
|
# @param [String] type
|
1048
|
-
#
|
1049
|
-
#
|
1044
|
+
# RRSet type.
|
1045
|
+
# @param [Google::Apis::DnsV1::ResourceRecordSet] resource_record_set_object
|
1046
|
+
# @param [String] client_operation_id
|
1047
|
+
# For mutating operation requests only. An optional identifier specified by the
|
1048
|
+
# client. Must be unique for operation resources in the Operations collection.
|
1050
1049
|
# @param [String] fields
|
1051
1050
|
# Selector specifying which fields to include in a partial response.
|
1052
1051
|
# @param [String] quota_user
|
@@ -1056,24 +1055,25 @@ module Google
|
|
1056
1055
|
# Request-specific options
|
1057
1056
|
#
|
1058
1057
|
# @yield [result, err] Result & error if block supplied
|
1059
|
-
# @yieldparam result [Google::Apis::DnsV1::
|
1058
|
+
# @yieldparam result [Google::Apis::DnsV1::ResourceRecordSet] parsed result object
|
1060
1059
|
# @yieldparam err [StandardError] error object if request failed
|
1061
1060
|
#
|
1062
|
-
# @return [Google::Apis::DnsV1::
|
1061
|
+
# @return [Google::Apis::DnsV1::ResourceRecordSet]
|
1063
1062
|
#
|
1064
1063
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1065
1064
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1066
1065
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1067
|
-
def
|
1068
|
-
command = make_simple_command(:
|
1069
|
-
command.
|
1070
|
-
command.
|
1066
|
+
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)
|
1067
|
+
command = make_simple_command(:patch, 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}', options)
|
1068
|
+
command.request_representation = Google::Apis::DnsV1::ResourceRecordSet::Representation
|
1069
|
+
command.request_object = resource_record_set_object
|
1070
|
+
command.response_representation = Google::Apis::DnsV1::ResourceRecordSet::Representation
|
1071
|
+
command.response_class = Google::Apis::DnsV1::ResourceRecordSet
|
1071
1072
|
command.params['project'] = project unless project.nil?
|
1072
1073
|
command.params['managedZone'] = managed_zone unless managed_zone.nil?
|
1073
|
-
command.
|
1074
|
-
command.
|
1075
|
-
command.query['
|
1076
|
-
command.query['type'] = type unless type.nil?
|
1074
|
+
command.params['name'] = name unless name.nil?
|
1075
|
+
command.params['type'] = type unless type.nil?
|
1076
|
+
command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
|
1077
1077
|
command.query['fields'] = fields unless fields.nil?
|
1078
1078
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1079
1079
|
execute_or_queue_command(command, &block)
|
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.13.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-
|
11
|
+
date: 2021-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|