google-apis-dns_v1 0.11.0 → 0.15.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/dns_v1/gem_version.rb +3 -3
- data/lib/google/apis/dns_v1/service.rb +42 -42
- data/lib/google/apis/dns_v1.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 225319d9e46e5f17f7aa84be721fa50048530187739a2205821bffc3ad95e46a
|
4
|
+
data.tar.gz: 2a58c41fc645c32280b9b863b0210d8dfde68637c36f5edc285cf2e77664fcc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1f7f69192f97d53f6757132de4bee81c318a4c203768ed3b4abbb3a7ed2e4f94c9b00ace91a1d1f3098cebe0b7f9888d5a23c1350f2d97710ddb8e334d8206c
|
7
|
+
data.tar.gz: a81c09191f0ec79d95959748fd1ee940c5165675cfc294727e10ee8db7c942dfdef02541c1b6367721a5b253c4306da023c48ad9e7bdcb630ae1d2cb3cda7069
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-dns_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2021-10-21)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.14.0 (2021-09-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210809
|
10
|
+
|
11
|
+
### v0.13.0 (2021-07-20)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210712
|
14
|
+
|
15
|
+
### v0.12.0 (2021-06-29)
|
16
|
+
|
17
|
+
* Regenerated using generator version 0.4.0
|
18
|
+
|
3
19
|
### v0.11.0 (2021-06-24)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.3.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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210809"
|
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)
|
data/lib/google/apis/dns_v1.rb
CHANGED
@@ -29,10 +29,10 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
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
|
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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.15.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|