blob: 865a6a98b25091a22a69ac656458deb83a0ed372 [file] [log] [blame]
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="dns_v2beta1.html">Cloud DNS API</a> . <a href="dns_v2beta1.managedZoneOperations.html">managedZoneOperations</a></h1>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#get">get(project, managedZone, operation, clientOperationId=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Fetch the representation of an existing Operation.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070080<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#list">list(project, managedZone, pageToken=None, sortBy=None, maxResults=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Enumerate Operations for the given ManagedZone.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070083<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<h3>Method Details</h3>
87<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070088 <code class="details" id="get">get(project, managedZone, operation, clientOperationId=None, x__xgafv=None)</code>
89 <pre>Fetch the representation of an existing Operation.
Sai Cheemalapatidf613972016-10-21 13:59:49 -070090
91Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -070092 project: string, Identifies the project addressed by this request. (required)
93 managedZone: string, Identifies the managed zone addressed by this request. (required)
94 operation: string, Identifies the operation addressed by this request. (required)
95 clientOperationId: string, For mutating operation requests only. An optional identifier
96specified by the client. Must be unique for operation resources in the
97Operations collection.
98 x__xgafv: string, V1 error format.
99 Allowed values
100 1 - v1 error format
101 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700102
103Returns:
104 An object of the form:
105
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700106 { # An operation represents a successful mutation performed on a Cloud DNS
107 # resource.
108 # Operations provide:
109 # - An audit log of server resource mutations.
110 # - A way to recover/retry API calls in the case where the response is never
111 # received by the caller. Use the caller specified client_operation_id.
112 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource. This is the client_operation_id if
113 # the client specified it when the mutation was initiated, otherwise,
114 # it is generated by the server. The name must be 1-63 characters long
115 # and match the regular expression [-a-z0-9]? (output only)
116 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
117 &quot;newValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The post-operation ManagedZone resource.
118 # responsibility. A ManagedZone is a resource that represents a DNS zone
119 # hosted by the Cloud DNS service.
120 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
121 # server (output only)
122 &quot;A String&quot;,
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700123 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700124 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
125 # private zones are visible only to Virtual Private Cloud resources.
126 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
127 # NameServerSet is a set of DNS name servers that all host the same
128 # ManagedZones. Most users will leave this field unset.
129 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
130 # that the zone is visible from.
131 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
132 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
133 {
134 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
135 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
136 # This should be formatted like
137 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
138 },
139 ],
140 },
141 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
142 # The name must be 1-63 characters long, must begin with a letter, end with
143 # a letter or digit, and only contain lowercase letters, digits or dashes.
144 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
145 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
146 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
147 # text format. Output only.
148 &quot;labels&quot;: { # User labels.
149 &quot;a_key&quot;: &quot;A String&quot;,
150 },
151 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
152 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
153 # zone. The value of this field contains the network to peer with.
154 &quot;targetNetwork&quot;: { # The network with which to peer.
155 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
156 # This should be formatted like
157 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
158 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
159 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
160 # format. An empty string indicates that the peering connection is
161 # active. The producer network can deactivate a zone. The zone is
162 # automatically deactivated if the producer network that the zone
163 # targeted is deleted. Output only.
164 },
165 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
166 },
167 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
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;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
171 # ManagedZone. Can only be changed while the state is OFF.
172 { # Parameters for DnsKey key generation. Used for generating initial keys
173 # for a new ManagedZone and as default when adding a new DnsKey.
174 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
175 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
176 &quot;keyLength&quot;: 42, # Length of the keys in bits.
177 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
178 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
179 # active, will only be used to sign resource record sets of type DNSKEY.
180 # Zone signing keys do not have the Secure Entry Point flag set and will be
181 # used to sign all other types of resource record sets.
182 },
183 ],
184 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
185 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
186 },
187 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
188 &quot;kind&quot;: &quot;dns#managedZone&quot;,
189 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
190 # lookup zone and Cloud DNS will resolve reverse lookup queries using
191 # automatically configured records for VPC resources. This only applies
192 # to networks listed under private_visibility_config.
193 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
194 },
195 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
196 # for this zone. The value of this field contains the set of destinations
197 # to forward to.
198 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
199 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
200 # Cloud DNS will select the best available name server if more than one
201 # target is given.
202 {
203 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
204 # Cloud DNS will make forwarding decision based on address ranges,
205 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
206 # Internet. When set to PRIVATE, Cloud DNS will always send queries
207 # through VPC for this target
208 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
209 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
210 },
211 ],
212 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700213 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700214 &quot;oldValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The pre-operation ManagedZone resource.
215 # responsibility. A ManagedZone is a resource that represents a DNS zone
216 # hosted by the Cloud DNS service.
217 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
218 # server (output only)
219 &quot;A String&quot;,
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700220 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700221 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
222 # private zones are visible only to Virtual Private Cloud resources.
223 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
224 # NameServerSet is a set of DNS name servers that all host the same
225 # ManagedZones. Most users will leave this field unset.
226 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
227 # that the zone is visible from.
228 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
229 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
230 {
231 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
232 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
233 # This should be formatted like
234 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
235 },
236 ],
237 },
238 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
239 # The name must be 1-63 characters long, must begin with a letter, end with
240 # a letter or digit, and only contain lowercase letters, digits or dashes.
241 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
242 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
243 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
244 # text format. Output only.
245 &quot;labels&quot;: { # User labels.
246 &quot;a_key&quot;: &quot;A String&quot;,
247 },
248 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
249 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
250 # zone. The value of this field contains the network to peer with.
251 &quot;targetNetwork&quot;: { # The network with which to peer.
252 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
253 # This should be formatted like
254 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
255 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
256 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
257 # format. An empty string indicates that the peering connection is
258 # active. The producer network can deactivate a zone. The zone is
259 # automatically deactivated if the producer network that the zone
260 # targeted is deleted. Output only.
261 },
262 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
263 },
264 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
265 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
266 # Can only be changed while the state is OFF.
267 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
268 # ManagedZone. Can only be changed while the state is OFF.
269 { # Parameters for DnsKey key generation. Used for generating initial keys
270 # for a new ManagedZone and as default when adding a new DnsKey.
271 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
272 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
273 &quot;keyLength&quot;: 42, # Length of the keys in bits.
274 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
275 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
276 # active, will only be used to sign resource record sets of type DNSKEY.
277 # Zone signing keys do not have the Secure Entry Point flag set and will be
278 # used to sign all other types of resource record sets.
279 },
280 ],
281 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
282 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
283 },
284 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
285 &quot;kind&quot;: &quot;dns#managedZone&quot;,
286 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
287 # lookup zone and Cloud DNS will resolve reverse lookup queries using
288 # automatically configured records for VPC resources. This only applies
289 # to networks listed under private_visibility_config.
290 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
291 },
292 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
293 # for this zone. The value of this field contains the set of destinations
294 # to forward to.
295 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
296 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
297 # Cloud DNS will select the best available name server if more than one
298 # target is given.
299 {
300 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
301 # Cloud DNS will make forwarding decision based on address ranges,
302 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
303 # Internet. When set to PRIVATE, Cloud DNS will always send queries
304 # through VPC for this target
305 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
306 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
307 },
308 ],
309 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700310 },
311 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700312 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete
313 # (output only).
314 &quot;status&quot;: &quot;A String&quot;, # Status of the operation. Can be one of the following: &quot;PENDING&quot; or &quot;DONE&quot;
315 # (output only). A status of &quot;DONE&quot; means that the
316 # request to update the authoritative servers has been sent, but the
317 # servers might not be updated yet.
318 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server. This is in RFC3339
319 # text format (output only).
320 &quot;kind&quot;: &quot;dns#operation&quot;,
321 &quot;user&quot;: &quot;A String&quot;, # User who requested the operation, for example: user@example.com.
322 # cloud-dns-system for operations automatically done by the system.
323 # (output only)
324 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
325 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
326 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
327 # Inactive keys will still be present as DNSKEY Resource Records for the use
328 # of resolvers validating existing signatures.
329 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
330 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
331 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
332 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
333 # RFC3339 text format. Output only.
334 &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
335 # Secure Entry Point flag set and, when active, will be used to sign only
336 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
337 # flag will be cleared and this key will be used to sign only resource
338 # record sets of other types. Immutable after creation time.
339 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
340 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
341 # more quickly (but it is not a unique identifier). In particular, the key
342 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
343 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
344 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
345 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
346 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
347 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
348 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
349 # DnsKey. These digests are needed to construct a DS record that points at
350 # this DNS key. Output only.
351 {
352 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
353 # resource record.
354 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Dan O'Mearadd494642020-05-01 07:42:23 -0700355 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700356 ],
357 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
358 # after creation time.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700359 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700360 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
361 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
362 # Inactive keys will still be present as DNSKEY Resource Records for the use
363 # of resolvers validating existing signatures.
364 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
365 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
366 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
367 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
368 # RFC3339 text format. Output only.
369 &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
370 # Secure Entry Point flag set and, when active, will be used to sign only
371 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
372 # flag will be cleared and this key will be used to sign only resource
373 # record sets of other types. Immutable after creation time.
374 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
375 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
376 # more quickly (but it is not a unique identifier). In particular, the key
377 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
378 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
379 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
380 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
381 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
382 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
383 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
384 # DnsKey. These digests are needed to construct a DS record that points at
385 # this DNS key. Output only.
386 {
387 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
388 # resource record.
389 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Dan O'Mearadd494642020-05-01 07:42:23 -0700390 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700391 ],
392 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
393 # after creation time.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700394 },
395 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700396 }</pre>
397</div>
398
399<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700400 <code class="details" id="list">list(project, managedZone, pageToken=None, sortBy=None, maxResults=None, x__xgafv=None)</code>
401 <pre>Enumerate Operations for the given ManagedZone.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700402
403Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700404 project: string, Identifies the project addressed by this request. (required)
405 managedZone: string, Identifies the managed zone addressed by this request. (required)
406 pageToken: string, Optional. A tag returned by a previous list request that was truncated.
407Use this parameter to continue a previous list request.
408 sortBy: string, Sorting criterion. The only supported values are START_TIME and ID.
409 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the
410server will decide how many results to return.
411 x__xgafv: string, V1 error format.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700412 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700413 1 - v1 error format
414 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700415
416Returns:
417 An object of the form:
418
419 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700420 &quot;kind&quot;: &quot;dns#managedZoneOperationsListResponse&quot;,
421 &quot;operations&quot;: [ # The operation resources.
422 { # An operation represents a successful mutation performed on a Cloud DNS
423 # resource.
424 # Operations provide:
425 # - An audit log of server resource mutations.
426 # - A way to recover/retry API calls in the case where the response is never
427 # received by the caller. Use the caller specified client_operation_id.
428 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource. This is the client_operation_id if
429 # the client specified it when the mutation was initiated, otherwise,
430 # it is generated by the server. The name must be 1-63 characters long
431 # and match the regular expression [-a-z0-9]? (output only)
432 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
433 &quot;newValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The post-operation ManagedZone resource.
434 # responsibility. A ManagedZone is a resource that represents a DNS zone
435 # hosted by the Cloud DNS service.
436 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
437 # server (output only)
438 &quot;A String&quot;,
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700439 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700440 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
441 # private zones are visible only to Virtual Private Cloud resources.
442 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
443 # NameServerSet is a set of DNS name servers that all host the same
444 # ManagedZones. Most users will leave this field unset.
445 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
446 # that the zone is visible from.
447 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
448 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
449 {
450 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
451 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
452 # This should be formatted like
453 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
454 },
455 ],
456 },
457 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
458 # The name must be 1-63 characters long, must begin with a letter, end with
459 # a letter or digit, and only contain lowercase letters, digits or dashes.
460 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
461 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
462 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
463 # text format. Output only.
464 &quot;labels&quot;: { # User labels.
465 &quot;a_key&quot;: &quot;A String&quot;,
466 },
467 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
468 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
469 # zone. The value of this field contains the network to peer with.
470 &quot;targetNetwork&quot;: { # The network with which to peer.
471 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
472 # This should be formatted like
473 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
474 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
475 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
476 # format. An empty string indicates that the peering connection is
477 # active. The producer network can deactivate a zone. The zone is
478 # automatically deactivated if the producer network that the zone
479 # targeted is deleted. Output only.
480 },
481 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
482 },
483 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
484 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
485 # Can only be changed while the state is OFF.
486 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
487 # ManagedZone. Can only be changed while the state is OFF.
488 { # Parameters for DnsKey key generation. Used for generating initial keys
489 # for a new ManagedZone and as default when adding a new DnsKey.
490 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
491 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
492 &quot;keyLength&quot;: 42, # Length of the keys in bits.
493 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
494 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
495 # active, will only be used to sign resource record sets of type DNSKEY.
496 # Zone signing keys do not have the Secure Entry Point flag set and will be
497 # used to sign all other types of resource record sets.
498 },
499 ],
500 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
501 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
502 },
503 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
504 &quot;kind&quot;: &quot;dns#managedZone&quot;,
505 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
506 # lookup zone and Cloud DNS will resolve reverse lookup queries using
507 # automatically configured records for VPC resources. This only applies
508 # to networks listed under private_visibility_config.
509 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
510 },
511 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
512 # for this zone. The value of this field contains the set of destinations
513 # to forward to.
514 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
515 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
516 # Cloud DNS will select the best available name server if more than one
517 # target is given.
518 {
519 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
520 # Cloud DNS will make forwarding decision based on address ranges,
521 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
522 # Internet. When set to PRIVATE, Cloud DNS will always send queries
523 # through VPC for this target
524 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
525 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
526 },
527 ],
528 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700529 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700530 &quot;oldValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative # The pre-operation ManagedZone resource.
531 # responsibility. A ManagedZone is a resource that represents a DNS zone
532 # hosted by the Cloud DNS service.
533 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the
534 # server (output only)
535 &quot;A String&quot;,
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700536 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700537 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while
538 # private zones are visible only to Virtual Private Cloud resources.
539 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A
540 # NameServerSet is a set of DNS name servers that all host the same
541 # ManagedZones. Most users will leave this field unset.
542 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources
543 # that the zone is visible from.
544 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
545 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
546 {
547 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
548 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to.
549 # This should be formatted like
550 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
551 },
552 ],
553 },
554 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project.
555 # The name must be 1-63 characters long, must begin with a letter, end with
556 # a letter or digit, and only contain lowercase letters, digits or dashes.
557 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
558 # for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
559 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339
560 # text format. Output only.
561 &quot;labels&quot;: { # User labels.
562 &quot;a_key&quot;: &quot;A String&quot;,
563 },
564 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
565 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this
566 # zone. The value of this field contains the network to peer with.
567 &quot;targetNetwork&quot;: { # The network with which to peer.
568 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to.
569 # This should be formatted like
570 # https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
571 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
572 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time
573 # format. An empty string indicates that the peering connection is
574 # active. The producer network can deactivate a zone. The zone is
575 # automatically deactivated if the producer network that the zone
576 # targeted is deleted. Output only.
577 },
578 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
579 },
580 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
581 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses.
582 # Can only be changed while the state is OFF.
583 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this
584 # ManagedZone. Can only be changed while the state is OFF.
585 { # Parameters for DnsKey key generation. Used for generating initial keys
586 # for a new ManagedZone and as default when adding a new DnsKey.
587 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
588 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
589 &quot;keyLength&quot;: 42, # Length of the keys in bits.
590 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key
591 # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
592 # active, will only be used to sign resource record sets of type DNSKEY.
593 # Zone signing keys do not have the Secure Entry Point flag set and will be
594 # used to sign all other types of resource record sets.
595 },
596 ],
597 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
598 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
599 },
600 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
601 &quot;kind&quot;: &quot;dns#managedZone&quot;,
602 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse
603 # lookup zone and Cloud DNS will resolve reverse lookup queries using
604 # automatically configured records for VPC resources. This only applies
605 # to networks listed under private_visibility_config.
606 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
607 },
608 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled
609 # for this zone. The value of this field contains the set of destinations
610 # to forward to.
611 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
612 &quot;targetNameServers&quot;: [ # List of target name servers to forward to.
613 # Cloud DNS will select the best available name server if more than one
614 # target is given.
615 {
616 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
617 # Cloud DNS will make forwarding decision based on address ranges,
618 # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
619 # Internet. When set to PRIVATE, Cloud DNS will always send queries
620 # through VPC for this target
621 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
622 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
623 },
624 ],
625 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700626 },
627 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700628 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete
629 # (output only).
630 &quot;status&quot;: &quot;A String&quot;, # Status of the operation. Can be one of the following: &quot;PENDING&quot; or &quot;DONE&quot;
631 # (output only). A status of &quot;DONE&quot; means that the
632 # request to update the authoritative servers has been sent, but the
633 # servers might not be updated yet.
634 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server. This is in RFC3339
635 # text format (output only).
636 &quot;kind&quot;: &quot;dns#operation&quot;,
637 &quot;user&quot;: &quot;A String&quot;, # User who requested the operation, for example: user@example.com.
638 # cloud-dns-system for operations automatically done by the system.
639 # (output only)
640 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
641 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
642 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
643 # Inactive keys will still be present as DNSKEY Resource Records for the use
644 # of resolvers validating existing signatures.
645 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
646 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
647 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
648 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
649 # RFC3339 text format. Output only.
650 &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
651 # Secure Entry Point flag set and, when active, will be used to sign only
652 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
653 # flag will be cleared and this key will be used to sign only resource
654 # record sets of other types. Immutable after creation time.
655 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
656 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
657 # more quickly (but it is not a unique identifier). In particular, the key
658 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
659 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
660 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
661 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
662 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
663 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
664 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
665 # DnsKey. These digests are needed to construct a DS record that points at
666 # this DNS key. Output only.
667 {
668 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
669 # resource record.
670 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Dan O'Mearadd494642020-05-01 07:42:23 -0700671 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700672 ],
673 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
674 # after creation time.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700675 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700676 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
677 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
678 # Inactive keys will still be present as DNSKEY Resource Records for the use
679 # of resolvers validating existing signatures.
680 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
681 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
682 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
683 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
684 # RFC3339 text format. Output only.
685 &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
686 # Secure Entry Point flag set and, when active, will be used to sign only
687 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
688 # flag will be cleared and this key will be used to sign only resource
689 # record sets of other types. Immutable after creation time.
690 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
691 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
692 # more quickly (but it is not a unique identifier). In particular, the key
693 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
694 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
695 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
696 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
697 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
698 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
699 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
700 # DnsKey. These digests are needed to construct a DS record that points at
701 # this DNS key. Output only.
702 {
703 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
704 # resource record.
705 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Dan O'Mearadd494642020-05-01 07:42:23 -0700706 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700707 ],
708 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
709 # after creation time.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700710 },
711 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700712 },
713 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700714 &quot;header&quot;: { # Elements common to every response.
715 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully.
716 # This is the client_operation_id if the client specified it,
717 # otherwise it is generated by the server (output only).
718 },
719 &quot;nextPageToken&quot;: &quot;A String&quot;, # The presence of this field indicates that there exist more results
720 # following your last page of results in pagination order. To fetch them,
721 # make another list request using this value as your page token.
722 #
723 # In this way you can retrieve the complete contents of even very large
724 # collections one page at a time. However, if the contents of the collection
725 # change between the first and last paginated list request, the set of all
726 # elements returned will be an inconsistent view of the collection. There is
727 # no way to retrieve a consistent snapshot of a collection larger than the
728 # maximum page size.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700729 }</pre>
730</div>
731
732<div class="method">
733 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
734 <pre>Retrieves the next page of results.
735
736Args:
737 previous_request: The request for the previous page. (required)
738 previous_response: The response from the request for the previous page. (required)
739
740Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700741 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700742 page. Returns None if there are no more items in the collection.
743 </pre>
744</div>
745
746</body></html>