@maxim_mazurok/gapi.client.networkconnectivity-v1 0.0.20230913 → 0.0.20230921
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 +85 -85
- package/package.json +1 -1
- package/tests.ts +8 -8
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://networkconnectivity.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230921
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,7 +24,7 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace networkconnectivity {
|
|
25
25
|
interface AcceptHubSpokeRequest {
|
|
26
26
|
/**
|
|
27
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
27
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
28
28
|
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
29
29
|
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
30
30
|
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception
|
|
@@ -43,7 +43,7 @@ declare namespace gapi.client {
|
|
|
43
43
|
}
|
|
44
44
|
interface AcceptSpokeRequest {
|
|
45
45
|
/**
|
|
46
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
46
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
47
47
|
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
48
48
|
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
49
49
|
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception
|
|
@@ -174,16 +174,16 @@ declare namespace gapi.client {
|
|
|
174
174
|
string;
|
|
175
175
|
}
|
|
176
176
|
interface Filter {
|
|
177
|
-
/** Optional. The destination IP range of outgoing packets that this policy
|
|
177
|
+
/** Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4. */
|
|
178
178
|
destRange?:
|
|
179
179
|
string;
|
|
180
|
-
/** Optional. The IP protocol that this policy
|
|
180
|
+
/** Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'. */
|
|
181
181
|
ipProtocol?:
|
|
182
182
|
string;
|
|
183
|
-
/** Required. Internet protocol versions this policy
|
|
183
|
+
/** Required. Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported. */
|
|
184
184
|
protocolVersion?:
|
|
185
185
|
string;
|
|
186
|
-
/** Optional. The source IP range of outgoing packets that this policy
|
|
186
|
+
/** Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4. */
|
|
187
187
|
srcRange?:
|
|
188
188
|
string;
|
|
189
189
|
}
|
|
@@ -335,7 +335,7 @@ declare namespace gapi.client {
|
|
|
335
335
|
string;
|
|
336
336
|
}
|
|
337
337
|
interface InterconnectAttachment {
|
|
338
|
-
/** Optional. Cloud region to install this policy
|
|
338
|
+
/** Optional. Cloud region to install this policy-based route on interconnect attachment. Use `all` to install it on all interconnect attachments. */
|
|
339
339
|
region?:
|
|
340
340
|
string;
|
|
341
341
|
}
|
|
@@ -502,7 +502,7 @@ declare namespace gapi.client {
|
|
|
502
502
|
/** The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result. */
|
|
503
503
|
nextPageToken?:
|
|
504
504
|
string;
|
|
505
|
-
/** Policy
|
|
505
|
+
/** Policy-based routes to be returned. */
|
|
506
506
|
policyBasedRoutes?:
|
|
507
507
|
PolicyBasedRoute[];
|
|
508
508
|
/** Locations that could not be reached. */
|
|
@@ -672,7 +672,7 @@ declare namespace gapi.client {
|
|
|
672
672
|
number;
|
|
673
673
|
}
|
|
674
674
|
interface PolicyBasedRoute {
|
|
675
|
-
/** Output only. Time when the
|
|
675
|
+
/** Output only. Time when the policy-based route was created. */
|
|
676
676
|
createTime?:
|
|
677
677
|
string;
|
|
678
678
|
/** Optional. An optional description of this resource. Provide this field when you create the resource. */
|
|
@@ -681,10 +681,10 @@ declare namespace gapi.client {
|
|
|
681
681
|
/** Required. The filter to match L4 traffic. */
|
|
682
682
|
filter?:
|
|
683
683
|
Filter;
|
|
684
|
-
/** Optional. The interconnect attachments
|
|
684
|
+
/** Optional. The interconnect attachments that this policy-based route applies to. */
|
|
685
685
|
interconnectAttachment?:
|
|
686
686
|
InterconnectAttachment;
|
|
687
|
-
/** Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for
|
|
687
|
+
/** Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources. */
|
|
688
688
|
kind?:
|
|
689
689
|
string;
|
|
690
690
|
/** User-defined labels. */
|
|
@@ -693,28 +693,28 @@ declare namespace gapi.client {
|
|
|
693
693
|
/** Immutable. A unique name of the resource in the form of `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}` */
|
|
694
694
|
name?:
|
|
695
695
|
string;
|
|
696
|
-
/** Required. Fully-qualified URL of the network that this route applies to
|
|
696
|
+
/** Required. Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. */
|
|
697
697
|
network?:
|
|
698
698
|
string;
|
|
699
|
-
/** Optional. The IP of a global
|
|
699
|
+
/** Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported. */
|
|
700
700
|
nextHopIlbIp?:
|
|
701
701
|
string;
|
|
702
702
|
/** Optional. Other routes that will be referenced to determine the next hop of the packet. */
|
|
703
703
|
nextHopOtherRoutes?:
|
|
704
704
|
string;
|
|
705
705
|
/**
|
|
706
|
-
* Optional. The priority of this policy
|
|
707
|
-
* policy
|
|
706
|
+
* Optional. The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple
|
|
707
|
+
* policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
|
|
708
708
|
*/
|
|
709
709
|
priority?:
|
|
710
710
|
number;
|
|
711
711
|
/** Output only. Server-defined fully-qualified URL for this resource. */
|
|
712
712
|
selfLink?:
|
|
713
713
|
string;
|
|
714
|
-
/** Output only. Time when the
|
|
714
|
+
/** Output only. Time when the policy-based route was updated. */
|
|
715
715
|
updateTime?:
|
|
716
716
|
string;
|
|
717
|
-
/** Optional. VM instances to which this policy
|
|
717
|
+
/** Optional. VM instances to which this policy-based route applies to. */
|
|
718
718
|
virtualMachine?:
|
|
719
719
|
VirtualMachine;
|
|
720
720
|
/** Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages. */
|
|
@@ -768,7 +768,7 @@ declare namespace gapi.client {
|
|
|
768
768
|
details?:
|
|
769
769
|
string;
|
|
770
770
|
/**
|
|
771
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
771
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
772
772
|
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
773
773
|
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
774
774
|
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception
|
|
@@ -790,7 +790,7 @@ declare namespace gapi.client {
|
|
|
790
790
|
details?:
|
|
791
791
|
string;
|
|
792
792
|
/**
|
|
793
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
793
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
794
794
|
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
795
795
|
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
796
796
|
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception
|
|
@@ -1170,7 +1170,7 @@ declare namespace gapi.client {
|
|
|
1170
1170
|
string[];
|
|
1171
1171
|
}
|
|
1172
1172
|
interface VirtualMachine {
|
|
1173
|
-
/** Optional. A list of VM instance tags
|
|
1173
|
+
/** Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR. */
|
|
1174
1174
|
tags?:
|
|
1175
1175
|
string[];
|
|
1176
1176
|
}
|
|
@@ -1608,7 +1608,7 @@ declare namespace gapi.client {
|
|
|
1608
1608
|
RoutesResource;
|
|
1609
1609
|
}
|
|
1610
1610
|
interface HubsResource {
|
|
1611
|
-
/** Accepts a proposal to attach a Network Connectivity Center spoke to
|
|
1611
|
+
/** Accepts a proposal to attach a Network Connectivity Center spoke to a hub. */
|
|
1612
1612
|
acceptSpoke(request: {
|
|
1613
1613
|
/** V1 error format. */
|
|
1614
1614
|
"$.xgafv"?:
|
|
@@ -1628,7 +1628,7 @@ declare namespace gapi.client {
|
|
|
1628
1628
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1629
1629
|
key?:
|
|
1630
1630
|
string;
|
|
1631
|
-
/** Required. The name of the hub. */
|
|
1631
|
+
/** Required. The name of the hub into which to accept the spoke. */
|
|
1632
1632
|
name:
|
|
1633
1633
|
string;
|
|
1634
1634
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -1669,7 +1669,7 @@ declare namespace gapi.client {
|
|
|
1669
1669
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1670
1670
|
key?:
|
|
1671
1671
|
string;
|
|
1672
|
-
/** Required. The name of the hub. */
|
|
1672
|
+
/** Required. The name of the hub into which to accept the spoke. */
|
|
1673
1673
|
name:
|
|
1674
1674
|
string;
|
|
1675
1675
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -1725,11 +1725,11 @@ declare namespace gapi.client {
|
|
|
1725
1725
|
quotaUser?:
|
|
1726
1726
|
string;
|
|
1727
1727
|
/**
|
|
1728
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1729
|
-
*
|
|
1730
|
-
*
|
|
1731
|
-
*
|
|
1732
|
-
*
|
|
1728
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
1729
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
1730
|
+
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
1731
|
+
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the
|
|
1732
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
1733
1733
|
*/
|
|
1734
1734
|
requestId?:
|
|
1735
1735
|
string;
|
|
@@ -1778,11 +1778,11 @@ declare namespace gapi.client {
|
|
|
1778
1778
|
quotaUser?:
|
|
1779
1779
|
string;
|
|
1780
1780
|
/**
|
|
1781
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1782
|
-
*
|
|
1783
|
-
*
|
|
1784
|
-
*
|
|
1785
|
-
*
|
|
1781
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
1782
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
1783
|
+
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
1784
|
+
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the
|
|
1785
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
1786
1786
|
*/
|
|
1787
1787
|
requestId?:
|
|
1788
1788
|
string;
|
|
@@ -1827,11 +1827,11 @@ declare namespace gapi.client {
|
|
|
1827
1827
|
quotaUser?:
|
|
1828
1828
|
string;
|
|
1829
1829
|
/**
|
|
1830
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
1831
|
-
*
|
|
1832
|
-
*
|
|
1833
|
-
*
|
|
1834
|
-
*
|
|
1830
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
1831
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
1832
|
+
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
1833
|
+
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the
|
|
1834
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
1835
1835
|
*/
|
|
1836
1836
|
requestId?:
|
|
1837
1837
|
string;
|
|
@@ -2080,11 +2080,11 @@ declare namespace gapi.client {
|
|
|
2080
2080
|
quotaUser?:
|
|
2081
2081
|
string;
|
|
2082
2082
|
/**
|
|
2083
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2084
|
-
*
|
|
2085
|
-
*
|
|
2086
|
-
*
|
|
2087
|
-
*
|
|
2083
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
2084
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
2085
|
+
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
2086
|
+
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the
|
|
2087
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
2088
2088
|
*/
|
|
2089
2089
|
requestId?:
|
|
2090
2090
|
string;
|
|
@@ -2136,11 +2136,11 @@ declare namespace gapi.client {
|
|
|
2136
2136
|
quotaUser?:
|
|
2137
2137
|
string;
|
|
2138
2138
|
/**
|
|
2139
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
2140
|
-
*
|
|
2141
|
-
*
|
|
2142
|
-
*
|
|
2143
|
-
*
|
|
2139
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
2140
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
2141
|
+
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
2142
|
+
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the
|
|
2143
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
2144
2144
|
*/
|
|
2145
2145
|
requestId?:
|
|
2146
2146
|
string;
|
|
@@ -2159,8 +2159,8 @@ declare namespace gapi.client {
|
|
|
2159
2159
|
},
|
|
2160
2160
|
body: Hub): Request<GoogleLongrunningOperation>;
|
|
2161
2161
|
/**
|
|
2162
|
-
* Rejects a Network Connectivity Center spoke from being attached to
|
|
2163
|
-
*
|
|
2162
|
+
* Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the `ACTIVE` state, it transitions to the `INACTIVE` state and is no longer
|
|
2163
|
+
* able to connect to other spokes that are attached to the hub.
|
|
2164
2164
|
*/
|
|
2165
2165
|
rejectSpoke(request: {
|
|
2166
2166
|
/** V1 error format. */
|
|
@@ -2181,7 +2181,7 @@ declare namespace gapi.client {
|
|
|
2181
2181
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2182
2182
|
key?:
|
|
2183
2183
|
string;
|
|
2184
|
-
/** Required. The name of the hub. */
|
|
2184
|
+
/** Required. The name of the hub from which to reject the spoke. */
|
|
2185
2185
|
name:
|
|
2186
2186
|
string;
|
|
2187
2187
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2222,7 +2222,7 @@ declare namespace gapi.client {
|
|
|
2222
2222
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2223
2223
|
key?:
|
|
2224
2224
|
string;
|
|
2225
|
-
/** Required. The name of the hub. */
|
|
2225
|
+
/** Required. The name of the hub from which to reject the spoke. */
|
|
2226
2226
|
name:
|
|
2227
2227
|
string;
|
|
2228
2228
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2337,7 +2337,7 @@ declare namespace gapi.client {
|
|
|
2337
2337
|
RouteTablesResource;
|
|
2338
2338
|
}
|
|
2339
2339
|
interface PolicyBasedRoutesResource {
|
|
2340
|
-
/** Creates a new
|
|
2340
|
+
/** Creates a new policy-based route in a given project and location. */
|
|
2341
2341
|
create(request: {
|
|
2342
2342
|
/** V1 error format. */
|
|
2343
2343
|
"$.xgafv"?:
|
|
@@ -2363,7 +2363,7 @@ declare namespace gapi.client {
|
|
|
2363
2363
|
/** Required. The parent resource's name of the PolicyBasedRoute. */
|
|
2364
2364
|
parent:
|
|
2365
2365
|
string;
|
|
2366
|
-
/** Required. Unique id for the
|
|
2366
|
+
/** Required. Unique id for the policy-based route to create. */
|
|
2367
2367
|
policyBasedRouteId?:
|
|
2368
2368
|
string;
|
|
2369
2369
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2416,7 +2416,7 @@ declare namespace gapi.client {
|
|
|
2416
2416
|
/** Required. The parent resource's name of the PolicyBasedRoute. */
|
|
2417
2417
|
parent:
|
|
2418
2418
|
string;
|
|
2419
|
-
/** Required. Unique id for the
|
|
2419
|
+
/** Required. Unique id for the policy-based route to create. */
|
|
2420
2420
|
policyBasedRouteId?:
|
|
2421
2421
|
string;
|
|
2422
2422
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2442,7 +2442,7 @@ declare namespace gapi.client {
|
|
|
2442
2442
|
string;
|
|
2443
2443
|
},
|
|
2444
2444
|
body: PolicyBasedRoute): Request<GoogleLongrunningOperation>;
|
|
2445
|
-
/** Deletes a single
|
|
2445
|
+
/** Deletes a single policy-based route. */
|
|
2446
2446
|
delete(request?: {
|
|
2447
2447
|
/** V1 error format. */
|
|
2448
2448
|
"$.xgafv"?:
|
|
@@ -2462,7 +2462,7 @@ declare namespace gapi.client {
|
|
|
2462
2462
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2463
2463
|
key?:
|
|
2464
2464
|
string;
|
|
2465
|
-
/** Required. Name of the
|
|
2465
|
+
/** Required. Name of the policy-based route resource to delete. */
|
|
2466
2466
|
name:
|
|
2467
2467
|
string;
|
|
2468
2468
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2490,7 +2490,7 @@ declare namespace gapi.client {
|
|
|
2490
2490
|
uploadType?:
|
|
2491
2491
|
string;
|
|
2492
2492
|
}): Request<GoogleLongrunningOperation>;
|
|
2493
|
-
/** Gets details of a single
|
|
2493
|
+
/** Gets details of a single policy-based route. */
|
|
2494
2494
|
get(request?: {
|
|
2495
2495
|
/** V1 error format. */
|
|
2496
2496
|
"$.xgafv"?:
|
|
@@ -2580,7 +2580,7 @@ declare namespace gapi.client {
|
|
|
2580
2580
|
uploadType?:
|
|
2581
2581
|
string;
|
|
2582
2582
|
}): Request<Policy>;
|
|
2583
|
-
/** Lists
|
|
2583
|
+
/** Lists policy-based routes in a given project and location. */
|
|
2584
2584
|
list(request?: {
|
|
2585
2585
|
/** V1 error format. */
|
|
2586
2586
|
"$.xgafv"?:
|
|
@@ -5091,11 +5091,11 @@ declare namespace gapi.client {
|
|
|
5091
5091
|
quotaUser?:
|
|
5092
5092
|
string;
|
|
5093
5093
|
/**
|
|
5094
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
5095
|
-
*
|
|
5096
|
-
*
|
|
5097
|
-
*
|
|
5098
|
-
*
|
|
5094
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
5095
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
5096
|
+
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
5097
|
+
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the
|
|
5098
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
5099
5099
|
*/
|
|
5100
5100
|
requestId?:
|
|
5101
5101
|
string;
|
|
@@ -5144,11 +5144,11 @@ declare namespace gapi.client {
|
|
|
5144
5144
|
quotaUser?:
|
|
5145
5145
|
string;
|
|
5146
5146
|
/**
|
|
5147
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
5148
|
-
*
|
|
5149
|
-
*
|
|
5150
|
-
*
|
|
5151
|
-
*
|
|
5147
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
5148
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
5149
|
+
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
5150
|
+
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the
|
|
5151
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
5152
5152
|
*/
|
|
5153
5153
|
requestId?:
|
|
5154
5154
|
string;
|
|
@@ -5196,11 +5196,11 @@ declare namespace gapi.client {
|
|
|
5196
5196
|
quotaUser?:
|
|
5197
5197
|
string;
|
|
5198
5198
|
/**
|
|
5199
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
5200
|
-
*
|
|
5201
|
-
*
|
|
5202
|
-
*
|
|
5203
|
-
*
|
|
5199
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
5200
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
5201
|
+
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
5202
|
+
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the
|
|
5203
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
5204
5204
|
*/
|
|
5205
5205
|
requestId?:
|
|
5206
5206
|
string;
|
|
@@ -5385,11 +5385,11 @@ declare namespace gapi.client {
|
|
|
5385
5385
|
quotaUser?:
|
|
5386
5386
|
string;
|
|
5387
5387
|
/**
|
|
5388
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
5389
|
-
*
|
|
5390
|
-
*
|
|
5391
|
-
*
|
|
5392
|
-
*
|
|
5388
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
5389
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
5390
|
+
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
5391
|
+
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the
|
|
5392
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
5393
5393
|
*/
|
|
5394
5394
|
requestId?:
|
|
5395
5395
|
string;
|
|
@@ -5441,11 +5441,11 @@ declare namespace gapi.client {
|
|
|
5441
5441
|
quotaUser?:
|
|
5442
5442
|
string;
|
|
5443
5443
|
/**
|
|
5444
|
-
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server
|
|
5445
|
-
*
|
|
5446
|
-
*
|
|
5447
|
-
*
|
|
5448
|
-
*
|
|
5444
|
+
* Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been
|
|
5445
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
5446
|
+
* initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
|
|
5447
|
+
* was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the
|
|
5448
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
5449
5449
|
*/
|
|
5450
5450
|
requestId?:
|
|
5451
5451
|
string;
|
package/package.json
CHANGED
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: 20230921
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -40,7 +40,7 @@ gapi.load('client', async () => {
|
|
|
40
40
|
pageSize: 42,
|
|
41
41
|
pageToken: "Test string",
|
|
42
42
|
});
|
|
43
|
-
/** Accepts a proposal to attach a Network Connectivity Center spoke to
|
|
43
|
+
/** Accepts a proposal to attach a Network Connectivity Center spoke to a hub. */
|
|
44
44
|
await gapi.client.networkconnectivity.projects.locations.global.hubs.acceptSpoke({
|
|
45
45
|
name: "Test string",
|
|
46
46
|
}, {
|
|
@@ -173,8 +173,8 @@ gapi.load('client', async () => {
|
|
|
173
173
|
updateTime: "Test string",
|
|
174
174
|
});
|
|
175
175
|
/**
|
|
176
|
-
* Rejects a Network Connectivity Center spoke from being attached to
|
|
177
|
-
*
|
|
176
|
+
* Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the `ACTIVE` state, it transitions to the `INACTIVE` state and is no longer able
|
|
177
|
+
* to connect to other spokes that are attached to the hub.
|
|
178
178
|
*/
|
|
179
179
|
await gapi.client.networkconnectivity.projects.locations.global.hubs.rejectSpoke({
|
|
180
180
|
name: "Test string",
|
|
@@ -320,7 +320,7 @@ gapi.load('client', async () => {
|
|
|
320
320
|
pageToken: "Test string",
|
|
321
321
|
parent: "Test string",
|
|
322
322
|
});
|
|
323
|
-
/** Creates a new
|
|
323
|
+
/** Creates a new policy-based route in a given project and location. */
|
|
324
324
|
await gapi.client.networkconnectivity.projects.locations.global.policyBasedRoutes.create({
|
|
325
325
|
parent: "Test string",
|
|
326
326
|
policyBasedRouteId: "Test string",
|
|
@@ -363,12 +363,12 @@ gapi.load('client', async () => {
|
|
|
363
363
|
}
|
|
364
364
|
],
|
|
365
365
|
});
|
|
366
|
-
/** Deletes a single
|
|
366
|
+
/** Deletes a single policy-based route. */
|
|
367
367
|
await gapi.client.networkconnectivity.projects.locations.global.policyBasedRoutes.delete({
|
|
368
368
|
name: "Test string",
|
|
369
369
|
requestId: "Test string",
|
|
370
370
|
});
|
|
371
|
-
/** Gets details of a single
|
|
371
|
+
/** Gets details of a single policy-based route. */
|
|
372
372
|
await gapi.client.networkconnectivity.projects.locations.global.policyBasedRoutes.get({
|
|
373
373
|
name: "Test string",
|
|
374
374
|
});
|
|
@@ -377,7 +377,7 @@ gapi.load('client', async () => {
|
|
|
377
377
|
"options.requestedPolicyVersion": 42,
|
|
378
378
|
resource: "Test string",
|
|
379
379
|
});
|
|
380
|
-
/** Lists
|
|
380
|
+
/** Lists policy-based routes in a given project and location. */
|
|
381
381
|
await gapi.client.networkconnectivity.projects.locations.global.policyBasedRoutes.list({
|
|
382
382
|
filter: "Test string",
|
|
383
383
|
orderBy: "Test string",
|