google-apis-dns_v1 0.12.0 → 0.16.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: 987a356a4877235672a014152967677a53cd6c2dd032bed3ff0311f6354d9b0d
4
- data.tar.gz: 8e9f8bbbd024c6eb57b3da2929a30ef06aff2e3ca20933f92c1f5b837808822e
3
+ metadata.gz: 2d2788dddec84cec57a5bd4c66f9e680e03a4ef8939e5629dc954f0533f37bf2
4
+ data.tar.gz: ad190f8054abda7da2081b45be04ae1b282161fe2b0f5af6b1008813dd6b08f1
5
5
  SHA512:
6
- metadata.gz: be1d4421bd04527d19ec94d04231a06822607f544b535b587b311305c0b7781699c6b30a6aeb9efb58358fc9a23a21b25e2b7a164a052090bc286b0b991ef71f
7
- data.tar.gz: 99afc20c2d5e9078bbb61a494e1916bcfc119e6265c44a7be2f6a251c141ff47f665d907676d88824f4cae803fd6535aaa5e32468bfc75c44f180e4078bb4dcc
6
+ metadata.gz: 77c3cd8e721e937b36b66aee821aca42d1cd237363e0c2ca1b737a2c77c895502eb98240ec2d4d409542f30ab344a68ddc65d941950a5903bd822d48b60b562d
7
+ data.tar.gz: '085c1deb61f09fe14523162edbce44437026e374867aca93dbb3e203b9b484d34f825041f44b53cf7d71d47a71a6ec78714e3f1b5a3fab375bf73f53e9e1ca77'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-dns_v1
2
2
 
3
+ ### v0.16.0 (2021-11-09)
4
+
5
+ * Regenerated from discovery document revision 20211103
6
+
7
+ ### v0.15.0 (2021-10-21)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.14.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210809
14
+
15
+ ### v0.13.0 (2021-07-20)
16
+
17
+ * Regenerated from discovery document revision 20210712
18
+
3
19
  ### v0.12.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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
 
@@ -346,6 +346,11 @@ module Google
346
346
  class ManagedZone
347
347
  include Google::Apis::Core::Hashable
348
348
 
349
+ # Cloud Logging configurations for publicly visible zones.
350
+ # Corresponds to the JSON property `cloudLoggingConfig`
351
+ # @return [Google::Apis::DnsV1::ManagedZoneCloudLoggingConfig]
352
+ attr_accessor :cloud_logging_config
353
+
349
354
  # The time that this resource was created on the server. This is in RFC3339 text
350
355
  # format. Output only.
351
356
  # Corresponds to the JSON property `creationTime`
@@ -448,6 +453,7 @@ module Google
448
453
 
449
454
  # Update properties of this object
450
455
  def update!(**args)
456
+ @cloud_logging_config = args[:cloud_logging_config] if args.key?(:cloud_logging_config)
451
457
  @creation_time = args[:creation_time] if args.key?(:creation_time)
452
458
  @description = args[:description] if args.key?(:description)
453
459
  @dns_name = args[:dns_name] if args.key?(:dns_name)
@@ -467,6 +473,33 @@ module Google
467
473
  end
468
474
  end
469
475
 
476
+ # Cloud Logging configurations for publicly visible zones.
477
+ class ManagedZoneCloudLoggingConfig
478
+ include Google::Apis::Core::Hashable
479
+
480
+ # If set, enable query logging for this ManagedZone. False by default, making
481
+ # logging opt-in.
482
+ # Corresponds to the JSON property `enableLogging`
483
+ # @return [Boolean]
484
+ attr_accessor :enable_logging
485
+ alias_method :enable_logging?, :enable_logging
486
+
487
+ #
488
+ # Corresponds to the JSON property `kind`
489
+ # @return [String]
490
+ attr_accessor :kind
491
+
492
+ def initialize(**args)
493
+ update!(**args)
494
+ end
495
+
496
+ # Update properties of this object
497
+ def update!(**args)
498
+ @enable_logging = args[:enable_logging] if args.key?(:enable_logging)
499
+ @kind = args[:kind] if args.key?(:kind)
500
+ end
501
+ end
502
+
470
503
  #
471
504
  class ManagedZoneDnsSecConfig
472
505
  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.12.0"
19
+ GEM_VERSION = "0.16.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 = "20210423"
25
+ REVISION = "20211103"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class ManagedZoneCloudLoggingConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class ManagedZoneDnsSecConfig
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -310,6 +316,8 @@ module Google
310
316
  class ManagedZone
311
317
  # @private
312
318
  class Representation < Google::Apis::Core::JsonRepresentation
319
+ property :cloud_logging_config, as: 'cloudLoggingConfig', class: Google::Apis::DnsV1::ManagedZoneCloudLoggingConfig, decorator: Google::Apis::DnsV1::ManagedZoneCloudLoggingConfig::Representation
320
+
313
321
  property :creation_time, as: 'creationTime'
314
322
  property :description, as: 'description'
315
323
  property :dns_name, as: 'dnsName'
@@ -335,6 +343,14 @@ module Google
335
343
  end
336
344
  end
337
345
 
346
+ class ManagedZoneCloudLoggingConfig
347
+ # @private
348
+ class Representation < Google::Apis::Core::JsonRepresentation
349
+ property :enable_logging, as: 'enableLogging'
350
+ property :kind, as: 'kind'
351
+ end
352
+ end
353
+
338
354
  class ManagedZoneDnsSecConfig
339
355
  # @private
340
356
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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 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)
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 delete_project_managed_zone_rrset(project, managed_zone, name, type, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
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 get_project_managed_zone_rrset(project, managed_zone, name, type, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
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
- # Applies a partial update to an existing ResourceRecordSet.
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
- # Fully qualified domain name.
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
- # 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.
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::ResourceRecordSet] parsed result object
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::ResourceRecordSet]
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 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
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.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?
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
- # Enumerates ResourceRecordSets that you have created but not yet deleted.
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
- # Restricts the list to return only records with this fully qualified domain
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
- # Restricts the list to return only records of this type. If present, the "name"
1049
- # parameter must also be present.
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::ListResourceRecordSetsResponse] parsed result object
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::ListResourceRecordSetsResponse]
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 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)
1068
- command = make_simple_command(:get, 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets', options)
1069
- command.response_representation = Google::Apis::DnsV1::ListResourceRecordSetsResponse::Representation
1070
- command.response_class = Google::Apis::DnsV1::ListResourceRecordSetsResponse
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.query['maxResults'] = max_results unless max_results.nil?
1074
- command.query['name'] = name unless name.nil?
1075
- command.query['pageToken'] = page_token unless page_token.nil?
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)
@@ -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 Platform data
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 Platform services
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.12.0
4
+ version: 0.16.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-05 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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/master/generated/google-apis-dns_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.12.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dns_v1
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.16.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: