google-api-client 0.9.22 → 0.9.23

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
  SHA1:
3
- metadata.gz: 76e72ec0bfe8fc078549e475508de74a2aa8b66c
4
- data.tar.gz: 03b4f5a6a2cc5caa872445c43d5e9d985a3328ec
3
+ metadata.gz: 0113e30add127f3d599ad1d302a7da5d42ae442e
4
+ data.tar.gz: 283a832a5aee319e5edbbce3562ca39df646325e
5
5
  SHA512:
6
- metadata.gz: 184a37120b022df92b01db0d0a14340a37dac7db274893f8eb410f9589c4ced4cd220eafca4010928e63f997c3ebe2ac5984844b56ee84c38b272daa31fad33d
7
- data.tar.gz: 983162a446dfdd26ac53855d1b5d68509c1dfd8cbf32afce6fa5194cf3a748f76a0b727c8569f86e1be88d4a2cb2e572a2369c5dc05e665a6139604795cc9b12
6
+ metadata.gz: 1c1a16f0adea291890a0296f7dfe834585d709908d8ce46aab85a02cb52142c751f122b4efb345fae9c725bb394208d931dbfc28020fec91de94b28ad49a1d05
7
+ data.tar.gz: e2945b2fe274e7a1486b67d40fa2f9945e62d8fd39116cb04e01568827aa52414b4c063ff470e45ca8280829d4bd8eaed9adcf913006c0a8449dfed70211c8f9
@@ -33179,3 +33179,202 @@
33179
33179
  /sheets:v4/InsertRangeRequest/range: range
33180
33180
  /sheets:v4/Request/insertRange: insert_range
33181
33181
  /sheets:v4/Request/deleteRange: delete_range
