Debian Codegraph @

docs/dyn/dns_v2.resourceRecordSets.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.resourceRecordSets.html">resourceRecordSets</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">Creates a new ResourceRecordSet.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(project, location, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a previously created ResourceRecordSet.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(project, location, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Fetches the representation of an existing ResourceRecordSet.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(project, location, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Enumerates ResourceRecordSets that you have created but not yet deleted.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(project, location, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Applies a partial update to an existing ResourceRecordSet.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(project, location, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
106 <pre>Creates a new ResourceRecordSet.
107
108 Args:
109 project: string, Identifies the project addressed by this request. (required)
110 location: string, Specifies the location of the resource. This information will be used for routing and will be part of the resource name. (required)
111 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
112 body: object, The request body.
113 The object takes the form of:
114
115 { # A unit of data that is returned by the DNS servers.
116 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
117 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
118 &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.
119 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
120 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
121 { # ResourceRecordSet data for one geo location.
122 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
123 &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.
124 &quot;rrdatas&quot;: [
125 &quot;A String&quot;,
126 ],
127 &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. .
128 &quot;A String&quot;,
129 ],
130 },
131 ],
132 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
133 },
134 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
135 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
136 &quot;items&quot;: [
137 { # A routing block which contains the routing information for one WRR item.
138 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
139 &quot;rrdatas&quot;: [
140 &quot;A String&quot;,
141 ],
142 &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. .
143 &quot;A String&quot;,
144 ],
145 &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.
146 },
147 ],
148 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
149 },
150 },
151 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
152 &quot;A String&quot;,
153 ],
154 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
155 &quot;A String&quot;,
156 ],
157 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
158 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
159 }
160
161 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
162 x__xgafv: string, V1 error format.
163 Allowed values
164 1 - v1 error format
165 2 - v2 error format
166
167 Returns:
168 An object of the form:
169
170 { # A unit of data that is returned by the DNS servers.
171 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
172 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
173 &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.
174 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
175 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
176 { # ResourceRecordSet data for one geo location.
177 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
178 &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.
179 &quot;rrdatas&quot;: [
180 &quot;A String&quot;,
181 ],
182 &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. .
183 &quot;A String&quot;,
184 ],
185 },
186 ],
187 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
188 },
189 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
190 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
191 &quot;items&quot;: [
192 { # A routing block which contains the routing information for one WRR item.
193 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
194 &quot;rrdatas&quot;: [
195 &quot;A String&quot;,
196 ],
197 &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. .
198 &quot;A String&quot;,
199 ],
200 &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.
201 },
202 ],
203 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
204 },
205 },
206 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
207 &quot;A String&quot;,
208 ],
209 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
210 &quot;A String&quot;,
211 ],
212 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
213 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
214 }</pre>
215 </div>
216
217 <div class="method">
218 <code class="details" id="delete">delete(project, location, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
219 <pre>Deletes a previously created ResourceRecordSet.
220
221 Args:
222 project: string, Identifies the project addressed by this request. (required)
223 location: string, Specifies the location of the resource. This information will be used for routing and will be part of the resource name. (required)
224 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
225 name: string, Fully qualified domain name. (required)
226 type: string, RRSet type. (required)
227 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
228 x__xgafv: string, V1 error format.
229 Allowed values
230 1 - v1 error format
231 2 - v2 error format
232 </pre>
233 </div>
234
235 <div class="method">
236 <code class="details" id="get">get(project, location, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
237 <pre>Fetches the representation of an existing ResourceRecordSet.
238
239 Args:
240 project: string, Identifies the project addressed by this request. (required)
241 location: string, Specifies the location of the resource. This information will be used for routing and will be part of the resource name. (required)
242 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
243 name: string, Fully qualified domain name. (required)
244 type: string, RRSet type. (required)
245 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
246 x__xgafv: string, V1 error format.
247 Allowed values
248 1 - v1 error format
249 2 - v2 error format
250
251 Returns:
252 An object of the form:
253
254 { # A unit of data that is returned by the DNS servers.
255 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
256 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
257 &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.
258 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
259 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
260 { # ResourceRecordSet data for one geo location.
261 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
262 &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.
263 &quot;rrdatas&quot;: [
264 &quot;A String&quot;,
265 ],
266 &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. .
267 &quot;A String&quot;,
268 ],
269 },
270 ],
271 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
272 },
273 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
274 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
275 &quot;items&quot;: [
276 { # A routing block which contains the routing information for one WRR item.
277 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
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 &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.
285 },
286 ],
287 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
288 },
289 },
290 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
291 &quot;A String&quot;,
292 ],
293 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
294 &quot;A String&quot;,
295 ],
296 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
297 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
298 }</pre>
299 </div>
300
301 <div class="method">
302 <code class="details" id="list">list(project, location, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</code>
303 <pre>Enumerates ResourceRecordSets that you have created but not yet deleted.
304
305 Args:
306 project: string, Identifies the project addressed by this request. (required)
307 location: string, Specifies the location of the resource. This information will be used for routing and will be part of the resource name. (required)
308 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
309 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
310 name: string, Restricts the list to return only records with this fully qualified domain name.
311 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
312 type: string, Restricts the list to return only records of this type. If present, the &quot;name&quot; parameter must also be present.
313 x__xgafv: string, V1 error format.
314 Allowed values
315 1 - v1 error format
316 2 - v2 error format
317
318 Returns:
319 An object of the form:
320
321 {
322 &quot;header&quot;: { # Elements common to every response.
323 &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).
324 },
325 &quot;kind&quot;: &quot;dns#resourceRecordSetsListResponse&quot;, # Type of resource.
326 &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 complete contents of even larger 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 elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.
327 &quot;rrsets&quot;: [ # The resource record set resources.
328 { # A unit of data that is returned by the DNS servers.
329 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
330 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
331 &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.
332 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
333 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
334 { # ResourceRecordSet data for one geo location.
335 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
336 &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.
337 &quot;rrdatas&quot;: [
338 &quot;A String&quot;,
339 ],
340 &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. .
341 &quot;A String&quot;,
342 ],
343 },
344 ],
345 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
346 },
347 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
348 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
349 &quot;items&quot;: [
350 { # A routing block which contains the routing information for one WRR item.
351 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
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 &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.
359 },
360 ],
361 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
362 },
363 },
364 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
365 &quot;A String&quot;,
366 ],
367 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
368 &quot;A String&quot;,
369 ],
370 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
371 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
372 },
373 ],
374 }</pre>
375 </div>
376
377 <div class="method">
378 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
379 <pre>Retrieves the next page of results.
380
381 Args:
382 previous_request: The request for the previous page. (required)
383 previous_response: The response from the request for the previous page. (required)
384
385 Returns:
386 A request object that you can call &#x27;execute()&#x27; on to request the next
387 page. Returns None if there are no more items in the collection.
388 </pre>
389 </div>
390
391 <div class="method">
392 <code class="details" id="patch">patch(project, location, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</code>
393 <pre>Applies a partial update to an existing ResourceRecordSet.
394
395 Args:
396 project: string, Identifies the project addressed by this request. (required)
397 location: string, Specifies the location of the resource. This information will be used for routing and will be part of the resource name. (required)
398 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
399 name: string, Fully qualified domain name. (required)
400 type: string, RRSet type. (required)
401 body: object, The request body.
402 The object takes the form of:
403
404 { # A unit of data that is returned by the DNS servers.
405 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
406 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
407 &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.
408 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
409 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
410 { # ResourceRecordSet data for one geo location.
411 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
412 &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.
413 &quot;rrdatas&quot;: [
414 &quot;A String&quot;,
415 ],
416 &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. .
417 &quot;A String&quot;,
418 ],
419 },
420 ],
421 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
422 },
423 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
424 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
425 &quot;items&quot;: [
426 { # A routing block which contains the routing information for one WRR item.
427 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
428 &quot;rrdatas&quot;: [
429 &quot;A String&quot;,
430 ],
431 &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. .
432 &quot;A String&quot;,
433 ],
434 &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.
435 },
436 ],
437 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
438 },
439 },
440 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
441 &quot;A String&quot;,
442 ],
443 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
444 &quot;A String&quot;,
445 ],
446 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
447 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
448 }
449
450 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
451 x__xgafv: string, V1 error format.
452 Allowed values
453 1 - v1 error format
454 2 - v2 error format
455
456 Returns:
457 An object of the form:
458
459 { # A unit of data that is returned by the DNS servers.
460 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
461 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
462 &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.
463 &quot;geo&quot;: { # Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
464 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
465 { # ResourceRecordSet data for one geo location.
466 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
467 &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.
468 &quot;rrdatas&quot;: [
469 &quot;A String&quot;,
470 ],
471 &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. .
472 &quot;A String&quot;,
473 ],
474 },
475 ],
476 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
477 },
478 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
479 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
480 &quot;items&quot;: [
481 { # A routing block which contains the routing information for one WRR item.
482 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
483 &quot;rrdatas&quot;: [
484 &quot;A String&quot;,
485 ],
486 &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. .
487 &quot;A String&quot;,
488 ],
489 &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.
490 },
491 ],
492 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
493 },
494 },
495 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
496 &quot;A String&quot;,
497 ],
498 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
499 &quot;A String&quot;,
500 ],
501 &quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
502 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
503 }</pre>
504 </div>
505
506 </body></html>