Skip to content

Commit

Permalink
feat(dns)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### dns:v1beta2

The following keys were deleted:
- schemas.RRSetRoutingPolicyGeoPolicy.properties.failovers.description
- schemas.RRSetRoutingPolicyGeoPolicy.properties.failovers.items.$ref
- schemas.RRSetRoutingPolicyGeoPolicy.properties.failovers.type
  • Loading branch information
yoshi-automation authored and bcoe committed Oct 18, 2021
1 parent 6495352 commit 5fb88d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
9 changes: 1 addition & 8 deletions discovery/dns-v1beta2.json
Expand Up @@ -1730,7 +1730,7 @@
}
}
},
"revision": "20210823",
"revision": "20211006",
"rootUrl": "https://dns.googleapis.com/",
"schemas": {
"Change": {
Expand Down Expand Up @@ -2721,13 +2721,6 @@
"RRSetRoutingPolicyGeoPolicy": {
"id": "RRSetRoutingPolicyGeoPolicy",
"properties": {
"failovers": {
"description": "If the health check for the primary target for a geo location returns an unhealthy status, the failover target is returned instead. This failover configuration is not mandatory. If a failover is not provided, the primary target won't be healthchecked, and it returns the primarily configured rrdata irrespective of whether it is healthy or not.",
"items": {
"$ref": "RRSetRoutingPolicyGeoPolicyGeoPolicyItem"
},
"type": "array"
},
"items": {
"description": "The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.",
"items": {
Expand Down
4 changes: 0 additions & 4 deletions src/apis/dns/v1beta2.ts
Expand Up @@ -894,10 +894,6 @@ export namespace dns_v1beta2 {
wrrPolicy?: Schema$RRSetRoutingPolicyWrrPolicy;
}
export interface Schema$RRSetRoutingPolicyGeoPolicy {
/**
* If the health check for the primary target for a geo location returns an unhealthy status, the failover target is returned instead. This failover configuration is not mandatory. If a failover is not provided, the primary target won't be healthchecked, and it returns the primarily configured rrdata irrespective of whether it is healthy or not.
*/
failovers?: Schema$RRSetRoutingPolicyGeoPolicyGeoPolicyItem[];
/**
* The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
*/
Expand Down

0 comments on commit 5fb88d6

Please sign in to comment.