blob: 0502bb92c1dc043208f84a730a3c593d8a2f1716 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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_v1beta2.html">Cloud DNS API</a> . <a href="dns_v1beta2.managedZones.html">managedZones</a></h1>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#list">list(project, pageToken=None, maxResults=None, dnsName=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Enumerate ManagedZones that have been created but not yet deleted.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
112 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
113 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
114 # The name must be 1-63 characters long, must begin with a letter, end with
115 # a letter or digit, and only contain lowercase letters, digits or dashes.
116 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
117 # text format. Output only.
118 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. This field
119 # should not be set for public zones or forwarding zones.
120 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
121 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
122 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone.
123 # This should be formatted like
124 # https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
125 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted, empty
126 # string if it still exists. This is in RFC3339 text format. Output
127 # only.
128 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
129 },
130 },
131 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
132 # private zones are visible only to Virtual Private Cloud resources.
133 &quot;kind&quot;: &quot;dns#managedZone&quot;,
134 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
135 # lookup zone and Cloud DNS will resolve reverse lookup queries using
136 # automatically configured records for VPC resources. This only applies
137 # to networks listed under private_visibility_config.
138 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
139 },
140 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
141 # that the zone is visible from.
142 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700143 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700144 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
145 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
146 # This should be formatted like
147 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700148 },
149 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700150 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700151 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700152 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
153 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
154 # ManagedZone. Can only be changed while the state is OFF.
155 { # Parameters for DnsKey key generation. Used for generating initial keys
156 # for a new ManagedZone and as default when adding a new DnsKey.
157 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
158 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
159 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
160 # active, will only be used to sign resource record sets of type DNSKEY.
161 # Zone signing keys do not have the Secure Entry Point flag set and will be
162 # used to sign all other types of resource record sets.
163 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
164 &quot;keyLength&quot;: 42, # Length of the keys in bits.
Bu Sun Kim65020912020-05-20 12:08:20 -0700165 },
166 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700167 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
168 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
169 # Can only be changed while the state is OFF.
170 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700171 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700172 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
173 # for this zone. The value of this field contains the set of destinations
174 # to forward to.
175 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
176 # Cloud DNS will select the best available name server if more than one
177 # target is given.
178 {
179 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
180 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
181 # Cloud DNS will make forwarding decision based on address ranges,
182 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
183 # Internet. When set to PRIVATE, Cloud DNS will always send queries
184 # through VPC for this target
185 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
186 },
187 ],
188 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
189 },
190 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
191 &quot;labels&quot;: { # User labels.
Bu Sun Kim65020912020-05-20 12:08:20 -0700192 &quot;a_key&quot;: &quot;A String&quot;,
193 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700194 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
195 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
196 # zone. The value of this field contains the network to peer with.
197 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
198 &quot;targetNetwork&quot;: { # The network with which to peer.
199 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
200 # format. An empty string indicates that the peering connection is
201 # active. The producer network can deactivate a zone. The zone is
202 # automatically deactivated if the producer network that the zone
203 # targeted is deleted. Output only.
204 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
205 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
206 # This should be formatted like
207 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
208 },
209 },
210 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
211 # NameServerSet is a set of DNS name servers that all host the same
212 # ManagedZones. Most users will leave this field unset.
213 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
214 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -0700215 &quot;A String&quot;,
216 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700217}
218
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700219 clientOperationId: string, For mutating operation requests only. An optional identifier
220specified by the client. Must be unique for operation resources in the
221Operations collection.
222 x__xgafv: string, V1 error format.
223 Allowed values
224 1 - v1 error format
225 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700226
227Returns:
228 An object of the form:
229
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700230 { # A zone is a subtree of the DNS namespace under one administrative
231 # responsibility. A ManagedZone is a resource that represents a DNS zone
232 # hosted by the Cloud DNS service.
233 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
234 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
235 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
236 # The name must be 1-63 characters long, must begin with a letter, end with
237 # a letter or digit, and only contain lowercase letters, digits or dashes.
238 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
239 # text format. Output only.
240 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. This field
241 # should not be set for public zones or forwarding zones.
242 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
243 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
244 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone.
245 # This should be formatted like
246 # https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
247 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted, empty
248 # string if it still exists. This is in RFC3339 text format. Output
249 # only.
250 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
251 },
252 },
253 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
254 # private zones are visible only to Virtual Private Cloud resources.
255 &quot;kind&quot;: &quot;dns#managedZone&quot;,
256 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
257 # lookup zone and Cloud DNS will resolve reverse lookup queries using
258 # automatically configured records for VPC resources. This only applies
259 # to networks listed under private_visibility_config.
260 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
261 },
262 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
263 # that the zone is visible from.
264 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700265 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700266 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
267 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
268 # This should be formatted like
269 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700270 },
271 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700272 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700273 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700274 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
275 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
276 # ManagedZone. Can only be changed while the state is OFF.
277 { # Parameters for DnsKey key generation. Used for generating initial keys
278 # for a new ManagedZone and as default when adding a new DnsKey.
279 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
280 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
281 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
282 # active, will only be used to sign resource record sets of type DNSKEY.
283 # Zone signing keys do not have the Secure Entry Point flag set and will be
284 # used to sign all other types of resource record sets.
285 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
286 &quot;keyLength&quot;: 42, # Length of the keys in bits.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700287 },
288 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700289 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
290 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
291 # Can only be changed while the state is OFF.
292 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700293 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700294 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
295 # for this zone. The value of this field contains the set of destinations
296 # to forward to.
297 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
298 # Cloud DNS will select the best available name server if more than one
299 # target is given.
300 {
301 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
302 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
303 # Cloud DNS will make forwarding decision based on address ranges,
304 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
305 # Internet. When set to PRIVATE, Cloud DNS will always send queries
306 # through VPC for this target
307 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
308 },
309 ],
310 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
311 },
312 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
313 &quot;labels&quot;: { # User labels.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700314 &quot;a_key&quot;: &quot;A String&quot;,
315 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700316 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
317 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
318 # zone. The value of this field contains the network to peer with.
319 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
320 &quot;targetNetwork&quot;: { # The network with which to peer.
321 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
322 # format. An empty string indicates that the peering connection is
323 # active. The producer network can deactivate a zone. The zone is
324 # automatically deactivated if the producer network that the zone
325 # targeted is deleted. Output only.
326 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
327 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
328 # This should be formatted like
329 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
330 },
331 },
332 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
333 # NameServerSet is a set of DNS name servers that all host the same
334 # ManagedZones. Most users will leave this field unset.
335 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
336 # server (output only)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700337 &quot;A String&quot;,
338 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700339 }</pre>
340</div>
341
342<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700343 <code class="details" id="delete">delete(project, managedZone, clientOperationId=None, x__xgafv=None)</code>
344 <pre>Delete a previously created ManagedZone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700345
346Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700347 project: string, Identifies the project addressed by this request. (required)
348 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
349zone name or id. (required)
350 clientOperationId: string, For mutating operation requests only. An optional identifier
351specified by the client. Must be unique for operation resources in the
352Operations collection.
353 x__xgafv: string, V1 error format.
354 Allowed values
355 1 - v1 error format
356 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700357</pre>
358</div>
359
360<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700361 <code class="details" id="get">get(project, managedZone, clientOperationId=None, x__xgafv=None)</code>
362 <pre>Fetch the representation of an existing ManagedZone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700363
364Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700365 project: string, Identifies the project addressed by this request. (required)
366 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
367zone name or id. (required)
368 clientOperationId: string, For mutating operation requests only. An optional identifier
369specified by the client. Must be unique for operation resources in the
370Operations collection.
371 x__xgafv: string, V1 error format.
372 Allowed values
373 1 - v1 error format
374 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700375
376Returns:
377 An object of the form:
378
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700379 { # A zone is a subtree of the DNS namespace under one administrative
380 # responsibility. A ManagedZone is a resource that represents a DNS zone
381 # hosted by the Cloud DNS service.
382 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
383 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
384 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
385 # The name must be 1-63 characters long, must begin with a letter, end with
386 # a letter or digit, and only contain lowercase letters, digits or dashes.
387 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
388 # text format. Output only.
389 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. This field
390 # should not be set for public zones or forwarding zones.
391 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
392 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
393 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone.
394 # This should be formatted like
395 # https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
396 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted, empty
397 # string if it still exists. This is in RFC3339 text format. Output
398 # only.
399 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
400 },
401 },
402 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
403 # private zones are visible only to Virtual Private Cloud resources.
404 &quot;kind&quot;: &quot;dns#managedZone&quot;,
405 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
406 # lookup zone and Cloud DNS will resolve reverse lookup queries using
407 # automatically configured records for VPC resources. This only applies
408 # to networks listed under private_visibility_config.
409 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
410 },
411 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
412 # that the zone is visible from.
413 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700414 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700415 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
416 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
417 # This should be formatted like
418 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700419 },
420 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700421 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700422 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700423 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
424 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
425 # ManagedZone. Can only be changed while the state is OFF.
426 { # Parameters for DnsKey key generation. Used for generating initial keys
427 # for a new ManagedZone and as default when adding a new DnsKey.
428 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
429 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
430 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
431 # active, will only be used to sign resource record sets of type DNSKEY.
432 # Zone signing keys do not have the Secure Entry Point flag set and will be
433 # used to sign all other types of resource record sets.
434 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
435 &quot;keyLength&quot;: 42, # Length of the keys in bits.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700436 },
437 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700438 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
439 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
440 # Can only be changed while the state is OFF.
441 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700442 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700443 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
444 # for this zone. The value of this field contains the set of destinations
445 # to forward to.
446 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
447 # Cloud DNS will select the best available name server if more than one
448 # target is given.
449 {
450 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
451 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
452 # Cloud DNS will make forwarding decision based on address ranges,
453 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
454 # Internet. When set to PRIVATE, Cloud DNS will always send queries
455 # through VPC for this target
456 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
457 },
458 ],
459 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
460 },
461 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
462 &quot;labels&quot;: { # User labels.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700463 &quot;a_key&quot;: &quot;A String&quot;,
464 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700465 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
466 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
467 # zone. The value of this field contains the network to peer with.
468 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
469 &quot;targetNetwork&quot;: { # The network with which to peer.
470 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
471 # format. An empty string indicates that the peering connection is
472 # active. The producer network can deactivate a zone. The zone is
473 # automatically deactivated if the producer network that the zone
474 # targeted is deleted. Output only.
475 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
476 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
477 # This should be formatted like
478 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
479 },
480 },
481 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
482 # NameServerSet is a set of DNS name servers that all host the same
483 # ManagedZones. Most users will leave this field unset.
484 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
485 # server (output only)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700486 &quot;A String&quot;,
487 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700488 }</pre>
489</div>
490
491<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700492 <code class="details" id="list">list(project, pageToken=None, maxResults=None, dnsName=None, x__xgafv=None)</code>
493 <pre>Enumerate ManagedZones that have been created but not yet deleted.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700494
495Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700496 project: string, Identifies the project addressed by this request. (required)
497 pageToken: string, Optional. A tag returned by a previous list request that was truncated.
498Use this parameter to continue a previous list request.
499 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the
500server will decide how many results to return.
501 dnsName: string, Restricts the list to return only zones with this domain name.
502 x__xgafv: string, V1 error format.
503 Allowed values
504 1 - v1 error format
505 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700506
507Returns:
508 An object of the form:
509
510 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700511 &quot;managedZones&quot;: [ # The managed zone resources.
512 { # A zone is a subtree of the DNS namespace under one administrative
513 # responsibility. A ManagedZone is a resource that represents a DNS zone
514 # hosted by the Cloud DNS service.
515 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
516 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
517 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
518 # The name must be 1-63 characters long, must begin with a letter, end with
519 # a letter or digit, and only contain lowercase letters, digits or dashes.
520 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
521 # text format. Output only.
522 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. This field
523 # should not be set for public zones or forwarding zones.
524 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
525 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
526 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone.
527 # This should be formatted like
528 # https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
529 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted, empty
530 # string if it still exists. This is in RFC3339 text format. Output
531 # only.
532 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
533 },
534 },
535 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
536 # private zones are visible only to Virtual Private Cloud resources.
537 &quot;kind&quot;: &quot;dns#managedZone&quot;,
538 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
539 # lookup zone and Cloud DNS will resolve reverse lookup queries using
540 # automatically configured records for VPC resources. This only applies
541 # to networks listed under private_visibility_config.
542 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
543 },
544 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
545 # that the zone is visible from.
546 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700547 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700548 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
549 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
550 # This should be formatted like
551 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700552 },
553 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700554 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700555 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700556 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
557 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
558 # ManagedZone. Can only be changed while the state is OFF.
559 { # Parameters for DnsKey key generation. Used for generating initial keys
560 # for a new ManagedZone and as default when adding a new DnsKey.
561 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
562 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
563 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
564 # active, will only be used to sign resource record sets of type DNSKEY.
565 # Zone signing keys do not have the Secure Entry Point flag set and will be
566 # used to sign all other types of resource record sets.
567 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
568 &quot;keyLength&quot;: 42, # Length of the keys in bits.
Bu Sun Kim65020912020-05-20 12:08:20 -0700569 },
570 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700571 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
572 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
573 # Can only be changed while the state is OFF.
574 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700575 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700576 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
577 # for this zone. The value of this field contains the set of destinations
578 # to forward to.
579 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
580 # Cloud DNS will select the best available name server if more than one
581 # target is given.
582 {
583 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
584 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
585 # Cloud DNS will make forwarding decision based on address ranges,
586 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
587 # Internet. When set to PRIVATE, Cloud DNS will always send queries
588 # through VPC for this target
589 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
590 },
591 ],
592 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
593 },
594 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
595 &quot;labels&quot;: { # User labels.
Bu Sun Kim65020912020-05-20 12:08:20 -0700596 &quot;a_key&quot;: &quot;A String&quot;,
597 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700598 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
599 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
600 # zone. The value of this field contains the network to peer with.
601 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
602 &quot;targetNetwork&quot;: { # The network with which to peer.
603 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
604 # format. An empty string indicates that the peering connection is
605 # active. The producer network can deactivate a zone. The zone is
606 # automatically deactivated if the producer network that the zone
607 # targeted is deleted. Output only.
608 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
609 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
610 # This should be formatted like
611 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
612 },
613 },
614 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
615 # NameServerSet is a set of DNS name servers that all host the same
616 # ManagedZones. Most users will leave this field unset.
617 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
618 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -0700619 &quot;A String&quot;,
620 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700621 },
622 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700623 &quot;header&quot;: { # Elements common to every response.
624 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully.
625 # This is the client_operation_id if the client specified it,
626 # otherwise it is generated by the server (output only).
627 },
628 &quot;nextPageToken&quot;: &quot;A String&quot;, # The presence of this field indicates that there exist more results
629 # following your last page of results in pagination order. To fetch them,
630 # make another list request using this value as your page token.
631 #
632 # In this way you can retrieve the complete contents of even very large
633 # collections one page at a time. However, if the contents of the collection
634 # change between the first and last paginated list request, the set of all
635 # elements returned will be an inconsistent view of the collection. There is
636 # no way to retrieve a consistent snapshot of a collection larger than the
637 # maximum page size.
638 &quot;kind&quot;: &quot;dns#managedZonesListResponse&quot;, # Type of resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700639 }</pre>
640</div>
641
642<div class="method">
643 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
644 <pre>Retrieves the next page of results.
645
646Args:
647 previous_request: The request for the previous page. (required)
648 previous_response: The response from the request for the previous page. (required)
649
650Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700651 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700652 page. Returns None if there are no more items in the collection.
653 </pre>
654</div>
655
656<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700657 <code class="details" id="patch">patch(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
658 <pre>Apply a partial update to an existing ManagedZone.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700659
660Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700661 project: string, Identifies the project addressed by this request. (required)
662 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
663zone name or id. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700664 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700665 The object takes the form of:
666
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700667{ # A zone is a subtree of the DNS namespace under one administrative
668 # responsibility. A ManagedZone is a resource that represents a DNS zone
669 # hosted by the Cloud DNS service.
670 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
671 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
672 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
673 # The name must be 1-63 characters long, must begin with a letter, end with
674 # a letter or digit, and only contain lowercase letters, digits or dashes.
675 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
676 # text format. Output only.
677 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. This field
678 # should not be set for public zones or forwarding zones.
679 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
680 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
681 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone.
682 # This should be formatted like
683 # https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
684 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted, empty
685 # string if it still exists. This is in RFC3339 text format. Output
686 # only.
687 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
688 },
689 },
690 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
691 # private zones are visible only to Virtual Private Cloud resources.
692 &quot;kind&quot;: &quot;dns#managedZone&quot;,
693 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
694 # lookup zone and Cloud DNS will resolve reverse lookup queries using
695 # automatically configured records for VPC resources. This only applies
696 # to networks listed under private_visibility_config.
697 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
698 },
699 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
700 # that the zone is visible from.
701 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700702 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700703 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
704 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
705 # This should be formatted like
706 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700707 },
708 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700709 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700710 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700711 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
712 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
713 # ManagedZone. Can only be changed while the state is OFF.
714 { # Parameters for DnsKey key generation. Used for generating initial keys
715 # for a new ManagedZone and as default when adding a new DnsKey.
716 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
717 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
718 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
719 # active, will only be used to sign resource record sets of type DNSKEY.
720 # Zone signing keys do not have the Secure Entry Point flag set and will be
721 # used to sign all other types of resource record sets.
722 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
723 &quot;keyLength&quot;: 42, # Length of the keys in bits.
Bu Sun Kim65020912020-05-20 12:08:20 -0700724 },
725 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700726 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
727 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
728 # Can only be changed while the state is OFF.
729 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700730 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700731 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
732 # for this zone. The value of this field contains the set of destinations
733 # to forward to.
734 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
735 # Cloud DNS will select the best available name server if more than one
736 # target is given.
737 {
738 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
739 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
740 # Cloud DNS will make forwarding decision based on address ranges,
741 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
742 # Internet. When set to PRIVATE, Cloud DNS will always send queries
743 # through VPC for this target
744 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
745 },
746 ],
747 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
748 },
749 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
750 &quot;labels&quot;: { # User labels.
Bu Sun Kim65020912020-05-20 12:08:20 -0700751 &quot;a_key&quot;: &quot;A String&quot;,
752 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700753 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
754 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
755 # zone. The value of this field contains the network to peer with.
756 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
757 &quot;targetNetwork&quot;: { # The network with which to peer.
758 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
759 # format. An empty string indicates that the peering connection is
760 # active. The producer network can deactivate a zone. The zone is
761 # automatically deactivated if the producer network that the zone
762 # targeted is deleted. Output only.
763 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
764 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
765 # This should be formatted like
766 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
767 },
768 },
769 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
770 # NameServerSet is a set of DNS name servers that all host the same
771 # ManagedZones. Most users will leave this field unset.
772 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
773 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -0700774 &quot;A String&quot;,
775 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700776}
777
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700778 clientOperationId: string, For mutating operation requests only. An optional identifier
779specified by the client. Must be unique for operation resources in the
780Operations collection.
781 x__xgafv: string, V1 error format.
782 Allowed values
783 1 - v1 error format
784 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700785
786Returns:
787 An object of the form:
788
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700789 { # An operation represents a successful mutation performed on a Cloud DNS
790 # resource.
791 # Operations provide:
792 # - An audit log of server resource mutations.
793 # - A way to recover/retry API calls in the case where the response is never
794 # received by the caller. Use the caller specified client_operation_id.
795 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
796 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
797 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
798 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
799 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
800 # after creation time.
801 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
802 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
803 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
804 # RFC3339 text format. Output only.
805 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
806 # Inactive keys will still be present as DNSKEY Resource Records for the use
807 # of resolvers validating existing signatures.
808 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
809 # DnsKey. These digests are needed to construct a DS record that points at
810 # this DNS key. Output only.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700811 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700812 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
813 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
814 # resource record.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700815 },
816 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700817 &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
818 # Secure Entry Point flag set and, when active, will be used to sign only
819 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
820 # flag will be cleared and this key will be used to sign only resource
821 # record sets of other types. Immutable after creation time.
822 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
823 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
824 # more quickly (but it is not a unique identifier). In particular, the key
825 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
826 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
827 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
828 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
829 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700830 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700831 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
832 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
833 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
834 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
835 # after creation time.
836 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
837 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
838 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
839 # RFC3339 text format. Output only.
840 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
841 # Inactive keys will still be present as DNSKEY Resource Records for the use
842 # of resolvers validating existing signatures.
843 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
844 # DnsKey. These digests are needed to construct a DS record that points at
845 # this DNS key. Output only.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700846 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700847 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
848 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
849 # resource record.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700850 },
851 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700852 &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
853 # Secure Entry Point flag set and, when active, will be used to sign only
854 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
855 # flag will be cleared and this key will be used to sign only resource
856 # record sets of other types. Immutable after creation time.
857 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
858 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
859 # more quickly (but it is not a unique identifier). In particular, the key
860 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
861 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
862 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
863 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
864 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700865 },
866 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700867 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource. This is the client_operation_id if
868 # the client specified it when the mutation was initiated, otherwise,
869 # it is generated by the server. The name must be 1-63 characters long
870 # and match the regular expression [-a-z0-9]? (output only)
871 &quot;user&quot;: &quot;A String&quot;, # User who requested the operation, for example: user@example.com.
872 # cloud-dns-system for operations automatically done by the system.
873 # (output only)
874 &quot;kind&quot;: &quot;dns#operation&quot;,
875 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server. This is in RFC3339
876 # text format (output only).
877 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete
878 # (output only).
879 &quot;status&quot;: &quot;A String&quot;, # Status of the operation. Can be one of the following: &quot;PENDING&quot; or &quot;DONE&quot;
880 # (output only). A status of &quot;DONE&quot; means that the
881 # request to update the authoritative servers has been sent, but the
882 # servers might not be updated yet.
883 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
884 &quot;newValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The post-operation ManagedZone resource.
885 # responsibility. A ManagedZone is a resource that represents a DNS zone
886 # hosted by the Cloud DNS service.
887 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
888 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
889 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
890 # The name must be 1-63 characters long, must begin with a letter, end with
891 # a letter or digit, and only contain lowercase letters, digits or dashes.
892 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
893 # text format. Output only.
894 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. This field
895 # should not be set for public zones or forwarding zones.
896 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
897 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
898 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone.
899 # This should be formatted like
900 # https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
901 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted, empty
902 # string if it still exists. This is in RFC3339 text format. Output
903 # only.
904 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
905 },
906 },
907 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
908 # private zones are visible only to Virtual Private Cloud resources.
909 &quot;kind&quot;: &quot;dns#managedZone&quot;,
910 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
911 # lookup zone and Cloud DNS will resolve reverse lookup queries using
912 # automatically configured records for VPC resources. This only applies
913 # to networks listed under private_visibility_config.
914 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
915 },
916 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
917 # that the zone is visible from.
918 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700919 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700920 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
921 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
922 # This should be formatted like
923 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700924 },
925 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700926 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700927 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700928 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
929 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
930 # ManagedZone. Can only be changed while the state is OFF.
931 { # Parameters for DnsKey key generation. Used for generating initial keys
932 # for a new ManagedZone and as default when adding a new DnsKey.
933 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
934 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
935 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
936 # active, will only be used to sign resource record sets of type DNSKEY.
937 # Zone signing keys do not have the Secure Entry Point flag set and will be
938 # used to sign all other types of resource record sets.
939 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
940 &quot;keyLength&quot;: 42, # Length of the keys in bits.
Bu Sun Kim65020912020-05-20 12:08:20 -0700941 },
942 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700943 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
944 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
945 # Can only be changed while the state is OFF.
946 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700947 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700948 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
949 # for this zone. The value of this field contains the set of destinations
950 # to forward to.
951 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
952 # Cloud DNS will select the best available name server if more than one
953 # target is given.
954 {
955 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
956 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
957 # Cloud DNS will make forwarding decision based on address ranges,
958 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
959 # Internet. When set to PRIVATE, Cloud DNS will always send queries
960 # through VPC for this target
961 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
962 },
963 ],
964 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
965 },
966 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
967 &quot;labels&quot;: { # User labels.
Bu Sun Kim65020912020-05-20 12:08:20 -0700968 &quot;a_key&quot;: &quot;A String&quot;,
969 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700970 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
971 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
972 # zone. The value of this field contains the network to peer with.
973 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
974 &quot;targetNetwork&quot;: { # The network with which to peer.
975 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
976 # format. An empty string indicates that the peering connection is
977 # active. The producer network can deactivate a zone. The zone is
978 # automatically deactivated if the producer network that the zone
979 # targeted is deleted. Output only.
980 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
981 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
982 # This should be formatted like
983 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
984 },
985 },
986 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
987 # NameServerSet is a set of DNS name servers that all host the same
988 # ManagedZones. Most users will leave this field unset.
989 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
990 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -0700991 &quot;A String&quot;,
992 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700993 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700994 &quot;oldValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The pre-operation ManagedZone resource.
995 # responsibility. A ManagedZone is a resource that represents a DNS zone
996 # hosted by the Cloud DNS service.
997 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
998 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
999 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
1000 # The name must be 1-63 characters long, must begin with a letter, end with
1001 # a letter or digit, and only contain lowercase letters, digits or dashes.
1002 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
1003 # text format. Output only.
1004 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. This field
1005 # should not be set for public zones or forwarding zones.
1006 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
1007 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
1008 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone.
1009 # This should be formatted like
1010 # https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
1011 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted, empty
1012 # string if it still exists. This is in RFC3339 text format. Output
1013 # only.
1014 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
1015 },
1016 },
1017 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
1018 # private zones are visible only to Virtual Private Cloud resources.
1019 &quot;kind&quot;: &quot;dns#managedZone&quot;,
1020 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
1021 # lookup zone and Cloud DNS will resolve reverse lookup queries using
1022 # automatically configured records for VPC resources. This only applies
1023 # to networks listed under private_visibility_config.
1024 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1025 },
1026 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
1027 # that the zone is visible from.
1028 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001029 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001030 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
1031 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
1032 # This should be formatted like
1033 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001034 },
1035 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001036 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001037 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001038 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
1039 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
1040 # ManagedZone. Can only be changed while the state is OFF.
1041 { # Parameters for DnsKey key generation. Used for generating initial keys
1042 # for a new ManagedZone and as default when adding a new DnsKey.
1043 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
1044 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
1045 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
1046 # active, will only be used to sign resource record sets of type DNSKEY.
1047 # Zone signing keys do not have the Secure Entry Point flag set and will be
1048 # used to sign all other types of resource record sets.
1049 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
1050 &quot;keyLength&quot;: 42, # Length of the keys in bits.
Bu Sun Kim65020912020-05-20 12:08:20 -07001051 },
1052 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001053 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
1054 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
1055 # Can only be changed while the state is OFF.
1056 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07001057 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001058 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
1059 # for this zone. The value of this field contains the set of destinations
1060 # to forward to.
1061 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
1062 # Cloud DNS will select the best available name server if more than one
1063 # target is given.
1064 {
1065 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
1066 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
1067 # Cloud DNS will make forwarding decision based on address ranges,
1068 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
1069 # Internet. When set to PRIVATE, Cloud DNS will always send queries
1070 # through VPC for this target
1071 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
1072 },
1073 ],
1074 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
1075 },
1076 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
1077 &quot;labels&quot;: { # User labels.
Bu Sun Kim65020912020-05-20 12:08:20 -07001078 &quot;a_key&quot;: &quot;A String&quot;,
1079 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001080 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
1081 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
1082 # zone. The value of this field contains the network to peer with.
1083 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1084 &quot;targetNetwork&quot;: { # The network with which to peer.
1085 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
1086 # format. An empty string indicates that the peering connection is
1087 # active. The producer network can deactivate a zone. The zone is
1088 # automatically deactivated if the producer network that the zone
1089 # targeted is deleted. Output only.
1090 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1091 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
1092 # This should be formatted like
1093 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
1094 },
1095 },
1096 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
1097 # NameServerSet is a set of DNS name servers that all host the same
1098 # ManagedZones. Most users will leave this field unset.
1099 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
1100 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -07001101 &quot;A String&quot;,
1102 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001103 },
1104 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001105 }</pre>
1106</div>
1107
1108<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001109 <code class="details" id="update">update(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
1110 <pre>Update an existing ManagedZone.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001111
1112Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001113 project: string, Identifies the project addressed by this request. (required)
1114 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
1115zone name or id. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001116 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001117 The object takes the form of:
1118
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001119{ # A zone is a subtree of the DNS namespace under one administrative
1120 # responsibility. A ManagedZone is a resource that represents a DNS zone
1121 # hosted by the Cloud DNS service.
1122 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
1123 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
1124 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
1125 # The name must be 1-63 characters long, must begin with a letter, end with
1126 # a letter or digit, and only contain lowercase letters, digits or dashes.
1127 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
1128 # text format. Output only.
1129 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. This field
1130 # should not be set for public zones or forwarding zones.
1131 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
1132 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
1133 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone.
1134 # This should be formatted like
1135 # https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
1136 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted, empty
1137 # string if it still exists. This is in RFC3339 text format. Output
1138 # only.
1139 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
1140 },
1141 },
1142 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
1143 # private zones are visible only to Virtual Private Cloud resources.
1144 &quot;kind&quot;: &quot;dns#managedZone&quot;,
1145 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
1146 # lookup zone and Cloud DNS will resolve reverse lookup queries using
1147 # automatically configured records for VPC resources. This only applies
1148 # to networks listed under private_visibility_config.
1149 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1150 },
1151 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
1152 # that the zone is visible from.
1153 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001154 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001155 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
1156 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
1157 # This should be formatted like
1158 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001159 },
1160 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001161 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001162 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001163 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
1164 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
1165 # ManagedZone. Can only be changed while the state is OFF.
1166 { # Parameters for DnsKey key generation. Used for generating initial keys
1167 # for a new ManagedZone and as default when adding a new DnsKey.
1168 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
1169 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
1170 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
1171 # active, will only be used to sign resource record sets of type DNSKEY.
1172 # Zone signing keys do not have the Secure Entry Point flag set and will be
1173 # used to sign all other types of resource record sets.
1174 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
1175 &quot;keyLength&quot;: 42, # Length of the keys in bits.
Bu Sun Kim65020912020-05-20 12:08:20 -07001176 },
1177 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001178 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
1179 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
1180 # Can only be changed while the state is OFF.
1181 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07001182 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001183 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
1184 # for this zone. The value of this field contains the set of destinations
1185 # to forward to.
1186 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
1187 # Cloud DNS will select the best available name server if more than one
1188 # target is given.
1189 {
1190 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
1191 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
1192 # Cloud DNS will make forwarding decision based on address ranges,
1193 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
1194 # Internet. When set to PRIVATE, Cloud DNS will always send queries
1195 # through VPC for this target
1196 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
1197 },
1198 ],
1199 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
1200 },
1201 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
1202 &quot;labels&quot;: { # User labels.
Bu Sun Kim65020912020-05-20 12:08:20 -07001203 &quot;a_key&quot;: &quot;A String&quot;,
1204 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001205 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
1206 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
1207 # zone. The value of this field contains the network to peer with.
1208 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1209 &quot;targetNetwork&quot;: { # The network with which to peer.
1210 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
1211 # format. An empty string indicates that the peering connection is
1212 # active. The producer network can deactivate a zone. The zone is
1213 # automatically deactivated if the producer network that the zone
1214 # targeted is deleted. Output only.
1215 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1216 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
1217 # This should be formatted like
1218 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
1219 },
1220 },
1221 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
1222 # NameServerSet is a set of DNS name servers that all host the same
1223 # ManagedZones. Most users will leave this field unset.
1224 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
1225 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -07001226 &quot;A String&quot;,
1227 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001228}
1229
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001230 clientOperationId: string, For mutating operation requests only. An optional identifier
1231specified by the client. Must be unique for operation resources in the
1232Operations collection.
1233 x__xgafv: string, V1 error format.
1234 Allowed values
1235 1 - v1 error format
1236 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001237
1238Returns:
1239 An object of the form:
1240
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001241 { # An operation represents a successful mutation performed on a Cloud DNS
1242 # resource.
1243 # Operations provide:
1244 # - An audit log of server resource mutations.
1245 # - A way to recover/retry API calls in the case where the response is never
1246 # received by the caller. Use the caller specified client_operation_id.
1247 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
1248 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
1249 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
1250 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
1251 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
1252 # after creation time.
1253 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
1254 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
1255 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
1256 # RFC3339 text format. Output only.
1257 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
1258 # Inactive keys will still be present as DNSKEY Resource Records for the use
1259 # of resolvers validating existing signatures.
1260 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
1261 # DnsKey. These digests are needed to construct a DS record that points at
1262 # this DNS key. Output only.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001263 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001264 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
1265 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
1266 # resource record.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001267 },
1268 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001269 &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
1270 # Secure Entry Point flag set and, when active, will be used to sign only
1271 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
1272 # flag will be cleared and this key will be used to sign only resource
1273 # record sets of other types. Immutable after creation time.
1274 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
1275 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
1276 # more quickly (but it is not a unique identifier). In particular, the key
1277 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
1278 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
1279 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
1280 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
1281 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001282 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001283 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
1284 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
1285 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
1286 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
1287 # after creation time.
1288 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
1289 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
1290 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
1291 # RFC3339 text format. Output only.
1292 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
1293 # Inactive keys will still be present as DNSKEY Resource Records for the use
1294 # of resolvers validating existing signatures.
1295 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
1296 # DnsKey. These digests are needed to construct a DS record that points at
1297 # this DNS key. Output only.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001298 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001299 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
1300 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
1301 # resource record.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001302 },
1303 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001304 &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
1305 # Secure Entry Point flag set and, when active, will be used to sign only
1306 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
1307 # flag will be cleared and this key will be used to sign only resource
1308 # record sets of other types. Immutable after creation time.
1309 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
1310 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
1311 # more quickly (but it is not a unique identifier). In particular, the key
1312 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
1313 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
1314 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
1315 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
1316 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001317 },
1318 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001319 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource. This is the client_operation_id if
1320 # the client specified it when the mutation was initiated, otherwise,
1321 # it is generated by the server. The name must be 1-63 characters long
1322 # and match the regular expression [-a-z0-9]? (output only)
1323 &quot;user&quot;: &quot;A String&quot;, # User who requested the operation, for example: user@example.com.
1324 # cloud-dns-system for operations automatically done by the system.
1325 # (output only)
1326 &quot;kind&quot;: &quot;dns#operation&quot;,
1327 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server. This is in RFC3339
1328 # text format (output only).
1329 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete
1330 # (output only).
1331 &quot;status&quot;: &quot;A String&quot;, # Status of the operation. Can be one of the following: &quot;PENDING&quot; or &quot;DONE&quot;
1332 # (output only). A status of &quot;DONE&quot; means that the
1333 # request to update the authoritative servers has been sent, but the
1334 # servers might not be updated yet.
1335 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
1336 &quot;newValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The post-operation ManagedZone resource.
1337 # responsibility. A ManagedZone is a resource that represents a DNS zone
1338 # hosted by the Cloud DNS service.
1339 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
1340 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
1341 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
1342 # The name must be 1-63 characters long, must begin with a letter, end with
1343 # a letter or digit, and only contain lowercase letters, digits or dashes.
1344 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
1345 # text format. Output only.
1346 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. This field
1347 # should not be set for public zones or forwarding zones.
1348 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
1349 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
1350 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone.
1351 # This should be formatted like
1352 # https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
1353 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted, empty
1354 # string if it still exists. This is in RFC3339 text format. Output
1355 # only.
1356 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
1357 },
1358 },
1359 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
1360 # private zones are visible only to Virtual Private Cloud resources.
1361 &quot;kind&quot;: &quot;dns#managedZone&quot;,
1362 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
1363 # lookup zone and Cloud DNS will resolve reverse lookup queries using
1364 # automatically configured records for VPC resources. This only applies
1365 # to networks listed under private_visibility_config.
1366 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1367 },
1368 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
1369 # that the zone is visible from.
1370 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001371 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001372 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
1373 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
1374 # This should be formatted like
1375 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001376 },
1377 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001378 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001379 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001380 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
1381 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
1382 # ManagedZone. Can only be changed while the state is OFF.
1383 { # Parameters for DnsKey key generation. Used for generating initial keys
1384 # for a new ManagedZone and as default when adding a new DnsKey.
1385 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
1386 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
1387 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
1388 # active, will only be used to sign resource record sets of type DNSKEY.
1389 # Zone signing keys do not have the Secure Entry Point flag set and will be
1390 # used to sign all other types of resource record sets.
1391 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
1392 &quot;keyLength&quot;: 42, # Length of the keys in bits.
Bu Sun Kim65020912020-05-20 12:08:20 -07001393 },
1394 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001395 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
1396 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
1397 # Can only be changed while the state is OFF.
1398 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07001399 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001400 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
1401 # for this zone. The value of this field contains the set of destinations
1402 # to forward to.
1403 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
1404 # Cloud DNS will select the best available name server if more than one
1405 # target is given.
1406 {
1407 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
1408 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
1409 # Cloud DNS will make forwarding decision based on address ranges,
1410 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
1411 # Internet. When set to PRIVATE, Cloud DNS will always send queries
1412 # through VPC for this target
1413 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
1414 },
1415 ],
1416 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
1417 },
1418 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
1419 &quot;labels&quot;: { # User labels.
Bu Sun Kim65020912020-05-20 12:08:20 -07001420 &quot;a_key&quot;: &quot;A String&quot;,
1421 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001422 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
1423 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
1424 # zone. The value of this field contains the network to peer with.
1425 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1426 &quot;targetNetwork&quot;: { # The network with which to peer.
1427 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
1428 # format. An empty string indicates that the peering connection is
1429 # active. The producer network can deactivate a zone. The zone is
1430 # automatically deactivated if the producer network that the zone
1431 # targeted is deleted. Output only.
1432 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1433 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
1434 # This should be formatted like
1435 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
1436 },
1437 },
1438 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
1439 # NameServerSet is a set of DNS name servers that all host the same
1440 # ManagedZones. Most users will leave this field unset.
1441 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
1442 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -07001443 &quot;A String&quot;,
1444 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001445 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001446 &quot;oldValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The pre-operation ManagedZone resource.
1447 # responsibility. A ManagedZone is a resource that represents a DNS zone
1448 # hosted by the Cloud DNS service.
1449 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
1450 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
1451 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
1452 # The name must be 1-63 characters long, must begin with a letter, end with
1453 # a letter or digit, and only contain lowercase letters, digits or dashes.
1454 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
1455 # text format. Output only.
1456 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. This field
1457 # should not be set for public zones or forwarding zones.
1458 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
1459 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
1460 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone.
1461 # This should be formatted like
1462 # https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
1463 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted, empty
1464 # string if it still exists. This is in RFC3339 text format. Output
1465 # only.
1466 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
1467 },
1468 },
1469 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
1470 # private zones are visible only to Virtual Private Cloud resources.
1471 &quot;kind&quot;: &quot;dns#managedZone&quot;,
1472 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
1473 # lookup zone and Cloud DNS will resolve reverse lookup queries using
1474 # automatically configured records for VPC resources. This only applies
1475 # to networks listed under private_visibility_config.
1476 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1477 },
1478 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
1479 # that the zone is visible from.
1480 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001481 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001482 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
1483 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
1484 # This should be formatted like
1485 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001486 },
1487 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001488 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001489 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001490 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
1491 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
1492 # ManagedZone. Can only be changed while the state is OFF.
1493 { # Parameters for DnsKey key generation. Used for generating initial keys
1494 # for a new ManagedZone and as default when adding a new DnsKey.
1495 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
1496 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
1497 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
1498 # active, will only be used to sign resource record sets of type DNSKEY.
1499 # Zone signing keys do not have the Secure Entry Point flag set and will be
1500 # used to sign all other types of resource record sets.
1501 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
1502 &quot;keyLength&quot;: 42, # Length of the keys in bits.
Bu Sun Kim65020912020-05-20 12:08:20 -07001503 },
1504 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001505 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
1506 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
1507 # Can only be changed while the state is OFF.
1508 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07001509 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001510 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
1511 # for this zone. The value of this field contains the set of destinations
1512 # to forward to.
1513 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
1514 # Cloud DNS will select the best available name server if more than one
1515 # target is given.
1516 {
1517 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
1518 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
1519 # Cloud DNS will make forwarding decision based on address ranges,
1520 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
1521 # Internet. When set to PRIVATE, Cloud DNS will always send queries
1522 # through VPC for this target
1523 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
1524 },
1525 ],
1526 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
1527 },
1528 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
1529 &quot;labels&quot;: { # User labels.
Bu Sun Kim65020912020-05-20 12:08:20 -07001530 &quot;a_key&quot;: &quot;A String&quot;,
1531 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001532 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
1533 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
1534 # zone. The value of this field contains the network to peer with.
1535 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1536 &quot;targetNetwork&quot;: { # The network with which to peer.
1537 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
1538 # format. An empty string indicates that the peering connection is
1539 # active. The producer network can deactivate a zone. The zone is
1540 # automatically deactivated if the producer network that the zone
1541 # targeted is deleted. Output only.
1542 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1543 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
1544 # This should be formatted like
1545 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
1546 },
1547 },
1548 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
1549 # NameServerSet is a set of DNS name servers that all host the same
1550 # ManagedZones. Most users will leave this field unset.
1551 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
1552 # server (output only)
Bu Sun Kim65020912020-05-20 12:08:20 -07001553 &quot;A String&quot;,
1554 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001555 },
1556 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001557 }</pre>
1558</div>
1559
1560</body></html>