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.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, 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, 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, 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, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code> 100 <pre>Atomically updates the ResourceRecordSet collection. 101 102Args: 103 project: string, Identifies the project addressed by this request. (required) 104 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 105 body: object, The request body. 106 The object takes the form of: 107 108{ # 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. 109 "additions": [ # Which ResourceRecordSets to add? 110 { # A unit of data that is returned by the DNS servers. 111 "kind": "dns#resourceRecordSet", 112 "name": "A String", # For example, www.example.com. 113 "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. 114 "geo": { 115 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 116 { 117 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 118 "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. 119 "rrdatas": [ 120 "A String", 121 ], 122 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 123 "A String", 124 ], 125 }, 126 ], 127 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 128 }, 129 "geoPolicy": { 130 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 131 { 132 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 133 "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. 134 "rrdatas": [ 135 "A String", 136 ], 137 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 138 "A String", 139 ], 140 }, 141 ], 142 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 143 }, 144 "kind": "dns#rRSetRoutingPolicy", 145 "wrr": { 146 "items": [ 147 { 148 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 149 "rrdatas": [ 150 "A String", 151 ], 152 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 153 "A String", 154 ], 155 "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. 156 }, 157 ], 158 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 159 }, 160 "wrrPolicy": { 161 "items": [ 162 { 163 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 164 "rrdatas": [ 165 "A String", 166 ], 167 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 168 "A String", 169 ], 170 "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. 171 }, 172 ], 173 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 174 }, 175 }, 176 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 177 "A String", 178 ], 179 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 180 "A String", 181 ], 182 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 183 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 184 }, 185 ], 186 "deletions": [ # Which ResourceRecordSets to remove? Must match existing data exactly. 187 { # A unit of data that is returned by the DNS servers. 188 "kind": "dns#resourceRecordSet", 189 "name": "A String", # For example, www.example.com. 190 "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. 191 "geo": { 192 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 193 { 194 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 195 "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. 196 "rrdatas": [ 197 "A String", 198 ], 199 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 200 "A String", 201 ], 202 }, 203 ], 204 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 205 }, 206 "geoPolicy": { 207 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 208 { 209 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 210 "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. 211 "rrdatas": [ 212 "A String", 213 ], 214 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 215 "A String", 216 ], 217 }, 218 ], 219 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 220 }, 221 "kind": "dns#rRSetRoutingPolicy", 222 "wrr": { 223 "items": [ 224 { 225 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 226 "rrdatas": [ 227 "A String", 228 ], 229 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 230 "A String", 231 ], 232 "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. 233 }, 234 ], 235 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 236 }, 237 "wrrPolicy": { 238 "items": [ 239 { 240 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 241 "rrdatas": [ 242 "A String", 243 ], 244 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 245 "A String", 246 ], 247 "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. 248 }, 249 ], 250 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 251 }, 252 }, 253 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 254 "A String", 255 ], 256 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 257 "A String", 258 ], 259 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 260 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 261 }, 262 ], 263 "id": "A String", # Unique identifier for the resource; defined by the server (output only). 264 "isServing": True or False, # If the DNS queries for the zone will be served. 265 "kind": "dns#change", 266 "startTime": "A String", # The time that this operation was started by the server (output only). This is in RFC3339 text format. 267 "status": "A String", # Status of the operation (output only). A status of "done" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet. 268} 269 270 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. 271 x__xgafv: string, V1 error format. 272 Allowed values 273 1 - v1 error format 274 2 - v2 error format 275 276Returns: 277 An object of the form: 278 279 { # 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. 280 "additions": [ # Which ResourceRecordSets to add? 281 { # A unit of data that is returned by the DNS servers. 282 "kind": "dns#resourceRecordSet", 283 "name": "A String", # For example, www.example.com. 284 "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. 285 "geo": { 286 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 287 { 288 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 289 "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. 290 "rrdatas": [ 291 "A String", 292 ], 293 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 294 "A String", 295 ], 296 }, 297 ], 298 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 299 }, 300 "geoPolicy": { 301 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 302 { 303 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 304 "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. 305 "rrdatas": [ 306 "A String", 307 ], 308 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 309 "A String", 310 ], 311 }, 312 ], 313 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 314 }, 315 "kind": "dns#rRSetRoutingPolicy", 316 "wrr": { 317 "items": [ 318 { 319 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 320 "rrdatas": [ 321 "A String", 322 ], 323 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 324 "A String", 325 ], 326 "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. 327 }, 328 ], 329 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 330 }, 331 "wrrPolicy": { 332 "items": [ 333 { 334 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 335 "rrdatas": [ 336 "A String", 337 ], 338 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 339 "A String", 340 ], 341 "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. 342 }, 343 ], 344 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 345 }, 346 }, 347 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 348 "A String", 349 ], 350 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 351 "A String", 352 ], 353 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 354 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 355 }, 356 ], 357 "deletions": [ # Which ResourceRecordSets to remove? Must match existing data exactly. 358 { # A unit of data that is returned by the DNS servers. 359 "kind": "dns#resourceRecordSet", 360 "name": "A String", # For example, www.example.com. 361 "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. 362 "geo": { 363 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 364 { 365 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 366 "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. 367 "rrdatas": [ 368 "A String", 369 ], 370 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 371 "A String", 372 ], 373 }, 374 ], 375 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 376 }, 377 "geoPolicy": { 378 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 379 { 380 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 381 "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. 382 "rrdatas": [ 383 "A String", 384 ], 385 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 386 "A String", 387 ], 388 }, 389 ], 390 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 391 }, 392 "kind": "dns#rRSetRoutingPolicy", 393 "wrr": { 394 "items": [ 395 { 396 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 397 "rrdatas": [ 398 "A String", 399 ], 400 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 401 "A String", 402 ], 403 "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. 404 }, 405 ], 406 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 407 }, 408 "wrrPolicy": { 409 "items": [ 410 { 411 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 412 "rrdatas": [ 413 "A String", 414 ], 415 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 416 "A String", 417 ], 418 "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. 419 }, 420 ], 421 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 422 }, 423 }, 424 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 425 "A String", 426 ], 427 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 428 "A String", 429 ], 430 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 431 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 432 }, 433 ], 434 "id": "A String", # Unique identifier for the resource; defined by the server (output only). 435 "isServing": True or False, # If the DNS queries for the zone will be served. 436 "kind": "dns#change", 437 "startTime": "A String", # The time that this operation was started by the server (output only). This is in RFC3339 text format. 438 "status": "A String", # Status of the operation (output only). A status of "done" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet. 439}</pre> 440</div> 441 442<div class="method"> 443 <code class="details" id="get">get(project, managedZone, changeId, clientOperationId=None, x__xgafv=None)</code> 444 <pre>Fetches the representation of an existing Change. 445 446Args: 447 project: string, Identifies the project addressed by this request. (required) 448 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 449 changeId: string, The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse. (required) 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 456Returns: 457 An object of the form: 458 459 { # 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. 460 "additions": [ # Which ResourceRecordSets to add? 461 { # A unit of data that is returned by the DNS servers. 462 "kind": "dns#resourceRecordSet", 463 "name": "A String", # For example, www.example.com. 464 "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. 465 "geo": { 466 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 467 { 468 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 469 "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. 470 "rrdatas": [ 471 "A String", 472 ], 473 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 474 "A String", 475 ], 476 }, 477 ], 478 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 479 }, 480 "geoPolicy": { 481 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 482 { 483 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 484 "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. 485 "rrdatas": [ 486 "A String", 487 ], 488 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 489 "A String", 490 ], 491 }, 492 ], 493 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 494 }, 495 "kind": "dns#rRSetRoutingPolicy", 496 "wrr": { 497 "items": [ 498 { 499 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 500 "rrdatas": [ 501 "A String", 502 ], 503 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 504 "A String", 505 ], 506 "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. 507 }, 508 ], 509 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 510 }, 511 "wrrPolicy": { 512 "items": [ 513 { 514 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 515 "rrdatas": [ 516 "A String", 517 ], 518 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 519 "A String", 520 ], 521 "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. 522 }, 523 ], 524 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 525 }, 526 }, 527 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 528 "A String", 529 ], 530 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 531 "A String", 532 ], 533 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 534 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 535 }, 536 ], 537 "deletions": [ # Which ResourceRecordSets to remove? Must match existing data exactly. 538 { # A unit of data that is returned by the DNS servers. 539 "kind": "dns#resourceRecordSet", 540 "name": "A String", # For example, www.example.com. 541 "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. 542 "geo": { 543 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 544 { 545 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 546 "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. 547 "rrdatas": [ 548 "A String", 549 ], 550 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 551 "A String", 552 ], 553 }, 554 ], 555 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 556 }, 557 "geoPolicy": { 558 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 559 { 560 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 561 "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. 562 "rrdatas": [ 563 "A String", 564 ], 565 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 566 "A String", 567 ], 568 }, 569 ], 570 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 571 }, 572 "kind": "dns#rRSetRoutingPolicy", 573 "wrr": { 574 "items": [ 575 { 576 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 577 "rrdatas": [ 578 "A String", 579 ], 580 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 581 "A String", 582 ], 583 "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. 584 }, 585 ], 586 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 587 }, 588 "wrrPolicy": { 589 "items": [ 590 { 591 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 592 "rrdatas": [ 593 "A String", 594 ], 595 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 596 "A String", 597 ], 598 "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. 599 }, 600 ], 601 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 602 }, 603 }, 604 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 605 "A String", 606 ], 607 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 608 "A String", 609 ], 610 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 611 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 612 }, 613 ], 614 "id": "A String", # Unique identifier for the resource; defined by the server (output only). 615 "isServing": True or False, # If the DNS queries for the zone will be served. 616 "kind": "dns#change", 617 "startTime": "A String", # The time that this operation was started by the server (output only). This is in RFC3339 text format. 618 "status": "A String", # Status of the operation (output only). A status of "done" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet. 619}</pre> 620</div> 621 622<div class="method"> 623 <code class="details" id="list">list(project, managedZone, maxResults=None, pageToken=None, sortBy=None, sortOrder=None, x__xgafv=None)</code> 624 <pre>Enumerates Changes to a ResourceRecordSet collection. 625 626Args: 627 project: string, Identifies the project addressed by this request. (required) 628 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) 629 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return. 630 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request. 631 sortBy: string, Sorting criterion. The only supported value is change sequence. 632 Allowed values 633 changeSequence - 634 sortOrder: string, Sorting order direction: 'ascending' or 'descending'. 635 x__xgafv: string, V1 error format. 636 Allowed values 637 1 - v1 error format 638 2 - v2 error format 639 640Returns: 641 An object of the form: 642 643 { # The response to a request to enumerate Changes to a ResourceRecordSets collection. 644 "changes": [ # The requested changes. 645 { # 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. 646 "additions": [ # Which ResourceRecordSets to add? 647 { # A unit of data that is returned by the DNS servers. 648 "kind": "dns#resourceRecordSet", 649 "name": "A String", # For example, www.example.com. 650 "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. 651 "geo": { 652 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 653 { 654 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 655 "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. 656 "rrdatas": [ 657 "A String", 658 ], 659 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 660 "A String", 661 ], 662 }, 663 ], 664 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 665 }, 666 "geoPolicy": { 667 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 668 { 669 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 670 "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. 671 "rrdatas": [ 672 "A String", 673 ], 674 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 675 "A String", 676 ], 677 }, 678 ], 679 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 680 }, 681 "kind": "dns#rRSetRoutingPolicy", 682 "wrr": { 683 "items": [ 684 { 685 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 686 "rrdatas": [ 687 "A String", 688 ], 689 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 690 "A String", 691 ], 692 "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. 693 }, 694 ], 695 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 696 }, 697 "wrrPolicy": { 698 "items": [ 699 { 700 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 701 "rrdatas": [ 702 "A String", 703 ], 704 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 705 "A String", 706 ], 707 "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. 708 }, 709 ], 710 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 711 }, 712 }, 713 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 714 "A String", 715 ], 716 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 717 "A String", 718 ], 719 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 720 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 721 }, 722 ], 723 "deletions": [ # Which ResourceRecordSets to remove? Must match existing data exactly. 724 { # A unit of data that is returned by the DNS servers. 725 "kind": "dns#resourceRecordSet", 726 "name": "A String", # For example, www.example.com. 727 "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. 728 "geo": { 729 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 730 { 731 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 732 "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. 733 "rrdatas": [ 734 "A String", 735 ], 736 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 737 "A String", 738 ], 739 }, 740 ], 741 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 742 }, 743 "geoPolicy": { 744 "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. 745 { 746 "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", 747 "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. 748 "rrdatas": [ 749 "A String", 750 ], 751 "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. 752 "A String", 753 ], 754 }, 755 ], 756 "kind": "dns#rRSetRoutingPolicyGeoPolicy", 757 }, 758 "kind": "dns#rRSetRoutingPolicy", 759 "wrr": { 760 "items": [ 761 { 762 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 763 "rrdatas": [ 764 "A String", 765 ], 766 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 767 "A String", 768 ], 769 "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. 770 }, 771 ], 772 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 773 }, 774 "wrrPolicy": { 775 "items": [ 776 { 777 "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", 778 "rrdatas": [ 779 "A String", 780 ], 781 "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. 782 "A String", 783 ], 784 "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. 785 }, 786 ], 787 "kind": "dns#rRSetRoutingPolicyWrrPolicy", 788 }, 789 }, 790 "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. 791 "A String", 792 ], 793 "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). 794 "A String", 795 ], 796 "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. 797 "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. 798 }, 799 ], 800 "id": "A String", # Unique identifier for the resource; defined by the server (output only). 801 "isServing": True or False, # If the DNS queries for the zone will be served. 802 "kind": "dns#change", 803 "startTime": "A String", # The time that this operation was started by the server (output only). This is in RFC3339 text format. 804 "status": "A String", # Status of the operation (output only). A status of "done" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet. 805 }, 806 ], 807 "header": { # Elements common to every response. 808 "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). 809 }, 810 "kind": "dns#changesListResponse", # Type of resource. 811 "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 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 "snapshot" of collections larger than the maximum page size. 812}</pre> 813</div> 814 815<div class="method"> 816 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 817 <pre>Retrieves the next page of results. 818 819Args: 820 previous_request: The request for the previous page. (required) 821 previous_response: The response from the request for the previous page. (required) 822 823Returns: 824 A request object that you can call 'execute()' on to request the next 825 page. Returns None if there are no more items in the collection. 826 </pre> 827</div> 828 829</body></html>