@maxim_mazurok/gapi.client.dns-v1beta2 0.0.20230801 → 0.0.20230831
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +35 -22
- package/package.json +2 -2
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dns.googleapis.com/$discovery/rest?version=v1beta2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230831
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -730,8 +730,8 @@ declare namespace gapi.client {
|
|
|
730
730
|
name?:
|
|
731
731
|
string;
|
|
732
732
|
/**
|
|
733
|
-
* Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet
|
|
734
|
-
*
|
|
733
|
+
* 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
|
|
734
|
+
* rrdata (for static resolution) or a routing_policy (for dynamic resolution).
|
|
735
735
|
*/
|
|
736
736
|
routingPolicy?:
|
|
737
737
|
RRSetRoutingPolicy;
|
|
@@ -756,9 +756,8 @@ declare namespace gapi.client {
|
|
|
756
756
|
string;
|
|
757
757
|
/**
|
|
758
758
|
* The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value
|
|
759
|
-
* as your pagination token. This lets you retrieve complete contents of even larger collections, one page at a time. However, if the
|
|
760
|
-
*
|
|
761
|
-
* the maximum page size.
|
|
759
|
+
* as your pagination token. This lets you retrieve the complete contents of even larger collections, one page at a time. However, if the collection changes between paginated list
|
|
760
|
+
* requests, the set of elements returned is an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.
|
|
762
761
|
*/
|
|
763
762
|
nextPageToken?:
|
|
764
763
|
string;
|
|
@@ -904,9 +903,9 @@ declare namespace gapi.client {
|
|
|
904
903
|
}
|
|
905
904
|
interface RRSetRoutingPolicyGeoPolicy {
|
|
906
905
|
/**
|
|
907
|
-
* Without fencing, if health check fails for all configured items in the current geo bucket, we
|
|
908
|
-
* as long as some targets in the current geo bucket are healthy, we
|
|
909
|
-
* bucket, we
|
|
906
|
+
* 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,
|
|
907
|
+
* 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't failover to the next nearest
|
|
908
|
+
* bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
|
|
910
909
|
*/
|
|
911
910
|
enableFencing?:
|
|
912
911
|
boolean;
|
|
@@ -927,7 +926,7 @@ declare namespace gapi.client {
|
|
|
927
926
|
string;
|
|
928
927
|
rrdatas?:
|
|
929
928
|
string[];
|
|
930
|
-
/** DNSSEC generated signatures for all the rrdata within this item.
|
|
929
|
+
/** DNSSEC generated signatures for all the rrdata within this item. If health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item. */
|
|
931
930
|
signatureRrdatas?:
|
|
932
931
|
string[];
|
|
933
932
|
}
|
|
@@ -936,26 +935,34 @@ declare namespace gapi.client {
|
|
|
936
935
|
RRSetRoutingPolicyLoadBalancerTarget[];
|
|
937
936
|
}
|
|
938
937
|
interface RRSetRoutingPolicyLoadBalancerTarget {
|
|
939
|
-
/** The frontend IP address of the
|
|
938
|
+
/** The frontend IP address of the load balancer to health check. */
|
|
940
939
|
ipAddress?:
|
|
941
940
|
string;
|
|
941
|
+
/** The protocol of the load balancer to health check. */
|
|
942
942
|
ipProtocol?:
|
|
943
943
|
string;
|
|
944
944
|
kind?:
|
|
945
945
|
string;
|
|
946
|
-
/**
|
|
946
|
+
/**
|
|
947
|
+
* The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget's IP address, port, and region.
|
|
948
|
+
* Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. -
|
|
949
|
+
* *globalL7ilb*: for a global internal Application Load Balancer.
|
|
950
|
+
*/
|
|
947
951
|
loadBalancerType?:
|
|
948
952
|
string;
|
|
949
|
-
/**
|
|
953
|
+
/**
|
|
954
|
+
* The fully qualified URL of the network that the load balancer is attached to. This should be formatted like
|
|
955
|
+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} .
|
|
956
|
+
*/
|
|
950
957
|
networkUrl?:
|
|
951
958
|
string;
|
|
952
|
-
/** The configured port of the
|
|
959
|
+
/** The configured port of the load balancer. */
|
|
953
960
|
port?:
|
|
954
961
|
string;
|
|
955
|
-
/** The project ID in which the
|
|
962
|
+
/** The project ID in which the load balancer is located. */
|
|
956
963
|
project?:
|
|
957
964
|
string;
|
|
958
|
-
/** The region in which the
|
|
965
|
+
/** The region in which the load balancer is located. */
|
|
959
966
|
region?:
|
|
960
967
|
string;
|
|
961
968
|
}
|
|
@@ -965,6 +972,10 @@ declare namespace gapi.client {
|
|
|
965
972
|
RRSetRoutingPolicyGeoPolicy;
|
|
966
973
|
kind?:
|
|
967
974
|
string;
|
|
975
|
+
/**
|
|
976
|
+
* 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
|
|
977
|
+
* the backup_geo_targets.
|
|
978
|
+
*/
|
|
968
979
|
primaryTargets?:
|
|
969
980
|
RRSetRoutingPolicyHealthCheckTargets;
|
|
970
981
|
/** When serving state is PRIMARY, this field provides the option of sending a small percentage of the traffic to the backup targets. */
|
|
@@ -979,9 +990,8 @@ declare namespace gapi.client {
|
|
|
979
990
|
}
|
|
980
991
|
interface RRSetRoutingPolicyWrrPolicyWrrPolicyItem {
|
|
981
992
|
/**
|
|
982
|
-
*
|
|
983
|
-
*
|
|
984
|
-
* be set.
|
|
993
|
+
* 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
|
|
994
|
+
* 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.
|
|
985
995
|
*/
|
|
986
996
|
healthCheckedTargets?:
|
|
987
997
|
RRSetRoutingPolicyHealthCheckTargets;
|
|
@@ -989,12 +999,15 @@ declare namespace gapi.client {
|
|
|
989
999
|
string;
|
|
990
1000
|
rrdatas?:
|
|
991
1001
|
string[];
|
|
992
|
-
/**
|
|
1002
|
+
/**
|
|
1003
|
+
* DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per
|
|
1004
|
+
* item.
|
|
1005
|
+
*/
|
|
993
1006
|
signatureRrdatas?:
|
|
994
1007
|
string[];
|
|
995
1008
|
/**
|
|
996
|
-
* The weight corresponding to this
|
|
997
|
-
* relative to the sum of weights configured for all items. This weight
|
|
1009
|
+
* The weight corresponding to this WrrPolicyItem object. When multiple WrrPolicyItem objects are configured, the probability of returning an WrrPolicyItem object's data is
|
|
1010
|
+
* proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
|
|
998
1011
|
*/
|
|
999
1012
|
weight?:
|
|
1000
1013
|
number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.dns-v1beta2",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20230831",
|
|
4
4
|
"description": "TypeScript typings for Cloud DNS API v1beta2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230831
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|