blob: 3622149d5da92b3fe5c196a3902a57f73bf01abd [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.changes.html">changes</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, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Atomically update the ResourceRecordSet collection.</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="#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>
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="#list">list(project, managedZone, maxResults=None, sortBy=None, pageToken=None, sortOrder=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Enumerate Changes to a ResourceRecordSet collection.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086<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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070093
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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070099 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;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
110 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
111 # request to update the authoritative servers has been sent, but the
112 # servers might not be updated yet.
113 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
114 # is in RFC3339 text format.
115 &quot;kind&quot;: &quot;dns#change&quot;,
116 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
117 { # A unit of data that will be returned by the DNS servers.
118 &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;name&quot;: &quot;A String&quot;, # For example, www.example.com.
122 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
123 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
124 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
125 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700126 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700127 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
128 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
129 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700130 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700131 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 ],
133 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
134 { # A unit of data that will be returned by the DNS servers.
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;name&quot;: &quot;A String&quot;, # For example, www.example.com.
139 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
140 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
141 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
142 &quot;A String&quot;,
143 ],
144 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
145 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
146 &quot;A String&quot;,
147 ],
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;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
171 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
172 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
173 # request to update the authoritative servers has been sent, but the
174 # servers might not be updated yet.
175 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
176 # is in RFC3339 text format.
177 &quot;kind&quot;: &quot;dns#change&quot;,
178 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
179 { # A unit of data that will be returned by the DNS servers.
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;name&quot;: &quot;A String&quot;, # For example, www.example.com.
184 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
185 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
186 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
187 &quot;A String&quot;,
188 ],
189 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
190 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
191 &quot;A String&quot;,
192 ],
193 },
194 ],
195 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
196 { # A unit of data that will be returned by the DNS servers.
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;name&quot;: &quot;A String&quot;, # For example, www.example.com.
201 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
202 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
203 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
204 &quot;A String&quot;,
205 ],
206 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
207 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
208 &quot;A String&quot;,
209 ],
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;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
244 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
245 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
246 # request to update the authoritative servers has been sent, but the
247 # servers might not be updated yet.
248 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
249 # is in RFC3339 text format.
250 &quot;kind&quot;: &quot;dns#change&quot;,
251 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
252 { # A unit of data that will be returned by the DNS servers.
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;name&quot;: &quot;A String&quot;, # For example, www.example.com.
257 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
258 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
259 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
260 &quot;A String&quot;,
261 ],
262 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
263 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
264 &quot;A String&quot;,
265 ],
266 },
267 ],
268 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
269 { # A unit of data that will be returned by the DNS servers.
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;name&quot;: &quot;A String&quot;, # For example, www.example.com.
274 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
275 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
276 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
277 &quot;A String&quot;,
278 ],
279 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
280 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
281 &quot;A String&quot;,
282 ],
283 },
284 ],
285 }</pre>
286</div>
287
288<div class="method">
289 <code class="details" id="list">list(project, managedZone, maxResults=None, sortBy=None, pageToken=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 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the
297server will decide how many results to return.
298 sortBy: string, Sorting criterion. The only supported value is change sequence.
299 pageToken: string, Optional. A tag returned by a previous list request that was truncated.
300Use this parameter to continue a previous list request.
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;nextPageToken&quot;: &quot;A String&quot;, # The presence of this field indicates that there exist more results
313 # following your last page of results in pagination order. To fetch them,
314 # make another list request using this value as your pagination token.
315 #
316 # In this way you can retrieve the complete contents of even very large
317 # collections one page at a time. However, if the contents of the collection
318 # change between the first and last paginated list request, the set of all
319 # elements returned will be an inconsistent view of the collection. There is
320 # no way to retrieve a &quot;snapshot&quot; of collections larger than the maximum
321 # page size.
Bu Sun Kim65020912020-05-20 12:08:20 -0700322 &quot;kind&quot;: &quot;dns#changesListResponse&quot;, # Type of resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700323 &quot;header&quot;: { # Elements common to every response.
324 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully.
325 # This is the client_operation_id if the client specified it,
326 # otherwise it is generated by the server (output only).
327 },
328 &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;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
338 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the
339 # request to update the authoritative servers has been sent, but the
340 # servers might not be updated yet.
341 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This
342 # is in RFC3339 text format.
343 &quot;kind&quot;: &quot;dns#change&quot;,
344 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
345 { # A unit of data that will be returned by the DNS servers.
346 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of
347 # &lt;a href=&quot;/dns/docs/overview#supported_dns_record_types&quot;&gt;Supported
348 # DNS record types&lt;/a&gt;.
349 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
350 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
351 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
352 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
353 &quot;A String&quot;,
354 ],
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 },
360 ],
361 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
362 { # A unit of data that will be returned by the DNS servers.
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;name&quot;: &quot;A String&quot;, # For example, www.example.com.
367 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
368 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
369 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
370 &quot;A String&quot;,
371 ],
372 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
373 # &lt;a href=&quot;/dns/records/json-record&quot;&gt;examples&lt;/a&gt;.
374 &quot;A String&quot;,
375 ],
376 },
377 ],
378 },
379 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700380 }</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
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700393 page. Returns None if there are no more items in the collection.
394 </pre>
395</div>
396
397</body></html>