1<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 75<h1><a href="dns_v1beta2.html">Cloud DNS API</a> . <a href="dns_v1beta2.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, 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, 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, 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, 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, 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, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code> 106 <pre>Creates a new ResourceRecordSet. 107 108Args: 109 project: string, Identifies the project addressed by this request. (required) 110 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 111 body: object, The request body. 112 The object takes the form of: 113 114{ # A unit of data that is returned by the DNS servers. 115 "kind": "dns#resourceRecordSet", 116 "name": "A String", # For example, www.example.com. 117 "routingPolicy": { # 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. 118 "geo": { 119 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 120 { 121 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 122 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 123 "rrdatas": [ 124 "A String", 125 ], 126 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 127 "A String", 128 ], 129 }, 130 ], 131 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 132 }, 133 "geoPolicy": { 134 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 135 { 136 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 137 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 138 "rrdatas": [ 139 "A String", 140 ], 141 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 142 "A String", 143 ], 144 }, 145 ], 146 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 147 }, 148 "kind": "dns#rRSetRoutingPolicy", 149 "wrr": { 150 "items": [ 151 { 152 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 153 "rrdatas": [ 154 "A String", 155 ], 156 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 157 "A String", 158 ], 159 "weight": 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. 160 }, 161 ], 162 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 163 }, 164 "wrrPolicy": { 165 "items": [ 166 { 167 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 168 "rrdatas": [ 169 "A String", 170 ], 171 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 172 "A String", 173 ], 174 "weight": 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. 175 }, 176 ], 177 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 178 }, 179 }, 180 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 181 "A String", 182 ], 183 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 184 "A String", 185 ], 186 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 187 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 188} 189 190 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. 191 x__xgafv: string, V1 error format. 192 Allowed values 193 1 - v1 error format 194 2 - v2 error format 195 196Returns: 197 An object of the form: 198 199 { # A unit of data that is returned by the DNS servers. 200 "kind": "dns#resourceRecordSet", 201 "name": "A String", # For example, www.example.com. 202 "routingPolicy": { # 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. 203 "geo": { 204 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 205 { 206 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 207 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 208 "rrdatas": [ 209 "A String", 210 ], 211 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 212 "A String", 213 ], 214 }, 215 ], 216 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 217 }, 218 "geoPolicy": { 219 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 220 { 221 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 222 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 223 "rrdatas": [ 224 "A String", 225 ], 226 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 227 "A String", 228 ], 229 }, 230 ], 231 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 232 }, 233 "kind": "dns#rRSetRoutingPolicy", 234 "wrr": { 235 "items": [ 236 { 237 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 238 "rrdatas": [ 239 "A String", 240 ], 241 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 242 "A String", 243 ], 244 "weight": 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. 245 }, 246 ], 247 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 248 }, 249 "wrrPolicy": { 250 "items": [ 251 { 252 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 253 "rrdatas": [ 254 "A String", 255 ], 256 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 257 "A String", 258 ], 259 "weight": 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. 260 }, 261 ], 262 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 263 }, 264 }, 265 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 266 "A String", 267 ], 268 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 269 "A String", 270 ], 271 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 272 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 273}</pre> 274</div> 275 276<div class="method"> 277 <code class="details" id="delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code> 278 <pre>Deletes a previously created ResourceRecordSet. 279 280Args: 281 project: string, Identifies the project addressed by this request. (required) 282 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 283 name: string, Fully qualified domain name. (required) 284 type: string, RRSet type. (required) 285 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. 286 x__xgafv: string, V1 error format. 287 Allowed values 288 1 - v1 error format 289 2 - v2 error format 290</pre> 291</div> 292 293<div class="method"> 294 <code class="details" id="get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code> 295 <pre>Fetches the representation of an existing ResourceRecordSet. 296 297Args: 298 project: string, Identifies the project addressed by this request. (required) 299 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 300 name: string, Fully qualified domain name. (required) 301 type: string, RRSet type. (required) 302 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. 303 x__xgafv: string, V1 error format. 304 Allowed values 305 1 - v1 error format 306 2 - v2 error format 307 308Returns: 309 An object of the form: 310 311 { # A unit of data that is returned by the DNS servers. 312 "kind": "dns#resourceRecordSet", 313 "name": "A String", # For example, www.example.com. 314 "routingPolicy": { # 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. 315 "geo": { 316 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 317 { 318 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 319 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 320 "rrdatas": [ 321 "A String", 322 ], 323 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 324 "A String", 325 ], 326 }, 327 ], 328 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 329 }, 330 "geoPolicy": { 331 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 332 { 333 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 334 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 335 "rrdatas": [ 336 "A String", 337 ], 338 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 339 "A String", 340 ], 341 }, 342 ], 343 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 344 }, 345 "kind": "dns#rRSetRoutingPolicy", 346 "wrr": { 347 "items": [ 348 { 349 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 350 "rrdatas": [ 351 "A String", 352 ], 353 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 354 "A String", 355 ], 356 "weight": 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. 357 }, 358 ], 359 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 360 }, 361 "wrrPolicy": { 362 "items": [ 363 { 364 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 365 "rrdatas": [ 366 "A String", 367 ], 368 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 369 "A String", 370 ], 371 "weight": 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. 372 }, 373 ], 374 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 375 }, 376 }, 377 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 378 "A String", 379 ], 380 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 381 "A String", 382 ], 383 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 384 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 385}</pre> 386</div> 387 388<div class="method"> 389 <code class="details" id="list">list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</code> 390 <pre>Enumerates ResourceRecordSets that you have created but not yet deleted. 391 392Args: 393 project: string, Identifies the project addressed by this request. (required) 394 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 395 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return. 396 name: string, Restricts the list to return only records with this fully qualified domain name. 397 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request. 398 type: string, Restricts the list to return only records of this type. If present, the "name" parameter must also be present. 399 x__xgafv: string, V1 error format. 400 Allowed values 401 1 - v1 error format 402 2 - v2 error format 403 404Returns: 405 An object of the form: 406 407 { 408 "header": { # Elements common to every response. 409 "operationId": "A String", # 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). 410 }, 411 "kind": "dns#resourceRecordSetsListResponse", # Type of resource. 412 "nextPageToken": "A String", # 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. 413 "rrsets": [ # The resource record set resources. 414 { # A unit of data that is returned by the DNS servers. 415 "kind": "dns#resourceRecordSet", 416 "name": "A String", # For example, www.example.com. 417 "routingPolicy": { # 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. 418 "geo": { 419 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 420 { 421 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 422 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 423 "rrdatas": [ 424 "A String", 425 ], 426 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 427 "A String", 428 ], 429 }, 430 ], 431 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 432 }, 433 "geoPolicy": { 434 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 435 { 436 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 437 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 438 "rrdatas": [ 439 "A String", 440 ], 441 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 442 "A String", 443 ], 444 }, 445 ], 446 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 447 }, 448 "kind": "dns#rRSetRoutingPolicy", 449 "wrr": { 450 "items": [ 451 { 452 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 453 "rrdatas": [ 454 "A String", 455 ], 456 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 457 "A String", 458 ], 459 "weight": 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. 460 }, 461 ], 462 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 463 }, 464 "wrrPolicy": { 465 "items": [ 466 { 467 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 468 "rrdatas": [ 469 "A String", 470 ], 471 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 472 "A String", 473 ], 474 "weight": 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. 475 }, 476 ], 477 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 478 }, 479 }, 480 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 481 "A String", 482 ], 483 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 484 "A String", 485 ], 486 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 487 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 488 }, 489 ], 490}</pre> 491</div> 492 493<div class="method"> 494 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 495 <pre>Retrieves the next page of results. 496 497Args: 498 previous_request: The request for the previous page. (required) 499 previous_response: The response from the request for the previous page. (required) 500 501Returns: 502 A request object that you can call 'execute()' on to request the next 503 page. Returns None if there are no more items in the collection. 504 </pre> 505</div> 506 507<div class="method"> 508 <code class="details" id="patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</code> 509 <pre>Applies a partial update to an existing ResourceRecordSet. 510 511Args: 512 project: string, Identifies the project addressed by this request. (required) 513 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 514 name: string, Fully qualified domain name. (required) 515 type: string, RRSet type. (required) 516 body: object, The request body. 517 The object takes the form of: 518 519{ # A unit of data that is returned by the DNS servers. 520 "kind": "dns#resourceRecordSet", 521 "name": "A String", # For example, www.example.com. 522 "routingPolicy": { # 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. 523 "geo": { 524 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 525 { 526 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 527 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 528 "rrdatas": [ 529 "A String", 530 ], 531 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 532 "A String", 533 ], 534 }, 535 ], 536 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 537 }, 538 "geoPolicy": { 539 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 540 { 541 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 542 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 543 "rrdatas": [ 544 "A String", 545 ], 546 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 547 "A String", 548 ], 549 }, 550 ], 551 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 552 }, 553 "kind": "dns#rRSetRoutingPolicy", 554 "wrr": { 555 "items": [ 556 { 557 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 558 "rrdatas": [ 559 "A String", 560 ], 561 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 562 "A String", 563 ], 564 "weight": 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. 565 }, 566 ], 567 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 568 }, 569 "wrrPolicy": { 570 "items": [ 571 { 572 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 573 "rrdatas": [ 574 "A String", 575 ], 576 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 577 "A String", 578 ], 579 "weight": 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. 580 }, 581 ], 582 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 583 }, 584 }, 585 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 586 "A String", 587 ], 588 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 589 "A String", 590 ], 591 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 592 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 593} 594 595 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. 596 x__xgafv: string, V1 error format. 597 Allowed values 598 1 - v1 error format 599 2 - v2 error format 600 601Returns: 602 An object of the form: 603 604 { # A unit of data that is returned by the DNS servers. 605 "kind": "dns#resourceRecordSet", 606 "name": "A String", # For example, www.example.com. 607 "routingPolicy": { # 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. 608 "geo": { 609 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 610 { 611 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 612 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 613 "rrdatas": [ 614 "A String", 615 ], 616 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 617 "A String", 618 ], 619 }, 620 ], 621 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 622 }, 623 "geoPolicy": { 624 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 625 { 626 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 627 "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. 628 "rrdatas": [ 629 "A String", 630 ], 631 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 632 "A String", 633 ], 634 }, 635 ], 636 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 637 }, 638 "kind": "dns#rRSetRoutingPolicy", 639 "wrr": { 640 "items": [ 641 { 642 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 643 "rrdatas": [ 644 "A String", 645 ], 646 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 647 "A String", 648 ], 649 "weight": 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. 650 }, 651 ], 652 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 653 }, 654 "wrrPolicy": { 655 "items": [ 656 { 657 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 658 "rrdatas": [ 659 "A String", 660 ], 661 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 662 "A String", 663 ], 664 "weight": 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. 665 }, 666 ], 667 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 668 }, 669 }, 670 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 671 "A String", 672 ], 673 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 674 "A String", 675 ], 676 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 677 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 678}</pre> 679</div> 680 681</body></html>