blob: 5beefe6c6345b4998fc501a5ce654fc8bdc9f166 [file] [log] [blame]
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001<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
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="dns_v2beta1.html">Cloud DNS API</a> . <a href="dns_v2beta1.managedZones.html">managedZones</a></h1>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#create">create(project, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Create a new ManagedZone.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070080<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#delete">delete(project, managedZone, clientOperationId=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Delete a previously created ManagedZone.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#get">get(project, managedZone, clientOperationId=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Fetch the representation of an existing ManagedZone.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#list">list(project, maxResults=None, pageToken=None, dnsName=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Enumerate ManagedZones that have been created but not yet deleted.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070089<p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070093 <code><a href="#patch">patch(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
94<p class="firstline">Apply a partial update to an existing ManagedZone.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070095<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070096 <code><a href="#update">update(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Update an existing ManagedZone.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070098<h3>Method Details</h3>
99<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700100 <code class="details" id="create">create(project, body=None, clientOperationId=None, x__xgafv=None)</code>
101 <pre>Create a new ManagedZone.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700102
103Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700104 project: string, Identifies the project addressed by this request. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 body: object, The request body.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700106 The object takes the form of:
107
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700108{ # A zone is a subtree of the DNS namespace under one administrative
109 # responsibility. A ManagedZone is a resource that represents a DNS zone
110 # hosted by the Cloud DNS service.
111 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
112 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -0700113 &quot;A String&quot;,
114 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700115 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
116 # private zones are visible only to Virtual Private Cloud resources.
117 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
118 # NameServerSet is a set of DNS name servers that all host the same
119 # ManagedZones. Most users will leave this field unset.
120 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
121 # that the zone is visible from.
122 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
123 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700124 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700125 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
126 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
127 # This should be formatted like
128 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 },
130 ],
131 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
133 # The name must be 1-63 characters long, must begin with a letter, end with
134 # a letter or digit, and only contain lowercase letters, digits or dashes.
135 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
136 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
137 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
138 # text format. Output only.
139 &quot;labels&quot;: { # User labels.
140 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700141 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700142 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
143 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
144 # zone. The value of this field contains the network to peer with.
145 &quot;targetNetwork&quot;: { # The network with which to peer.
146 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
147 # This should be formatted like
148 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
149 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
150 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
151 # format. An empty string indicates that the peering connection is
152 # active. The producer network can deactivate a zone. The zone is
153 # automatically deactivated if the producer network that the zone
154 # targeted is deleted. Output only.
155 },
156 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
157 },
158 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
159 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
160 # Can only be changed while the state is OFF.
161 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
162 # ManagedZone. Can only be changed while the state is OFF.
163 { # Parameters for DnsKey key generation. Used for generating initial keys
164 # for a new ManagedZone and as default when adding a new DnsKey.
165 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
166 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
167 &quot;keyLength&quot;: 42, # Length of the keys in bits.
168 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
169 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
170 # active, will only be used to sign resource record sets of type DNSKEY.
171 # Zone signing keys do not have the Secure Entry Point flag set and will be
172 # used to sign all other types of resource record sets.
173 },
174 ],
175 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
176 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
177 },
178 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
179 &quot;kind&quot;: &quot;dns#managedZone&quot;,
180 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
181 # lookup zone and Cloud DNS will resolve reverse lookup queries using
182 # automatically configured records for VPC resources. This only applies
183 # to networks listed under private_visibility_config.
184 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
185 },
186 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
187 # for this zone. The value of this field contains the set of destinations
188 # to forward to.
189 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
190 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
191 # Cloud DNS will select the best available name server if more than one
192 # target is given.
193 {
194 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
195 # Cloud DNS will make forwarding decision based on address ranges,
196 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
197 # Internet. When set to PRIVATE, Cloud DNS will always send queries
198 # through VPC for this target
199 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
200 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
201 },
202 ],
203 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700204}
205
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700206 clientOperationId: string, For mutating operation requests only. An optional identifier
207specified by the client. Must be unique for operation resources in the
208Operations collection.
209 x__xgafv: string, V1 error format.
210 Allowed values
211 1 - v1 error format
212 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700213
214Returns:
215 An object of the form:
216
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700217 { # A zone is a subtree of the DNS namespace under one administrative
218 # responsibility. A ManagedZone is a resource that represents a DNS zone
219 # hosted by the Cloud DNS service.
220 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
221 # server (output only)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700222 &quot;A String&quot;,
223 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700224 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
225 # private zones are visible only to Virtual Private Cloud resources.
226 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
227 # NameServerSet is a set of DNS name servers that all host the same
228 # ManagedZones. Most users will leave this field unset.
229 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
230 # that the zone is visible from.
231 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
232 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700233 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700234 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
235 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
236 # This should be formatted like
237 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700238 },
239 ],
240 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700241 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
242 # The name must be 1-63 characters long, must begin with a letter, end with
243 # a letter or digit, and only contain lowercase letters, digits or dashes.
244 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
245 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
246 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
247 # text format. Output only.
248 &quot;labels&quot;: { # User labels.
249 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700250 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700251 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
252 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
253 # zone. The value of this field contains the network to peer with.
254 &quot;targetNetwork&quot;: { # The network with which to peer.
255 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
256 # This should be formatted like
257 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
258 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
259 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
260 # format. An empty string indicates that the peering connection is
261 # active. The producer network can deactivate a zone. The zone is
262 # automatically deactivated if the producer network that the zone
263 # targeted is deleted. Output only.
264 },
265 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
266 },
267 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
268 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
269 # Can only be changed while the state is OFF.
270 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
271 # ManagedZone. Can only be changed while the state is OFF.
272 { # Parameters for DnsKey key generation. Used for generating initial keys
273 # for a new ManagedZone and as default when adding a new DnsKey.
274 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
275 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
276 &quot;keyLength&quot;: 42, # Length of the keys in bits.
277 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
278 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
279 # active, will only be used to sign resource record sets of type DNSKEY.
280 # Zone signing keys do not have the Secure Entry Point flag set and will be
281 # used to sign all other types of resource record sets.
282 },
283 ],
284 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
285 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
286 },
287 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
288 &quot;kind&quot;: &quot;dns#managedZone&quot;,
289 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
290 # lookup zone and Cloud DNS will resolve reverse lookup queries using
291 # automatically configured records for VPC resources. This only applies
292 # to networks listed under private_visibility_config.
293 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
294 },
295 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
296 # for this zone. The value of this field contains the set of destinations
297 # to forward to.
298 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
299 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
300 # Cloud DNS will select the best available name server if more than one
301 # target is given.
302 {
303 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
304 # Cloud DNS will make forwarding decision based on address ranges,
305 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
306 # Internet. When set to PRIVATE, Cloud DNS will always send queries
307 # through VPC for this target
308 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
309 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
310 },
311 ],
312 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700313 }</pre>
314</div>
315
316<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700317 <code class="details" id="delete">delete(project, managedZone, clientOperationId=None, x__xgafv=None)</code>
318 <pre>Delete a previously created ManagedZone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700319
320Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700321 project: string, Identifies the project addressed by this request. (required)
322 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
323zone name or id. (required)
324 clientOperationId: string, For mutating operation requests only. An optional identifier
325specified by the client. Must be unique for operation resources in the
326Operations collection.
327 x__xgafv: string, V1 error format.
328 Allowed values
329 1 - v1 error format
330 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700331</pre>
332</div>
333
334<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700335 <code class="details" id="get">get(project, managedZone, clientOperationId=None, x__xgafv=None)</code>
336 <pre>Fetch the representation of an existing ManagedZone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700337
338Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700339 project: string, Identifies the project addressed by this request. (required)
340 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
341zone name or id. (required)
342 clientOperationId: string, For mutating operation requests only. An optional identifier
343specified by the client. Must be unique for operation resources in the
344Operations collection.
345 x__xgafv: string, V1 error format.
346 Allowed values
347 1 - v1 error format
348 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700349
350Returns:
351 An object of the form:
352
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700353 { # A zone is a subtree of the DNS namespace under one administrative
354 # responsibility. A ManagedZone is a resource that represents a DNS zone
355 # hosted by the Cloud DNS service.
356 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
357 # server (output only)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700358 &quot;A String&quot;,
359 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700360 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
361 # private zones are visible only to Virtual Private Cloud resources.
362 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
363 # NameServerSet is a set of DNS name servers that all host the same
364 # ManagedZones. Most users will leave this field unset.
365 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
366 # that the zone is visible from.
367 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
368 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700369 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700370 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
371 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
372 # This should be formatted like
373 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700374 },
375 ],
376 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700377 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
378 # The name must be 1-63 characters long, must begin with a letter, end with
379 # a letter or digit, and only contain lowercase letters, digits or dashes.
380 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
381 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
382 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
383 # text format. Output only.
384 &quot;labels&quot;: { # User labels.
385 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700386 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700387 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
388 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
389 # zone. The value of this field contains the network to peer with.
390 &quot;targetNetwork&quot;: { # The network with which to peer.
391 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
392 # This should be formatted like
393 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
394 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
395 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
396 # format. An empty string indicates that the peering connection is
397 # active. The producer network can deactivate a zone. The zone is
398 # automatically deactivated if the producer network that the zone
399 # targeted is deleted. Output only.
400 },
401 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
402 },
403 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
404 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
405 # Can only be changed while the state is OFF.
406 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
407 # ManagedZone. Can only be changed while the state is OFF.
408 { # Parameters for DnsKey key generation. Used for generating initial keys
409 # for a new ManagedZone and as default when adding a new DnsKey.
410 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
411 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
412 &quot;keyLength&quot;: 42, # Length of the keys in bits.
413 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
414 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
415 # active, will only be used to sign resource record sets of type DNSKEY.
416 # Zone signing keys do not have the Secure Entry Point flag set and will be
417 # used to sign all other types of resource record sets.
418 },
419 ],
420 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
421 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
422 },
423 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
424 &quot;kind&quot;: &quot;dns#managedZone&quot;,
425 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
426 # lookup zone and Cloud DNS will resolve reverse lookup queries using
427 # automatically configured records for VPC resources. This only applies
428 # to networks listed under private_visibility_config.
429 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
430 },
431 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
432 # for this zone. The value of this field contains the set of destinations
433 # to forward to.
434 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
435 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
436 # Cloud DNS will select the best available name server if more than one
437 # target is given.
438 {
439 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
440 # Cloud DNS will make forwarding decision based on address ranges,
441 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
442 # Internet. When set to PRIVATE, Cloud DNS will always send queries
443 # through VPC for this target
444 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
445 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
446 },
447 ],
448 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700449 }</pre>
450</div>
451
452<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700453 <code class="details" id="list">list(project, maxResults=None, pageToken=None, dnsName=None, x__xgafv=None)</code>
454 <pre>Enumerate ManagedZones that have been created but not yet deleted.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700455
456Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700457 project: string, Identifies the project addressed by this request. (required)
458 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the
459server will decide how many results to return.
460 pageToken: string, Optional. A tag returned by a previous list request that was truncated.
461Use this parameter to continue a previous list request.
462 dnsName: string, Restricts the list to return only zones with this domain name.
463 x__xgafv: string, V1 error format.
464 Allowed values
465 1 - v1 error format
466 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700467
468Returns:
469 An object of the form:
470
471 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700472 &quot;kind&quot;: &quot;dns#managedZonesListResponse&quot;, # Type of resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700473 &quot;nextPageToken&quot;: &quot;A String&quot;, # The presence of this field indicates that there exist more results
474 # following your last page of results in pagination order. To fetch them,
475 # make another list request using this value as your page token.
476 #
477 # In this way you can retrieve the complete contents of even very large
478 # collections one page at a time. However, if the contents of the collection
479 # change between the first and last paginated list request, the set of all
480 # elements returned will be an inconsistent view of the collection. There is
481 # no way to retrieve a consistent snapshot of a collection larger than the
482 # maximum page size.
483 &quot;managedZones&quot;: [ # The managed zone resources.
484 { # A zone is a subtree of the DNS namespace under one administrative
485 # responsibility. A ManagedZone is a resource that represents a DNS zone
486 # hosted by the Cloud DNS service.
487 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
488 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -0700489 &quot;A String&quot;,
490 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700491 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
492 # private zones are visible only to Virtual Private Cloud resources.
493 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
494 # NameServerSet is a set of DNS name servers that all host the same
495 # ManagedZones. Most users will leave this field unset.
496 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
497 # that the zone is visible from.
498 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
499 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700500 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700501 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
502 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
503 # This should be formatted like
504 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim65020912020-05-20 12:08:20 -0700505 },
506 ],
507 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700508 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
509 # The name must be 1-63 characters long, must begin with a letter, end with
510 # a letter or digit, and only contain lowercase letters, digits or dashes.
511 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
512 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
513 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
514 # text format. Output only.
515 &quot;labels&quot;: { # User labels.
516 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700517 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700518 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
519 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
520 # zone. The value of this field contains the network to peer with.
521 &quot;targetNetwork&quot;: { # The network with which to peer.
522 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
523 # This should be formatted like
524 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
525 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
526 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
527 # format. An empty string indicates that the peering connection is
528 # active. The producer network can deactivate a zone. The zone is
529 # automatically deactivated if the producer network that the zone
530 # targeted is deleted. Output only.
531 },
532 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
533 },
534 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
535 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
536 # Can only be changed while the state is OFF.
537 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
538 # ManagedZone. Can only be changed while the state is OFF.
539 { # Parameters for DnsKey key generation. Used for generating initial keys
540 # for a new ManagedZone and as default when adding a new DnsKey.
541 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
542 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
543 &quot;keyLength&quot;: 42, # Length of the keys in bits.
544 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
545 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
546 # active, will only be used to sign resource record sets of type DNSKEY.
547 # Zone signing keys do not have the Secure Entry Point flag set and will be
548 # used to sign all other types of resource record sets.
549 },
550 ],
551 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
552 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
553 },
554 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
555 &quot;kind&quot;: &quot;dns#managedZone&quot;,
556 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
557 # lookup zone and Cloud DNS will resolve reverse lookup queries using
558 # automatically configured records for VPC resources. This only applies
559 # to networks listed under private_visibility_config.
560 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
561 },
562 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
563 # for this zone. The value of this field contains the set of destinations
564 # to forward to.
565 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
566 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
567 # Cloud DNS will select the best available name server if more than one
568 # target is given.
569 {
570 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
571 # Cloud DNS will make forwarding decision based on address ranges,
572 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
573 # Internet. When set to PRIVATE, Cloud DNS will always send queries
574 # through VPC for this target
575 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
576 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
577 },
578 ],
579 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700580 },
581 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700582 &quot;header&quot;: { # Elements common to every response.
583 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully.
584 # This is the client_operation_id if the client specified it,
585 # otherwise it is generated by the server (output only).
586 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700587 }</pre>
588</div>
589
590<div class="method">
591 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
592 <pre>Retrieves the next page of results.
593
594Args:
595 previous_request: The request for the previous page. (required)
596 previous_response: The response from the request for the previous page. (required)
597
598Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700599 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700600 page. Returns None if there are no more items in the collection.
601 </pre>
602</div>
603
604<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700605 <code class="details" id="patch">patch(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
606 <pre>Apply a partial update to an existing ManagedZone.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700607
608Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700609 project: string, Identifies the project addressed by this request. (required)
610 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
611zone name or id. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700612 body: object, The request body.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700613 The object takes the form of:
614
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700615{ # A zone is a subtree of the DNS namespace under one administrative
616 # responsibility. A ManagedZone is a resource that represents a DNS zone
617 # hosted by the Cloud DNS service.
618 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
619 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -0700620 &quot;A String&quot;,
621 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700622 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
623 # private zones are visible only to Virtual Private Cloud resources.
624 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
625 # NameServerSet is a set of DNS name servers that all host the same
626 # ManagedZones. Most users will leave this field unset.
627 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
628 # that the zone is visible from.
629 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
630 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700631 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700632 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
633 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
634 # This should be formatted like
635 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim65020912020-05-20 12:08:20 -0700636 },
637 ],
638 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700639 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
640 # The name must be 1-63 characters long, must begin with a letter, end with
641 # a letter or digit, and only contain lowercase letters, digits or dashes.
642 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
643 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
644 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
645 # text format. Output only.
646 &quot;labels&quot;: { # User labels.
647 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700648 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700649 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
650 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
651 # zone. The value of this field contains the network to peer with.
652 &quot;targetNetwork&quot;: { # The network with which to peer.
653 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
654 # This should be formatted like
655 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
656 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
657 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
658 # format. An empty string indicates that the peering connection is
659 # active. The producer network can deactivate a zone. The zone is
660 # automatically deactivated if the producer network that the zone
661 # targeted is deleted. Output only.
662 },
663 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
664 },
665 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
666 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
667 # Can only be changed while the state is OFF.
668 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
669 # ManagedZone. Can only be changed while the state is OFF.
670 { # Parameters for DnsKey key generation. Used for generating initial keys
671 # for a new ManagedZone and as default when adding a new DnsKey.
672 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
673 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
674 &quot;keyLength&quot;: 42, # Length of the keys in bits.
675 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
676 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
677 # active, will only be used to sign resource record sets of type DNSKEY.
678 # Zone signing keys do not have the Secure Entry Point flag set and will be
679 # used to sign all other types of resource record sets.
680 },
681 ],
682 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
683 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
684 },
685 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
686 &quot;kind&quot;: &quot;dns#managedZone&quot;,
687 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
688 # lookup zone and Cloud DNS will resolve reverse lookup queries using
689 # automatically configured records for VPC resources. This only applies
690 # to networks listed under private_visibility_config.
691 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
692 },
693 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
694 # for this zone. The value of this field contains the set of destinations
695 # to forward to.
696 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
697 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
698 # Cloud DNS will select the best available name server if more than one
699 # target is given.
700 {
701 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
702 # Cloud DNS will make forwarding decision based on address ranges,
703 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
704 # Internet. When set to PRIVATE, Cloud DNS will always send queries
705 # through VPC for this target
706 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
707 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
708 },
709 ],
710 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700711}
712
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700713 clientOperationId: string, For mutating operation requests only. An optional identifier
714specified by the client. Must be unique for operation resources in the
715Operations collection.
716 x__xgafv: string, V1 error format.
717 Allowed values
718 1 - v1 error format
719 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700720
721Returns:
722 An object of the form:
723
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700724 { # An operation represents a successful mutation performed on a Cloud DNS
725 # resource.
726 # Operations provide:
727 # - An audit log of server resource mutations.
728 # - A way to recover/retry API calls in the case where the response is never
729 # received by the caller. Use the caller specified client_operation_id.
730 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource. This is the client_operation_id if
731 # the client specified it when the mutation was initiated, otherwise,
732 # it is generated by the server. The name must be 1-63 characters long
733 # and match the regular expression [-a-z0-9]? (output only)
734 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
735 &quot;newValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The post-operation ManagedZone resource.
736 # responsibility. A ManagedZone is a resource that represents a DNS zone
737 # hosted by the Cloud DNS service.
738 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
739 # server (output only)
740 &quot;A String&quot;,
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700741 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700742 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
743 # private zones are visible only to Virtual Private Cloud resources.
744 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
745 # NameServerSet is a set of DNS name servers that all host the same
746 # ManagedZones. Most users will leave this field unset.
747 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
748 # that the zone is visible from.
749 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
750 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
751 {
752 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
753 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
754 # This should be formatted like
755 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
756 },
757 ],
758 },
759 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
760 # The name must be 1-63 characters long, must begin with a letter, end with
761 # a letter or digit, and only contain lowercase letters, digits or dashes.
762 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
763 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
764 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
765 # text format. Output only.
766 &quot;labels&quot;: { # User labels.
767 &quot;a_key&quot;: &quot;A String&quot;,
768 },
769 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
770 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
771 # zone. The value of this field contains the network to peer with.
772 &quot;targetNetwork&quot;: { # The network with which to peer.
773 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
774 # This should be formatted like
775 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
776 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
777 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
778 # format. An empty string indicates that the peering connection is
779 # active. The producer network can deactivate a zone. The zone is
780 # automatically deactivated if the producer network that the zone
781 # targeted is deleted. Output only.
782 },
783 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
784 },
785 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
786 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
787 # Can only be changed while the state is OFF.
788 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
789 # ManagedZone. Can only be changed while the state is OFF.
790 { # Parameters for DnsKey key generation. Used for generating initial keys
791 # for a new ManagedZone and as default when adding a new DnsKey.
792 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
793 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
794 &quot;keyLength&quot;: 42, # Length of the keys in bits.
795 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
796 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
797 # active, will only be used to sign resource record sets of type DNSKEY.
798 # Zone signing keys do not have the Secure Entry Point flag set and will be
799 # used to sign all other types of resource record sets.
800 },
801 ],
802 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
803 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
804 },
805 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
806 &quot;kind&quot;: &quot;dns#managedZone&quot;,
807 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
808 # lookup zone and Cloud DNS will resolve reverse lookup queries using
809 # automatically configured records for VPC resources. This only applies
810 # to networks listed under private_visibility_config.
811 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
812 },
813 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
814 # for this zone. The value of this field contains the set of destinations
815 # to forward to.
816 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
817 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
818 # Cloud DNS will select the best available name server if more than one
819 # target is given.
820 {
821 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
822 # Cloud DNS will make forwarding decision based on address ranges,
823 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
824 # Internet. When set to PRIVATE, Cloud DNS will always send queries
825 # through VPC for this target
826 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
827 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
828 },
829 ],
830 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700831 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700832 &quot;oldValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The pre-operation ManagedZone resource.
833 # responsibility. A ManagedZone is a resource that represents a DNS zone
834 # hosted by the Cloud DNS service.
835 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
836 # server (output only)
837 &quot;A String&quot;,
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700838 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700839 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
840 # private zones are visible only to Virtual Private Cloud resources.
841 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
842 # NameServerSet is a set of DNS name servers that all host the same
843 # ManagedZones. Most users will leave this field unset.
844 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
845 # that the zone is visible from.
846 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
847 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
848 {
849 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
850 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
851 # This should be formatted like
852 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
853 },
854 ],
855 },
856 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
857 # The name must be 1-63 characters long, must begin with a letter, end with
858 # a letter or digit, and only contain lowercase letters, digits or dashes.
859 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
860 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
861 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
862 # text format. Output only.
863 &quot;labels&quot;: { # User labels.
864 &quot;a_key&quot;: &quot;A String&quot;,
865 },
866 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
867 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
868 # zone. The value of this field contains the network to peer with.
869 &quot;targetNetwork&quot;: { # The network with which to peer.
870 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
871 # This should be formatted like
872 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
873 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
874 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
875 # format. An empty string indicates that the peering connection is
876 # active. The producer network can deactivate a zone. The zone is
877 # automatically deactivated if the producer network that the zone
878 # targeted is deleted. Output only.
879 },
880 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
881 },
882 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
883 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
884 # Can only be changed while the state is OFF.
885 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
886 # ManagedZone. Can only be changed while the state is OFF.
887 { # Parameters for DnsKey key generation. Used for generating initial keys
888 # for a new ManagedZone and as default when adding a new DnsKey.
889 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
890 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
891 &quot;keyLength&quot;: 42, # Length of the keys in bits.
892 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
893 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
894 # active, will only be used to sign resource record sets of type DNSKEY.
895 # Zone signing keys do not have the Secure Entry Point flag set and will be
896 # used to sign all other types of resource record sets.
897 },
898 ],
899 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
900 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
901 },
902 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
903 &quot;kind&quot;: &quot;dns#managedZone&quot;,
904 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
905 # lookup zone and Cloud DNS will resolve reverse lookup queries using
906 # automatically configured records for VPC resources. This only applies
907 # to networks listed under private_visibility_config.
908 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
909 },
910 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
911 # for this zone. The value of this field contains the set of destinations
912 # to forward to.
913 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
914 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
915 # Cloud DNS will select the best available name server if more than one
916 # target is given.
917 {
918 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
919 # Cloud DNS will make forwarding decision based on address ranges,
920 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
921 # Internet. When set to PRIVATE, Cloud DNS will always send queries
922 # through VPC for this target
923 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
924 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
925 },
926 ],
927 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700928 },
929 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700930 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete
931 # (output only).
932 &quot;status&quot;: &quot;A String&quot;, # Status of the operation. Can be one of the following: &quot;PENDING&quot; or &quot;DONE&quot;
933 # (output only). A status of &quot;DONE&quot; means that the
934 # request to update the authoritative servers has been sent, but the
935 # servers might not be updated yet.
936 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server. This is in RFC3339
937 # text format (output only).
938 &quot;kind&quot;: &quot;dns#operation&quot;,
939 &quot;user&quot;: &quot;A String&quot;, # User who requested the operation, for example: user@example.com.
940 # cloud-dns-system for operations automatically done by the system.
941 # (output only)
942 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
943 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
944 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
945 # Inactive keys will still be present as DNSKEY Resource Records for the use
946 # of resolvers validating existing signatures.
947 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
948 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
949 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
950 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
951 # RFC3339 text format. Output only.
952 &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
953 # Secure Entry Point flag set and, when active, will be used to sign only
954 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
955 # flag will be cleared and this key will be used to sign only resource
956 # record sets of other types. Immutable after creation time.
957 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
958 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
959 # more quickly (but it is not a unique identifier). In particular, the key
960 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
961 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
962 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
963 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
964 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
965 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
966 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
967 # DnsKey. These digests are needed to construct a DS record that points at
968 # this DNS key. Output only.
969 {
970 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
971 # resource record.
972 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Dan O'Mearadd494642020-05-01 07:42:23 -0700973 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700974 ],
975 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
976 # after creation time.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700977 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700978 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
979 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
980 # Inactive keys will still be present as DNSKEY Resource Records for the use
981 # of resolvers validating existing signatures.
982 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
983 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
984 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
985 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
986 # RFC3339 text format. Output only.
987 &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
988 # Secure Entry Point flag set and, when active, will be used to sign only
989 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
990 # flag will be cleared and this key will be used to sign only resource
991 # record sets of other types. Immutable after creation time.
992 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
993 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
994 # more quickly (but it is not a unique identifier). In particular, the key
995 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
996 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
997 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
998 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
999 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
1000 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
1001 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
1002 # DnsKey. These digests are needed to construct a DS record that points at
1003 # this DNS key. Output only.
1004 {
1005 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
1006 # resource record.
1007 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Dan O'Mearadd494642020-05-01 07:42:23 -07001008 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001009 ],
1010 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
1011 # after creation time.
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001012 },
1013 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001014 }</pre>
1015</div>
1016
1017<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001018 <code class="details" id="update">update(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
1019 <pre>Update an existing ManagedZone.
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001020
1021Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001022 project: string, Identifies the project addressed by this request. (required)
1023 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
1024zone name or id. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001025 body: object, The request body.
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001026 The object takes the form of:
1027
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001028{ # A zone is a subtree of the DNS namespace under one administrative
1029 # responsibility. A ManagedZone is a resource that represents a DNS zone
1030 # hosted by the Cloud DNS service.
1031 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
1032 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -07001033 &quot;A String&quot;,
1034 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001035 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
1036 # private zones are visible only to Virtual Private Cloud resources.
1037 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
1038 # NameServerSet is a set of DNS name servers that all host the same
1039 # ManagedZones. Most users will leave this field unset.
1040 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
1041 # that the zone is visible from.
1042 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
1043 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim65020912020-05-20 12:08:20 -07001044 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001045 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
1046 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
1047 # This should be formatted like
1048 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim65020912020-05-20 12:08:20 -07001049 },
1050 ],
1051 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001052 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
1053 # The name must be 1-63 characters long, must begin with a letter, end with
1054 # a letter or digit, and only contain lowercase letters, digits or dashes.
1055 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
1056 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
1057 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
1058 # text format. Output only.
1059 &quot;labels&quot;: { # User labels.
1060 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001061 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001062 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
1063 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
1064 # zone. The value of this field contains the network to peer with.
1065 &quot;targetNetwork&quot;: { # The network with which to peer.
1066 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
1067 # This should be formatted like
1068 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
1069 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1070 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
1071 # format. An empty string indicates that the peering connection is
1072 # active. The producer network can deactivate a zone. The zone is
1073 # automatically deactivated if the producer network that the zone
1074 # targeted is deleted. Output only.
1075 },
1076 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1077 },
1078 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
1079 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
1080 # Can only be changed while the state is OFF.
1081 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
1082 # ManagedZone. Can only be changed while the state is OFF.
1083 { # Parameters for DnsKey key generation. Used for generating initial keys
1084 # for a new ManagedZone and as default when adding a new DnsKey.
1085 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
1086 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
1087 &quot;keyLength&quot;: 42, # Length of the keys in bits.
1088 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
1089 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
1090 # active, will only be used to sign resource record sets of type DNSKEY.
1091 # Zone signing keys do not have the Secure Entry Point flag set and will be
1092 # used to sign all other types of resource record sets.
1093 },
1094 ],
1095 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
1096 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
1097 },
1098 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
1099 &quot;kind&quot;: &quot;dns#managedZone&quot;,
1100 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
1101 # lookup zone and Cloud DNS will resolve reverse lookup queries using
1102 # automatically configured records for VPC resources. This only applies
1103 # to networks listed under private_visibility_config.
1104 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1105 },
1106 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
1107 # for this zone. The value of this field contains the set of destinations
1108 # to forward to.
1109 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
1110 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
1111 # Cloud DNS will select the best available name server if more than one
1112 # target is given.
1113 {
1114 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
1115 # Cloud DNS will make forwarding decision based on address ranges,
1116 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
1117 # Internet. When set to PRIVATE, Cloud DNS will always send queries
1118 # through VPC for this target
1119 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
1120 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
1121 },
1122 ],
1123 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001124}
1125
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001126 clientOperationId: string, For mutating operation requests only. An optional identifier
1127specified by the client. Must be unique for operation resources in the
1128Operations collection.
1129 x__xgafv: string, V1 error format.
1130 Allowed values
1131 1 - v1 error format
1132 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001133
1134Returns:
1135 An object of the form:
1136
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001137 { # An operation represents a successful mutation performed on a Cloud DNS
1138 # resource.
1139 # Operations provide:
1140 # - An audit log of server resource mutations.
1141 # - A way to recover/retry API calls in the case where the response is never
1142 # received by the caller. Use the caller specified client_operation_id.
1143 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource. This is the client_operation_id if
1144 # the client specified it when the mutation was initiated, otherwise,
1145 # it is generated by the server. The name must be 1-63 characters long
1146 # and match the regular expression [-a-z0-9]? (output only)
1147 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
1148 &quot;newValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The post-operation ManagedZone resource.
1149 # responsibility. A ManagedZone is a resource that represents a DNS zone
1150 # hosted by the Cloud DNS service.
1151 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
1152 # server (output only)
1153 &quot;A String&quot;,
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001154 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001155 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
1156 # private zones are visible only to Virtual Private Cloud resources.
1157 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
1158 # NameServerSet is a set of DNS name servers that all host the same
1159 # ManagedZones. Most users will leave this field unset.
1160 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
1161 # that the zone is visible from.
1162 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
1163 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
1164 {
1165 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
1166 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
1167 # This should be formatted like
1168 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
1169 },
1170 ],
1171 },
1172 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
1173 # The name must be 1-63 characters long, must begin with a letter, end with
1174 # a letter or digit, and only contain lowercase letters, digits or dashes.
1175 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
1176 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
1177 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
1178 # text format. Output only.
1179 &quot;labels&quot;: { # User labels.
1180 &quot;a_key&quot;: &quot;A String&quot;,
1181 },
1182 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
1183 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
1184 # zone. The value of this field contains the network to peer with.
1185 &quot;targetNetwork&quot;: { # The network with which to peer.
1186 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
1187 # This should be formatted like
1188 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
1189 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1190 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
1191 # format. An empty string indicates that the peering connection is
1192 # active. The producer network can deactivate a zone. The zone is
1193 # automatically deactivated if the producer network that the zone
1194 # targeted is deleted. Output only.
1195 },
1196 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1197 },
1198 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
1199 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
1200 # Can only be changed while the state is OFF.
1201 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
1202 # ManagedZone. Can only be changed while the state is OFF.
1203 { # Parameters for DnsKey key generation. Used for generating initial keys
1204 # for a new ManagedZone and as default when adding a new DnsKey.
1205 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
1206 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
1207 &quot;keyLength&quot;: 42, # Length of the keys in bits.
1208 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
1209 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
1210 # active, will only be used to sign resource record sets of type DNSKEY.
1211 # Zone signing keys do not have the Secure Entry Point flag set and will be
1212 # used to sign all other types of resource record sets.
1213 },
1214 ],
1215 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
1216 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
1217 },
1218 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
1219 &quot;kind&quot;: &quot;dns#managedZone&quot;,
1220 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
1221 # lookup zone and Cloud DNS will resolve reverse lookup queries using
1222 # automatically configured records for VPC resources. This only applies
1223 # to networks listed under private_visibility_config.
1224 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1225 },
1226 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
1227 # for this zone. The value of this field contains the set of destinations
1228 # to forward to.
1229 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
1230 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
1231 # Cloud DNS will select the best available name server if more than one
1232 # target is given.
1233 {
1234 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
1235 # Cloud DNS will make forwarding decision based on address ranges,
1236 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
1237 # Internet. When set to PRIVATE, Cloud DNS will always send queries
1238 # through VPC for this target
1239 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
1240 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
1241 },
1242 ],
1243 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001244 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001245 &quot;oldValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The pre-operation ManagedZone resource.
1246 # responsibility. A ManagedZone is a resource that represents a DNS zone
1247 # hosted by the Cloud DNS service.
1248 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
1249 # server (output only)
1250 &quot;A String&quot;,
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001251 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001252 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
1253 # private zones are visible only to Virtual Private Cloud resources.
1254 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
1255 # NameServerSet is a set of DNS name servers that all host the same
1256 # ManagedZones. Most users will leave this field unset.
1257 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
1258 # that the zone is visible from.
1259 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
1260 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
1261 {
1262 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
1263 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
1264 # This should be formatted like
1265 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
1266 },
1267 ],
1268 },
1269 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
1270 # The name must be 1-63 characters long, must begin with a letter, end with
1271 # a letter or digit, and only contain lowercase letters, digits or dashes.
1272 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
1273 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
1274 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
1275 # text format. Output only.
1276 &quot;labels&quot;: { # User labels.
1277 &quot;a_key&quot;: &quot;A String&quot;,
1278 },
1279 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
1280 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
1281 # zone. The value of this field contains the network to peer with.
1282 &quot;targetNetwork&quot;: { # The network with which to peer.
1283 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
1284 # This should be formatted like
1285 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
1286 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1287 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
1288 # format. An empty string indicates that the peering connection is
1289 # active. The producer network can deactivate a zone. The zone is
1290 # automatically deactivated if the producer network that the zone
1291 # targeted is deleted. Output only.
1292 },
1293 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1294 },
1295 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
1296 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
1297 # Can only be changed while the state is OFF.
1298 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
1299 # ManagedZone. Can only be changed while the state is OFF.
1300 { # Parameters for DnsKey key generation. Used for generating initial keys
1301 # for a new ManagedZone and as default when adding a new DnsKey.
1302 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
1303 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
1304 &quot;keyLength&quot;: 42, # Length of the keys in bits.
1305 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
1306 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
1307 # active, will only be used to sign resource record sets of type DNSKEY.
1308 # Zone signing keys do not have the Secure Entry Point flag set and will be
1309 # used to sign all other types of resource record sets.
1310 },
1311 ],
1312 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
1313 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
1314 },
1315 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
1316 &quot;kind&quot;: &quot;dns#managedZone&quot;,
1317 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
1318 # lookup zone and Cloud DNS will resolve reverse lookup queries using
1319 # automatically configured records for VPC resources. This only applies
1320 # to networks listed under private_visibility_config.
1321 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1322 },
1323 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
1324 # for this zone. The value of this field contains the set of destinations
1325 # to forward to.
1326 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
1327 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
1328 # Cloud DNS will select the best available name server if more than one
1329 # target is given.
1330 {
1331 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
1332 # Cloud DNS will make forwarding decision based on address ranges,
1333 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
1334 # Internet. When set to PRIVATE, Cloud DNS will always send queries
1335 # through VPC for this target
1336 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
1337 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
1338 },
1339 ],
1340 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001341 },
1342 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001343 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete
1344 # (output only).
1345 &quot;status&quot;: &quot;A String&quot;, # Status of the operation. Can be one of the following: &quot;PENDING&quot; or &quot;DONE&quot;
1346 # (output only). A status of &quot;DONE&quot; means that the
1347 # request to update the authoritative servers has been sent, but the
1348 # servers might not be updated yet.
1349 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server. This is in RFC3339
1350 # text format (output only).
1351 &quot;kind&quot;: &quot;dns#operation&quot;,
1352 &quot;user&quot;: &quot;A String&quot;, # User who requested the operation, for example: user@example.com.
1353 # cloud-dns-system for operations automatically done by the system.
1354 # (output only)
1355 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
1356 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
1357 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
1358 # Inactive keys will still be present as DNSKEY Resource Records for the use
1359 # of resolvers validating existing signatures.
1360 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
1361 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
1362 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
1363 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
1364 # RFC3339 text format. Output only.
1365 &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
1366 # Secure Entry Point flag set and, when active, will be used to sign only
1367 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
1368 # flag will be cleared and this key will be used to sign only resource
1369 # record sets of other types. Immutable after creation time.
1370 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
1371 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
1372 # more quickly (but it is not a unique identifier). In particular, the key
1373 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
1374 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
1375 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
1376 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
1377 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
1378 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
1379 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
1380 # DnsKey. These digests are needed to construct a DS record that points at
1381 # this DNS key. Output only.
1382 {
1383 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
1384 # resource record.
1385 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Dan O'Mearadd494642020-05-01 07:42:23 -07001386 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001387 ],
1388 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
1389 # after creation time.
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001390 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001391 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
1392 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
1393 # Inactive keys will still be present as DNSKEY Resource Records for the use
1394 # of resolvers validating existing signatures.
1395 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
1396 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
1397 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
1398 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
1399 # RFC3339 text format. Output only.
1400 &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
1401 # Secure Entry Point flag set and, when active, will be used to sign only
1402 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
1403 # flag will be cleared and this key will be used to sign only resource
1404 # record sets of other types. Immutable after creation time.
1405 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
1406 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
1407 # more quickly (but it is not a unique identifier). In particular, the key
1408 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
1409 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
1410 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
1411 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
1412 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
1413 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
1414 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
1415 # DnsKey. These digests are needed to construct a DS record that points at
1416 # this DNS key. Output only.
1417 {
1418 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
1419 # resource record.
1420 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Dan O'Mearadd494642020-05-01 07:42:23 -07001421 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001422 ],
1423 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
1424 # after creation time.
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001425 },
1426 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001427 }</pre>
1428</div>
1429
1430</body></html>