1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="dns_v1.html">Cloud DNS API</a> . <a href="dns_v1.managedZones.html">managedZones</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#create">create(project, body=None, clientOperationId=None, x__xgafv=None)</a></code></p> 82<p class="firstline">Creates a new ManagedZone.</p> 83<p class="toc_element"> 84 <code><a href="#delete">delete(project, managedZone, clientOperationId=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Deletes a previously created ManagedZone.</p> 86<p class="toc_element"> 87 <code><a href="#get">get(project, managedZone, clientOperationId=None, x__xgafv=None)</a></code></p> 88<p class="firstline">Fetches the representation of an existing ManagedZone.</p> 89<p class="toc_element"> 90 <code><a href="#list">list(project, dnsName=None, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p> 91<p class="firstline">Enumerates ManagedZones that have been created but not yet deleted.</p> 92<p class="toc_element"> 93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 94<p class="firstline">Retrieves the next page of results.</p> 95<p class="toc_element"> 96 <code><a href="#patch">patch(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p> 97<p class="firstline">Applies a partial update to an existing ManagedZone.</p> 98<p class="toc_element"> 99 <code><a href="#update">update(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p> 100<p class="firstline">Updates an existing ManagedZone.</p> 101<h3>Method Details</h3> 102<div class="method"> 103 <code class="details" id="close">close()</code> 104 <pre>Close httplib2 connections.</pre> 105</div> 106 107<div class="method"> 108 <code class="details" id="create">create(project, body=None, clientOperationId=None, x__xgafv=None)</code> 109 <pre>Creates a new ManagedZone. 110 111Args: 112 project: string, Identifies the project addressed by this request. (required) 113 body: object, The request body. 114 The object takes the form of: 115 116{ # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. 117 "cloudLoggingConfig": { # Cloud Logging configurations for publicly visible zones. 118 "enableLogging": True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in. 119 "kind": "dns#managedZoneCloudLoggingConfig", 120 }, 121 "creationTime": "A String", # The time that this resource was created on the server. This is in RFC3339 text format. Output only. 122 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. 123 "dnsName": "A String", # The DNS name of this managed zone, for instance "example.com.". 124 "dnssecConfig": { # DNSSEC configuration. 125 "defaultKeySpecs": [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. 126 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. 127 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. 128 "keyLength": 42, # Length of the keys in bits. 129 "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. 130 "kind": "dns#dnsKeySpec", 131 }, 132 ], 133 "kind": "dns#managedZoneDnsSecConfig", 134 "nonExistence": "A String", # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. 135 "state": "A String", # Specifies whether DNSSEC is enabled, and what mode it is in. 136 }, 137 "forwardingConfig": { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to. 138 "kind": "dns#managedZoneForwardingConfig", 139 "targetNameServers": [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given. 140 { 141 "forwardingPath": "A String", # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. 142 "ipv4Address": "A String", # IPv4 address of a target name server. 143 "kind": "dns#managedZoneForwardingConfigNameServerTarget", 144 }, 145 ], 146 }, 147 "id": "A String", # Unique identifier for the resource; defined by the server (output only) 148 "kind": "dns#managedZone", 149 "labels": { # User labels. 150 "a_key": "A String", 151 }, 152 "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. 153 "nameServerSet": "A String", # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team. 154 "nameServers": [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only) 155 "A String", 156 ], 157 "peeringConfig": { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with. 158 "kind": "dns#managedZonePeeringConfig", 159 "targetNetwork": { # The network with which to peer. 160 "deactivateTime": "A String", # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. 161 "kind": "dns#managedZonePeeringConfigTargetNetwork", 162 "networkUrl": "A String", # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 163 }, 164 }, 165 "privateVisibilityConfig": { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. 166 "kind": "dns#managedZonePrivateVisibilityConfig", 167 "networks": [ # The list of VPC networks that can see this zone. 168 { 169 "kind": "dns#managedZonePrivateVisibilityConfigNetwork", 170 "networkUrl": "A String", # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 171 }, 172 ], 173 }, 174 "reverseLookupConfig": { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config. 175 "kind": "dns#managedZoneReverseLookupConfig", 176 }, 177 "serviceDirectoryConfig": { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. 178 "kind": "dns#managedZoneServiceDirectoryConfig", 179 "namespace": { # Contains information about the namespace associated with the zone. 180 "deletionTime": "A String", # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. 181 "kind": "dns#managedZoneServiceDirectoryConfigNamespace", 182 "namespaceUrl": "A String", # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} 183 }, 184 }, 185 "visibility": "A String", # The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. 186} 187 188 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. 189 x__xgafv: string, V1 error format. 190 Allowed values 191 1 - v1 error format 192 2 - v2 error format 193 194Returns: 195 An object of the form: 196 197 { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. 198 "cloudLoggingConfig": { # Cloud Logging configurations for publicly visible zones. 199 "enableLogging": True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in. 200 "kind": "dns#managedZoneCloudLoggingConfig", 201 }, 202 "creationTime": "A String", # The time that this resource was created on the server. This is in RFC3339 text format. Output only. 203 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. 204 "dnsName": "A String", # The DNS name of this managed zone, for instance "example.com.". 205 "dnssecConfig": { # DNSSEC configuration. 206 "defaultKeySpecs": [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. 207 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. 208 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. 209 "keyLength": 42, # Length of the keys in bits. 210 "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. 211 "kind": "dns#dnsKeySpec", 212 }, 213 ], 214 "kind": "dns#managedZoneDnsSecConfig", 215 "nonExistence": "A String", # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. 216 "state": "A String", # Specifies whether DNSSEC is enabled, and what mode it is in. 217 }, 218 "forwardingConfig": { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to. 219 "kind": "dns#managedZoneForwardingConfig", 220 "targetNameServers": [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given. 221 { 222 "forwardingPath": "A String", # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. 223 "ipv4Address": "A String", # IPv4 address of a target name server. 224 "kind": "dns#managedZoneForwardingConfigNameServerTarget", 225 }, 226 ], 227 }, 228 "id": "A String", # Unique identifier for the resource; defined by the server (output only) 229 "kind": "dns#managedZone", 230 "labels": { # User labels. 231 "a_key": "A String", 232 }, 233 "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. 234 "nameServerSet": "A String", # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team. 235 "nameServers": [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only) 236 "A String", 237 ], 238 "peeringConfig": { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with. 239 "kind": "dns#managedZonePeeringConfig", 240 "targetNetwork": { # The network with which to peer. 241 "deactivateTime": "A String", # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. 242 "kind": "dns#managedZonePeeringConfigTargetNetwork", 243 "networkUrl": "A String", # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 244 }, 245 }, 246 "privateVisibilityConfig": { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. 247 "kind": "dns#managedZonePrivateVisibilityConfig", 248 "networks": [ # The list of VPC networks that can see this zone. 249 { 250 "kind": "dns#managedZonePrivateVisibilityConfigNetwork", 251 "networkUrl": "A String", # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 252 }, 253 ], 254 }, 255 "reverseLookupConfig": { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config. 256 "kind": "dns#managedZoneReverseLookupConfig", 257 }, 258 "serviceDirectoryConfig": { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. 259 "kind": "dns#managedZoneServiceDirectoryConfig", 260 "namespace": { # Contains information about the namespace associated with the zone. 261 "deletionTime": "A String", # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. 262 "kind": "dns#managedZoneServiceDirectoryConfigNamespace", 263 "namespaceUrl": "A String", # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} 264 }, 265 }, 266 "visibility": "A String", # The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. 267}</pre> 268</div> 269 270<div class="method"> 271 <code class="details" id="delete">delete(project, managedZone, clientOperationId=None, x__xgafv=None)</code> 272 <pre>Deletes a previously created ManagedZone. 273 274Args: 275 project: string, Identifies the project addressed by this request. (required) 276 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 277 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. 278 x__xgafv: string, V1 error format. 279 Allowed values 280 1 - v1 error format 281 2 - v2 error format 282</pre> 283</div> 284 285<div class="method"> 286 <code class="details" id="get">get(project, managedZone, clientOperationId=None, x__xgafv=None)</code> 287 <pre>Fetches the representation of an existing ManagedZone. 288 289Args: 290 project: string, Identifies the project addressed by this request. (required) 291 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 292 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. 293 x__xgafv: string, V1 error format. 294 Allowed values 295 1 - v1 error format 296 2 - v2 error format 297 298Returns: 299 An object of the form: 300 301 { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. 302 "cloudLoggingConfig": { # Cloud Logging configurations for publicly visible zones. 303 "enableLogging": True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in. 304 "kind": "dns#managedZoneCloudLoggingConfig", 305 }, 306 "creationTime": "A String", # The time that this resource was created on the server. This is in RFC3339 text format. Output only. 307 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. 308 "dnsName": "A String", # The DNS name of this managed zone, for instance "example.com.". 309 "dnssecConfig": { # DNSSEC configuration. 310 "defaultKeySpecs": [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. 311 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. 312 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. 313 "keyLength": 42, # Length of the keys in bits. 314 "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. 315 "kind": "dns#dnsKeySpec", 316 }, 317 ], 318 "kind": "dns#managedZoneDnsSecConfig", 319 "nonExistence": "A String", # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. 320 "state": "A String", # Specifies whether DNSSEC is enabled, and what mode it is in. 321 }, 322 "forwardingConfig": { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to. 323 "kind": "dns#managedZoneForwardingConfig", 324 "targetNameServers": [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given. 325 { 326 "forwardingPath": "A String", # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. 327 "ipv4Address": "A String", # IPv4 address of a target name server. 328 "kind": "dns#managedZoneForwardingConfigNameServerTarget", 329 }, 330 ], 331 }, 332 "id": "A String", # Unique identifier for the resource; defined by the server (output only) 333 "kind": "dns#managedZone", 334 "labels": { # User labels. 335 "a_key": "A String", 336 }, 337 "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. 338 "nameServerSet": "A String", # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team. 339 "nameServers": [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only) 340 "A String", 341 ], 342 "peeringConfig": { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with. 343 "kind": "dns#managedZonePeeringConfig", 344 "targetNetwork": { # The network with which to peer. 345 "deactivateTime": "A String", # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. 346 "kind": "dns#managedZonePeeringConfigTargetNetwork", 347 "networkUrl": "A String", # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 348 }, 349 }, 350 "privateVisibilityConfig": { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. 351 "kind": "dns#managedZonePrivateVisibilityConfig", 352 "networks": [ # The list of VPC networks that can see this zone. 353 { 354 "kind": "dns#managedZonePrivateVisibilityConfigNetwork", 355 "networkUrl": "A String", # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 356 }, 357 ], 358 }, 359 "reverseLookupConfig": { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config. 360 "kind": "dns#managedZoneReverseLookupConfig", 361 }, 362 "serviceDirectoryConfig": { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. 363 "kind": "dns#managedZoneServiceDirectoryConfig", 364 "namespace": { # Contains information about the namespace associated with the zone. 365 "deletionTime": "A String", # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. 366 "kind": "dns#managedZoneServiceDirectoryConfigNamespace", 367 "namespaceUrl": "A String", # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} 368 }, 369 }, 370 "visibility": "A String", # The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. 371}</pre> 372</div> 373 374<div class="method"> 375 <code class="details" id="list">list(project, dnsName=None, maxResults=None, pageToken=None, x__xgafv=None)</code> 376 <pre>Enumerates ManagedZones that have been created but not yet deleted. 377 378Args: 379 project: string, Identifies the project addressed by this request. (required) 380 dnsName: string, Restricts the list to return only zones with this domain name. 381 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return. 382 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request. 383 x__xgafv: string, V1 error format. 384 Allowed values 385 1 - v1 error format 386 2 - v2 error format 387 388Returns: 389 An object of the form: 390 391 { 392 "header": { # Elements common to every response. 393 "operationId": "A String", # For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only). 394 }, 395 "kind": "dns#managedZonesListResponse", # Type of resource. 396 "managedZones": [ # The managed zone resources. 397 { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. 398 "cloudLoggingConfig": { # Cloud Logging configurations for publicly visible zones. 399 "enableLogging": True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in. 400 "kind": "dns#managedZoneCloudLoggingConfig", 401 }, 402 "creationTime": "A String", # The time that this resource was created on the server. This is in RFC3339 text format. Output only. 403 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. 404 "dnsName": "A String", # The DNS name of this managed zone, for instance "example.com.". 405 "dnssecConfig": { # DNSSEC configuration. 406 "defaultKeySpecs": [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. 407 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. 408 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. 409 "keyLength": 42, # Length of the keys in bits. 410 "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. 411 "kind": "dns#dnsKeySpec", 412 }, 413 ], 414 "kind": "dns#managedZoneDnsSecConfig", 415 "nonExistence": "A String", # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. 416 "state": "A String", # Specifies whether DNSSEC is enabled, and what mode it is in. 417 }, 418 "forwardingConfig": { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to. 419 "kind": "dns#managedZoneForwardingConfig", 420 "targetNameServers": [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given. 421 { 422 "forwardingPath": "A String", # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. 423 "ipv4Address": "A String", # IPv4 address of a target name server. 424 "kind": "dns#managedZoneForwardingConfigNameServerTarget", 425 }, 426 ], 427 }, 428 "id": "A String", # Unique identifier for the resource; defined by the server (output only) 429 "kind": "dns#managedZone", 430 "labels": { # User labels. 431 "a_key": "A String", 432 }, 433 "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. 434 "nameServerSet": "A String", # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team. 435 "nameServers": [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only) 436 "A String", 437 ], 438 "peeringConfig": { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with. 439 "kind": "dns#managedZonePeeringConfig", 440 "targetNetwork": { # The network with which to peer. 441 "deactivateTime": "A String", # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. 442 "kind": "dns#managedZonePeeringConfigTargetNetwork", 443 "networkUrl": "A String", # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 444 }, 445 }, 446 "privateVisibilityConfig": { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. 447 "kind": "dns#managedZonePrivateVisibilityConfig", 448 "networks": [ # The list of VPC networks that can see this zone. 449 { 450 "kind": "dns#managedZonePrivateVisibilityConfigNetwork", 451 "networkUrl": "A String", # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 452 }, 453 ], 454 }, 455 "reverseLookupConfig": { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config. 456 "kind": "dns#managedZoneReverseLookupConfig", 457 }, 458 "serviceDirectoryConfig": { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. 459 "kind": "dns#managedZoneServiceDirectoryConfig", 460 "namespace": { # Contains information about the namespace associated with the zone. 461 "deletionTime": "A String", # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. 462 "kind": "dns#managedZoneServiceDirectoryConfigNamespace", 463 "namespaceUrl": "A String", # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} 464 }, 465 }, 466 "visibility": "A String", # The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. 467 }, 468 ], 469 "nextPageToken": "A String", # The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size. 470}</pre> 471</div> 472 473<div class="method"> 474 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 475 <pre>Retrieves the next page of results. 476 477Args: 478 previous_request: The request for the previous page. (required) 479 previous_response: The response from the request for the previous page. (required) 480 481Returns: 482 A request object that you can call 'execute()' on to request the next 483 page. Returns None if there are no more items in the collection. 484 </pre> 485</div> 486 487<div class="method"> 488 <code class="details" id="patch">patch(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code> 489 <pre>Applies a partial update to an existing ManagedZone. 490 491Args: 492 project: string, Identifies the project addressed by this request. (required) 493 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 494 body: object, The request body. 495 The object takes the form of: 496 497{ # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. 498 "cloudLoggingConfig": { # Cloud Logging configurations for publicly visible zones. 499 "enableLogging": True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in. 500 "kind": "dns#managedZoneCloudLoggingConfig", 501 }, 502 "creationTime": "A String", # The time that this resource was created on the server. This is in RFC3339 text format. Output only. 503 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. 504 "dnsName": "A String", # The DNS name of this managed zone, for instance "example.com.". 505 "dnssecConfig": { # DNSSEC configuration. 506 "defaultKeySpecs": [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. 507 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. 508 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. 509 "keyLength": 42, # Length of the keys in bits. 510 "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. 511 "kind": "dns#dnsKeySpec", 512 }, 513 ], 514 "kind": "dns#managedZoneDnsSecConfig", 515 "nonExistence": "A String", # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. 516 "state": "A String", # Specifies whether DNSSEC is enabled, and what mode it is in. 517 }, 518 "forwardingConfig": { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to. 519 "kind": "dns#managedZoneForwardingConfig", 520 "targetNameServers": [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given. 521 { 522 "forwardingPath": "A String", # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. 523 "ipv4Address": "A String", # IPv4 address of a target name server. 524 "kind": "dns#managedZoneForwardingConfigNameServerTarget", 525 }, 526 ], 527 }, 528 "id": "A String", # Unique identifier for the resource; defined by the server (output only) 529 "kind": "dns#managedZone", 530 "labels": { # User labels. 531 "a_key": "A String", 532 }, 533 "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. 534 "nameServerSet": "A String", # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team. 535 "nameServers": [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only) 536 "A String", 537 ], 538 "peeringConfig": { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with. 539 "kind": "dns#managedZonePeeringConfig", 540 "targetNetwork": { # The network with which to peer. 541 "deactivateTime": "A String", # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. 542 "kind": "dns#managedZonePeeringConfigTargetNetwork", 543 "networkUrl": "A String", # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 544 }, 545 }, 546 "privateVisibilityConfig": { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. 547 "kind": "dns#managedZonePrivateVisibilityConfig", 548 "networks": [ # The list of VPC networks that can see this zone. 549 { 550 "kind": "dns#managedZonePrivateVisibilityConfigNetwork", 551 "networkUrl": "A String", # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 552 }, 553 ], 554 }, 555 "reverseLookupConfig": { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config. 556 "kind": "dns#managedZoneReverseLookupConfig", 557 }, 558 "serviceDirectoryConfig": { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. 559 "kind": "dns#managedZoneServiceDirectoryConfig", 560 "namespace": { # Contains information about the namespace associated with the zone. 561 "deletionTime": "A String", # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. 562 "kind": "dns#managedZoneServiceDirectoryConfigNamespace", 563 "namespaceUrl": "A String", # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} 564 }, 565 }, 566 "visibility": "A String", # The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. 567} 568 569 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. 570 x__xgafv: string, V1 error format. 571 Allowed values 572 1 - v1 error format 573 2 - v2 error format 574 575Returns: 576 An object of the form: 577 578 { # An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id. 579 "dnsKeyContext": { # Only populated if the operation targeted a DnsKey (output only). 580 "newValue": { # A DNSSEC key pair. # The post-operation DnsKey resource. 581 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time. 582 "creationTime": "A String", # The time that this resource was created in the control plane. This is in RFC3339 text format. Output only. 583 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function. 584 "digests": [ # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only. 585 { 586 "digest": "A String", # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record. 587 "type": "A String", # Specifies the algorithm used to calculate this digest. 588 }, 589 ], 590 "id": "A String", # Unique identifier for the resource; defined by the server (output only). 591 "isActive": True or False, # Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures. 592 "keyLength": 42, # Length of the key in bits. Specified at creation time, and then immutable. 593 "keyTag": 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only. 594 "kind": "dns#dnsKey", 595 "publicKey": "A String", # Base64 encoded public half of this key. Output only. 596 "type": "A String", # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time. 597 }, 598 "oldValue": { # A DNSSEC key pair. # The pre-operation DnsKey resource. 599 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time. 600 "creationTime": "A String", # The time that this resource was created in the control plane. This is in RFC3339 text format. Output only. 601 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function. 602 "digests": [ # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only. 603 { 604 "digest": "A String", # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record. 605 "type": "A String", # Specifies the algorithm used to calculate this digest. 606 }, 607 ], 608 "id": "A String", # Unique identifier for the resource; defined by the server (output only). 609 "isActive": True or False, # Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures. 610 "keyLength": 42, # Length of the key in bits. Specified at creation time, and then immutable. 611 "keyTag": 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only. 612 "kind": "dns#dnsKey", 613 "publicKey": "A String", # Base64 encoded public half of this key. Output only. 614 "type": "A String", # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time. 615 }, 616 }, 617 "id": "A String", # Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only) 618 "kind": "dns#operation", 619 "startTime": "A String", # The time that this operation was started by the server. This is in RFC3339 text format (output only). 620 "status": "A String", # Status of the operation. Can be one of the following: "PENDING" or "DONE" (output only). A status of "DONE" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet. 621 "type": "A String", # Type of the operation. Operations include insert, update, and delete (output only). 622 "user": "A String", # User who requested the operation, for example: [email protected]. cloud-dns-system for operations automatically done by the system. (output only) 623 "zoneContext": { # Only populated if the operation targeted a ManagedZone (output only). 624 "newValue": { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. # The post-operation ManagedZone resource. 625 "cloudLoggingConfig": { # Cloud Logging configurations for publicly visible zones. 626 "enableLogging": True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in. 627 "kind": "dns#managedZoneCloudLoggingConfig", 628 }, 629 "creationTime": "A String", # The time that this resource was created on the server. This is in RFC3339 text format. Output only. 630 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. 631 "dnsName": "A String", # The DNS name of this managed zone, for instance "example.com.". 632 "dnssecConfig": { # DNSSEC configuration. 633 "defaultKeySpecs": [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. 634 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. 635 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. 636 "keyLength": 42, # Length of the keys in bits. 637 "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. 638 "kind": "dns#dnsKeySpec", 639 }, 640 ], 641 "kind": "dns#managedZoneDnsSecConfig", 642 "nonExistence": "A String", # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. 643 "state": "A String", # Specifies whether DNSSEC is enabled, and what mode it is in. 644 }, 645 "forwardingConfig": { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to. 646 "kind": "dns#managedZoneForwardingConfig", 647 "targetNameServers": [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given. 648 { 649 "forwardingPath": "A String", # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. 650 "ipv4Address": "A String", # IPv4 address of a target name server. 651 "kind": "dns#managedZoneForwardingConfigNameServerTarget", 652 }, 653 ], 654 }, 655 "id": "A String", # Unique identifier for the resource; defined by the server (output only) 656 "kind": "dns#managedZone", 657 "labels": { # User labels. 658 "a_key": "A String", 659 }, 660 "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. 661 "nameServerSet": "A String", # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team. 662 "nameServers": [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only) 663 "A String", 664 ], 665 "peeringConfig": { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with. 666 "kind": "dns#managedZonePeeringConfig", 667 "targetNetwork": { # The network with which to peer. 668 "deactivateTime": "A String", # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. 669 "kind": "dns#managedZonePeeringConfigTargetNetwork", 670 "networkUrl": "A String", # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 671 }, 672 }, 673 "privateVisibilityConfig": { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. 674 "kind": "dns#managedZonePrivateVisibilityConfig", 675 "networks": [ # The list of VPC networks that can see this zone. 676 { 677 "kind": "dns#managedZonePrivateVisibilityConfigNetwork", 678 "networkUrl": "A String", # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 679 }, 680 ], 681 }, 682 "reverseLookupConfig": { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config. 683 "kind": "dns#managedZoneReverseLookupConfig", 684 }, 685 "serviceDirectoryConfig": { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. 686 "kind": "dns#managedZoneServiceDirectoryConfig", 687 "namespace": { # Contains information about the namespace associated with the zone. 688 "deletionTime": "A String", # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. 689 "kind": "dns#managedZoneServiceDirectoryConfigNamespace", 690 "namespaceUrl": "A String", # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} 691 }, 692 }, 693 "visibility": "A String", # The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. 694 }, 695 "oldValue": { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. # The pre-operation ManagedZone resource. 696 "cloudLoggingConfig": { # Cloud Logging configurations for publicly visible zones. 697 "enableLogging": True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in. 698 "kind": "dns#managedZoneCloudLoggingConfig", 699 }, 700 "creationTime": "A String", # The time that this resource was created on the server. This is in RFC3339 text format. Output only. 701 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. 702 "dnsName": "A String", # The DNS name of this managed zone, for instance "example.com.". 703 "dnssecConfig": { # DNSSEC configuration. 704 "defaultKeySpecs": [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. 705 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. 706 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. 707 "keyLength": 42, # Length of the keys in bits. 708 "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. 709 "kind": "dns#dnsKeySpec", 710 }, 711 ], 712 "kind": "dns#managedZoneDnsSecConfig", 713 "nonExistence": "A String", # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. 714 "state": "A String", # Specifies whether DNSSEC is enabled, and what mode it is in. 715 }, 716 "forwardingConfig": { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to. 717 "kind": "dns#managedZoneForwardingConfig", 718 "targetNameServers": [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given. 719 { 720 "forwardingPath": "A String", # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. 721 "ipv4Address": "A String", # IPv4 address of a target name server. 722 "kind": "dns#managedZoneForwardingConfigNameServerTarget", 723 }, 724 ], 725 }, 726 "id": "A String", # Unique identifier for the resource; defined by the server (output only) 727 "kind": "dns#managedZone", 728 "labels": { # User labels. 729 "a_key": "A String", 730 }, 731 "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. 732 "nameServerSet": "A String", # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team. 733 "nameServers": [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only) 734 "A String", 735 ], 736 "peeringConfig": { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with. 737 "kind": "dns#managedZonePeeringConfig", 738 "targetNetwork": { # The network with which to peer. 739 "deactivateTime": "A String", # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. 740 "kind": "dns#managedZonePeeringConfigTargetNetwork", 741 "networkUrl": "A String", # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 742 }, 743 }, 744 "privateVisibilityConfig": { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. 745 "kind": "dns#managedZonePrivateVisibilityConfig", 746 "networks": [ # The list of VPC networks that can see this zone. 747 { 748 "kind": "dns#managedZonePrivateVisibilityConfigNetwork", 749 "networkUrl": "A String", # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 750 }, 751 ], 752 }, 753 "reverseLookupConfig": { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config. 754 "kind": "dns#managedZoneReverseLookupConfig", 755 }, 756 "serviceDirectoryConfig": { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. 757 "kind": "dns#managedZoneServiceDirectoryConfig", 758 "namespace": { # Contains information about the namespace associated with the zone. 759 "deletionTime": "A String", # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. 760 "kind": "dns#managedZoneServiceDirectoryConfigNamespace", 761 "namespaceUrl": "A String", # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} 762 }, 763 }, 764 "visibility": "A String", # The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. 765 }, 766 }, 767}</pre> 768</div> 769 770<div class="method"> 771 <code class="details" id="update">update(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code> 772 <pre>Updates an existing ManagedZone. 773 774Args: 775 project: string, Identifies the project addressed by this request. (required) 776 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 777 body: object, The request body. 778 The object takes the form of: 779 780{ # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. 781 "cloudLoggingConfig": { # Cloud Logging configurations for publicly visible zones. 782 "enableLogging": True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in. 783 "kind": "dns#managedZoneCloudLoggingConfig", 784 }, 785 "creationTime": "A String", # The time that this resource was created on the server. This is in RFC3339 text format. Output only. 786 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. 787 "dnsName": "A String", # The DNS name of this managed zone, for instance "example.com.". 788 "dnssecConfig": { # DNSSEC configuration. 789 "defaultKeySpecs": [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. 790 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. 791 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. 792 "keyLength": 42, # Length of the keys in bits. 793 "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. 794 "kind": "dns#dnsKeySpec", 795 }, 796 ], 797 "kind": "dns#managedZoneDnsSecConfig", 798 "nonExistence": "A String", # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. 799 "state": "A String", # Specifies whether DNSSEC is enabled, and what mode it is in. 800 }, 801 "forwardingConfig": { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to. 802 "kind": "dns#managedZoneForwardingConfig", 803 "targetNameServers": [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given. 804 { 805 "forwardingPath": "A String", # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. 806 "ipv4Address": "A String", # IPv4 address of a target name server. 807 "kind": "dns#managedZoneForwardingConfigNameServerTarget", 808 }, 809 ], 810 }, 811 "id": "A String", # Unique identifier for the resource; defined by the server (output only) 812 "kind": "dns#managedZone", 813 "labels": { # User labels. 814 "a_key": "A String", 815 }, 816 "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. 817 "nameServerSet": "A String", # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team. 818 "nameServers": [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only) 819 "A String", 820 ], 821 "peeringConfig": { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with. 822 "kind": "dns#managedZonePeeringConfig", 823 "targetNetwork": { # The network with which to peer. 824 "deactivateTime": "A String", # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. 825 "kind": "dns#managedZonePeeringConfigTargetNetwork", 826 "networkUrl": "A String", # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 827 }, 828 }, 829 "privateVisibilityConfig": { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. 830 "kind": "dns#managedZonePrivateVisibilityConfig", 831 "networks": [ # The list of VPC networks that can see this zone. 832 { 833 "kind": "dns#managedZonePrivateVisibilityConfigNetwork", 834 "networkUrl": "A String", # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 835 }, 836 ], 837 }, 838 "reverseLookupConfig": { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config. 839 "kind": "dns#managedZoneReverseLookupConfig", 840 }, 841 "serviceDirectoryConfig": { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. 842 "kind": "dns#managedZoneServiceDirectoryConfig", 843 "namespace": { # Contains information about the namespace associated with the zone. 844 "deletionTime": "A String", # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. 845 "kind": "dns#managedZoneServiceDirectoryConfigNamespace", 846 "namespaceUrl": "A String", # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} 847 }, 848 }, 849 "visibility": "A String", # The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. 850} 851 852 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. 853 x__xgafv: string, V1 error format. 854 Allowed values 855 1 - v1 error format 856 2 - v2 error format 857 858Returns: 859 An object of the form: 860 861 { # An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id. 862 "dnsKeyContext": { # Only populated if the operation targeted a DnsKey (output only). 863 "newValue": { # A DNSSEC key pair. # The post-operation DnsKey resource. 864 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time. 865 "creationTime": "A String", # The time that this resource was created in the control plane. This is in RFC3339 text format. Output only. 866 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function. 867 "digests": [ # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only. 868 { 869 "digest": "A String", # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record. 870 "type": "A String", # Specifies the algorithm used to calculate this digest. 871 }, 872 ], 873 "id": "A String", # Unique identifier for the resource; defined by the server (output only). 874 "isActive": True or False, # Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures. 875 "keyLength": 42, # Length of the key in bits. Specified at creation time, and then immutable. 876 "keyTag": 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only. 877 "kind": "dns#dnsKey", 878 "publicKey": "A String", # Base64 encoded public half of this key. Output only. 879 "type": "A String", # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time. 880 }, 881 "oldValue": { # A DNSSEC key pair. # The pre-operation DnsKey resource. 882 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time. 883 "creationTime": "A String", # The time that this resource was created in the control plane. This is in RFC3339 text format. Output only. 884 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function. 885 "digests": [ # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only. 886 { 887 "digest": "A String", # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record. 888 "type": "A String", # Specifies the algorithm used to calculate this digest. 889 }, 890 ], 891 "id": "A String", # Unique identifier for the resource; defined by the server (output only). 892 "isActive": True or False, # Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures. 893 "keyLength": 42, # Length of the key in bits. Specified at creation time, and then immutable. 894 "keyTag": 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only. 895 "kind": "dns#dnsKey", 896 "publicKey": "A String", # Base64 encoded public half of this key. Output only. 897 "type": "A String", # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time. 898 }, 899 }, 900 "id": "A String", # Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only) 901 "kind": "dns#operation", 902 "startTime": "A String", # The time that this operation was started by the server. This is in RFC3339 text format (output only). 903 "status": "A String", # Status of the operation. Can be one of the following: "PENDING" or "DONE" (output only). A status of "DONE" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet. 904 "type": "A String", # Type of the operation. Operations include insert, update, and delete (output only). 905 "user": "A String", # User who requested the operation, for example: [email protected]. cloud-dns-system for operations automatically done by the system. (output only) 906 "zoneContext": { # Only populated if the operation targeted a ManagedZone (output only). 907 "newValue": { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. # The post-operation ManagedZone resource. 908 "cloudLoggingConfig": { # Cloud Logging configurations for publicly visible zones. 909 "enableLogging": True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in. 910 "kind": "dns#managedZoneCloudLoggingConfig", 911 }, 912 "creationTime": "A String", # The time that this resource was created on the server. This is in RFC3339 text format. Output only. 913 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. 914 "dnsName": "A String", # The DNS name of this managed zone, for instance "example.com.". 915 "dnssecConfig": { # DNSSEC configuration. 916 "defaultKeySpecs": [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. 917 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. 918 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. 919 "keyLength": 42, # Length of the keys in bits. 920 "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. 921 "kind": "dns#dnsKeySpec", 922 }, 923 ], 924 "kind": "dns#managedZoneDnsSecConfig", 925 "nonExistence": "A String", # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. 926 "state": "A String", # Specifies whether DNSSEC is enabled, and what mode it is in. 927 }, 928 "forwardingConfig": { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to. 929 "kind": "dns#managedZoneForwardingConfig", 930 "targetNameServers": [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given. 931 { 932 "forwardingPath": "A String", # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. 933 "ipv4Address": "A String", # IPv4 address of a target name server. 934 "kind": "dns#managedZoneForwardingConfigNameServerTarget", 935 }, 936 ], 937 }, 938 "id": "A String", # Unique identifier for the resource; defined by the server (output only) 939 "kind": "dns#managedZone", 940 "labels": { # User labels. 941 "a_key": "A String", 942 }, 943 "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. 944 "nameServerSet": "A String", # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team. 945 "nameServers": [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only) 946 "A String", 947 ], 948 "peeringConfig": { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with. 949 "kind": "dns#managedZonePeeringConfig", 950 "targetNetwork": { # The network with which to peer. 951 "deactivateTime": "A String", # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. 952 "kind": "dns#managedZonePeeringConfigTargetNetwork", 953 "networkUrl": "A String", # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 954 }, 955 }, 956 "privateVisibilityConfig": { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. 957 "kind": "dns#managedZonePrivateVisibilityConfig", 958 "networks": [ # The list of VPC networks that can see this zone. 959 { 960 "kind": "dns#managedZonePrivateVisibilityConfigNetwork", 961 "networkUrl": "A String", # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 962 }, 963 ], 964 }, 965 "reverseLookupConfig": { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config. 966 "kind": "dns#managedZoneReverseLookupConfig", 967 }, 968 "serviceDirectoryConfig": { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. 969 "kind": "dns#managedZoneServiceDirectoryConfig", 970 "namespace": { # Contains information about the namespace associated with the zone. 971 "deletionTime": "A String", # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. 972 "kind": "dns#managedZoneServiceDirectoryConfigNamespace", 973 "namespaceUrl": "A String", # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} 974 }, 975 }, 976 "visibility": "A String", # The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. 977 }, 978 "oldValue": { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. # The pre-operation ManagedZone resource. 979 "cloudLoggingConfig": { # Cloud Logging configurations for publicly visible zones. 980 "enableLogging": True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in. 981 "kind": "dns#managedZoneCloudLoggingConfig", 982 }, 983 "creationTime": "A String", # The time that this resource was created on the server. This is in RFC3339 text format. Output only. 984 "description": "A String", # A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. 985 "dnsName": "A String", # The DNS name of this managed zone, for instance "example.com.". 986 "dnssecConfig": { # DNSSEC configuration. 987 "defaultKeySpecs": [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. 988 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. 989 "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key. 990 "keyLength": 42, # Length of the keys in bits. 991 "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. 992 "kind": "dns#dnsKeySpec", 993 }, 994 ], 995 "kind": "dns#managedZoneDnsSecConfig", 996 "nonExistence": "A String", # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. 997 "state": "A String", # Specifies whether DNSSEC is enabled, and what mode it is in. 998 }, 999 "forwardingConfig": { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to. 1000 "kind": "dns#managedZoneForwardingConfig", 1001 "targetNameServers": [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given. 1002 { 1003 "forwardingPath": "A String", # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. 1004 "ipv4Address": "A String", # IPv4 address of a target name server. 1005 "kind": "dns#managedZoneForwardingConfigNameServerTarget", 1006 }, 1007 ], 1008 }, 1009 "id": "A String", # Unique identifier for the resource; defined by the server (output only) 1010 "kind": "dns#managedZone", 1011 "labels": { # User labels. 1012 "a_key": "A String", 1013 }, 1014 "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. 1015 "nameServerSet": "A String", # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team. 1016 "nameServers": [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only) 1017 "A String", 1018 ], 1019 "peeringConfig": { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with. 1020 "kind": "dns#managedZonePeeringConfig", 1021 "targetNetwork": { # The network with which to peer. 1022 "deactivateTime": "A String", # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. 1023 "kind": "dns#managedZonePeeringConfigTargetNetwork", 1024 "networkUrl": "A String", # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 1025 }, 1026 }, 1027 "privateVisibilityConfig": { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. 1028 "kind": "dns#managedZonePrivateVisibilityConfig", 1029 "networks": [ # The list of VPC networks that can see this zone. 1030 { 1031 "kind": "dns#managedZonePrivateVisibilityConfigNetwork", 1032 "networkUrl": "A String", # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} 1033 }, 1034 ], 1035 }, 1036 "reverseLookupConfig": { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config. 1037 "kind": "dns#managedZoneReverseLookupConfig", 1038 }, 1039 "serviceDirectoryConfig": { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. 1040 "kind": "dns#managedZoneServiceDirectoryConfig", 1041 "namespace": { # Contains information about the namespace associated with the zone. 1042 "deletionTime": "A String", # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. 1043 "kind": "dns#managedZoneServiceDirectoryConfigNamespace", 1044 "namespaceUrl": "A String", # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} 1045 }, 1046 }, 1047 "visibility": "A String", # The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. 1048 }, 1049 }, 1050}</pre> 1051</div> 1052 1053</body></html>