Debian Codegraph @

docs/dyn/dns_v2.changes.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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
75 <h1><a href="dns_v2.html">Cloud DNS API</a> . <a href="dns_v2.changes.html">changes</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(project, location, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Atomically updates the ResourceRecordSet collection.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(project, location, managedZone, changeId, clientOperationId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Fetches the representation of an existing Change.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(project, location, managedZone, maxResults=None, pageToken=None, sortBy=None, sortOrder=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Enumerates Changes to a ResourceRecordSet collection.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="create">create(project, location, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
100 <pre>Atomically updates the ResourceRecordSet collection.
101
102 Args:
103 project: string, Identifies the project addressed by this request. (required)
104 location: string, A parameter (required)
105 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
106 body: object, The request body.
107 The object takes the form of:
108
109 { # A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.
110 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
111 { # A unit of data that is returned by the DNS servers.
112 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
113 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
114 &quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
115 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
116 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
117 { # ResourceRecordSet data for one geo location.
118 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
119 &quot;location&quot;: &quot;A String&quot;, # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. &quot;us-east1&quot;, &quot;southamerica-east1&quot;, &quot;asia-east1&quot;, etc.
120 &quot;rrdatas&quot;: [
121 &quot;A String&quot;,
122 ],
123 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
124 &quot;A String&quot;,
125 ],
126 },
127 ],
128 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
129 },
130 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
131 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
132 &quot;items&quot;: [
133 { # A routing block which contains the routing information for one WRR item.
134 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
135 &quot;rrdatas&quot;: [
136 &quot;A String&quot;,
137 ],
138 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
139 &quot;A String&quot;,
140 ],
141 &quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
142 },
143 ],
144 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
145 },
146 },
147 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
148 &quot;A String&quot;,
149 ],
150 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
151 &quot;A String&quot;,
152 ],
153 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
154 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
155 },
156 ],
157 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
158 { # A unit of data that is returned by the DNS servers.
159 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
160 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
161 &quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
162 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
163 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
164 { # ResourceRecordSet data for one geo location.
165 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
166 &quot;location&quot;: &quot;A String&quot;, # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. &quot;us-east1&quot;, &quot;southamerica-east1&quot;, &quot;asia-east1&quot;, etc.
167 &quot;rrdatas&quot;: [
168 &quot;A String&quot;,
169 ],
170 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
171 &quot;A String&quot;,
172 ],
173 },
174 ],
175 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
176 },
177 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
178 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
179 &quot;items&quot;: [
180 { # A routing block which contains the routing information for one WRR item.
181 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
182 &quot;rrdatas&quot;: [
183 &quot;A String&quot;,
184 ],
185 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
186 &quot;A String&quot;,
187 ],
188 &quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
189 },
190 ],
191 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
192 },
193 },
194 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
195 &quot;A String&quot;,
196 ],
197 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
198 &quot;A String&quot;,
199 ],
200 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
201 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
202 },
203 ],
204 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
205 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
206 &quot;kind&quot;: &quot;dns#change&quot;,
207 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This is in RFC3339 text format.
208 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
209 }
210
211 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
212 x__xgafv: string, V1 error format.
213 Allowed values
214 1 - v1 error format
215 2 - v2 error format
216
217 Returns:
218 An object of the form:
219
220 { # A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.
221 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
222 { # A unit of data that is returned by the DNS servers.
223 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
224 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
225 &quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
226 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
227 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
228 { # ResourceRecordSet data for one geo location.
229 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
230 &quot;location&quot;: &quot;A String&quot;, # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. &quot;us-east1&quot;, &quot;southamerica-east1&quot;, &quot;asia-east1&quot;, etc.
231 &quot;rrdatas&quot;: [
232 &quot;A String&quot;,
233 ],
234 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
235 &quot;A String&quot;,
236 ],
237 },
238 ],
239 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
240 },
241 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
242 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
243 &quot;items&quot;: [
244 { # A routing block which contains the routing information for one WRR item.
245 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
246 &quot;rrdatas&quot;: [
247 &quot;A String&quot;,
248 ],
249 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
250 &quot;A String&quot;,
251 ],
252 &quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
253 },
254 ],
255 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
256 },
257 },
258 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
259 &quot;A String&quot;,
260 ],
261 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
262 &quot;A String&quot;,
263 ],
264 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
265 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
266 },
267 ],
268 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
269 { # A unit of data that is returned by the DNS servers.
270 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
271 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
272 &quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
273 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
274 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
275 { # ResourceRecordSet data for one geo location.
276 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
277 &quot;location&quot;: &quot;A String&quot;, # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. &quot;us-east1&quot;, &quot;southamerica-east1&quot;, &quot;asia-east1&quot;, etc.
278 &quot;rrdatas&quot;: [
279 &quot;A String&quot;,
280 ],
281 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
282 &quot;A String&quot;,
283 ],
284 },
285 ],
286 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
287 },
288 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
289 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
290 &quot;items&quot;: [
291 { # A routing block which contains the routing information for one WRR item.
292 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
293 &quot;rrdatas&quot;: [
294 &quot;A String&quot;,
295 ],
296 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
297 &quot;A String&quot;,
298 ],
299 &quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
300 },
301 ],
302 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
303 },
304 },
305 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
306 &quot;A String&quot;,
307 ],
308 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
309 &quot;A String&quot;,
310 ],
311 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
312 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
313 },
314 ],
315 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
316 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
317 &quot;kind&quot;: &quot;dns#change&quot;,
318 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This is in RFC3339 text format.
319 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
320 }</pre>
321 </div>
322
323 <div class="method">
324 <code class="details" id="get">get(project, location, managedZone, changeId, clientOperationId=None, x__xgafv=None)</code>
325 <pre>Fetches the representation of an existing Change.
326
327 Args:
328 project: string, Identifies the project addressed by this request. (required)
329 location: string, A parameter (required)
330 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
331 changeId: string, The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse. (required)
332 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
333 x__xgafv: string, V1 error format.
334 Allowed values
335 1 - v1 error format
336 2 - v2 error format
337
338 Returns:
339 An object of the form:
340
341 { # A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.
342 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
343 { # A unit of data that is returned by the DNS servers.
344 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
345 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
346 &quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
347 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
348 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
349 { # ResourceRecordSet data for one geo location.
350 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
351 &quot;location&quot;: &quot;A String&quot;, # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. &quot;us-east1&quot;, &quot;southamerica-east1&quot;, &quot;asia-east1&quot;, etc.
352 &quot;rrdatas&quot;: [
353 &quot;A String&quot;,
354 ],
355 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
356 &quot;A String&quot;,
357 ],
358 },
359 ],
360 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
361 },
362 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
363 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
364 &quot;items&quot;: [
365 { # A routing block which contains the routing information for one WRR item.
366 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
367 &quot;rrdatas&quot;: [
368 &quot;A String&quot;,
369 ],
370 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
371 &quot;A String&quot;,
372 ],
373 &quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
374 },
375 ],
376 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
377 },
378 },
379 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
380 &quot;A String&quot;,
381 ],
382 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
383 &quot;A String&quot;,
384 ],
385 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
386 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
387 },
388 ],
389 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
390 { # A unit of data that is returned by the DNS servers.
391 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
392 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
393 &quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
394 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
395 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
396 { # ResourceRecordSet data for one geo location.
397 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
398 &quot;location&quot;: &quot;A String&quot;, # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. &quot;us-east1&quot;, &quot;southamerica-east1&quot;, &quot;asia-east1&quot;, etc.
399 &quot;rrdatas&quot;: [
400 &quot;A String&quot;,
401 ],
402 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
403 &quot;A String&quot;,
404 ],
405 },
406 ],
407 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
408 },
409 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
410 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
411 &quot;items&quot;: [
412 { # A routing block which contains the routing information for one WRR item.
413 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
414 &quot;rrdatas&quot;: [
415 &quot;A String&quot;,
416 ],
417 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
418 &quot;A String&quot;,
419 ],
420 &quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
421 },
422 ],
423 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
424 },
425 },
426 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
427 &quot;A String&quot;,
428 ],
429 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
430 &quot;A String&quot;,
431 ],
432 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
433 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
434 },
435 ],
436 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
437 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
438 &quot;kind&quot;: &quot;dns#change&quot;,
439 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This is in RFC3339 text format.
440 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
441 }</pre>
442 </div>
443
444 <div class="method">
445 <code class="details" id="list">list(project, location, managedZone, maxResults=None, pageToken=None, sortBy=None, sortOrder=None, x__xgafv=None)</code>
446 <pre>Enumerates Changes to a ResourceRecordSet collection.
447
448 Args:
449 project: string, Identifies the project addressed by this request. (required)
450 location: string, A parameter (required)
451 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
452 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
453 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
454 sortBy: string, Sorting criterion. The only supported value is change sequence.
455 Allowed values
456 CHANGE_SEQUENCE -
457 sortOrder: string, Sorting order direction: &#x27;ascending&#x27; or &#x27;descending&#x27;.
458 x__xgafv: string, V1 error format.
459 Allowed values
460 1 - v1 error format
461 2 - v2 error format
462
463 Returns:
464 An object of the form:
465
466 { # The response to a request to enumerate Changes to a ResourceRecordSets collection.
467 &quot;changes&quot;: [ # The requested changes.
468 { # A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.
469 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
470 { # A unit of data that is returned by the DNS servers.
471 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
472 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
473 &quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
474 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
475 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
476 { # ResourceRecordSet data for one geo location.
477 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
478 &quot;location&quot;: &quot;A String&quot;, # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. &quot;us-east1&quot;, &quot;southamerica-east1&quot;, &quot;asia-east1&quot;, etc.
479 &quot;rrdatas&quot;: [
480 &quot;A String&quot;,
481 ],
482 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
483 &quot;A String&quot;,
484 ],
485 },
486 ],
487 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
488 },
489 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
490 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
491 &quot;items&quot;: [
492 { # A routing block which contains the routing information for one WRR item.
493 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
494 &quot;rrdatas&quot;: [
495 &quot;A String&quot;,
496 ],
497 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
498 &quot;A String&quot;,
499 ],
500 &quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
501 },
502 ],
503 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
504 },
505 },
506 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
507 &quot;A String&quot;,
508 ],
509 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
510 &quot;A String&quot;,
511 ],
512 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
513 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
514 },
515 ],
516 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
517 { # A unit of data that is returned by the DNS servers.
518 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
519 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
520 &quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
521 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
522 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
523 { # ResourceRecordSet data for one geo location.
524 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
525 &quot;location&quot;: &quot;A String&quot;, # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. &quot;us-east1&quot;, &quot;southamerica-east1&quot;, &quot;asia-east1&quot;, etc.
526 &quot;rrdatas&quot;: [
527 &quot;A String&quot;,
528 ],
529 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
530 &quot;A String&quot;,
531 ],
532 },
533 ],
534 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
535 },
536 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
537 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
538 &quot;items&quot;: [
539 { # A routing block which contains the routing information for one WRR item.
540 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
541 &quot;rrdatas&quot;: [
542 &quot;A String&quot;,
543 ],
544 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there&#x27;s a restriction of 1 ip per item. .
545 &quot;A String&quot;,
546 ],
547 &quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
548 },
549 ],
550 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
551 },
552 },
553 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
554 &quot;A String&quot;,
555 ],
556 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
557 &quot;A String&quot;,
558 ],
559 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
560 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
561 },
562 ],
563 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
564 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
565 &quot;kind&quot;: &quot;dns#change&quot;,
566 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This is in RFC3339 text format.
567 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
568 },
569 ],
570 &quot;header&quot;: { # Elements common to every response.
571 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).
572 },
573 &quot;kind&quot;: &quot;dns#changesListResponse&quot;, # Type of resource.
574 &quot;nextPageToken&quot;: &quot;A String&quot;, # The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a &quot;snapshot&quot; of collections larger than the maximum page size.
575 }</pre>
576 </div>
577
578 <div class="method">
579 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
580 <pre>Retrieves the next page of results.
581
582 Args:
583 previous_request: The request for the previous page. (required)
584 previous_response: The response from the request for the previous page. (required)
585
586 Returns:
587 A request object that you can call &#x27;execute()&#x27; on to request the next
588 page. Returns None if there are no more items in the collection.
589 </pre>
590 </div>
591
592 </body></html>