Debian Codegraph @

docs/dyn/dns_v1beta2.resourceRecordSets.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="dns_v1beta2.html">Cloud DNS API</a> . <a href="dns_v1beta2.resourceRecordSets.html">resourceRecordSets</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new ResourceRecordSet.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a previously created ResourceRecordSet.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Fetches the representation of an existing ResourceRecordSet.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(project, managedZone, filter=None, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Enumerates ResourceRecordSets that you have created but not yet deleted.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Applies a partial update to an existing ResourceRecordSet.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
106 <pre>Creates a new ResourceRecordSet.
107
108 Args:
109 project: string, Identifies the project addressed by this request. (required)
110 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
111 body: object, The request body.
112 The object takes the form of:
113
114 { # A unit of data that is returned by the DNS servers.
115 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
116 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
117 &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).
118 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
119 &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.
120 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
121 { # ResourceRecordSet data for one geo location.
122 &quot;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.
123 &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)
124 &quot;A String&quot;,
125 ],
126 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
127 { # The configuration for an individual load balancer to health check.
128 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
129 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
130 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
131 &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.
132 &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}`.
133 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
134 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
135 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
136 },
137 ],
138 },
139 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
140 &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.
141 &quot;rrdatas&quot;: [
142 &quot;A String&quot;,
143 ],
144 &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.
145 &quot;A String&quot;,
146 ],
147 },
148 ],
149 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
150 },
151 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
152 &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.
153 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
154 { # ResourceRecordSet data for one geo location.
155 &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.
156 &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)
157 &quot;A String&quot;,
158 ],
159 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
160 { # The configuration for an individual load balancer to health check.
161 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
162 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
163 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
164 &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.
165 &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}`.
166 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
167 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
168 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
169 },
170 ],
171 },
172 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
173 &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.
174 &quot;rrdatas&quot;: [
175 &quot;A String&quot;,
176 ],
177 &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.
178 &quot;A String&quot;,
179 ],
180 },
181 ],
182 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
183 },
184 &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
185 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
186 &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.
187 &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.
188 &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.
189 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
190 { # ResourceRecordSet data for one geo location.
191 &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.
192 &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)
193 &quot;A String&quot;,
194 ],
195 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
196 { # The configuration for an individual load balancer to health check.
197 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
198 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
199 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
200 &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.
201 &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}`.
202 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
203 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
204 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
205 },
206 ],
207 },
208 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
209 &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.
210 &quot;rrdatas&quot;: [
211 &quot;A String&quot;,
212 ],
213 &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.
214 &quot;A String&quot;,
215 ],
216 },
217 ],
218 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
219 },
220 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
221 &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`.
222 &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)
223 &quot;A String&quot;,
224 ],
225 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
226 { # The configuration for an individual load balancer to health check.
227 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
228 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
229 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
230 &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.
231 &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}`.
232 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
233 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
234 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
235 },
236 ],
237 },
238 &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.
239 },
240 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
241 &quot;items&quot;: [
242 { # A routing block which contains the routing information for one WRR item.
243 &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.
244 &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)
245 &quot;A String&quot;,
246 ],
247 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
248 { # The configuration for an individual load balancer to health check.
249 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
250 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
251 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
252 &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.
253 &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}`.
254 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
255 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
256 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
257 },
258 ],
259 },
260 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
261 &quot;rrdatas&quot;: [
262 &quot;A String&quot;,
263 ],
264 &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.
265 &quot;A String&quot;,
266 ],
267 &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.
268 },
269 ],
270 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
271 },
272 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
273 &quot;items&quot;: [
274 { # A routing block which contains the routing information for one WRR item.
275 &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.
276 &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)
277 &quot;A String&quot;,
278 ],
279 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
280 { # The configuration for an individual load balancer to health check.
281 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
282 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
283 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
284 &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.
285 &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}`.
286 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
287 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
288 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
289 },
290 ],
291 },
292 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
293 &quot;rrdatas&quot;: [
294 &quot;A String&quot;,
295 ],
296 &quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.
297 &quot;A String&quot;,
298 ],
299 &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.
300 },
301 ],
302 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
303 },
304 },
305 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
306 &quot;A String&quot;,
307 ],
308 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
309 &quot;A String&quot;,
310 ],
311 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
312 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
313 }
314
315 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
316 x__xgafv: string, V1 error format.
317 Allowed values
318 1 - v1 error format
319 2 - v2 error format
320
321 Returns:
322 An object of the form:
323
324 { # A unit of data that is returned by the DNS servers.
325 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
326 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
327 &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).
328 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
329 &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.
330 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
331 { # ResourceRecordSet data for one geo location.
332 &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.
333 &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)
334 &quot;A String&quot;,
335 ],
336 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
337 { # The configuration for an individual load balancer to health check.
338 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
339 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
340 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
341 &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.
342 &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}`.
343 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
344 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
345 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
346 },
347 ],
348 },
349 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
350 &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.
351 &quot;rrdatas&quot;: [
352 &quot;A String&quot;,
353 ],
354 &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.
355 &quot;A String&quot;,
356 ],
357 },
358 ],
359 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
360 },
361 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
362 &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.
363 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
364 { # ResourceRecordSet data for one geo location.
365 &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.
366 &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)
367 &quot;A String&quot;,
368 ],
369 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
370 { # The configuration for an individual load balancer to health check.
371 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
372 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
373 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
374 &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.
375 &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}`.
376 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
377 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
378 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
379 },
380 ],
381 },
382 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
383 &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.
384 &quot;rrdatas&quot;: [
385 &quot;A String&quot;,
386 ],
387 &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.
388 &quot;A String&quot;,
389 ],
390 },
391 ],
392 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
393 },
394 &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
395 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
396 &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.
397 &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.
398 &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.
399 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
400 { # ResourceRecordSet data for one geo location.
401 &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.
402 &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)
403 &quot;A String&quot;,
404 ],
405 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
406 { # The configuration for an individual load balancer to health check.
407 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
408 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
409 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
410 &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.
411 &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}`.
412 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
413 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
414 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
415 },
416 ],
417 },
418 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
419 &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.
420 &quot;rrdatas&quot;: [
421 &quot;A String&quot;,
422 ],
423 &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.
424 &quot;A String&quot;,
425 ],
426 },
427 ],
428 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
429 },
430 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
431 &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`.
432 &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)
433 &quot;A String&quot;,
434 ],
435 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
436 { # The configuration for an individual load balancer to health check.
437 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
438 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
439 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
440 &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.
441 &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}`.
442 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
443 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
444 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
445 },
446 ],
447 },
448 &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.
449 },
450 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
451 &quot;items&quot;: [
452 { # A routing block which contains the routing information for one WRR item.
453 &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.
454 &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)
455 &quot;A String&quot;,
456 ],
457 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
458 { # The configuration for an individual load balancer to health check.
459 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
460 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
461 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
462 &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.
463 &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}`.
464 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
465 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
466 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
467 },
468 ],
469 },
470 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
471 &quot;rrdatas&quot;: [
472 &quot;A String&quot;,
473 ],
474 &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.
475 &quot;A String&quot;,
476 ],
477 &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.
478 },
479 ],
480 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
481 },
482 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
483 &quot;items&quot;: [
484 { # A routing block which contains the routing information for one WRR item.
485 &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.
486 &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)
487 &quot;A String&quot;,
488 ],
489 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
490 { # The configuration for an individual load balancer to health check.
491 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
492 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
493 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
494 &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.
495 &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}`.
496 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
497 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
498 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
499 },
500 ],
501 },
502 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
503 &quot;rrdatas&quot;: [
504 &quot;A String&quot;,
505 ],
506 &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.
507 &quot;A String&quot;,
508 ],
509 &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.
510 },
511 ],
512 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
513 },
514 },
515 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
516 &quot;A String&quot;,
517 ],
518 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
519 &quot;A String&quot;,
520 ],
521 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
522 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
523 }</pre>
524 </div>
525
526 <div class="method">
527 <code class="details" id="delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
528 <pre>Deletes a previously created ResourceRecordSet.
529
530 Args:
531 project: string, Identifies the project addressed by this request. (required)
532 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
533 name: string, Fully qualified domain name. (required)
534 type: string, RRSet type. (required)
535 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
536 x__xgafv: string, V1 error format.
537 Allowed values
538 1 - v1 error format
539 2 - v2 error format
540 </pre>
541 </div>
542
543 <div class="method">
544 <code class="details" id="get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
545 <pre>Fetches the representation of an existing ResourceRecordSet.
546
547 Args:
548 project: string, Identifies the project addressed by this request. (required)
549 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
550 name: string, Fully qualified domain name. (required)
551 type: string, RRSet type. (required)
552 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
553 x__xgafv: string, V1 error format.
554 Allowed values
555 1 - v1 error format
556 2 - v2 error format
557
558 Returns:
559 An object of the form:
560
561 { # A unit of data that is returned by the DNS servers.
562 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
563 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
564 &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).
565 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
566 &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.
567 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
568 { # ResourceRecordSet data for one geo location.
569 &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.
570 &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)
571 &quot;A String&quot;,
572 ],
573 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
574 { # The configuration for an individual load balancer to health check.
575 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
576 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
577 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
578 &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.
579 &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}`.
580 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
581 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
582 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
583 },
584 ],
585 },
586 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
587 &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.
588 &quot;rrdatas&quot;: [
589 &quot;A String&quot;,
590 ],
591 &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.
592 &quot;A String&quot;,
593 ],
594 },
595 ],
596 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
597 },
598 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
599 &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.
600 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
601 { # ResourceRecordSet data for one geo location.
602 &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.
603 &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)
604 &quot;A String&quot;,
605 ],
606 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
607 { # The configuration for an individual load balancer to health check.
608 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
609 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
610 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
611 &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.
612 &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}`.
613 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
614 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
615 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
616 },
617 ],
618 },
619 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
620 &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.
621 &quot;rrdatas&quot;: [
622 &quot;A String&quot;,
623 ],
624 &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.
625 &quot;A String&quot;,
626 ],
627 },
628 ],
629 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
630 },
631 &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
632 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
633 &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.
634 &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.
635 &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.
636 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
637 { # ResourceRecordSet data for one geo location.
638 &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.
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;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
656 &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.
657 &quot;rrdatas&quot;: [
658 &quot;A String&quot;,
659 ],
660 &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.
661 &quot;A String&quot;,
662 ],
663 },
664 ],
665 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
666 },
667 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
668 &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`.
669 &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)
670 &quot;A String&quot;,
671 ],
672 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
673 { # The configuration for an individual load balancer to health check.
674 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
675 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
676 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
677 &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.
678 &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}`.
679 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
680 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
681 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
682 },
683 ],
684 },
685 &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.
686 },
687 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
688 &quot;items&quot;: [
689 { # A routing block which contains the routing information for one WRR item.
690 &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.
691 &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)
692 &quot;A String&quot;,
693 ],
694 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
695 { # The configuration for an individual load balancer to health check.
696 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
697 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
698 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
699 &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.
700 &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}`.
701 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
702 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
703 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
704 },
705 ],
706 },
707 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
708 &quot;rrdatas&quot;: [
709 &quot;A String&quot;,
710 ],
711 &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.
712 &quot;A String&quot;,
713 ],
714 &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.
715 },
716 ],
717 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
718 },
719 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
720 &quot;items&quot;: [
721 { # A routing block which contains the routing information for one WRR item.
722 &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.
723 &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)
724 &quot;A String&quot;,
725 ],
726 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
727 { # The configuration for an individual load balancer to health check.
728 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
729 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
730 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
731 &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.
732 &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}`.
733 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
734 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
735 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
736 },
737 ],
738 },
739 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
740 &quot;rrdatas&quot;: [
741 &quot;A String&quot;,
742 ],
743 &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.
744 &quot;A String&quot;,
745 ],
746 &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.
747 },
748 ],
749 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
750 },
751 },
752 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
753 &quot;A String&quot;,
754 ],
755 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
756 &quot;A String&quot;,
757 ],
758 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
759 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
760 }</pre>
761 </div>
762
763 <div class="method">
764 <code class="details" id="list">list(project, managedZone, filter=None, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</code>
765 <pre>Enumerates ResourceRecordSets that you have created but not yet deleted.
766
767 Args:
768 project: string, Identifies the project addressed by this request. (required)
769 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
770 filter: string, Specify a filter expression to view records that exactly match the specified domain. Both the `name` and `type` parameters are not supported and must be omitted when you use `filter`. Your `filter` expression must conform to AIP-160 and you must specify a domain in the `name` field. Optionally, you can include the `type` field to filter records by type. You can also include the `has_suffix` function to view records that match by domain suffix. Examples: * `name`=&quot;example.com.&quot; * `name`=&quot;example.com.&quot; AND type=&quot;A&quot; * `name`=`has_suffix`(&quot;example.com.&quot;) * `name`=`has_suffix`(&quot;example.com.&quot;) AND type=&quot;A&quot;
771 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
772 name: string, Specify a fully qualified domain name to view only those records. The `name` parameter is not supported and must be omitted when you use `filter`.
773 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
774 type: string, Specify a record type to view only those records. You must also specify the `name` parameter. The `type` parameter is not supported and must be omitted when you use `filter`.
775 x__xgafv: string, V1 error format.
776 Allowed values
777 1 - v1 error format
778 2 - v2 error format
779
780 Returns:
781 An object of the form:
782
783 {
784 &quot;kind&quot;: &quot;dns#resourceRecordSetsListResponse&quot;, # Type of resource.
785 &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.
786 &quot;rrsets&quot;: [ # The resource record set resources.
787 { # A unit of data that is returned by the DNS servers.
788 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
789 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
790 &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).
791 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
792 &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.
793 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
794 { # ResourceRecordSet data for one geo location.
795 &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.
796 &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)
797 &quot;A String&quot;,
798 ],
799 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
800 { # The configuration for an individual load balancer to health check.
801 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
802 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
803 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
804 &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.
805 &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}`.
806 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
807 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
808 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
809 },
810 ],
811 },
812 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
813 &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.
814 &quot;rrdatas&quot;: [
815 &quot;A String&quot;,
816 ],
817 &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.
818 &quot;A String&quot;,
819 ],
820 },
821 ],
822 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
823 },
824 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
825 &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.
826 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
827 { # ResourceRecordSet data for one geo location.
828 &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.
829 &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)
830 &quot;A String&quot;,
831 ],
832 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
833 { # The configuration for an individual load balancer to health check.
834 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
835 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
836 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
837 &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.
838 &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}`.
839 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
840 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
841 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
842 },
843 ],
844 },
845 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
846 &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.
847 &quot;rrdatas&quot;: [
848 &quot;A String&quot;,
849 ],
850 &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.
851 &quot;A String&quot;,
852 ],
853 },
854 ],
855 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
856 },
857 &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
858 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
859 &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.
860 &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.
861 &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.
862 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
863 { # ResourceRecordSet data for one geo location.
864 &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.
865 &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)
866 &quot;A String&quot;,
867 ],
868 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
869 { # The configuration for an individual load balancer to health check.
870 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
871 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
872 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
873 &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.
874 &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}`.
875 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
876 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
877 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
878 },
879 ],
880 },
881 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
882 &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.
883 &quot;rrdatas&quot;: [
884 &quot;A String&quot;,
885 ],
886 &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.
887 &quot;A String&quot;,
888 ],
889 },
890 ],
891 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
892 },
893 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
894 &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`.
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;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.
912 },
913 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
914 &quot;items&quot;: [
915 { # A routing block which contains the routing information for one WRR item.
916 &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.
917 &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)
918 &quot;A String&quot;,
919 ],
920 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
921 { # The configuration for an individual load balancer to health check.
922 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
923 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
924 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
925 &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.
926 &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}`.
927 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
928 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
929 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
930 },
931 ],
932 },
933 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
934 &quot;rrdatas&quot;: [
935 &quot;A String&quot;,
936 ],
937 &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.
938 &quot;A String&quot;,
939 ],
940 &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.
941 },
942 ],
943 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
944 },
945 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
946 &quot;items&quot;: [
947 { # A routing block which contains the routing information for one WRR item.
948 &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.
949 &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)
950 &quot;A String&quot;,
951 ],
952 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
953 { # The configuration for an individual load balancer to health check.
954 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
955 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
956 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
957 &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.
958 &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}`.
959 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
960 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
961 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
962 },
963 ],
964 },
965 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
966 &quot;rrdatas&quot;: [
967 &quot;A String&quot;,
968 ],
969 &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.
970 &quot;A String&quot;,
971 ],
972 &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.
973 },
974 ],
975 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
976 },
977 },
978 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
979 &quot;A String&quot;,
980 ],
981 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
982 &quot;A String&quot;,
983 ],
984 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
985 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
986 },
987 ],
988 }</pre>
989 </div>
990
991 <div class="method">
992 <code class="details" id="list_next">list_next()</code>
993 <pre>Retrieves the next page of results.
994
995 Args:
996 previous_request: The request for the previous page. (required)
997 previous_response: The response from the request for the previous page. (required)
998
999 Returns:
1000 A request object that you can call &#x27;execute()&#x27; on to request the next
1001 page. Returns None if there are no more items in the collection.
1002 </pre>
1003 </div>
1004
1005 <div class="method">
1006 <code class="details" id="patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</code>
1007 <pre>Applies a partial update to an existing ResourceRecordSet.
1008
1009 Args:
1010 project: string, Identifies the project addressed by this request. (required)
1011 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
1012 name: string, Fully qualified domain name. (required)
1013 type: string, RRSet type. (required)
1014 body: object, The request body.
1015 The object takes the form of:
1016
1017 { # A unit of data that is returned by the DNS servers.
1018 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
1019 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
1020 &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).
1021 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1022 &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.
1023 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1024 { # ResourceRecordSet data for one geo location.
1025 &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.
1026 &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)
1027 &quot;A String&quot;,
1028 ],
1029 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1030 { # The configuration for an individual load balancer to health check.
1031 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1032 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1033 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1034 &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.
1035 &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}`.
1036 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1037 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1038 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1039 },
1040 ],
1041 },
1042 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1043 &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.
1044 &quot;rrdatas&quot;: [
1045 &quot;A String&quot;,
1046 ],
1047 &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.
1048 &quot;A String&quot;,
1049 ],
1050 },
1051 ],
1052 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1053 },
1054 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1055 &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.
1056 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1057 { # ResourceRecordSet data for one geo location.
1058 &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.
1059 &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)
1060 &quot;A String&quot;,
1061 ],
1062 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1063 { # The configuration for an individual load balancer to health check.
1064 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1065 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1066 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1067 &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.
1068 &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}`.
1069 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1070 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1071 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1072 },
1073 ],
1074 },
1075 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1076 &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.
1077 &quot;rrdatas&quot;: [
1078 &quot;A String&quot;,
1079 ],
1080 &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.
1081 &quot;A String&quot;,
1082 ],
1083 },
1084 ],
1085 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1086 },
1087 &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
1088 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
1089 &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.
1090 &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.
1091 &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.
1092 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1093 { # ResourceRecordSet data for one geo location.
1094 &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.
1095 &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)
1096 &quot;A String&quot;,
1097 ],
1098 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1099 { # The configuration for an individual load balancer to health check.
1100 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1101 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1102 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1103 &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.
1104 &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}`.
1105 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1106 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1107 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1108 },
1109 ],
1110 },
1111 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1112 &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.
1113 &quot;rrdatas&quot;: [
1114 &quot;A String&quot;,
1115 ],
1116 &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.
1117 &quot;A String&quot;,
1118 ],
1119 },
1120 ],
1121 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1122 },
1123 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
1124 &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`.
1125 &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)
1126 &quot;A String&quot;,
1127 ],
1128 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1129 { # The configuration for an individual load balancer to health check.
1130 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1131 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1132 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1133 &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.
1134 &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}`.
1135 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1136 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1137 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1138 },
1139 ],
1140 },
1141 &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.
1142 },
1143 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1144 &quot;items&quot;: [
1145 { # A routing block which contains the routing information for one WRR item.
1146 &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.
1147 &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)
1148 &quot;A String&quot;,
1149 ],
1150 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1151 { # The configuration for an individual load balancer to health check.
1152 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1153 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1154 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1155 &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.
1156 &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}`.
1157 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1158 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1159 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1160 },
1161 ],
1162 },
1163 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1164 &quot;rrdatas&quot;: [
1165 &quot;A String&quot;,
1166 ],
1167 &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.
1168 &quot;A String&quot;,
1169 ],
1170 &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.
1171 },
1172 ],
1173 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1174 },
1175 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1176 &quot;items&quot;: [
1177 { # A routing block which contains the routing information for one WRR item.
1178 &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.
1179 &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)
1180 &quot;A String&quot;,
1181 ],
1182 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1183 { # The configuration for an individual load balancer to health check.
1184 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1185 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1186 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1187 &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.
1188 &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}`.
1189 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1190 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1191 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1192 },
1193 ],
1194 },
1195 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1196 &quot;rrdatas&quot;: [
1197 &quot;A String&quot;,
1198 ],
1199 &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.
1200 &quot;A String&quot;,
1201 ],
1202 &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.
1203 },
1204 ],
1205 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1206 },
1207 },
1208 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
1209 &quot;A String&quot;,
1210 ],
1211 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
1212 &quot;A String&quot;,
1213 ],
1214 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
1215 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
1216 }
1217
1218 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
1219 x__xgafv: string, V1 error format.
1220 Allowed values
1221 1 - v1 error format
1222 2 - v2 error format
1223
1224 Returns:
1225 An object of the form:
1226
1227 { # A unit of data that is returned by the DNS servers.
1228 &quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
1229 &quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
1230 &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).
1231 &quot;geo&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1232 &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.
1233 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1234 { # ResourceRecordSet data for one geo location.
1235 &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.
1236 &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)
1237 &quot;A String&quot;,
1238 ],
1239 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1240 { # The configuration for an individual load balancer to health check.
1241 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1242 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1243 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1244 &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.
1245 &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}`.
1246 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1247 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1248 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1249 },
1250 ],
1251 },
1252 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1253 &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.
1254 &quot;rrdatas&quot;: [
1255 &quot;A String&quot;,
1256 ],
1257 &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.
1258 &quot;A String&quot;,
1259 ],
1260 },
1261 ],
1262 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1263 },
1264 &quot;geoPolicy&quot;: { # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1265 &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.
1266 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1267 { # ResourceRecordSet data for one geo location.
1268 &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.
1269 &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)
1270 &quot;A String&quot;,
1271 ],
1272 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1273 { # The configuration for an individual load balancer to health check.
1274 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1275 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1276 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1277 &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.
1278 &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}`.
1279 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1280 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1281 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1282 },
1283 ],
1284 },
1285 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1286 &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.
1287 &quot;rrdatas&quot;: [
1288 &quot;A String&quot;,
1289 ],
1290 &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.
1291 &quot;A String&quot;,
1292 ],
1293 },
1294 ],
1295 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1296 },
1297 &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
1298 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
1299 &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.
1300 &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.
1301 &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.
1302 &quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
1303 { # ResourceRecordSet data for one geo location.
1304 &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.
1305 &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)
1306 &quot;A String&quot;,
1307 ],
1308 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1309 { # The configuration for an individual load balancer to health check.
1310 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1311 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1312 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1313 &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.
1314 &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}`.
1315 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1316 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1317 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1318 },
1319 ],
1320 },
1321 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
1322 &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.
1323 &quot;rrdatas&quot;: [
1324 &quot;A String&quot;,
1325 ],
1326 &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.
1327 &quot;A String&quot;,
1328 ],
1329 },
1330 ],
1331 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
1332 },
1333 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyPrimaryBackupPolicy&quot;,
1334 &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`.
1335 &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)
1336 &quot;A String&quot;,
1337 ],
1338 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1339 { # The configuration for an individual load balancer to health check.
1340 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1341 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1342 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1343 &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.
1344 &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}`.
1345 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1346 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1347 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1348 },
1349 ],
1350 },
1351 &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.
1352 },
1353 &quot;wrr&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1354 &quot;items&quot;: [
1355 { # A routing block which contains the routing information for one WRR item.
1356 &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.
1357 &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)
1358 &quot;A String&quot;,
1359 ],
1360 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1361 { # The configuration for an individual load balancer to health check.
1362 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1363 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1364 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1365 &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.
1366 &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}`.
1367 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1368 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1369 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1370 },
1371 ],
1372 },
1373 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1374 &quot;rrdatas&quot;: [
1375 &quot;A String&quot;,
1376 ],
1377 &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.
1378 &quot;A String&quot;,
1379 ],
1380 &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.
1381 },
1382 ],
1383 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1384 },
1385 &quot;wrrPolicy&quot;: { # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1386 &quot;items&quot;: [
1387 { # A routing block which contains the routing information for one WRR item.
1388 &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.
1389 &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)
1390 &quot;A String&quot;,
1391 ],
1392 &quot;internalLoadBalancers&quot;: [ # Configuration for internal load balancers to be health checked.
1393 { # The configuration for an individual load balancer to health check.
1394 &quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
1395 &quot;ipProtocol&quot;: &quot;A String&quot;, # The protocol of the load balancer to health check.
1396 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyLoadBalancerTarget&quot;,
1397 &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.
1398 &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}`.
1399 &quot;port&quot;: &quot;A String&quot;, # The configured port of the load balancer.
1400 &quot;project&quot;: &quot;A String&quot;, # The project ID in which the load balancer is located.
1401 &quot;region&quot;: &quot;A String&quot;, # The region in which the load balancer is located.
1402 },
1403 ],
1404 },
1405 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
1406 &quot;rrdatas&quot;: [
1407 &quot;A String&quot;,
1408 ],
1409 &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.
1410 &quot;A String&quot;,
1411 ],
1412 &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.
1413 },
1414 ],
1415 &quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
1416 },
1417 },
1418 &quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
1419 &quot;A String&quot;,
1420 ],
1421 &quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
1422 &quot;A String&quot;,
1423 ],
1424 &quot;ttl&quot;: 42, # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
1425 &quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
1426 }</pre>
1427 </div>
1428
1429 </body></html>