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  &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
118    &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
119    &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
120  },
121  &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
122  &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
123  &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
124  &quot;dnssecConfig&quot;: { # DNSSEC configuration.
125    &quot;defaultKeySpecs&quot;: [ # 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        &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
128        &quot;keyLength&quot;: 42, # Length of the keys in bits.
129        &quot;keyType&quot;: &quot;A String&quot;, # 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        &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
131      },
132    ],
133    &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
134    &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
135    &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
136  },
137  &quot;forwardingConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
139    &quot;targetNameServers&quot;: [ # 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        &quot;forwardingPath&quot;: &quot;A String&quot;, # 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        &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
143        &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
144      },
145    ],
146  },
147  &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
148  &quot;kind&quot;: &quot;dns#managedZone&quot;,
149  &quot;labels&quot;: { # User labels.
150    &quot;a_key&quot;: &quot;A String&quot;,
151  },
152  &quot;name&quot;: &quot;A String&quot;, # 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  &quot;nameServerSet&quot;: &quot;A String&quot;, # 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  &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
155    &quot;A String&quot;,
156  ],
157  &quot;peeringConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
159    &quot;targetNetwork&quot;: { # The network with which to peer.
160      &quot;deactivateTime&quot;: &quot;A String&quot;, # 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      &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
162      &quot;networkUrl&quot;: &quot;A String&quot;, # 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  &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
166    &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
167    &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
168      {
169        &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
170        &quot;networkUrl&quot;: &quot;A String&quot;, # 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  &quot;reverseLookupConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
176  },
177  &quot;serviceDirectoryConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
179    &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
180      &quot;deletionTime&quot;: &quot;A String&quot;, # 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      &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
182      &quot;namespaceUrl&quot;: &quot;A String&quot;, # 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  &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;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  &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
199    &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
200    &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
201  },
202  &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
203  &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
204  &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
205  &quot;dnssecConfig&quot;: { # DNSSEC configuration.
206    &quot;defaultKeySpecs&quot;: [ # 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        &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
209        &quot;keyLength&quot;: 42, # Length of the keys in bits.
210        &quot;keyType&quot;: &quot;A String&quot;, # 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        &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
212      },
213    ],
214    &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
215    &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
216    &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
217  },
218  &quot;forwardingConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
220    &quot;targetNameServers&quot;: [ # 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        &quot;forwardingPath&quot;: &quot;A String&quot;, # 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        &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
224        &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
225      },
226    ],
227  },
228  &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
229  &quot;kind&quot;: &quot;dns#managedZone&quot;,
230  &quot;labels&quot;: { # User labels.
231    &quot;a_key&quot;: &quot;A String&quot;,
232  },
233  &quot;name&quot;: &quot;A String&quot;, # 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  &quot;nameServerSet&quot;: &quot;A String&quot;, # 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  &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
236    &quot;A String&quot;,
237  ],
238  &quot;peeringConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
240    &quot;targetNetwork&quot;: { # The network with which to peer.
241      &quot;deactivateTime&quot;: &quot;A String&quot;, # 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      &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
243      &quot;networkUrl&quot;: &quot;A String&quot;, # 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  &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
247    &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
248    &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
249      {
250        &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
251        &quot;networkUrl&quot;: &quot;A String&quot;, # 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  &quot;reverseLookupConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
257  },
258  &quot;serviceDirectoryConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
260    &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
261      &quot;deletionTime&quot;: &quot;A String&quot;, # 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      &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
263      &quot;namespaceUrl&quot;: &quot;A String&quot;, # 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  &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;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  &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
303    &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
304    &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
305  },
306  &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
307  &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
308  &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
309  &quot;dnssecConfig&quot;: { # DNSSEC configuration.
310    &quot;defaultKeySpecs&quot;: [ # 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        &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
313        &quot;keyLength&quot;: 42, # Length of the keys in bits.
314        &quot;keyType&quot;: &quot;A String&quot;, # 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        &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
316      },
317    ],
318    &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
319    &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
320    &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
321  },
322  &quot;forwardingConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
324    &quot;targetNameServers&quot;: [ # 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        &quot;forwardingPath&quot;: &quot;A String&quot;, # 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        &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
328        &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
329      },
330    ],
331  },
332  &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
333  &quot;kind&quot;: &quot;dns#managedZone&quot;,
334  &quot;labels&quot;: { # User labels.
335    &quot;a_key&quot;: &quot;A String&quot;,
336  },
337  &quot;name&quot;: &quot;A String&quot;, # 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  &quot;nameServerSet&quot;: &quot;A String&quot;, # 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  &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
340    &quot;A String&quot;,
341  ],
342  &quot;peeringConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
344    &quot;targetNetwork&quot;: { # The network with which to peer.
345      &quot;deactivateTime&quot;: &quot;A String&quot;, # 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      &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
347      &quot;networkUrl&quot;: &quot;A String&quot;, # 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  &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
351    &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
352    &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
353      {
354        &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
355        &quot;networkUrl&quot;: &quot;A String&quot;, # 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  &quot;reverseLookupConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
361  },
362  &quot;serviceDirectoryConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
364    &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
365      &quot;deletionTime&quot;: &quot;A String&quot;, # 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      &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
367      &quot;namespaceUrl&quot;: &quot;A String&quot;, # 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  &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;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  &quot;header&quot;: { # Elements common to every response.
393    &quot;operationId&quot;: &quot;A String&quot;, # 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  &quot;kind&quot;: &quot;dns#managedZonesListResponse&quot;, # Type of resource.
396  &quot;managedZones&quot;: [ # 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      &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
399        &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
400        &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
401      },
402      &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
403      &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
404      &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
405      &quot;dnssecConfig&quot;: { # DNSSEC configuration.
406        &quot;defaultKeySpecs&quot;: [ # 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            &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
409            &quot;keyLength&quot;: 42, # Length of the keys in bits.
410            &quot;keyType&quot;: &quot;A String&quot;, # 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            &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
412          },
413        ],
414        &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
415        &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
416        &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
417      },
418      &quot;forwardingConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
420        &quot;targetNameServers&quot;: [ # 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            &quot;forwardingPath&quot;: &quot;A String&quot;, # 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            &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
424            &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
425          },
426        ],
427      },
428      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
429      &quot;kind&quot;: &quot;dns#managedZone&quot;,
430      &quot;labels&quot;: { # User labels.
431        &quot;a_key&quot;: &quot;A String&quot;,
432      },
433      &quot;name&quot;: &quot;A String&quot;, # 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      &quot;nameServerSet&quot;: &quot;A String&quot;, # 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      &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
436        &quot;A String&quot;,
437      ],
438      &quot;peeringConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
440        &quot;targetNetwork&quot;: { # The network with which to peer.
441          &quot;deactivateTime&quot;: &quot;A String&quot;, # 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          &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
443          &quot;networkUrl&quot;: &quot;A String&quot;, # 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      &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
447        &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
448        &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
449          {
450            &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
451            &quot;networkUrl&quot;: &quot;A String&quot;, # 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      &quot;reverseLookupConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
457      },
458      &quot;serviceDirectoryConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
460        &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
461          &quot;deletionTime&quot;: &quot;A String&quot;, # 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          &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
463          &quot;namespaceUrl&quot;: &quot;A String&quot;, # 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      &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
467    },
468  ],
469  &quot;nextPageToken&quot;: &quot;A String&quot;, # 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 &#x27;execute()&#x27; 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  &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
499    &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
500    &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
501  },
502  &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
503  &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
504  &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
505  &quot;dnssecConfig&quot;: { # DNSSEC configuration.
506    &quot;defaultKeySpecs&quot;: [ # 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        &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
509        &quot;keyLength&quot;: 42, # Length of the keys in bits.
510        &quot;keyType&quot;: &quot;A String&quot;, # 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        &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
512      },
513    ],
514    &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
515    &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
516    &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
517  },
518  &quot;forwardingConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
520    &quot;targetNameServers&quot;: [ # 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        &quot;forwardingPath&quot;: &quot;A String&quot;, # 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        &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
524        &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
525      },
526    ],
527  },
528  &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
529  &quot;kind&quot;: &quot;dns#managedZone&quot;,
530  &quot;labels&quot;: { # User labels.
531    &quot;a_key&quot;: &quot;A String&quot;,
532  },
533  &quot;name&quot;: &quot;A String&quot;, # 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  &quot;nameServerSet&quot;: &quot;A String&quot;, # 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  &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
536    &quot;A String&quot;,
537  ],
538  &quot;peeringConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
540    &quot;targetNetwork&quot;: { # The network with which to peer.
541      &quot;deactivateTime&quot;: &quot;A String&quot;, # 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      &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
543      &quot;networkUrl&quot;: &quot;A String&quot;, # 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  &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
547    &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
548    &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
549      {
550        &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
551        &quot;networkUrl&quot;: &quot;A String&quot;, # 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  &quot;reverseLookupConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
557  },
558  &quot;serviceDirectoryConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
560    &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
561      &quot;deletionTime&quot;: &quot;A String&quot;, # 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      &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
563      &quot;namespaceUrl&quot;: &quot;A String&quot;, # 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  &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;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  &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
580    &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
581      &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
582      &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.
583      &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
584      &quot;digests&quot;: [ # 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          &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
587          &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
588        },
589      ],
590      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
591      &quot;isActive&quot;: 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      &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time, and then immutable.
593      &quot;keyTag&quot;: 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&#x27;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      &quot;kind&quot;: &quot;dns#dnsKey&quot;,
595      &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
596      &quot;type&quot;: &quot;A String&quot;, # One of &quot;KEY_SIGNING&quot; or &quot;ZONE_SIGNING&quot;. 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    &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
599      &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
600      &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.
601      &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
602      &quot;digests&quot;: [ # 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          &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
605          &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
606        },
607      ],
608      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
609      &quot;isActive&quot;: 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      &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time, and then immutable.
611      &quot;keyTag&quot;: 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&#x27;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      &quot;kind&quot;: &quot;dns#dnsKey&quot;,
613      &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
614      &quot;type&quot;: &quot;A String&quot;, # One of &quot;KEY_SIGNING&quot; or &quot;ZONE_SIGNING&quot;. 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  &quot;id&quot;: &quot;A String&quot;, # 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  &quot;kind&quot;: &quot;dns#operation&quot;,
619  &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server. This is in RFC3339 text format (output only).
620  &quot;status&quot;: &quot;A String&quot;, # Status of the operation. Can be one of the following: &quot;PENDING&quot; or &quot;DONE&quot; (output only). A status of &quot;DONE&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
621  &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete (output only).
622  &quot;user&quot;: &quot;A String&quot;, # User who requested the operation, for example: [email protected]. cloud-dns-system for operations automatically done by the system. (output only)
623  &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
624    &quot;newValue&quot;: { # 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      &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
626        &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
627        &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
628      },
629      &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
630      &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
631      &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
632      &quot;dnssecConfig&quot;: { # DNSSEC configuration.
633        &quot;defaultKeySpecs&quot;: [ # 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            &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
636            &quot;keyLength&quot;: 42, # Length of the keys in bits.
637            &quot;keyType&quot;: &quot;A String&quot;, # 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            &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
639          },
640        ],
641        &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
642        &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
643        &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
644      },
645      &quot;forwardingConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
647        &quot;targetNameServers&quot;: [ # 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            &quot;forwardingPath&quot;: &quot;A String&quot;, # 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            &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
651            &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
652          },
653        ],
654      },
655      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
656      &quot;kind&quot;: &quot;dns#managedZone&quot;,
657      &quot;labels&quot;: { # User labels.
658        &quot;a_key&quot;: &quot;A String&quot;,
659      },
660      &quot;name&quot;: &quot;A String&quot;, # 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      &quot;nameServerSet&quot;: &quot;A String&quot;, # 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      &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
663        &quot;A String&quot;,
664      ],
665      &quot;peeringConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
667        &quot;targetNetwork&quot;: { # The network with which to peer.
668          &quot;deactivateTime&quot;: &quot;A String&quot;, # 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          &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
670          &quot;networkUrl&quot;: &quot;A String&quot;, # 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      &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
674        &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
675        &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
676          {
677            &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
678            &quot;networkUrl&quot;: &quot;A String&quot;, # 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      &quot;reverseLookupConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
684      },
685      &quot;serviceDirectoryConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
687        &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
688          &quot;deletionTime&quot;: &quot;A String&quot;, # 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          &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
690          &quot;namespaceUrl&quot;: &quot;A String&quot;, # 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      &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
694    },
695    &quot;oldValue&quot;: { # 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      &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
697        &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
698        &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
699      },
700      &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
701      &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
702      &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
703      &quot;dnssecConfig&quot;: { # DNSSEC configuration.
704        &quot;defaultKeySpecs&quot;: [ # 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            &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
707            &quot;keyLength&quot;: 42, # Length of the keys in bits.
708            &quot;keyType&quot;: &quot;A String&quot;, # 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            &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
710          },
711        ],
712        &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
713        &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
714        &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
715      },
716      &quot;forwardingConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
718        &quot;targetNameServers&quot;: [ # 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            &quot;forwardingPath&quot;: &quot;A String&quot;, # 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            &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
722            &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
723          },
724        ],
725      },
726      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
727      &quot;kind&quot;: &quot;dns#managedZone&quot;,
728      &quot;labels&quot;: { # User labels.
729        &quot;a_key&quot;: &quot;A String&quot;,
730      },
731      &quot;name&quot;: &quot;A String&quot;, # 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      &quot;nameServerSet&quot;: &quot;A String&quot;, # 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      &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
734        &quot;A String&quot;,
735      ],
736      &quot;peeringConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
738        &quot;targetNetwork&quot;: { # The network with which to peer.
739          &quot;deactivateTime&quot;: &quot;A String&quot;, # 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          &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
741          &quot;networkUrl&quot;: &quot;A String&quot;, # 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      &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
745        &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
746        &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
747          {
748            &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
749            &quot;networkUrl&quot;: &quot;A String&quot;, # 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      &quot;reverseLookupConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
755      },
756      &quot;serviceDirectoryConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
758        &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
759          &quot;deletionTime&quot;: &quot;A String&quot;, # 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          &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
761          &quot;namespaceUrl&quot;: &quot;A String&quot;, # 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      &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;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  &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
782    &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
783    &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
784  },
785  &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
786  &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
787  &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
788  &quot;dnssecConfig&quot;: { # DNSSEC configuration.
789    &quot;defaultKeySpecs&quot;: [ # 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        &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
792        &quot;keyLength&quot;: 42, # Length of the keys in bits.
793        &quot;keyType&quot;: &quot;A String&quot;, # 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        &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
795      },
796    ],
797    &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
798    &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
799    &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
800  },
801  &quot;forwardingConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
803    &quot;targetNameServers&quot;: [ # 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        &quot;forwardingPath&quot;: &quot;A String&quot;, # 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        &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
807        &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
808      },
809    ],
810  },
811  &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
812  &quot;kind&quot;: &quot;dns#managedZone&quot;,
813  &quot;labels&quot;: { # User labels.
814    &quot;a_key&quot;: &quot;A String&quot;,
815  },
816  &quot;name&quot;: &quot;A String&quot;, # 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  &quot;nameServerSet&quot;: &quot;A String&quot;, # 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  &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
819    &quot;A String&quot;,
820  ],
821  &quot;peeringConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
823    &quot;targetNetwork&quot;: { # The network with which to peer.
824      &quot;deactivateTime&quot;: &quot;A String&quot;, # 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      &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
826      &quot;networkUrl&quot;: &quot;A String&quot;, # 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  &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
830    &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
831    &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
832      {
833        &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
834        &quot;networkUrl&quot;: &quot;A String&quot;, # 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  &quot;reverseLookupConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
840  },
841  &quot;serviceDirectoryConfig&quot;: { # 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    &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
843    &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
844      &quot;deletionTime&quot;: &quot;A String&quot;, # 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      &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
846      &quot;namespaceUrl&quot;: &quot;A String&quot;, # 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  &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;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  &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
863    &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
864      &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
865      &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.
866      &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
867      &quot;digests&quot;: [ # 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          &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
870          &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
871        },
872      ],
873      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
874      &quot;isActive&quot;: 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      &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time, and then immutable.
876      &quot;keyTag&quot;: 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&#x27;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      &quot;kind&quot;: &quot;dns#dnsKey&quot;,
878      &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
879      &quot;type&quot;: &quot;A String&quot;, # One of &quot;KEY_SIGNING&quot; or &quot;ZONE_SIGNING&quot;. 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    &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
882      &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
883      &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.
884      &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
885      &quot;digests&quot;: [ # 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          &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
888          &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
889        },
890      ],
891      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
892      &quot;isActive&quot;: 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      &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time, and then immutable.
894      &quot;keyTag&quot;: 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&#x27;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      &quot;kind&quot;: &quot;dns#dnsKey&quot;,
896      &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
897      &quot;type&quot;: &quot;A String&quot;, # One of &quot;KEY_SIGNING&quot; or &quot;ZONE_SIGNING&quot;. 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  &quot;id&quot;: &quot;A String&quot;, # 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  &quot;kind&quot;: &quot;dns#operation&quot;,
902  &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server. This is in RFC3339 text format (output only).
903  &quot;status&quot;: &quot;A String&quot;, # Status of the operation. Can be one of the following: &quot;PENDING&quot; or &quot;DONE&quot; (output only). A status of &quot;DONE&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
904  &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete (output only).
905  &quot;user&quot;: &quot;A String&quot;, # User who requested the operation, for example: [email protected]. cloud-dns-system for operations automatically done by the system. (output only)
906  &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
907    &quot;newValue&quot;: { # 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      &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
909        &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
910        &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
911      },
912      &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
913      &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
914      &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
915      &quot;dnssecConfig&quot;: { # DNSSEC configuration.
916        &quot;defaultKeySpecs&quot;: [ # 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            &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
919            &quot;keyLength&quot;: 42, # Length of the keys in bits.
920            &quot;keyType&quot;: &quot;A String&quot;, # 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            &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
922          },
923        ],
924        &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
925        &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
926        &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
927      },
928      &quot;forwardingConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
930        &quot;targetNameServers&quot;: [ # 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            &quot;forwardingPath&quot;: &quot;A String&quot;, # 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            &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
934            &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
935          },
936        ],
937      },
938      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
939      &quot;kind&quot;: &quot;dns#managedZone&quot;,
940      &quot;labels&quot;: { # User labels.
941        &quot;a_key&quot;: &quot;A String&quot;,
942      },
943      &quot;name&quot;: &quot;A String&quot;, # 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      &quot;nameServerSet&quot;: &quot;A String&quot;, # 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      &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
946        &quot;A String&quot;,
947      ],
948      &quot;peeringConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
950        &quot;targetNetwork&quot;: { # The network with which to peer.
951          &quot;deactivateTime&quot;: &quot;A String&quot;, # 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          &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
953          &quot;networkUrl&quot;: &quot;A String&quot;, # 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      &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
957        &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
958        &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
959          {
960            &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
961            &quot;networkUrl&quot;: &quot;A String&quot;, # 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      &quot;reverseLookupConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
967      },
968      &quot;serviceDirectoryConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
970        &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
971          &quot;deletionTime&quot;: &quot;A String&quot;, # 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          &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
973          &quot;namespaceUrl&quot;: &quot;A String&quot;, # 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      &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
977    },
978    &quot;oldValue&quot;: { # 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      &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
980        &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
981        &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
982      },
983      &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
984      &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
985      &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
986      &quot;dnssecConfig&quot;: { # DNSSEC configuration.
987        &quot;defaultKeySpecs&quot;: [ # 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            &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
990            &quot;keyLength&quot;: 42, # Length of the keys in bits.
991            &quot;keyType&quot;: &quot;A String&quot;, # 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            &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
993          },
994        ],
995        &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
996        &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
997        &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
998      },
999      &quot;forwardingConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
1001        &quot;targetNameServers&quot;: [ # 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            &quot;forwardingPath&quot;: &quot;A String&quot;, # 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            &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
1005            &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
1006          },
1007        ],
1008      },
1009      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
1010      &quot;kind&quot;: &quot;dns#managedZone&quot;,
1011      &quot;labels&quot;: { # User labels.
1012        &quot;a_key&quot;: &quot;A String&quot;,
1013      },
1014      &quot;name&quot;: &quot;A String&quot;, # 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      &quot;nameServerSet&quot;: &quot;A String&quot;, # 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      &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
1017        &quot;A String&quot;,
1018      ],
1019      &quot;peeringConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1021        &quot;targetNetwork&quot;: { # The network with which to peer.
1022          &quot;deactivateTime&quot;: &quot;A String&quot;, # 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          &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1024          &quot;networkUrl&quot;: &quot;A String&quot;, # 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      &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
1028        &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
1029        &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
1030          {
1031            &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
1032            &quot;networkUrl&quot;: &quot;A String&quot;, # 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      &quot;reverseLookupConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1038      },
1039      &quot;serviceDirectoryConfig&quot;: { # 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        &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
1041        &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
1042          &quot;deletionTime&quot;: &quot;A String&quot;, # 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          &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
1044          &quot;namespaceUrl&quot;: &quot;A String&quot;, # 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      &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;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>