Skip to content

Commit

Permalink
feat(domains): update the api
Browse files Browse the repository at this point in the history
#### domains:v1

The following keys were added:
- schemas.HealthCheckTargets.properties.externalEndpoints (Total Keys: 2)
- schemas.RRSetRoutingPolicy.properties.healthCheck.type (Total Keys: 1)

#### domains:v1alpha2

The following keys were added:
- schemas.HealthCheckTargets.properties.externalEndpoints (Total Keys: 2)
- schemas.RRSetRoutingPolicy.properties.healthCheck.type (Total Keys: 1)

#### domains:v1beta1

The following keys were added:
- schemas.HealthCheckTargets.properties.externalEndpoints (Total Keys: 2)
- schemas.RRSetRoutingPolicy.properties.healthCheck.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Aug 13, 2024
1 parent 591c32c commit 3b1af4c
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 3 deletions.
19 changes: 19 additions & 0 deletions docs/dyn/domains_v1.projects.locations.registrations.html
Original file line number Diff line number Diff line change
Expand Up @@ -1711,6 +1711,9 @@ <h3>Method Details</h3>
&quot;item&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
{ # ResourceRecordSet data for one geo location.
&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. # 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.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand Down Expand Up @@ -1738,6 +1741,9 @@ <h3>Method Details</h3>
&quot;item&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
{ # ResourceRecordSet data for one geo location.
&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. # 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.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand All @@ -1760,12 +1766,16 @@ <h3>Method Details</h3>
},
],
},
&quot;healthCheck&quot;: &quot;A String&quot;, # The selfLink attribute of the HealthCheck resource to use for this RRSetRoutingPolicy. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
&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.
&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.
&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.
&quot;item&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
{ # ResourceRecordSet data for one geo location.
&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. # 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.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand All @@ -1789,6 +1799,9 @@ <h3>Method Details</h3>
],
},
&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. # 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`.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand All @@ -1807,6 +1820,9 @@ <h3>Method Details</h3>
&quot;item&quot;: [
{ # A routing block which contains the routing information for one WRR item.
&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. # 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.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand All @@ -1833,6 +1849,9 @@ <h3>Method Details</h3>
&quot;item&quot;: [
{ # A routing block which contains the routing information for one WRR item.
&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. # 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.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand Down
19 changes: 19 additions & 0 deletions docs/dyn/domains_v1alpha2.projects.locations.registrations.html
Original file line number Diff line number Diff line change
Expand Up @@ -1715,6 +1715,9 @@ <h3>Method Details</h3>
&quot;item&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
{ # ResourceRecordSet data for one geo location.
&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. # 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.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand Down Expand Up @@ -1742,6 +1745,9 @@ <h3>Method Details</h3>
&quot;item&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
{ # ResourceRecordSet data for one geo location.
&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. # 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.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand All @@ -1764,12 +1770,16 @@ <h3>Method Details</h3>
},
],
},
&quot;healthCheck&quot;: &quot;A String&quot;, # The selfLink attribute of the HealthCheck resource to use for this RRSetRoutingPolicy. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
&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.
&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.
&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.
&quot;item&quot;: [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
{ # ResourceRecordSet data for one geo location.
&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. # 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.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand All @@ -1793,6 +1803,9 @@ <h3>Method Details</h3>
],
},
&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. # 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`.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand All @@ -1811,6 +1824,9 @@ <h3>Method Details</h3>
&quot;item&quot;: [
{ # A routing block which contains the routing information for one WRR item.
&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. # 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.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand All @@ -1837,6 +1853,9 @@ <h3>Method Details</h3>
&quot;item&quot;: [
{ # A routing block which contains the routing information for one WRR item.
&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. # 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.
&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)
&quot;A String&quot;,
],
&quot;internalLoadBalancer&quot;: [ # Configuration for internal load balancers to be health checked.
{ # The configuration for an individual load balancer to health check.
&quot;ipAddress&quot;: &quot;A String&quot;, # The frontend IP address of the load balancer to health check.
Expand Down
Loading

0 comments on commit 3b1af4c

Please sign in to comment.