33182
+ /dns:v2beta1/fields: fields
33183
+ /dns:v2beta1/key: key
33184
+ /dns:v2beta1/quotaUser: quota_user
33185
+ /dns:v2beta1/userIp: user_ip
33186
+ /dns:v2beta1/dns.changes.create: create_change
33187
+ /dns:v2beta1/dns.changes.create/clientOperationId: client_operation_id
33188
+ /dns:v2beta1/dns.changes.create/managedZone: managed_zone
33189
+ /dns:v2beta1/dns.changes.create/project: project
33190
+ /dns:v2beta1/dns.changes.get: get_change
33191
+ /dns:v2beta1/dns.changes.get/changeId: change_id
33192
+ /dns:v2beta1/dns.changes.get/clientOperationId: client_operation_id
33193
+ /dns:v2beta1/dns.changes.get/managedZone: managed_zone
33194
+ /dns:v2beta1/dns.changes.get/project: project
33195
+ /dns:v2beta1/dns.changes.list: list_changes
33196
+ /dns:v2beta1/dns.changes.list/managedZone: managed_zone
33197
+ /dns:v2beta1/dns.changes.list/maxResults: max_results
33198
+ /dns:v2beta1/dns.changes.list/pageToken: page_token
33199
+ /dns:v2beta1/dns.changes.list/project: project
33200
+ /dns:v2beta1/dns.changes.list/sortBy: sort_by
33201
+ /dns:v2beta1/dns.changes.list/sortOrder: sort_order
33202
+ /dns:v2beta1/dns.dnsKeys.get: get_dns_key
33203
+ /dns:v2beta1/dns.dnsKeys.get/clientOperationId: client_operation_id
33204
+ /dns:v2beta1/dns.dnsKeys.get/digestType: digest_type
33205
+ /dns:v2beta1/dns.dnsKeys.get/dnsKeyId: dns_key_id
33206
+ /dns:v2beta1/dns.dnsKeys.get/managedZone: managed_zone
33207
+ /dns:v2beta1/dns.dnsKeys.get/project: project
33208
+ /dns:v2beta1/dns.dnsKeys.list: list_dns_keys
33209
+ /dns:v2beta1/dns.dnsKeys.list/digestType: digest_type
33210
+ /dns:v2beta1/dns.dnsKeys.list/managedZone: managed_zone
33211
+ /dns:v2beta1/dns.dnsKeys.list/maxResults: max_results
33212
+ /dns:v2beta1/dns.dnsKeys.list/pageToken: page_token
33213
+ /dns:v2beta1/dns.dnsKeys.list/project: project
33214
+ /dns:v2beta1/dns.managedZoneOperations.get: get_managed_zone_operation
33215
+ /dns:v2beta1/dns.managedZoneOperations.get/clientOperationId: client_operation_id
33216
+ /dns:v2beta1/dns.managedZoneOperations.get/managedZone: managed_zone
33217
+ /dns:v2beta1/dns.managedZoneOperations.get/operation: operation
33218
+ /dns:v2beta1/dns.managedZoneOperations.get/project: project
33219
+ /dns:v2beta1/dns.managedZoneOperations.list: list_managed_zone_operations
33220
+ /dns:v2beta1/dns.managedZoneOperations.list/managedZone: managed_zone
33221
+ /dns:v2beta1/dns.managedZoneOperations.list/maxResults: max_results
33222
+ /dns:v2beta1/dns.managedZoneOperations.list/pageToken: page_token
33223
+ /dns:v2beta1/dns.managedZoneOperations.list/project: project
33224
+ /dns:v2beta1/dns.managedZoneOperations.list/sortBy: sort_by
33225
+ /dns:v2beta1/dns.managedZones.create: create_managed_zone
33226
+ /dns:v2beta1/dns.managedZones.create/clientOperationId: client_operation_id
33227
+ /dns:v2beta1/dns.managedZones.create/project: project
33228
+ /dns:v2beta1/dns.managedZones.delete: delete_managed_zone
33229
+ /dns:v2beta1/dns.managedZones.delete/clientOperationId: client_operation_id
33230
+ /dns:v2beta1/dns.managedZones.delete/managedZone: managed_zone
33231
+ /dns:v2beta1/dns.managedZones.delete/project: project
33232
+ /dns:v2beta1/dns.managedZones.get: get_managed_zone
33233
+ /dns:v2beta1/dns.managedZones.get/clientOperationId: client_operation_id
33234
+ /dns:v2beta1/dns.managedZones.get/managedZone: managed_zone
33235
+ /dns:v2beta1/dns.managedZones.get/project: project
33236
+ /dns:v2beta1/dns.managedZones.list: list_managed_zones
33237
+ /dns:v2beta1/dns.managedZones.list/dnsName: dns_name
33238
+ /dns:v2beta1/dns.managedZones.list/maxResults: max_results
33239
+ /dns:v2beta1/dns.managedZones.list/pageToken: page_token
33240
+ /dns:v2beta1/dns.managedZones.list/project: project
33241
+ /dns:v2beta1/dns.managedZones.patch: patch_managed_zone
33242
+ /dns:v2beta1/dns.managedZones.patch/clientOperationId: client_operation_id
33243
+ /dns:v2beta1/dns.managedZones.patch/managedZone: managed_zone
33244
+ /dns:v2beta1/dns.managedZones.patch/project: project
33245
+ /dns:v2beta1/dns.managedZones.update: update_managed_zone
33246
+ /dns:v2beta1/dns.managedZones.update/clientOperationId: client_operation_id
33247
+ /dns:v2beta1/dns.managedZones.update/managedZone: managed_zone
33248
+ /dns:v2beta1/dns.managedZones.update/project: project
33249
+ /dns:v2beta1/dns.projects.get: get_project
33250
+ /dns:v2beta1/dns.projects.get/clientOperationId: client_operation_id
33251
+ /dns:v2beta1/dns.projects.get/project: project
33252
+ /dns:v2beta1/dns.resourceRecordSets.list: list_resource_record_sets
33253
+ /dns:v2beta1/dns.resourceRecordSets.list/managedZone: managed_zone
33254
+ /dns:v2beta1/dns.resourceRecordSets.list/maxResults: max_results
33255
+ /dns:v2beta1/dns.resourceRecordSets.list/name: name
33256
+ /dns:v2beta1/dns.resourceRecordSets.list/pageToken: page_token
33257
+ /dns:v2beta1/dns.resourceRecordSets.list/project: project
33258
+ /dns:v2beta1/dns.resourceRecordSets.list/type: type
33259
+ /dns:v2beta1/Change: change
33260
+ /dns:v2beta1/Change/additions: additions
33261
+ /dns:v2beta1/Change/additions/addition: addition
33262
+ /dns:v2beta1/Change/deletions: deletions
33263
+ /dns:v2beta1/Change/deletions/deletion: deletion
33264
+ /dns:v2beta1/Change/id: id
33265
+ /dns:v2beta1/Change/isServing: is_serving
33266
+ /dns:v2beta1/Change/kind: kind
33267
+ /dns:v2beta1/Change/startTime: start_time
33268
+ /dns:v2beta1/Change/status: status
33269
+ /dns:v2beta1/ChangesListResponse: changes_list_response
33270
+ /dns:v2beta1/ChangesListResponse/changes: changes
33271
+ /dns:v2beta1/ChangesListResponse/changes/change: change
33272
+ /dns:v2beta1/ChangesListResponse/header: header
33273
+ /dns:v2beta1/ChangesListResponse/kind: kind
33274
+ /dns:v2beta1/ChangesListResponse/nextPageToken: next_page_token
33275
+ /dns:v2beta1/DnsKey: dns_key
33276
+ /dns:v2beta1/DnsKey/algorithm: algorithm
33277
+ /dns:v2beta1/DnsKey/creationTime: creation_time
33278
+ /dns:v2beta1/DnsKey/description: description
33279
+ /dns:v2beta1/DnsKey/digests: digests
33280
+ /dns:v2beta1/DnsKey/digests/digest: digest
33281
+ /dns:v2beta1/DnsKey/id: id
33282
+ /dns:v2beta1/DnsKey/isActive: is_active
33283
+ /dns:v2beta1/DnsKey/keyLength: key_length
33284
+ /dns:v2beta1/DnsKey/keyTag: key_tag
33285
+ /dns:v2beta1/DnsKey/kind: kind
33286
+ /dns:v2beta1/DnsKey/publicKey: public_key
33287
+ /dns:v2beta1/DnsKey/type: type
33288
+ /dns:v2beta1/DnsKeyDigest: dns_key_digest
33289
+ /dns:v2beta1/DnsKeyDigest/digest: digest
33290
+ /dns:v2beta1/DnsKeyDigest/type: type
33291
+ /dns:v2beta1/DnsKeySpec: dns_key_spec
33292
+ /dns:v2beta1/DnsKeySpec/algorithm: algorithm
33293
+ /dns:v2beta1/DnsKeySpec/keyLength: key_length
33294
+ /dns:v2beta1/DnsKeySpec/keyType: key_type
33295
+ /dns:v2beta1/DnsKeySpec/kind: kind
33296
+ /dns:v2beta1/DnsKeysListResponse: dns_keys_list_response
33297
+ /dns:v2beta1/DnsKeysListResponse/dnsKeys: dns_keys
33298
+ /dns:v2beta1/DnsKeysListResponse/dnsKeys/dns_key: dns_key
33299
+ /dns:v2beta1/DnsKeysListResponse/header: header
33300
+ /dns:v2beta1/DnsKeysListResponse/kind: kind
33301
+ /dns:v2beta1/DnsKeysListResponse/nextPageToken: next_page_token
33302
+ /dns:v2beta1/ManagedZone: managed_zone
33303
+ /dns:v2beta1/ManagedZone/creationTime: creation_time
33304
+ /dns:v2beta1/ManagedZone/description: description
33305
+ /dns:v2beta1/ManagedZone/dnsName: dns_name
33306
+ /dns:v2beta1/ManagedZone/dnssecConfig: dnssec_config
33307
+ /dns:v2beta1/ManagedZone/id: id
33308
+ /dns:v2beta1/ManagedZone/kind: kind
33309
+ /dns:v2beta1/ManagedZone/name: name
33310
+ /dns:v2beta1/ManagedZone/nameServerSet: name_server_set
33311
+ /dns:v2beta1/ManagedZone/nameServers: name_servers
33312
+ /dns:v2beta1/ManagedZone/nameServers/name_server: name_server
33313
+ /dns:v2beta1/ManagedZoneDnsSecConfig: managed_zone_dns_sec_config
33314
+ /dns:v2beta1/ManagedZoneDnsSecConfig/defaultKeySpecs: default_key_specs
33315
+ /dns:v2beta1/ManagedZoneDnsSecConfig/defaultKeySpecs/default_key_spec: default_key_spec
33316
+ /dns:v2beta1/ManagedZoneDnsSecConfig/kind: kind
33317
+ /dns:v2beta1/ManagedZoneDnsSecConfig/nonExistence: non_existence
33318
+ /dns:v2beta1/ManagedZoneDnsSecConfig/state: state
33319
+ /dns:v2beta1/ManagedZoneOperationsListResponse: managed_zone_operations_list_response
33320
+ /dns:v2beta1/ManagedZoneOperationsListResponse/header: header
33321
+ /dns:v2beta1/ManagedZoneOperationsListResponse/kind: kind
33322
+ /dns:v2beta1/ManagedZoneOperationsListResponse/nextPageToken: next_page_token
33323
+ /dns:v2beta1/ManagedZoneOperationsListResponse/operations: operations
33324
+ /dns:v2beta1/ManagedZoneOperationsListResponse/operations/operation: operation
33325
+ /dns:v2beta1/ManagedZonesDeleteResponse: managed_zones_delete_response
33326
+ /dns:v2beta1/ManagedZonesDeleteResponse/header: header
33327
+ /dns:v2beta1/ManagedZonesListResponse: managed_zones_list_response
33328
+ /dns:v2beta1/ManagedZonesListResponse/header: header
33329
+ /dns:v2beta1/ManagedZonesListResponse/kind: kind
33330
+ /dns:v2beta1/ManagedZonesListResponse/managedZones: managed_zones
33331
+ /dns:v2beta1/ManagedZonesListResponse/managedZones/managed_zone: managed_zone
33332
+ /dns:v2beta1/ManagedZonesListResponse/nextPageToken: next_page_token
33333
+ /dns:v2beta1/Operation: operation
33334
+ /dns:v2beta1/Operation/dnsKeyContext: dns_key_context
33335
+ /dns:v2beta1/Operation/id: id
33336
+ /dns:v2beta1/Operation/kind: kind
33337
+ /dns:v2beta1/Operation/startTime: start_time
33338
+ /dns:v2beta1/Operation/status: status
33339
+ /dns:v2beta1/Operation/type: type
33340
+ /dns:v2beta1/Operation/user: user
33341
+ /dns:v2beta1/Operation/zoneContext: zone_context
33342
+ /dns:v2beta1/OperationDnsKeyContext: operation_dns_key_context
33343
+ /dns:v2beta1/OperationDnsKeyContext/newValue: new_value
33344
+ /dns:v2beta1/OperationDnsKeyContext/oldValue: old_value
33345
+ /dns:v2beta1/OperationManagedZoneContext: operation_managed_zone_context
33346
+ /dns:v2beta1/OperationManagedZoneContext/newValue: new_value
33347
+ /dns:v2beta1/OperationManagedZoneContext/oldValue: old_value
33348
+ /dns:v2beta1/Project: project
33349
+ /dns:v2beta1/Project/id: id
33350
+ /dns:v2beta1/Project/kind: kind
33351
+ /dns:v2beta1/Project/number: number
33352
+ /dns:v2beta1/Project/quota: quota
33353
+ /dns:v2beta1/Quota: quota
33354
+ /dns:v2beta1/Quota/dnsKeysPerManagedZone: dns_keys_per_managed_zone
33355
+ /dns:v2beta1/Quota/kind: kind
33356
+ /dns:v2beta1/Quota/managedZones: managed_zones
33357
+ /dns:v2beta1/Quota/resourceRecordsPerRrset: resource_records_per_rrset
33358
+ /dns:v2beta1/Quota/rrsetAdditionsPerChange: rrset_additions_per_change
33359
+ /dns:v2beta1/Quota/rrsetDeletionsPerChange: rrset_deletions_per_change
33360
+ /dns:v2beta1/Quota/rrsetsPerManagedZone: rrsets_per_managed_zone
33361
+ /dns:v2beta1/Quota/totalRrdataSizePerChange: total_rrdata_size_per_change
33362
+ /dns:v2beta1/Quota/whitelistedKeySpecs: whitelisted_key_specs
33363
+ /dns:v2beta1/Quota/whitelistedKeySpecs/whitelisted_key_spec: whitelisted_key_spec
33364
+ /dns:v2beta1/ResourceRecordSet: resource_record_set
33365
+ /dns:v2beta1/ResourceRecordSet/kind: kind
33366
+ /dns:v2beta1/ResourceRecordSet/name: name
33367
+ /dns:v2beta1/ResourceRecordSet/rrdatas: rrdatas
33368
+ /dns:v2beta1/ResourceRecordSet/rrdatas/rrdata: rrdata
33369
+ /dns:v2beta1/ResourceRecordSet/signatureRrdatas: signature_rrdatas
33370
+ /dns:v2beta1/ResourceRecordSet/signatureRrdatas/signature_rrdata: signature_rrdata
33371
+ /dns:v2beta1/ResourceRecordSet/ttl: ttl
33372
+ /dns:v2beta1/ResourceRecordSet/type: type
33373
+ /dns:v2beta1/ResourceRecordSetsListResponse: resource_record_sets_list_response
33374
+ /dns:v2beta1/ResourceRecordSetsListResponse/header: header
33375
+ /dns:v2beta1/ResourceRecordSetsListResponse/kind: kind
33376
+ /dns:v2beta1/ResourceRecordSetsListResponse/nextPageToken: next_page_token
33377
+ /dns:v2beta1/ResourceRecordSetsListResponse/rrsets: rrsets
33378
+ /dns:v2beta1/ResourceRecordSetsListResponse/rrsets/rrset: rrset
33379
+ /dns:v2beta1/ResponseHeader: response_header
33380
+ /dns:v2beta1/ResponseHeader/operationId: operation_id
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170116'
29
+ REVISION = '20170118'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20170116'
29
+ REVISION = '20170118'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -0,0 +1,43 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/dns_v2beta1/service.rb'
16
+ require 'google/apis/dns_v2beta1/classes.rb'
17
+ require 'google/apis/dns_v2beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google Cloud DNS API
22
+ #
23
+ # Configures and serves authoritative DNS records.
24
+ #
25
+ # @see https://developers.google.com/cloud-dns
26
+ module DnsV2beta1
27
+ VERSION = 'V2beta1'
28
+ REVISION = '20170102'
29
+
30
+ # View and manage your data across Google Cloud Platform services
31
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
+
33
+ # View your data across Google Cloud Platform services
34
+ AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
35
+
36
+ # View your DNS records hosted by Google Cloud DNS
37
+ AUTH_NDEV_CLOUDDNS_READONLY = 'https://www.googleapis.com/auth/ndev.clouddns.readonly'
38
+
39
+ # View and manage your DNS records hosted by Google Cloud DNS
40
+ AUTH_NDEV_CLOUDDNS_READWRITE = 'https://www.googleapis.com/auth/ndev.clouddns.readwrite'
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,915 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module DnsV2beta1
24
+
25
+ # An atomic update to a collection of ResourceRecordSets.
26
+ class Change
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Which ResourceRecordSets to add?
30
+ # Corresponds to the JSON property `additions`
31
+ # @return [Array<Google::Apis::DnsV2beta1::ResourceRecordSet>]
32
+ attr_accessor :additions
33
+
34
+ # Which ResourceRecordSets to remove? Must match existing data exactly.
35
+ # Corresponds to the JSON property `deletions`
36
+ # @return [Array<Google::Apis::DnsV2beta1::ResourceRecordSet>]
37
+ attr_accessor :deletions
38
+
39
+ # Unique identifier for the resource; defined by the server (output only).
40
+ # Corresponds to the JSON property `id`
41
+ # @return [String]
42
+ attr_accessor :id
43
+
44
+ # If the DNS queries for the zone will be served.
45
+ # Corresponds to the JSON property `isServing`
46
+ # @return [Boolean]
47
+ attr_accessor :is_serving
48
+ alias_method :is_serving?, :is_serving
49
+
50
+ # Identifies what kind of resource this is. Value: the fixed string "dns#change".
51
+ # Corresponds to the JSON property `kind`
52
+ # @return [String]
53
+ attr_accessor :kind
54
+
55
+ # The time that this operation was started by the server (output only). This is
56
+ # in RFC3339 text format.
57
+ # Corresponds to the JSON property `startTime`
58
+ # @return [String]
59
+ attr_accessor :start_time
60
+
61
+ # Status of the operation (output only).
62
+ # Corresponds to the JSON property `status`
63
+ # @return [String]
64
+ attr_accessor :status
65
+
66
+ def initialize(**args)
67
+ update!(**args)
68
+ end
69
+
70
+ # Update properties of this object
71
+ def update!(**args)
72
+ @additions = args[:additions] if args.key?(:additions)
73
+ @deletions = args[:deletions] if args.key?(:deletions)
74
+ @id = args[:id] if args.key?(:id)
75
+ @is_serving = args[:is_serving] if args.key?(:is_serving)
76
+ @kind = args[:kind] if args.key?(:kind)
77
+ @start_time = args[:start_time] if args.key?(:start_time)
78
+ @status = args[:status] if args.key?(:status)
79
+ end
80
+ end
81
+
82
+ # The response to a request to enumerate Changes to a ResourceRecordSets
83
+ # collection.
84
+ class ChangesListResponse
85
+ include Google::Apis::Core::Hashable
86
+
87
+ # The requested changes.
88
+ # Corresponds to the JSON property `changes`
89
+ # @return [Array<Google::Apis::DnsV2beta1::Change>]
90
+ attr_accessor :changes
91
+
92
+ # Elements common to every response.
93
+ # Corresponds to the JSON property `header`
94
+ # @return [Google::Apis::DnsV2beta1::ResponseHeader]
95
+ attr_accessor :header
96
+
97
+ # Type of resource.
98
+ # Corresponds to the JSON property `kind`
99
+ # @return [String]
100
+ attr_accessor :kind
101
+
102
+ # The presence of this field indicates that there exist more results following
103
+ # your last page of results in pagination order. To fetch them, make another
104
+ # list request using this value as your pagination token.
105
+ # In this way you can retrieve the complete contents of even very large
106
+ # collections one page at a time. However, if the contents of the collection
107
+ # change between the first and last paginated list request, the set of all
108
+ # elements returned will be an inconsistent view of the collection. There is no
109
+ # way to retrieve a "snapshot" of collections larger than the maximum page size.
110
+ # Corresponds to the JSON property `nextPageToken`
111
+ # @return [String]
112
+ attr_accessor :next_page_token
113
+
114
+ def initialize(**args)
115
+ update!(**args)
116
+ end
117
+
118
+ # Update properties of this object
119
+ def update!(**args)
120
+ @changes = args[:changes] if args.key?(:changes)
121
+ @header = args[:header] if args.key?(:header)
122
+ @kind = args[:kind] if args.key?(:kind)
123
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
124
+ end
125
+ end
126
+
127
+ # A DNSSEC key pair.
128
+ class DnsKey
129
+ include Google::Apis::Core::Hashable
130
+
131
+ # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after
132
+ # creation time.
133
+ # Corresponds to the JSON property `algorithm`
134
+ # @return [String]
135
+ attr_accessor :algorithm
136
+
137
+ # The time that this resource was created in the control plane. This is in
138
+ # RFC3339 text format. Output only.
139
+ # Corresponds to the JSON property `creationTime`
140
+ # @return [String]
141
+ attr_accessor :creation_time
142
+
143
+ # A mutable string of at most 1024 characters associated with this resource for
144
+ # the user's convenience. Has no effect on the resource's function.
145
+ # Corresponds to the JSON property `description`
146
+ # @return [String]
147
+ attr_accessor :description
148
+
149
+ # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey.
150
+ # These digests are needed to construct a DS record that points at this DNS key.
151
+ # Output only.
152
+ # Corresponds to the JSON property `digests`
153
+ # @return [Array<Google::Apis::DnsV2beta1::DnsKeyDigest>]
154
+ attr_accessor :digests
155
+
156
+ # Unique identifier for the resource; defined by the server (output only).
157
+ # Corresponds to the JSON property `id`
158
+ # @return [String]
159
+ attr_accessor :id
160
+
161
+ # Active keys will be used to sign subsequent changes to the ManagedZone.
162
+ # Inactive keys will still be present as DNSKEY Resource Records for the use of
163
+ # resolvers validating existing signatures.
164
+ # Corresponds to the JSON property `isActive`
165
+ # @return [Boolean]
166
+ attr_accessor :is_active
167
+ alias_method :is_active?, :is_active
168
+
169
+ # Length of the key in bits. Specified at creation time then immutable.
170
+ # Corresponds to the JSON property `keyLength`
171
+ # @return [Fixnum]
172
+ attr_accessor :key_length
173
+
174
+ # The key tag is a non-cryptographic hash of the a DNSKEY resource record
175
+ # associated with this DnsKey. The key tag can be used to identify a DNSKEY more
176
+ # quickly (but it is not a unique identifier). In particular, the key tag is
177
+ # used in a parent zone's DS record to point at the DNSKEY in this child
178
+ # ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm
179
+ # to calculate it is specified in RFC4034 Appendix B. Output only.
180
+ # Corresponds to the JSON property `keyTag`
181
+ # @return [Fixnum]
182
+ attr_accessor :key_tag
183
+
184
+ # Identifies what kind of resource this is. Value: the fixed string "dns#dnsKey".
185
+ # Corresponds to the JSON property `kind`
186
+ # @return [String]
187
+ attr_accessor :kind
188
+
189
+ # Base64 encoded public half of this key. Output only.
190
+ # Corresponds to the JSON property `publicKey`
191
+ # @return [String]
192
+ attr_accessor :public_key
193
+
194
+ # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
195
+ # Secure Entry Point flag set and, when active, will be used to sign only
196
+ # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
197
+ # will be cleared and this key will be used to sign only resource record sets of
198
+ # other types. Immutable after creation time.
199
+ # Corresponds to the JSON property `type`
200
+ # @return [String]
201
+ attr_accessor :type
202
+
203
+ def initialize(**args)
204
+ update!(**args)
205
+ end
206
+
207
+ # Update properties of this object
208
+ def update!(**args)
209
+ @algorithm = args[:algorithm] if args.key?(:algorithm)
210
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
211
+ @description = args[:description] if args.key?(:description)
212
+ @digests = args[:digests] if args.key?(:digests)
213
+ @id = args[:id] if args.key?(:id)
214
+ @is_active = args[:is_active] if args.key?(:is_active)
215
+ @key_length = args[:key_length] if args.key?(:key_length)
216
+ @key_tag = args[:key_tag] if args.key?(:key_tag)
217
+ @kind = args[:kind] if args.key?(:kind)
218
+ @public_key = args[:public_key] if args.key?(:public_key)
219
+ @type = args[:type] if args.key?(:type)
220
+ end
221
+ end
222
+
223
+ #
224
+ class DnsKeyDigest
225
+ include Google::Apis::Core::Hashable
226
+
227
+ # The base-16 encoded bytes of this digest. Suitable for use in a DS resource
228
+ # record.
229
+ # Corresponds to the JSON property `digest`
230
+ # @return [String]
231
+ attr_accessor :digest
232
+
233
+ # Specifies the algorithm used to calculate this digest.
234
+ # Corresponds to the JSON property `type`
235
+ # @return [String]
236
+ attr_accessor :type
237
+
238
+ def initialize(**args)
239
+ update!(**args)
240
+ end
241
+
242
+ # Update properties of this object
243
+ def update!(**args)
244
+ @digest = args[:digest] if args.key?(:digest)
245
+ @type = args[:type] if args.key?(:type)
246
+ end
247
+ end
248
+
249
+ # Parameters for DnsKey key generation. Used for generating initial keys for a
250
+ # new ManagedZone and as default when adding a new DnsKey.
251
+ class DnsKeySpec
252
+ include Google::Apis::Core::Hashable
253
+
254
+ # String mnemonic specifying the DNSSEC algorithm of this key.
255
+ # Corresponds to the JSON property `algorithm`
256
+ # @return [String]
257
+ attr_accessor :algorithm
258
+
259
+ # Length of the keys in bits.
260
+ # Corresponds to the JSON property `keyLength`
261
+ # @return [Fixnum]
262
+ attr_accessor :key_length
263
+
264
+ # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
265
+ # Secure Entry Point flag set and, when active, will be used to sign only
266
+ # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
267
+ # will be cleared and this key will be used to sign only resource record sets of
268
+ # other types.
269
+ # Corresponds to the JSON property `keyType`
270
+ # @return [String]
271
+ attr_accessor :key_type
272
+
273
+ # Identifies what kind of resource this is. Value: the fixed string "dns#
274
+ # dnsKeySpec".
275
+ # Corresponds to the JSON property `kind`
276
+ # @return [String]
277
+ attr_accessor :kind
278
+
279
+ def initialize(**args)
280
+ update!(**args)
281
+ end
282
+
283
+ # Update properties of this object
284
+ def update!(**args)
285
+ @algorithm = args[:algorithm] if args.key?(:algorithm)
286
+ @key_length = args[:key_length] if args.key?(:key_length)
287
+ @key_type = args[:key_type] if args.key?(:key_type)
288
+ @kind = args[:kind] if args.key?(:kind)
289
+ end
290
+ end
291
+
292
+ # The response to a request to enumerate DnsKeys in a ManagedZone.
293
+ class DnsKeysListResponse
294
+ include Google::Apis::Core::Hashable
295
+
296
+ # The requested resources.
297
+ # Corresponds to the JSON property `dnsKeys`
298
+ # @return [Array<Google::Apis::DnsV2beta1::DnsKey>]
299
+ attr_accessor :dns_keys
300
+
301
+ # Elements common to every response.
302
+ # Corresponds to the JSON property `header`
303
+ # @return [Google::Apis::DnsV2beta1::ResponseHeader]
304
+ attr_accessor :header
305
+
306
+ # Type of resource.
307
+ # Corresponds to the JSON property `kind`
308
+ # @return [String]
309
+ attr_accessor :kind
310
+
311
+ # The presence of this field indicates that there exist more results following
312
+ # your last page of results in pagination order. To fetch them, make another
313
+ # list request using this value as your pagination token.
314
+ # In this way you can retrieve the complete contents of even very large
315
+ # collections one page at a time. However, if the contents of the collection
316
+ # change between the first and last paginated list request, the set of all
317
+ # elements returned will be an inconsistent view of the collection. There is no
318
+ # way to retrieve a "snapshot" of collections larger than the maximum page size.
319
+ # Corresponds to the JSON property `nextPageToken`
320
+ # @return [String]
321
+ attr_accessor :next_page_token
322
+
323
+ def initialize(**args)
324
+ update!(**args)
325
+ end
326
+
327
+ # Update properties of this object
328
+ def update!(**args)
329
+ @dns_keys = args[:dns_keys] if args.key?(:dns_keys)
330
+ @header = args[:header] if args.key?(:header)
331
+ @kind = args[:kind] if args.key?(:kind)
332
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
333
+ end
334
+ end
335
+
336
+ # A zone is a subtree of the DNS namespace under one administrative
337
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
338
+ # by the Cloud DNS service.
339
+ class ManagedZone
340
+ include Google::Apis::Core::Hashable
341
+
342
+ # The time that this resource was created on the server. This is in RFC3339 text
343
+ # format. Output only.
344
+ # Corresponds to the JSON property `creationTime`
345
+ # @return [String]
346
+ attr_accessor :creation_time
347
+
348
+ # A mutable string of at most 1024 characters associated with this resource for
349
+ # the user's convenience. Has no effect on the managed zone's function.
350
+ # Corresponds to the JSON property `description`
351
+ # @return [String]
352
+ attr_accessor :description
353
+
354
+ # The DNS name of this managed zone, for instance "example.com.".
355
+ # Corresponds to the JSON property `dnsName`
356
+ # @return [String]
357
+ attr_accessor :dns_name
358
+
359
+ # DNSSEC configuration.
360
+ # Corresponds to the JSON property `dnssecConfig`
361
+ # @return [Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig]
362
+ attr_accessor :dnssec_config
363
+
364
+ # Unique identifier for the resource; defined by the server (output only)
365
+ # Corresponds to the JSON property `id`
366
+ # @return [String]
367
+ attr_accessor :id
368
+
369
+ # Identifies what kind of resource this is. Value: the fixed string "dns#
370
+ # managedZone".
371
+ # Corresponds to the JSON property `kind`
372
+ # @return [String]
373
+ attr_accessor :kind
374
+
375
+ # User assigned name for this resource. Must be unique within the project. The
376
+ # name must be 1-63 characters long, must begin with a letter, end with a letter
377
+ # or digit, and only contain lowercase letters, digits or dashes.
378
+ # Corresponds to the JSON property `name`
379
+ # @return [String]
380
+ attr_accessor :name
381
+
382
+ # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet
383
+ # is a set of DNS name servers that all host the same ManagedZones. Most users
384
+ # will leave this field unset.
385
+ # Corresponds to the JSON property `nameServerSet`
386
+ # @return [String]
387
+ attr_accessor :name_server_set
388
+
389
+ # Delegate your managed_zone to these virtual name servers; defined by the
390
+ # server (output only)
391
+ # Corresponds to the JSON property `nameServers`
392
+ # @return [Array<String>]
393
+ attr_accessor :name_servers
394
+
395
+ def initialize(**args)
396
+ update!(**args)
397
+ end
398
+
399
+ # Update properties of this object
400
+ def update!(**args)
401
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
402
+ @description = args[:description] if args.key?(:description)
403
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
404
+ @dnssec_config = args[:dnssec_config] if args.key?(:dnssec_config)
405
+ @id = args[:id] if args.key?(:id)
406
+ @kind = args[:kind] if args.key?(:kind)
407
+ @name = args[:name] if args.key?(:name)
408
+ @name_server_set = args[:name_server_set] if args.key?(:name_server_set)
409
+ @name_servers = args[:name_servers] if args.key?(:name_servers)
410
+ end
411
+ end
412
+
413
+ #
414
+ class ManagedZoneDnsSecConfig
415
+ include Google::Apis::Core::Hashable
416
+
417
+ # Specifies parameters that will be used for generating initial DnsKeys for this
418
+ # ManagedZone. Output only while state is not OFF.
419
+ # Corresponds to the JSON property `defaultKeySpecs`
420
+ # @return [Array<Google::Apis::DnsV2beta1::DnsKeySpec>]
421
+ attr_accessor :default_key_specs
422
+
423
+ # Identifies what kind of resource this is. Value: the fixed string "dns#
424
+ # managedZoneDnsSecConfig".
425
+ # Corresponds to the JSON property `kind`
426
+ # @return [String]
427
+ attr_accessor :kind
428
+
429
+ # Specifies the mechanism used to provide authenticated denial-of-existence
430
+ # responses. Output only while state is not OFF.
431
+ # Corresponds to the JSON property `nonExistence`
432
+ # @return [String]
433
+ attr_accessor :non_existence
434
+
435
+ # Specifies whether DNSSEC is enabled, and what mode it is in.
436
+ # Corresponds to the JSON property `state`
437
+ # @return [String]
438
+ attr_accessor :state
439
+
440
+ def initialize(**args)
441
+ update!(**args)
442
+ end
443
+
444
+ # Update properties of this object
445
+ def update!(**args)
446
+ @default_key_specs = args[:default_key_specs] if args.key?(:default_key_specs)
447
+ @kind = args[:kind] if args.key?(:kind)
448
+ @non_existence = args[:non_existence] if args.key?(:non_existence)
449
+ @state = args[:state] if args.key?(:state)
450
+ end
451
+ end
452
+
453
+ #
454
+ class ManagedZoneOperationsListResponse
455
+ include Google::Apis::Core::Hashable
456
+
457
+ # Elements common to every response.
458
+ # Corresponds to the JSON property `header`
459
+ # @return [Google::Apis::DnsV2beta1::ResponseHeader]
460
+ attr_accessor :header
461
+
462
+ # Type of resource.
463
+ # Corresponds to the JSON property `kind`
464
+ # @return [String]
465
+ attr_accessor :kind
466
+
467
+ # The presence of this field indicates that there exist more results following
468
+ # your last page of results in pagination order. To fetch them, make another
469
+ # list request using this value as your page token.
470
+ # In this way you can retrieve the complete contents of even very large
471
+ # collections one page at a time. However, if the contents of the collection
472
+ # change between the first and last paginated list request, the set of all
473
+ # elements returned will be an inconsistent view of the collection. There is no
474
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
475
+ # page size.
476
+ # Corresponds to the JSON property `nextPageToken`
477
+ # @return [String]
478
+ attr_accessor :next_page_token
479
+
480
+ # The operation resources.
481
+ # Corresponds to the JSON property `operations`
482
+ # @return [Array<Google::Apis::DnsV2beta1::Operation>]
483
+ attr_accessor :operations
484
+
485
+ def initialize(**args)
486
+ update!(**args)
487
+ end
488
+
489
+ # Update properties of this object
490
+ def update!(**args)
491
+ @header = args[:header] if args.key?(:header)
492
+ @kind = args[:kind] if args.key?(:kind)
493
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
494
+ @operations = args[:operations] if args.key?(:operations)
495
+ end
496
+ end
497
+
498
+ #
499
+ class ManagedZonesDeleteResponse
500
+ include Google::Apis::Core::Hashable
501
+
502
+ # Elements common to every response.
503
+ # Corresponds to the JSON property `header`
504
+ # @return [Google::Apis::DnsV2beta1::ResponseHeader]
505
+ attr_accessor :header
506
+
507
+ def initialize(**args)
508
+ update!(**args)
509
+ end
510
+
511
+ # Update properties of this object
512
+ def update!(**args)
513
+ @header = args[:header] if args.key?(:header)
514
+ end
515
+ end
516
+
517
+ #
518
+ class ManagedZonesListResponse
519
+ include Google::Apis::Core::Hashable
520
+
521
+ # Elements common to every response.
522
+ # Corresponds to the JSON property `header`
523
+ # @return [Google::Apis::DnsV2beta1::ResponseHeader]
524
+ attr_accessor :header
525
+
526
+ # Type of resource.
527
+ # Corresponds to the JSON property `kind`
528
+ # @return [String]
529
+ attr_accessor :kind
530
+
531
+ # The managed zone resources.
532
+ # Corresponds to the JSON property `managedZones`
533
+ # @return [Array<Google::Apis::DnsV2beta1::ManagedZone>]
534
+ attr_accessor :managed_zones
535
+
536
+ # The presence of this field indicates that there exist more results following
537
+ # your last page of results in pagination order. To fetch them, make another
538
+ # list request using this value as your page token.
539
+ # In this way you can retrieve the complete contents of even very large
540
+ # collections one page at a time. However, if the contents of the collection
541
+ # change between the first and last paginated list request, the set of all
542
+ # elements returned will be an inconsistent view of the collection. There is no
543
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
544
+ # page size.
545
+ # Corresponds to the JSON property `nextPageToken`
546
+ # @return [String]
547
+ attr_accessor :next_page_token
548
+
549
+ def initialize(**args)
550
+ update!(**args)
551
+ end
552
+
553
+ # Update properties of this object
554
+ def update!(**args)
555
+ @header = args[:header] if args.key?(:header)
556
+ @kind = args[:kind] if args.key?(:kind)
557
+ @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
558
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
559
+ end
560
+ end
561
+
562
+ # An operation represents a successful mutation performed on a Cloud DNS
563
+ # resource. Operations provide: - An audit log of server resource mutations. - A
564
+ # way to recover/retry API calls in the case where the response is never
565
+ # received by the caller. Use the caller specified client_operation_id.
566
+ class Operation
567
+ include Google::Apis::Core::Hashable
568
+
569
+ # Only populated if the operation targeted a DnsKey (output only).
570
+ # Corresponds to the JSON property `dnsKeyContext`
571
+ # @return [Google::Apis::DnsV2beta1::OperationDnsKeyContext]
572
+ attr_accessor :dns_key_context
573
+
574
+ # Unique identifier for the resource. This is the client_operation_id if the
575
+ # client specified it when the mutation was initiated, otherwise, it is
576
+ # generated by the server. The name must be 1-63 characters long and match the
577
+ # regular expression [-a-z0-9]? (output only)
578
+ # Corresponds to the JSON property `id`
579
+ # @return [String]
580
+ attr_accessor :id
581
+
582
+ # Identifies what kind of resource this is. Value: the fixed string "dns#
583
+ # operation".
584
+ # Corresponds to the JSON property `kind`
585
+ # @return [String]
586
+ attr_accessor :kind
587
+
588
+ # The time that this operation was started by the server. This is in RFC3339
589
+ # text format (output only).
590
+ # Corresponds to the JSON property `startTime`
591
+ # @return [String]
592
+ attr_accessor :start_time
593
+
594
+ # Status of the operation. Can be one of the following: "PENDING" or "DONE" (
595
+ # output only).
596
+ # Corresponds to the JSON property `status`
597
+ # @return [String]
598
+ attr_accessor :status
599
+
600
+ # Type of the operation. Operations include insert, update, and delete (output
601
+ # only).
602
+ # Corresponds to the JSON property `type`
603
+ # @return [String]
604
+ attr_accessor :type
605
+
606
+ # User who requested the operation, for example: user@example.com. cloud-dns-
607
+ # system for operations automatically done by the system. (output only)
608
+ # Corresponds to the JSON property `user`
609
+ # @return [String]
610
+ attr_accessor :user
611
+
612
+ # Only populated if the operation targeted a ManagedZone (output only).
613
+ # Corresponds to the JSON property `zoneContext`
614
+ # @return [Google::Apis::DnsV2beta1::OperationManagedZoneContext]
615
+ attr_accessor :zone_context
616
+
617
+ def initialize(**args)
618
+ update!(**args)
619
+ end
620
+
621
+ # Update properties of this object
622
+ def update!(**args)
623
+ @dns_key_context = args[:dns_key_context] if args.key?(:dns_key_context)
624
+ @id = args[:id] if args.key?(:id)
625
+ @kind = args[:kind] if args.key?(:kind)
626
+ @start_time = args[:start_time] if args.key?(:start_time)
627
+ @status = args[:status] if args.key?(:status)
628
+ @type = args[:type] if args.key?(:type)
629
+ @user = args[:user] if args.key?(:user)
630
+ @zone_context = args[:zone_context] if args.key?(:zone_context)
631
+ end
632
+ end
633
+
634
+ #
635
+ class OperationDnsKeyContext
636
+ include Google::Apis::Core::Hashable
637
+
638
+ # A DNSSEC key pair.
639
+ # Corresponds to the JSON property `newValue`
640
+ # @return [Google::Apis::DnsV2beta1::DnsKey]
641
+ attr_accessor :new_value
642
+
643
+ # A DNSSEC key pair.
644
+ # Corresponds to the JSON property `oldValue`
645
+ # @return [Google::Apis::DnsV2beta1::DnsKey]
646
+ attr_accessor :old_value
647
+
648
+ def initialize(**args)
649
+ update!(**args)
650
+ end
651
+
652
+ # Update properties of this object
653
+ def update!(**args)
654
+ @new_value = args[:new_value] if args.key?(:new_value)
655
+ @old_value = args[:old_value] if args.key?(:old_value)
656
+ end
657
+ end
658
+
659
+ #
660
+ class OperationManagedZoneContext
661
+ include Google::Apis::Core::Hashable
662
+
663
+ # A zone is a subtree of the DNS namespace under one administrative
664
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
665
+ # by the Cloud DNS service.
666
+ # Corresponds to the JSON property `newValue`
667
+ # @return [Google::Apis::DnsV2beta1::ManagedZone]
668
+ attr_accessor :new_value
669
+
670
+ # A zone is a subtree of the DNS namespace under one administrative
671
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
672
+ # by the Cloud DNS service.
673
+ # Corresponds to the JSON property `oldValue`
674
+ # @return [Google::Apis::DnsV2beta1::ManagedZone]
675
+ attr_accessor :old_value
676
+
677
+ def initialize(**args)
678
+ update!(**args)
679
+ end
680
+
681
+ # Update properties of this object
682
+ def update!(**args)
683
+ @new_value = args[:new_value] if args.key?(:new_value)
684
+ @old_value = args[:old_value] if args.key?(:old_value)
685
+ end
686
+ end
687
+
688
+ # A project resource. The project is a top level container for resources
689
+ # including Cloud DNS ManagedZones. Projects can be created only in the APIs
690
+ # console.
691
+ class Project
692
+ include Google::Apis::Core::Hashable
693
+
694
+ # User assigned unique identifier for the resource (output only).
695
+ # Corresponds to the JSON property `id`
696
+ # @return [String]
697
+ attr_accessor :id
698
+
699
+ # Identifies what kind of resource this is. Value: the fixed string "dns#project"
700
+ # .
701
+ # Corresponds to the JSON property `kind`
702
+ # @return [String]
703
+ attr_accessor :kind
704
+
705
+ # Unique numeric identifier for the resource; defined by the server (output only)
706
+ # .
707
+ # Corresponds to the JSON property `number`
708
+ # @return [String]
709
+ attr_accessor :number
710
+
711
+ # Limits associated with a Project.
712
+ # Corresponds to the JSON property `quota`
713
+ # @return [Google::Apis::DnsV2beta1::Quota]
714
+ attr_accessor :quota
715
+
716
+ def initialize(**args)
717
+ update!(**args)
718
+ end
719
+
720
+ # Update properties of this object
721
+ def update!(**args)
722
+ @id = args[:id] if args.key?(:id)
723
+ @kind = args[:kind] if args.key?(:kind)
724
+ @number = args[:number] if args.key?(:number)
725
+ @quota = args[:quota] if args.key?(:quota)
726
+ end
727
+ end
728
+
729
+ # Limits associated with a Project.
730
+ class Quota
731
+ include Google::Apis::Core::Hashable
732
+
733
+ # Maximum allowed number of DnsKeys per ManagedZone.
734
+ # Corresponds to the JSON property `dnsKeysPerManagedZone`
735
+ # @return [Fixnum]
736
+ attr_accessor :dns_keys_per_managed_zone
737
+
738
+ # Identifies what kind of resource this is. Value: the fixed string "dns#quota".
739
+ # Corresponds to the JSON property `kind`
740
+ # @return [String]
741
+ attr_accessor :kind
742
+
743
+ # Maximum allowed number of managed zones in the project.
744
+ # Corresponds to the JSON property `managedZones`
745
+ # @return [Fixnum]
746
+ attr_accessor :managed_zones
747
+
748
+ # Maximum allowed number of ResourceRecords per ResourceRecordSet.
749
+ # Corresponds to the JSON property `resourceRecordsPerRrset`
750
+ # @return [Fixnum]
751
+ attr_accessor :resource_records_per_rrset
752
+
753
+ # Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.
754
+ # Corresponds to the JSON property `rrsetAdditionsPerChange`
755
+ # @return [Fixnum]
756
+ attr_accessor :rrset_additions_per_change
757
+
758
+ # Maximum allowed number of ResourceRecordSets to delete per
759
+ # ChangesCreateRequest.
760
+ # Corresponds to the JSON property `rrsetDeletionsPerChange`
761
+ # @return [Fixnum]
762
+ attr_accessor :rrset_deletions_per_change
763
+
764
+ # Maximum allowed number of ResourceRecordSets per zone in the project.
765
+ # Corresponds to the JSON property `rrsetsPerManagedZone`
766
+ # @return [Fixnum]
767
+ attr_accessor :rrsets_per_managed_zone
768
+
769
+ # Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
770
+ # Corresponds to the JSON property `totalRrdataSizePerChange`
771
+ # @return [Fixnum]
772
+ attr_accessor :total_rrdata_size_per_change
773
+
774
+ # DNSSEC algorithm and key length types that can be used for DnsKeys.
775
+ # Corresponds to the JSON property `whitelistedKeySpecs`
776
+ # @return [Array<Google::Apis::DnsV2beta1::DnsKeySpec>]
777
+ attr_accessor :whitelisted_key_specs
778
+
779
+ def initialize(**args)
780
+ update!(**args)
781
+ end
782
+
783
+ # Update properties of this object
784
+ def update!(**args)
785
+ @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
786
+ @kind = args[:kind] if args.key?(:kind)
787
+ @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
788
+ @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
789
+ @rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change)
790
+ @rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change)
791
+ @rrsets_per_managed_zone = args[:rrsets_per_managed_zone] if args.key?(:rrsets_per_managed_zone)
792
+ @total_rrdata_size_per_change = args[:total_rrdata_size_per_change] if args.key?(:total_rrdata_size_per_change)
793
+ @whitelisted_key_specs = args[:whitelisted_key_specs] if args.key?(:whitelisted_key_specs)
794
+ end
795
+ end
796
+
797
+ # A unit of data that will be returned by the DNS servers.
798
+ class ResourceRecordSet
799
+ include Google::Apis::Core::Hashable
800
+
801
+ # Identifies what kind of resource this is. Value: the fixed string "dns#
802
+ # resourceRecordSet".
803
+ # Corresponds to the JSON property `kind`
804
+ # @return [String]
805
+ attr_accessor :kind
806
+
807
+ # For example, www.example.com.
808
+ # Corresponds to the JSON property `name`
809
+ # @return [String]
810
+ attr_accessor :name
811
+
812
+ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
813
+ # Corresponds to the JSON property `rrdatas`
814
+ # @return [Array<String>]
815
+ attr_accessor :rrdatas
816
+
817
+ # As defined in RFC 4034 (section 3.2).
818
+ # Corresponds to the JSON property `signatureRrdatas`
819
+ # @return [Array<String>]
820
+ attr_accessor :signature_rrdatas
821
+
822
+ # Number of seconds that this ResourceRecordSet can be cached by resolvers.
823
+ # Corresponds to the JSON property `ttl`
824
+ # @return [Fixnum]
825
+ attr_accessor :ttl
826
+
827
+ # The identifier of a supported record type, for example, A, AAAA, MX, TXT, and
828
+ # so on.
829
+ # Corresponds to the JSON property `type`
830
+ # @return [String]
831
+ attr_accessor :type
832
+
833
+ def initialize(**args)
834
+ update!(**args)
835
+ end
836
+
837
+ # Update properties of this object
838
+ def update!(**args)
839
+ @kind = args[:kind] if args.key?(:kind)
840
+ @name = args[:name] if args.key?(:name)
841
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
842
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
843
+ @ttl = args[:ttl] if args.key?(:ttl)
844
+ @type = args[:type] if args.key?(:type)
845
+ end
846
+ end
847
+
848
+ #
849
+ class ResourceRecordSetsListResponse
850
+ include Google::Apis::Core::Hashable
851
+
852
+ # Elements common to every response.
853
+ # Corresponds to the JSON property `header`
854
+ # @return [Google::Apis::DnsV2beta1::ResponseHeader]
855
+ attr_accessor :header
856
+
857
+ # Type of resource.
858
+ # Corresponds to the JSON property `kind`
859
+ # @return [String]
860
+ attr_accessor :kind
861
+
862
+ # The presence of this field indicates that there exist more results following
863
+ # your last page of results in pagination order. To fetch them, make another
864
+ # list request using this value as your pagination token.
865
+ # In this way you can retrieve the complete contents of even very large
866
+ # collections one page at a time. However, if the contents of the collection
867
+ # change between the first and last paginated list request, the set of all
868
+ # elements returned will be an inconsistent view of the collection. There is no
869
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
870
+ # page size.
871
+ # Corresponds to the JSON property `nextPageToken`
872
+ # @return [String]
873
+ attr_accessor :next_page_token
874
+
875
+ # The resource record set resources.
876
+ # Corresponds to the JSON property `rrsets`
877
+ # @return [Array<Google::Apis::DnsV2beta1::ResourceRecordSet>]
878
+ attr_accessor :rrsets
879
+
880
+ def initialize(**args)
881
+ update!(**args)
882
+ end
883
+
884
+ # Update properties of this object
885
+ def update!(**args)
886
+ @header = args[:header] if args.key?(:header)
887
+ @kind = args[:kind] if args.key?(:kind)
888
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
889
+ @rrsets = args[:rrsets] if args.key?(:rrsets)
890
+ end
891
+ end
892
+
893
+ # Elements common to every response.
894
+ class ResponseHeader
895
+ include Google::Apis::Core::Hashable
896
+
897
+ # For mutating operation requests that completed successfully. This is the
898
+ # client_operation_id if the client specified it, otherwise it is generated by
899
+ # the server (output only).
900
+ # Corresponds to the JSON property `operationId`
901
+ # @return [String]
902
+ attr_accessor :operation_id
903
+
904
+ def initialize(**args)
905
+ update!(**args)
906
+ end
907
+
908
+ # Update properties of this object
909
+ def update!(**args)
910
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
911
+ end
912
+ end
913
+ end
914
+ end
915
+ end