Debian Codegraph @

docs/dyn/dns_v1beta2.changes.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="dns_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()</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
102 Args:
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 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
110 { # A unit of data that is returned by the DNS servers.
111 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
112 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
113 &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 either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution).
114 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
115 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
116 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
117 { # ResourceRecordSet data for one geo location.
118 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
119 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
120 &quot;A String&quot;,
121 ],
122 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
123 { # The configuration for an individual load balancer to health check.
124 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
125 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
126 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
127 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
128 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
129 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
130 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
131 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
132 },
133 ],
134 },
135 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
136 &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.
137 &quot;rrdatas&quot;: [
138 &quot;A String&quot;,
139 ],
140 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
141 &quot;A String&quot;,
142 ],
143 },
144 ],
145 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
146 },
147 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
148 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
149 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
150 { # ResourceRecordSet data for one geo location.
151 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
152 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
153 &quot;A String&quot;,
154 ],
155 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
156 { # The configuration for an individual load balancer to health check.
157 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
158 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
159 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
160 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
161 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
162 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
163 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
164 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
165 },
166 ],
167 },
168 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
169 &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.
170 &quot;rrdatas&quot;: [
171 &quot;A String&quot;,
172 ],
173 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
174 &quot;A String&quot;,
175 ],
176 },
177 ],
178 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
179 },
180 &quot;healthCheck&quot;: &quot;A String&quot;, # The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
181 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
182 &quot;primaryBackup&quot;: { # Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.
183 &quot;backupGeoTargets&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user. # Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy.
184 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
185 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
186 { # ResourceRecordSet data for one geo location.
187 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
188 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
189 &quot;A String&quot;,
190 ],
191 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
192 { # The configuration for an individual load balancer to health check.
193 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
194 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
195 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
196 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
197 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
198 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
199 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
200 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
201 },
202 ],
203 },
204 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
205 &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.
206 &quot;rrdatas&quot;: [
207 &quot;A String&quot;,
208 ],
209 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
210 &quot;A String&quot;,
211 ],
212 },
213 ],
214 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
215 },
216 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
217 &quot;primaryTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`.
218 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
219 &quot;A String&quot;,
220 ],
221 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
222 { # The configuration for an individual load balancer to health check.
223 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
224 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
225 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
226 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
227 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
228 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
229 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
230 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
231 },
232 ],
233 },
234 &quot;trickleTraffic&quot;: 3.14, # When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.
235 },
236 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
237 &quot;items&quot;: [
238 { # A routing block which contains the routing information for one WRR item.
239 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
240 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
241 &quot;A String&quot;,
242 ],
243 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
244 { # The configuration for an individual load balancer to health check.
245 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
246 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
247 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
248 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
249 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
250 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
251 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
252 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
253 },
254 ],
255 },
256 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
257 &quot;rrdatas&quot;: [
258 &quot;A String&quot;,
259 ],
260 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
261 &quot;A String&quot;,
262 ],
263 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
264 },
265 ],
266 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
267 },
268 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
269 &quot;items&quot;: [
270 { # A routing block which contains the routing information for one WRR item.
271 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
272 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
273 &quot;A String&quot;,
274 ],
275 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
276 { # The configuration for an individual load balancer to health check.
277 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
278 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
279 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
280 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
281 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
282 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
283 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
284 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
285 },
286 ],
287 },
288 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
289 &quot;rrdatas&quot;: [
290 &quot;A String&quot;,
291 ],
292 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
293 &quot;A String&quot;,
294 ],
295 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
296 },
297 ],
298 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
299 },
300 },
301 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
302 &quot;A String&quot;,
303 ],
304 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
305 &quot;A String&quot;,
306 ],
307 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
308 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
309 },
310 ],
311 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
312 { # A unit of data that is returned by the DNS servers.
313 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
314 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
315 &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 either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution).
316 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
317 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
318 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
319 { # ResourceRecordSet data for one geo location.
320 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
321 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
322 &quot;A String&quot;,
323 ],
324 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
325 { # The configuration for an individual load balancer to health check.
326 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
327 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
328 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
329 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
330 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
331 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
332 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
333 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
334 },
335 ],
336 },
337 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
338 &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.
339 &quot;rrdatas&quot;: [
340 &quot;A String&quot;,
341 ],
342 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
343 &quot;A String&quot;,
344 ],
345 },
346 ],
347 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
348 },
349 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
350 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
351 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
352 { # ResourceRecordSet data for one geo location.
353 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
354 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
355 &quot;A String&quot;,
356 ],
357 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
358 { # The configuration for an individual load balancer to health check.
359 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
360 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
361 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
362 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
363 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
364 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
365 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
366 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
367 },
368 ],
369 },
370 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
371 &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.
372 &quot;rrdatas&quot;: [
373 &quot;A String&quot;,
374 ],
375 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
376 &quot;A String&quot;,
377 ],
378 },
379 ],
380 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
381 },
382 &quot;healthCheck&quot;: &quot;A String&quot;, # The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
383 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
384 &quot;primaryBackup&quot;: { # Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.
385 &quot;backupGeoTargets&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user. # Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy.
386 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
387 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
388 { # ResourceRecordSet data for one geo location.
389 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
390 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
391 &quot;A String&quot;,
392 ],
393 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
394 { # The configuration for an individual load balancer to health check.
395 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
396 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
397 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
398 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
399 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
400 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
401 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
402 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
403 },
404 ],
405 },
406 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
407 &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.
408 &quot;rrdatas&quot;: [
409 &quot;A String&quot;,
410 ],
411 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
412 &quot;A String&quot;,
413 ],
414 },
415 ],
416 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
417 },
418 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
419 &quot;primaryTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`.
420 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
421 &quot;A String&quot;,
422 ],
423 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
424 { # The configuration for an individual load balancer to health check.
425 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
426 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
427 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
428 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
429 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
430 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
431 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
432 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
433 },
434 ],
435 },
436 &quot;trickleTraffic&quot;: 3.14, # When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.
437 },
438 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
439 &quot;items&quot;: [
440 { # A routing block which contains the routing information for one WRR item.
441 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
442 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
443 &quot;A String&quot;,
444 ],
445 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
446 { # The configuration for an individual load balancer to health check.
447 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
448 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
449 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
450 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
451 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
452 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
453 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
454 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
455 },
456 ],
457 },
458 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
459 &quot;rrdatas&quot;: [
460 &quot;A String&quot;,
461 ],
462 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
463 &quot;A String&quot;,
464 ],
465 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
466 },
467 ],
468 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
469 },
470 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
471 &quot;items&quot;: [
472 { # A routing block which contains the routing information for one WRR item.
473 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
474 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
475 &quot;A String&quot;,
476 ],
477 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
478 { # The configuration for an individual load balancer to health check.
479 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
480 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
481 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
482 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
483 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
484 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
485 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
486 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
487 },
488 ],
489 },
490 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
491 &quot;rrdatas&quot;: [
492 &quot;A String&quot;,
493 ],
494 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
495 &quot;A String&quot;,
496 ],
497 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
498 },
499 ],
500 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
501 },
502 },
503 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
504 &quot;A String&quot;,
505 ],
506 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
507 &quot;A String&quot;,
508 ],
509 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
510 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
511 },
512 ],
513 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
514 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
515 &quot;kind&quot;: &quot;dns#change&quot;,
516 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This is in RFC3339 text format.
517 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
518 }
519
520 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
521 x__xgafv: string, V1 error format.
522 Allowed values
523 1 - v1 error format
524 2 - v2 error format
525
526 Returns:
527 An object of the form:
528
529 { # 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.
530 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
531 { # A unit of data that is returned by the DNS servers.
532 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
533 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
534 &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 either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution).
535 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
536 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
537 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
538 { # ResourceRecordSet data for one geo location.
539 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
540 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
541 &quot;A String&quot;,
542 ],
543 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
544 { # The configuration for an individual load balancer to health check.
545 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
546 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
547 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
548 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
549 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
550 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
551 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
552 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
553 },
554 ],
555 },
556 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
557 &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.
558 &quot;rrdatas&quot;: [
559 &quot;A String&quot;,
560 ],
561 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
562 &quot;A String&quot;,
563 ],
564 },
565 ],
566 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
567 },
568 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
569 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
570 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
571 { # ResourceRecordSet data for one geo location.
572 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
573 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
574 &quot;A String&quot;,
575 ],
576 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
577 { # The configuration for an individual load balancer to health check.
578 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
579 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
580 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
581 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
582 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
583 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
584 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
585 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
586 },
587 ],
588 },
589 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
590 &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.
591 &quot;rrdatas&quot;: [
592 &quot;A String&quot;,
593 ],
594 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
595 &quot;A String&quot;,
596 ],
597 },
598 ],
599 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
600 },
601 &quot;healthCheck&quot;: &quot;A String&quot;, # The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
602 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
603 &quot;primaryBackup&quot;: { # Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.
604 &quot;backupGeoTargets&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user. # Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy.
605 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
606 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
607 { # ResourceRecordSet data for one geo location.
608 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
609 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
610 &quot;A String&quot;,
611 ],
612 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
613 { # The configuration for an individual load balancer to health check.
614 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
615 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
616 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
617 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
618 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
619 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
620 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
621 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
622 },
623 ],
624 },
625 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
626 &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.
627 &quot;rrdatas&quot;: [
628 &quot;A String&quot;,
629 ],
630 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
631 &quot;A String&quot;,
632 ],
633 },
634 ],
635 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
636 },
637 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
638 &quot;primaryTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`.
639 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
640 &quot;A String&quot;,
641 ],
642 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
643 { # The configuration for an individual load balancer to health check.
644 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
645 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
646 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
647 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
648 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
649 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
650 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
651 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
652 },
653 ],
654 },
655 &quot;trickleTraffic&quot;: 3.14, # When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.
656 },
657 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
658 &quot;items&quot;: [
659 { # A routing block which contains the routing information for one WRR item.
660 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
661 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
662 &quot;A String&quot;,
663 ],
664 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
665 { # The configuration for an individual load balancer to health check.
666 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
667 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
668 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
669 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
670 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
671 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
672 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
673 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
674 },
675 ],
676 },
677 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
678 &quot;rrdatas&quot;: [
679 &quot;A String&quot;,
680 ],
681 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
682 &quot;A String&quot;,
683 ],
684 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
685 },
686 ],
687 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
688 },
689 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
690 &quot;items&quot;: [
691 { # A routing block which contains the routing information for one WRR item.
692 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
693 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
694 &quot;A String&quot;,
695 ],
696 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
697 { # The configuration for an individual load balancer to health check.
698 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
699 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
700 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
701 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
702 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
703 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
704 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
705 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
706 },
707 ],
708 },
709 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
710 &quot;rrdatas&quot;: [
711 &quot;A String&quot;,
712 ],
713 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
714 &quot;A String&quot;,
715 ],
716 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
717 },
718 ],
719 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
720 },
721 },
722 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
723 &quot;A String&quot;,
724 ],
725 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
726 &quot;A String&quot;,
727 ],
728 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
729 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
730 },
731 ],
732 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
733 { # A unit of data that is returned by the DNS servers.
734 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
735 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
736 &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 either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution).
737 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
738 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
739 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
740 { # ResourceRecordSet data for one geo location.
741 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
742 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
743 &quot;A String&quot;,
744 ],
745 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
746 { # The configuration for an individual load balancer to health check.
747 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
748 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
749 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
750 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
751 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
752 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
753 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
754 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
755 },
756 ],
757 },
758 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
759 &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.
760 &quot;rrdatas&quot;: [
761 &quot;A String&quot;,
762 ],
763 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
764 &quot;A String&quot;,
765 ],
766 },
767 ],
768 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
769 },
770 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
771 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
772 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
773 { # ResourceRecordSet data for one geo location.
774 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
775 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
776 &quot;A String&quot;,
777 ],
778 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
779 { # The configuration for an individual load balancer to health check.
780 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
781 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
782 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
783 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
784 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
785 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
786 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
787 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
788 },
789 ],
790 },
791 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
792 &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.
793 &quot;rrdatas&quot;: [
794 &quot;A String&quot;,
795 ],
796 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
797 &quot;A String&quot;,
798 ],
799 },
800 ],
801 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
802 },
803 &quot;healthCheck&quot;: &quot;A String&quot;, # The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
804 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
805 &quot;primaryBackup&quot;: { # Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.
806 &quot;backupGeoTargets&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user. # Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy.
807 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
808 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
809 { # ResourceRecordSet data for one geo location.
810 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
811 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
812 &quot;A String&quot;,
813 ],
814 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
815 { # The configuration for an individual load balancer to health check.
816 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
817 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
818 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
819 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
820 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
821 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
822 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
823 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
824 },
825 ],
826 },
827 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
828 &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.
829 &quot;rrdatas&quot;: [
830 &quot;A String&quot;,
831 ],
832 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
833 &quot;A String&quot;,
834 ],
835 },
836 ],
837 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
838 },
839 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
840 &quot;primaryTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`.
841 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
842 &quot;A String&quot;,
843 ],
844 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
845 { # The configuration for an individual load balancer to health check.
846 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
847 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
848 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
849 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
850 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
851 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
852 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
853 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
854 },
855 ],
856 },
857 &quot;trickleTraffic&quot;: 3.14, # When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.
858 },
859 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
860 &quot;items&quot;: [
861 { # A routing block which contains the routing information for one WRR item.
862 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
863 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
864 &quot;A String&quot;,
865 ],
866 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
867 { # The configuration for an individual load balancer to health check.
868 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
869 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
870 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
871 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
872 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
873 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
874 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
875 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
876 },
877 ],
878 },
879 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
880 &quot;rrdatas&quot;: [
881 &quot;A String&quot;,
882 ],
883 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
884 &quot;A String&quot;,
885 ],
886 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
887 },
888 ],
889 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
890 },
891 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
892 &quot;items&quot;: [
893 { # A routing block which contains the routing information for one WRR item.
894 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
895 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
896 &quot;A String&quot;,
897 ],
898 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
899 { # The configuration for an individual load balancer to health check.
900 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
901 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
902 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
903 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
904 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
905 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
906 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
907 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
908 },
909 ],
910 },
911 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
912 &quot;rrdatas&quot;: [
913 &quot;A String&quot;,
914 ],
915 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
916 &quot;A String&quot;,
917 ],
918 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
919 },
920 ],
921 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
922 },
923 },
924 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
925 &quot;A String&quot;,
926 ],
927 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
928 &quot;A String&quot;,
929 ],
930 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
931 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
932 },
933 ],
934 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
935 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
936 &quot;kind&quot;: &quot;dns#change&quot;,
937 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This is in RFC3339 text format.
938 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
939 }</pre>
940 </div>
941
942 <div class="method">
943 <code class="details" id="get">get(project, managedZone, changeId, clientOperationId=None, x__xgafv=None)</code>
944 <pre>Fetches the representation of an existing Change.
945
946 Args:
947 project: string, Identifies the project addressed by this request. (required)
948 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
949 changeId: string, The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse. (required)
950 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
951 x__xgafv: string, V1 error format.
952 Allowed values
953 1 - v1 error format
954 2 - v2 error format
955
956 Returns:
957 An object of the form:
958
959 { # 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.
960 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
961 { # A unit of data that is returned by the DNS servers.
962 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
963 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
964 &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 either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution).
965 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
966 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
967 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
968 { # ResourceRecordSet data for one geo location.
969 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
970 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
971 &quot;A String&quot;,
972 ],
973 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
974 { # The configuration for an individual load balancer to health check.
975 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
976 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
977 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
978 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
979 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
980 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
981 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
982 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
983 },
984 ],
985 },
986 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
987 &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.
988 &quot;rrdatas&quot;: [
989 &quot;A String&quot;,
990 ],
991 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
992 &quot;A String&quot;,
993 ],
994 },
995 ],
996 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
997 },
998 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
999 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1000 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1001 { # ResourceRecordSet data for one geo location.
1002 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1003 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1004 &quot;A String&quot;,
1005 ],
1006 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1007 { # The configuration for an individual load balancer to health check.
1008 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1009 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1010 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1011 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1012 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1013 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1014 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1015 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1016 },
1017 ],
1018 },
1019 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1020 &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.
1021 &quot;rrdatas&quot;: [
1022 &quot;A String&quot;,
1023 ],
1024 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1025 &quot;A String&quot;,
1026 ],
1027 },
1028 ],
1029 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1030 },
1031 &quot;healthCheck&quot;: &quot;A String&quot;, # The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
1032 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
1033 &quot;primaryBackup&quot;: { # Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.
1034 &quot;backupGeoTargets&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user. # Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy.
1035 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1036 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1037 { # ResourceRecordSet data for one geo location.
1038 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1039 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1040 &quot;A String&quot;,
1041 ],
1042 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1043 { # The configuration for an individual load balancer to health check.
1044 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1045 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1046 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1047 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1048 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1049 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1050 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1051 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1052 },
1053 ],
1054 },
1055 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1056 &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.
1057 &quot;rrdatas&quot;: [
1058 &quot;A String&quot;,
1059 ],
1060 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1061 &quot;A String&quot;,
1062 ],
1063 },
1064 ],
1065 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1066 },
1067 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
1068 &quot;primaryTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`.
1069 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1070 &quot;A String&quot;,
1071 ],
1072 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1073 { # The configuration for an individual load balancer to health check.
1074 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1075 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1076 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1077 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1078 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1079 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1080 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1081 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1082 },
1083 ],
1084 },
1085 &quot;trickleTraffic&quot;: 3.14, # When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.
1086 },
1087 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1088 &quot;items&quot;: [
1089 { # A routing block which contains the routing information for one WRR item.
1090 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
1091 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1092 &quot;A String&quot;,
1093 ],
1094 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1095 { # The configuration for an individual load balancer to health check.
1096 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1097 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1098 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1099 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1100 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1101 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1102 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1103 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1104 },
1105 ],
1106 },
1107 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1108 &quot;rrdatas&quot;: [
1109 &quot;A String&quot;,
1110 ],
1111 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1112 &quot;A String&quot;,
1113 ],
1114 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
1115 },
1116 ],
1117 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1118 },
1119 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1120 &quot;items&quot;: [
1121 { # A routing block which contains the routing information for one WRR item.
1122 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
1123 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1124 &quot;A String&quot;,
1125 ],
1126 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1127 { # The configuration for an individual load balancer to health check.
1128 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1129 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1130 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1131 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1132 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1133 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1134 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1135 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1136 },
1137 ],
1138 },
1139 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1140 &quot;rrdatas&quot;: [
1141 &quot;A String&quot;,
1142 ],
1143 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1144 &quot;A String&quot;,
1145 ],
1146 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
1147 },
1148 ],
1149 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1150 },
1151 },
1152 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
1153 &quot;A String&quot;,
1154 ],
1155 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
1156 &quot;A String&quot;,
1157 ],
1158 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
1159 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
1160 },
1161 ],
1162 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
1163 { # A unit of data that is returned by the DNS servers.
1164 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
1165 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
1166 &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 either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution).
1167 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1168 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1169 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1170 { # ResourceRecordSet data for one geo location.
1171 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1172 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1173 &quot;A String&quot;,
1174 ],
1175 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1176 { # The configuration for an individual load balancer to health check.
1177 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1178 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1179 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1180 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1181 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1182 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1183 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1184 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1185 },
1186 ],
1187 },
1188 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1189 &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.
1190 &quot;rrdatas&quot;: [
1191 &quot;A String&quot;,
1192 ],
1193 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1194 &quot;A String&quot;,
1195 ],
1196 },
1197 ],
1198 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1199 },
1200 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1201 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1202 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1203 { # ResourceRecordSet data for one geo location.
1204 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1205 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1206 &quot;A String&quot;,
1207 ],
1208 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1209 { # The configuration for an individual load balancer to health check.
1210 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1211 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1212 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1213 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1214 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1215 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1216 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1217 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1218 },
1219 ],
1220 },
1221 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1222 &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.
1223 &quot;rrdatas&quot;: [
1224 &quot;A String&quot;,
1225 ],
1226 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1227 &quot;A String&quot;,
1228 ],
1229 },
1230 ],
1231 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1232 },
1233 &quot;healthCheck&quot;: &quot;A String&quot;, # The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
1234 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
1235 &quot;primaryBackup&quot;: { # Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.
1236 &quot;backupGeoTargets&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user. # Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy.
1237 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1238 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1239 { # ResourceRecordSet data for one geo location.
1240 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1241 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1242 &quot;A String&quot;,
1243 ],
1244 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1245 { # The configuration for an individual load balancer to health check.
1246 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1247 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1248 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1249 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1250 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1251 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1252 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1253 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1254 },
1255 ],
1256 },
1257 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1258 &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.
1259 &quot;rrdatas&quot;: [
1260 &quot;A String&quot;,
1261 ],
1262 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1263 &quot;A String&quot;,
1264 ],
1265 },
1266 ],
1267 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1268 },
1269 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
1270 &quot;primaryTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`.
1271 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1272 &quot;A String&quot;,
1273 ],
1274 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1275 { # The configuration for an individual load balancer to health check.
1276 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1277 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1278 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1279 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1280 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1281 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1282 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1283 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1284 },
1285 ],
1286 },
1287 &quot;trickleTraffic&quot;: 3.14, # When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.
1288 },
1289 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1290 &quot;items&quot;: [
1291 { # A routing block which contains the routing information for one WRR item.
1292 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
1293 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1294 &quot;A String&quot;,
1295 ],
1296 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1297 { # The configuration for an individual load balancer to health check.
1298 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1299 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1300 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1301 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1302 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1303 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1304 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1305 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1306 },
1307 ],
1308 },
1309 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1310 &quot;rrdatas&quot;: [
1311 &quot;A String&quot;,
1312 ],
1313 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1314 &quot;A String&quot;,
1315 ],
1316 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
1317 },
1318 ],
1319 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1320 },
1321 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1322 &quot;items&quot;: [
1323 { # A routing block which contains the routing information for one WRR item.
1324 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
1325 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1326 &quot;A String&quot;,
1327 ],
1328 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1329 { # The configuration for an individual load balancer to health check.
1330 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1331 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1332 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1333 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1334 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1335 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1336 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1337 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1338 },
1339 ],
1340 },
1341 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1342 &quot;rrdatas&quot;: [
1343 &quot;A String&quot;,
1344 ],
1345 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1346 &quot;A String&quot;,
1347 ],
1348 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
1349 },
1350 ],
1351 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1352 },
1353 },
1354 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
1355 &quot;A String&quot;,
1356 ],
1357 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
1358 &quot;A String&quot;,
1359 ],
1360 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
1361 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
1362 },
1363 ],
1364 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
1365 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
1366 &quot;kind&quot;: &quot;dns#change&quot;,
1367 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This is in RFC3339 text format.
1368 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
1369 }</pre>
1370 </div>
1371
1372 <div class="method">
1373 <code class="details" id="list">list(project, managedZone, maxResults=None, pageToken=None, sortBy=None, sortOrder=None, x__xgafv=None)</code>
1374 <pre>Enumerates Changes to a ResourceRecordSet collection.
1375
1376 Args:
1377 project: string, Identifies the project addressed by this request. (required)
1378 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
1379 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
1380 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
1381 sortBy: string, Sorting criterion. The only supported value is change sequence.
1382 Allowed values
1383 changeSequence -
1384 sortOrder: string, Sorting order direction: &#x27;ascending&#x27; or &#x27;descending&#x27;.
1385 x__xgafv: string, V1 error format.
1386 Allowed values
1387 1 - v1 error format
1388 2 - v2 error format
1389
1390 Returns:
1391 An object of the form:
1392
1393 { # The response to a request to enumerate Changes to a ResourceRecordSets collection.
1394 &quot;changes&quot;: [ # The requested changes.
1395 { # 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.
1396 &quot;additions&quot;: [ # Which ResourceRecordSets to add?
1397 { # A unit of data that is returned by the DNS servers.
1398 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
1399 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
1400 &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 either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution).
1401 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1402 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1403 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1404 { # ResourceRecordSet data for one geo location.
1405 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1406 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1407 &quot;A String&quot;,
1408 ],
1409 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1410 { # The configuration for an individual load balancer to health check.
1411 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1412 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1413 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1414 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1415 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1416 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1417 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1418 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1419 },
1420 ],
1421 },
1422 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1423 &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.
1424 &quot;rrdatas&quot;: [
1425 &quot;A String&quot;,
1426 ],
1427 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1428 &quot;A String&quot;,
1429 ],
1430 },
1431 ],
1432 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1433 },
1434 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1435 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1436 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1437 { # ResourceRecordSet data for one geo location.
1438 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1439 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1440 &quot;A String&quot;,
1441 ],
1442 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1443 { # The configuration for an individual load balancer to health check.
1444 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1445 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1446 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1447 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1448 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1449 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1450 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1451 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1452 },
1453 ],
1454 },
1455 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1456 &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.
1457 &quot;rrdatas&quot;: [
1458 &quot;A String&quot;,
1459 ],
1460 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1461 &quot;A String&quot;,
1462 ],
1463 },
1464 ],
1465 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1466 },
1467 &quot;healthCheck&quot;: &quot;A String&quot;, # The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
1468 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
1469 &quot;primaryBackup&quot;: { # Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.
1470 &quot;backupGeoTargets&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user. # Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy.
1471 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1472 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1473 { # ResourceRecordSet data for one geo location.
1474 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1475 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1476 &quot;A String&quot;,
1477 ],
1478 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1479 { # The configuration for an individual load balancer to health check.
1480 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1481 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1482 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1483 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1484 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1485 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1486 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1487 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1488 },
1489 ],
1490 },
1491 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1492 &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.
1493 &quot;rrdatas&quot;: [
1494 &quot;A String&quot;,
1495 ],
1496 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1497 &quot;A String&quot;,
1498 ],
1499 },
1500 ],
1501 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1502 },
1503 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
1504 &quot;primaryTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`.
1505 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1506 &quot;A String&quot;,
1507 ],
1508 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1509 { # The configuration for an individual load balancer to health check.
1510 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1511 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1512 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1513 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1514 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1515 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1516 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1517 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1518 },
1519 ],
1520 },
1521 &quot;trickleTraffic&quot;: 3.14, # When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.
1522 },
1523 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1524 &quot;items&quot;: [
1525 { # A routing block which contains the routing information for one WRR item.
1526 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
1527 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1528 &quot;A String&quot;,
1529 ],
1530 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1531 { # The configuration for an individual load balancer to health check.
1532 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1533 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1534 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1535 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1536 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1537 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1538 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1539 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1540 },
1541 ],
1542 },
1543 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1544 &quot;rrdatas&quot;: [
1545 &quot;A String&quot;,
1546 ],
1547 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1548 &quot;A String&quot;,
1549 ],
1550 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
1551 },
1552 ],
1553 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1554 },
1555 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1556 &quot;items&quot;: [
1557 { # A routing block which contains the routing information for one WRR item.
1558 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
1559 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1560 &quot;A String&quot;,
1561 ],
1562 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1563 { # The configuration for an individual load balancer to health check.
1564 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1565 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1566 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1567 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1568 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1569 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1570 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1571 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1572 },
1573 ],
1574 },
1575 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1576 &quot;rrdatas&quot;: [
1577 &quot;A String&quot;,
1578 ],
1579 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1580 &quot;A String&quot;,
1581 ],
1582 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
1583 },
1584 ],
1585 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1586 },
1587 },
1588 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
1589 &quot;A String&quot;,
1590 ],
1591 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
1592 &quot;A String&quot;,
1593 ],
1594 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
1595 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
1596 },
1597 ],
1598 &quot;deletions&quot;: [ # Which ResourceRecordSets to remove? Must match existing data exactly.
1599 { # A unit of data that is returned by the DNS servers.
1600 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
1601 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
1602 &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 either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution).
1603 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1604 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1605 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1606 { # ResourceRecordSet data for one geo location.
1607 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1608 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1609 &quot;A String&quot;,
1610 ],
1611 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1612 { # The configuration for an individual load balancer to health check.
1613 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1614 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1615 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1616 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1617 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1618 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1619 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1620 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1621 },
1622 ],
1623 },
1624 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1625 &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.
1626 &quot;rrdatas&quot;: [
1627 &quot;A String&quot;,
1628 ],
1629 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1630 &quot;A String&quot;,
1631 ],
1632 },
1633 ],
1634 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1635 },
1636 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1637 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1638 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1639 { # ResourceRecordSet data for one geo location.
1640 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1641 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1642 &quot;A String&quot;,
1643 ],
1644 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1645 { # The configuration for an individual load balancer to health check.
1646 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1647 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1648 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1649 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1650 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1651 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1652 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1653 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1654 },
1655 ],
1656 },
1657 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1658 &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.
1659 &quot;rrdatas&quot;: [
1660 &quot;A String&quot;,
1661 ],
1662 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1663 &quot;A String&quot;,
1664 ],
1665 },
1666 ],
1667 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1668 },
1669 &quot;healthCheck&quot;: &quot;A String&quot;, # The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
1670 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
1671 &quot;primaryBackup&quot;: { # Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.
1672 &quot;backupGeoTargets&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user. # Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy.
1673 &quot;enableFencing&quot;: True or False, # Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don&#x27;t failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
1674 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1675 { # ResourceRecordSet data for one geo location.
1676 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item.
1677 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1678 &quot;A String&quot;,
1679 ],
1680 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1681 { # The configuration for an individual load balancer to health check.
1682 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1683 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1684 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1685 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1686 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1687 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1688 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1689 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1690 },
1691 ],
1692 },
1693 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1694 &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.
1695 &quot;rrdatas&quot;: [
1696 &quot;A String&quot;,
1697 ],
1698 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1699 &quot;A String&quot;,
1700 ],
1701 },
1702 ],
1703 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1704 },
1705 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
1706 &quot;primaryTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`.
1707 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1708 &quot;A String&quot;,
1709 ],
1710 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1711 { # The configuration for an individual load balancer to health check.
1712 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1713 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1714 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1715 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1716 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1717 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1718 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1719 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1720 },
1721 ],
1722 },
1723 &quot;trickleTraffic&quot;: 3.14, # When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.
1724 },
1725 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1726 &quot;items&quot;: [
1727 { # A routing block which contains the routing information for one WRR item.
1728 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
1729 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1730 &quot;A String&quot;,
1731 ],
1732 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1733 { # The configuration for an individual load balancer to health check.
1734 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1735 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1736 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1737 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1738 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1739 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1740 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1741 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1742 },
1743 ],
1744 },
1745 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1746 &quot;rrdatas&quot;: [
1747 &quot;A String&quot;,
1748 ],
1749 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1750 &quot;A String&quot;,
1751 ],
1752 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
1753 },
1754 ],
1755 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1756 },
1757 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1758 &quot;items&quot;: [
1759 { # A routing block which contains the routing information for one WRR item.
1760 &quot;healthCheckedTargets&quot;: { # HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both. # Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set.
1761 &quot;externalEndpoints&quot;: [ # The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1762 &quot;A String&quot;,
1763 ],
1764 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1765 { # The configuration for an individual load balancer to health check.
1766 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1767 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1768 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1769 &quot;loadBalancerType&quot;: &quot;A String&quot;, # The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget&#x27;s IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
1770 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.
1771 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1772 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1773 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1774 },
1775 ],
1776 },
1777 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1778 &quot;rrdatas&quot;: [
1779 &quot;A String&quot;,
1780 ],
1781 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
1782 &quot;A String&quot;,
1783 ],
1784 &quot;weight&quot;: 3.14, # The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object&#x27;s data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
1785 },
1786 ],
1787 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1788 },
1789 },
1790 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
1791 &quot;A String&quot;,
1792 ],
1793 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
1794 &quot;A String&quot;,
1795 ],
1796 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
1797 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
1798 },
1799 ],
1800 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
1801 &quot;isServing&quot;: True or False, # If the DNS queries for the zone will be served.
1802 &quot;kind&quot;: &quot;dns#change&quot;,
1803 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server (output only). This is in RFC3339 text format.
1804 &quot;status&quot;: &quot;A String&quot;, # Status of the operation (output only). A status of &quot;done&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
1805 },
1806 ],
1807 &quot;kind&quot;: &quot;dns#changesListResponse&quot;, # Type of resource.
1808 &quot;nextPageToken&quot;: &quot;A String&quot;, # This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection 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 can&#x27;t retrieve a consistent snapshot of a collection larger than the maximum page size.
1809 }</pre>
1810 </div>
1811
1812 <div class="method">
1813 <code class="details" id="list_next">list_next()</code>
1814 <pre>Retrieves the next page of results.
1815
1816 Args:
1817 previous_request: The request for the previous page. (required)
1818 previous_response: The response from the request for the previous page. (required)
1819
1820 Returns:
1821 A request object that you can call &#x27;execute()&#x27; on to request the next
1822 page. Returns None if there are no more items in the collection.
1823 </pre>
1824 </div>
1825
1826 </body></html>