blob: 0e42cf7e6b97a57b0f780744d59f6ffd8827ad7b [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<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.changes.html">changes</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Atomically update the ResourceRecordSet collection.</p>
John Asmuth614db982014-04-24 15:46:26 -040080<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#get">get(project, managedZone, changeId, clientOperationId=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Fetch the representation of an existing Change.</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#list">list(project, managedZone, pageToken=None, sortBy=None, maxResults=None, sortOrder=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Enumerate Changes to a ResourceRecordSet collection.</p>
John Asmuth614db982014-04-24 15:46:26 -040086<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<h3>Method Details</h3>
90<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070091 <code class="details" id="create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
92 <pre>Atomically update the ResourceRecordSet collection.
John Asmuth614db982014-04-24 15:46:26 -040093
94Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -070095 project: string, Identifies the project addressed by this request. (required)
96 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
97zone name or id. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -070098 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -040099 The object takes the form of:
100
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700101{ # A Change represents a set of ResourceRecordSet additions and deletions
102 # applied atomically to a ManagedZone. ResourceRecordSets within a
103 # ManagedZone are modified by creating a new Change element in the Changes
104 # collection. In turn the Changes collection also records the past
105 # modifications to the ResourceRecordSets in a ManagedZone. The current
106 # state of the ManagedZone is the sum effect of applying all Change
107 # elements in the Changes collection in sequence.
108 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
109 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
110 { # A unit of data that will be returned by the DNS servers.
111 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
112 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
113 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400114 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700115 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
116 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
117 # DNS record types&lt;/a&gt;.
118 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
119 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
120 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
121 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
122 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400123 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700124 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700125 ],
126 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
127 # request to update the authoritative servers has been sent, but the
128 # servers might not be updated yet.
129 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
130 { # A unit of data that will be returned by the DNS servers.
131 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
132 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
133 &quot;A String&quot;,
134 ],
135 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
136 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
137 # DNS record types&lt;/a&gt;.
138 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
139 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
140 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
141 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
142 &quot;A String&quot;,
143 ],
144 },
145 ],
146 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
147 &quot;kind&quot;: &quot;dns#change&quot;,
148 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
149 # is in RFC3339 text format.
150}
151
152 clientOperationId: string, For mutating operation requests only. An optional identifier
153specified by the client. Must be unique for operation resources in the
154Operations collection.
155 x__xgafv: string, V1 error format.
156 Allowed values
157 1 - v1 error format
158 2 - v2 error format
159
160Returns:
161 An object of the form:
162
163 { # A Change represents a set of ResourceRecordSet additions and deletions
164 # applied atomically to a ManagedZone. ResourceRecordSets within a
165 # ManagedZone are modified by creating a new Change element in the Changes
166 # collection. In turn the Changes collection also records the past
167 # modifications to the ResourceRecordSets in a ManagedZone. The current
168 # state of the ManagedZone is the sum effect of applying all Change
169 # elements in the Changes collection in sequence.
170 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
171 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
172 { # A unit of data that will be returned by the DNS servers.
173 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
174 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
175 &quot;A String&quot;,
176 ],
177 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
178 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
179 # DNS record types&lt;/a&gt;.
180 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
181 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
182 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
183 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
184 &quot;A String&quot;,
185 ],
186 },
187 ],
188 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
189 # request to update the authoritative servers has been sent, but the
190 # servers might not be updated yet.
191 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
192 { # A unit of data that will be returned by the DNS servers.
193 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
194 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
195 &quot;A String&quot;,
196 ],
197 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
198 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
199 # DNS record types&lt;/a&gt;.
200 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
201 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
202 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
203 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
204 &quot;A String&quot;,
205 ],
206 },
207 ],
208 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
209 &quot;kind&quot;: &quot;dns#change&quot;,
210 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
211 # is in RFC3339 text format.
212 }</pre>
213</div>
214
215<div class="method">
216 <code class="details" id="get">get(project, managedZone, changeId, clientOperationId=None, x__xgafv=None)</code>
217 <pre>Fetch the representation of an existing Change.
218
219Args:
220 project: string, Identifies the project addressed by this request. (required)
221 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
222zone name or id. (required)
223 changeId: string, The identifier of the requested change, from a previous
224ResourceRecordSetsChangeResponse. (required)
225 clientOperationId: string, For mutating operation requests only. An optional identifier
226specified by the client. Must be unique for operation resources in the
227Operations collection.
228 x__xgafv: string, V1 error format.
229 Allowed values
230 1 - v1 error format
231 2 - v2 error format
232
233Returns:
234 An object of the form:
235
236 { # A Change represents a set of ResourceRecordSet additions and deletions
237 # applied atomically to a ManagedZone. ResourceRecordSets within a
238 # ManagedZone are modified by creating a new Change element in the Changes
239 # collection. In turn the Changes collection also records the past
240 # modifications to the ResourceRecordSets in a ManagedZone. The current
241 # state of the ManagedZone is the sum effect of applying all Change
242 # elements in the Changes collection in sequence.
243 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
244 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
245 { # A unit of data that will be returned by the DNS servers.
246 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
247 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
248 &quot;A String&quot;,
249 ],
250 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
251 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
252 # DNS record types&lt;/a&gt;.
253 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
254 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
255 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
256 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
257 &quot;A String&quot;,
258 ],
259 },
260 ],
261 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
262 # request to update the authoritative servers has been sent, but the
263 # servers might not be updated yet.
264 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
265 { # A unit of data that will be returned by the DNS servers.
266 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
267 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
268 &quot;A String&quot;,
269 ],
270 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
271 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
272 # DNS record types&lt;/a&gt;.
273 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
274 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
275 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
276 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
277 &quot;A String&quot;,
278 ],
279 },
280 ],
281 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
282 &quot;kind&quot;: &quot;dns#change&quot;,
283 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
284 # is in RFC3339 text format.
285 }</pre>
286</div>
287
288<div class="method">
289 <code class="details" id="list">list(project, managedZone, pageToken=None, sortBy=None, maxResults=None, sortOrder=None, x__xgafv=None)</code>
290 <pre>Enumerate Changes to a ResourceRecordSet collection.
291
292Args:
293 project: string, Identifies the project addressed by this request. (required)
294 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
295zone name or id. (required)
296 pageToken: string, Optional. A tag returned by a previous list request that was truncated.
297Use this parameter to continue a previous list request.
298 sortBy: string, Sorting criterion. The only supported value is change sequence.
299 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the
300server will decide how many results to return.
301 sortOrder: string, Sorting order direction: &#x27;ascending&#x27; or &#x27;descending&#x27;.
302 x__xgafv: string, V1 error format.
303 Allowed values
304 1 - v1 error format
305 2 - v2 error format
306
307Returns:
308 An object of the form:
309
310 { # The response to a request to enumerate Changes to a ResourceRecordSets
311 # collection.
312 &quot;header&quot;: { # Elements common to every response.
313 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully.
314 # This is the client_operation_id if the client specified it,
315 # otherwise it is generated by the server (output only).
316 },
317 &quot;nextPageToken&quot;: &quot;A String&quot;, # The presence of this field indicates that there exist more results
318 # following your last page of results in pagination order. To fetch them,
319 # make another list request using this value as your pagination token.
320 #
321 # In this way you can retrieve the complete contents of even very large
322 # collections one page at a time. However, if the contents of the collection
323 # change between the first and last paginated list request, the set of all
324 # elements returned will be an inconsistent view of the collection. There is
325 # no way to retrieve a &quot;snapshot&quot; of collections larger than the maximum
326 # page size.
Bu Sun Kim65020912020-05-20 12:08:20 -0700327 &quot;kind&quot;: &quot;dns#changesListResponse&quot;, # Type of resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700328 &quot;changes&quot;: [ # The requested changes.
329 { # A Change represents a set of ResourceRecordSet additions and deletions
330 # applied atomically to a ManagedZone. ResourceRecordSets within a
331 # ManagedZone are modified by creating a new Change element in the Changes
332 # collection. In turn the Changes collection also records the past
333 # modifications to the ResourceRecordSets in a ManagedZone. The current
334 # state of the ManagedZone is the sum effect of applying all Change
335 # elements in the Changes collection in sequence.
336 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
337 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
338 { # A unit of data that will be returned by the DNS servers.
339 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
340 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
341 &quot;A String&quot;,
342 ],
343 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
344 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
345 # DNS record types&lt;/a&gt;.
346 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
347 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
348 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
349 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
350 &quot;A String&quot;,
351 ],
352 },
353 ],
354 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
355 # request to update the authoritative servers has been sent, but the
356 # servers might not be updated yet.
357 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
358 { # A unit of data that will be returned by the DNS servers.
359 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
360 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
361 &quot;A String&quot;,
362 ],
363 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
364 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
365 # DNS record types&lt;/a&gt;.
366 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
367 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
368 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
369 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
370 &quot;A String&quot;,
371 ],
372 },
373 ],
374 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
375 &quot;kind&quot;: &quot;dns#change&quot;,
376 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
377 # is in RFC3339 text format.
378 },
379 ],
John Asmuth614db982014-04-24 15:46:26 -0400380 }</pre>
381</div>
382
383<div class="method">
384 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
385 <pre>Retrieves the next page of results.
386
387Args:
388 previous_request: The request for the previous page. (required)
389 previous_response: The response from the request for the previous page. (required)
390
391Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700392 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400393 page. Returns None if there are no more items in the collection.
394 </pre>
395</div>
396
397</body></html>