blob: 904b0e4e81d37e499c6a10722aef5ce82772261c [file] [log] [blame]
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001<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_v1.html">Cloud DNS API</a> . <a href="dns_v1.changes.html">changes</a></h1>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000076<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>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000080<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>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#list">list(project, managedZone, pageToken=None, maxResults=None, sortBy=None, sortOrder=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Enumerate Changes to a ResourceRecordSet collection.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000086<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.
Nathaniel Manista4f877e52015-06-15 16:44:50 +000093
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.
Nathaniel Manista4f877e52015-06-15 16:44:50 +000099 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;kind&quot;: &quot;dns#change&quot;,
109 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
110 # is in RFC3339 text format.
111 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
112 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
113 { # A unit of data that will be returned by the DNS servers.
114 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
115 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
116 &quot;A String&quot;,
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000117 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700118 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
119 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
120 # DNS record types&lt;/a&gt;.
121 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
122 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
123 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
124 &quot;A String&quot;,
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000125 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700126 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
Bu Sun Kim65020912020-05-20 12:08:20 -0700127 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700128 ],
129 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
130 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
131 # request to update the authoritative servers has been sent, but the
132 # servers might not be updated yet.
133 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
134 { # A unit of data that will be returned by the DNS servers.
135 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
136 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
137 &quot;A String&quot;,
138 ],
139 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
140 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
141 # DNS record types&lt;/a&gt;.
142 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
143 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
144 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
145 &quot;A String&quot;,
146 ],
147 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
148 },
149 ],
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;kind&quot;: &quot;dns#change&quot;,
171 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
172 # is in RFC3339 text format.
173 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
174 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
175 { # A unit of data that will be returned by the DNS servers.
176 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
177 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
178 &quot;A String&quot;,
179 ],
180 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
181 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
182 # DNS record types&lt;/a&gt;.
183 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
184 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
185 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
186 &quot;A String&quot;,
187 ],
188 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
189 },
190 ],
191 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
192 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
193 # request to update the authoritative servers has been sent, but the
194 # servers might not be updated yet.
195 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
196 { # A unit of data that will be returned by the DNS servers.
197 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
198 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
199 &quot;A String&quot;,
200 ],
201 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
202 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
203 # DNS record types&lt;/a&gt;.
204 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
205 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
206 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
207 &quot;A String&quot;,
208 ],
209 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
210 },
211 ],
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;kind&quot;: &quot;dns#change&quot;,
244 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
245 # is in RFC3339 text format.
246 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
247 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
248 { # A unit of data that will be returned by the DNS servers.
249 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
250 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
251 &quot;A String&quot;,
252 ],
253 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
254 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
255 # DNS record types&lt;/a&gt;.
256 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
257 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
258 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
259 &quot;A String&quot;,
260 ],
261 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
262 },
263 ],
264 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
265 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
266 # request to update the authoritative servers has been sent, but the
267 # servers might not be updated yet.
268 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
269 { # A unit of data that will be returned by the DNS servers.
270 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
271 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
272 &quot;A String&quot;,
273 ],
274 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
275 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
276 # DNS record types&lt;/a&gt;.
277 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
278 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
279 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
280 &quot;A String&quot;,
281 ],
282 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
283 },
284 ],
285 }</pre>
286</div>
287
288<div class="method">
289 <code class="details" id="list">list(project, managedZone, pageToken=None, maxResults=None, sortBy=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 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the
299server will decide how many results to return.
300 sortBy: string, Sorting criterion. The only supported value is change sequence.
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;changes&quot;: [ # The requested changes.
313 { # A Change represents a set of ResourceRecordSet additions and deletions
314 # applied atomically to a ManagedZone. ResourceRecordSets within a
315 # ManagedZone are modified by creating a new Change element in the Changes
316 # collection. In turn the Changes collection also records the past
317 # modifications to the ResourceRecordSets in a ManagedZone. The current
318 # state of the ManagedZone is the sum effect of applying all Change
319 # elements in the Changes collection in sequence.
320 &quot;kind&quot;: &quot;dns#change&quot;,
321 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
322 # is in RFC3339 text format.
323 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
324 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
325 { # A unit of data that will be returned by the DNS servers.
326 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
327 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
328 &quot;A String&quot;,
329 ],
330 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
331 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
332 # DNS record types&lt;/a&gt;.
333 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
334 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
335 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
336 &quot;A String&quot;,
337 ],
338 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
339 },
340 ],
341 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
342 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
343 # request to update the authoritative servers has been sent, but the
344 # servers might not be updated yet.
345 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
346 { # A unit of data that will be returned by the DNS servers.
347 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
348 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
349 &quot;A String&quot;,
350 ],
351 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
352 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
353 # DNS record types&lt;/a&gt;.
354 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
355 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
356 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
357 &quot;A String&quot;,
358 ],
359 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
360 },
361 ],
362 },
363 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700364 &quot;kind&quot;: &quot;dns#changesListResponse&quot;, # Type of resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700365 &quot;header&quot;: { # Elements common to every response.
366 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully.
367 # This is the client_operation_id if the client specified it,
368 # otherwise it is generated by the server (output only).
369 },
370 &quot;nextPageToken&quot;: &quot;A String&quot;, # The presence of this field indicates that there exist more results
371 # following your last page of results in pagination order. To fetch them,
372 # make another list request using this value as your pagination token.
373 #
374 # In this way you can retrieve the complete contents of even very large
375 # collections one page at a time. However, if the contents of the collection
376 # change between the first and last paginated list request, the set of all
377 # elements returned will be an inconsistent view of the collection. There is
378 # no way to retrieve a &quot;snapshot&quot; of collections larger than the maximum
379 # page size.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000380 }</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
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000393 page. Returns None if there are no more items in the collection.
394 </pre>
395</div>
396
397</body></html>