Skip to content

Commit d039cf7

Browse files
feat(dns): update the api
#### dns:v1 The following keys were added: - schemas.Quota.properties.itemsPerRoutingPolicy (Total Keys: 2) - schemas.RRSetRoutingPolicy (Total Keys: 37) - schemas.ResourceRecordSet.properties.routingPolicy.$ref (Total Keys: 1)
1 parent 64e3525 commit d039cf7

File tree

6 files changed

+843
-2
lines changed

6 files changed

+843
-2
lines changed

docs/dyn/dns_v1.changes.html

Lines changed: 264 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dns_v1.projects.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ <h3>Method Details</h3>
107107
&quot;number&quot;: &quot;A String&quot;, # Unique numeric identifier for the resource; defined by the server (output only).
108108
&quot;quota&quot;: { # Limits associated with a Project. # Quotas assigned to this project (output only).
109109
&quot;dnsKeysPerManagedZone&quot;: 42, # Maximum allowed number of DnsKeys per ManagedZone.
110+
&quot;itemsPerRoutingPolicy&quot;: 42, # Maximum allowed number of items per routing policy.
110111
&quot;kind&quot;: &quot;dns#quota&quot;,
111112
&quot;managedZones&quot;: 42, # Maximum allowed number of managed zones in the project.
112113
&quot;managedZonesPerNetwork&quot;: 42, # Maximum allowed number of managed zones which can be attached to a network.

docs/dyn/dns_v1.resourceRecordSets.html

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,39 @@ <h3>Method Details</h3>
114114
{ # A unit of data that is returned by the DNS servers.
115115
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
116116
&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 geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
118+
&quot;geo&quot;: {
119+
&quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
120+
{
121+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
122+
&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.
123+
&quot;rrdatas&quot;: [
124+
&quot;A String&quot;,
125+
],
126+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above geo_rrdata.
127+
&quot;A String&quot;,
128+
],
129+
},
130+
],
131+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
132+
},
133+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
134+
&quot;wrr&quot;: {
135+
&quot;items&quot;: [
136+
{
137+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
138+
&quot;rrdatas&quot;: [
139+
&quot;A String&quot;,
140+
],
141+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above wrr_rrdata.
142+
&quot;A String&quot;,
143+
],
144+
&quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
145+
},
146+
],
147+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
148+
},
149+
},
117150
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
118151
&quot;A String&quot;,
119152
],
@@ -136,6 +169,39 @@ <h3>Method Details</h3>
136169
{ # A unit of data that is returned by the DNS servers.
137170
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
138171
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
172+
&quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
173+
&quot;geo&quot;: {
174+
&quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
175+
{
176+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
177+
&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.
178+
&quot;rrdatas&quot;: [
179+
&quot;A String&quot;,
180+
],
181+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above geo_rrdata.
182+
&quot;A String&quot;,
183+
],
184+
},
185+
],
186+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
187+
},
188+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
189+
&quot;wrr&quot;: {
190+
&quot;items&quot;: [
191+
{
192+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
193+
&quot;rrdatas&quot;: [
194+
&quot;A String&quot;,
195+
],
196+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above wrr_rrdata.
197+
&quot;A String&quot;,
198+
],
199+
&quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
200+
},
201+
],
202+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
203+
},
204+
},
139205
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
140206
&quot;A String&quot;,
141207
],
@@ -190,6 +256,39 @@ <h3>Method Details</h3>
190256
{ # A unit of data that is returned by the DNS servers.
191257
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
192258
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
259+
&quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
260+
&quot;geo&quot;: {
261+
&quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
262+
{
263+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
264+
&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.
265+
&quot;rrdatas&quot;: [
266+
&quot;A String&quot;,
267+
],
268+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above geo_rrdata.
269+
&quot;A String&quot;,
270+
],
271+
},
272+
],
273+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
274+
},
275+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
276+
&quot;wrr&quot;: {
277+
&quot;items&quot;: [
278+
{
279+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
280+
&quot;rrdatas&quot;: [
281+
&quot;A String&quot;,
282+
],
283+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above wrr_rrdata.
284+
&quot;A String&quot;,
285+
],
286+
&quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
287+
},
288+
],
289+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
290+
},
291+
},
193292
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
194293
&quot;A String&quot;,
195294
],
@@ -230,6 +329,39 @@ <h3>Method Details</h3>
230329
{ # A unit of data that is returned by the DNS servers.
231330
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
232331
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
332+
&quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
333+
&quot;geo&quot;: {
334+
&quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
335+
{
336+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
337+
&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.
338+
&quot;rrdatas&quot;: [
339+
&quot;A String&quot;,
340+
],
341+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above geo_rrdata.
342+
&quot;A String&quot;,
343+
],
344+
},
345+
],
346+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
347+
},
348+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
349+
&quot;wrr&quot;: {
350+
&quot;items&quot;: [
351+
{
352+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
353+
&quot;rrdatas&quot;: [
354+
&quot;A String&quot;,
355+
],
356+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above wrr_rrdata.
357+
&quot;A String&quot;,
358+
],
359+
&quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
360+
},
361+
],
362+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
363+
},
364+
},
233365
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
234366
&quot;A String&quot;,
235367
],
@@ -272,6 +404,39 @@ <h3>Method Details</h3>
272404
{ # A unit of data that is returned by the DNS servers.
273405
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
274406
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
407+
&quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
408+
&quot;geo&quot;: {
409+
&quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
410+
{
411+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
412+
&quot;location&quot;: &quot;A String&quot;, # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. &quot;us-east1&quot;, &quot;southamerica-east1&quot;, &quot;asia-east1&quot;, etc.
413+
&quot;rrdatas&quot;: [
414+
&quot;A String&quot;,
415+
],
416+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above geo_rrdata.
417+
&quot;A String&quot;,
418+
],
419+
},
420+
],
421+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
422+
},
423+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
424+
&quot;wrr&quot;: {
425+
&quot;items&quot;: [
426+
{
427+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
428+
&quot;rrdatas&quot;: [
429+
&quot;A String&quot;,
430+
],
431+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above wrr_rrdata.
432+
&quot;A String&quot;,
433+
],
434+
&quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
435+
},
436+
],
437+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
438+
},
439+
},
275440
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
276441
&quot;A String&quot;,
277442
],
@@ -294,6 +459,39 @@ <h3>Method Details</h3>
294459
{ # A unit of data that is returned by the DNS servers.
295460
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
296461
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
462+
&quot;routingPolicy&quot;: { # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
463+
&quot;geo&quot;: {
464+
&quot;items&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
465+
{
466+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem&quot;,
467+
&quot;location&quot;: &quot;A String&quot;, # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. &quot;us-east1&quot;, &quot;southamerica-east1&quot;, &quot;asia-east1&quot;, etc.
468+
&quot;rrdatas&quot;: [
469+
&quot;A String&quot;,
470+
],
471+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above geo_rrdata.
472+
&quot;A String&quot;,
473+
],
474+
},
475+
],
476+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyGeoPolicy&quot;,
477+
},
478+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicy&quot;,
479+
&quot;wrr&quot;: {
480+
&quot;items&quot;: [
481+
{
482+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem&quot;,
483+
&quot;rrdatas&quot;: [
484+
&quot;A String&quot;,
485+
],
486+
&quot;signatureRrdatas&quot;: [ # DNSSEC generated signatures for the above wrr_rrdata.
487+
&quot;A String&quot;,
488+
],
489+
&quot;weight&quot;: 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
490+
},
491+
],
492+
&quot;kind&quot;: &quot;dns#rRSetRoutingPolicyWrrPolicy&quot;,
493+
},
494+
},
297495
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
298496
&quot;A String&quot;,
299497
],

0 commit comments

Comments
 (0)