@maxim_mazurok/gapi.client.networkconnectivity-v1 0.0.20240313 → 0.0.20240423
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 +203 -3
- package/package.json +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://networkconnectivity.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240423
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -63,6 +63,8 @@ declare namespace gapi.client {
|
|
|
63
63
|
disableGlobalAccess?: boolean;
|
|
64
64
|
/** The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}. */
|
|
65
65
|
network?: string;
|
|
66
|
+
/** Immutable. An immutable identifier for the producer instance. */
|
|
67
|
+
producerInstanceId?: string;
|
|
66
68
|
/** The consumer project where PSC connections are allowed to be created in. */
|
|
67
69
|
project?: string;
|
|
68
70
|
/** Output only. Overall state of PSC Connections management for this consumer psc config. */
|
|
@@ -83,6 +85,8 @@ declare namespace gapi.client {
|
|
|
83
85
|
ip?: string;
|
|
84
86
|
/** The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC). */
|
|
85
87
|
network?: string;
|
|
88
|
+
/** Immutable. An immutable identifier for the producer instance. */
|
|
89
|
+
producerInstanceId?: string;
|
|
86
90
|
/** The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map. */
|
|
87
91
|
project?: string;
|
|
88
92
|
/** The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map. */
|
|
@@ -137,7 +141,7 @@ declare namespace gapi.client {
|
|
|
137
141
|
interface GoogleRpcErrorInfo {
|
|
138
142
|
/** The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". */
|
|
139
143
|
domain?: string;
|
|
140
|
-
/** Additional structured details about this error. Keys
|
|
144
|
+
/** Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request. */
|
|
141
145
|
metadata?: {[P in string]: string};
|
|
142
146
|
/** The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. */
|
|
143
147
|
reason?: string;
|
|
@@ -203,7 +207,7 @@ declare namespace gapi.client {
|
|
|
203
207
|
labels?: {[P in string]: string};
|
|
204
208
|
/** Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names */
|
|
205
209
|
name?: string;
|
|
206
|
-
/** The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported.
|
|
210
|
+
/** The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. For example: https://www.googleapis.com/compute/v1/projects/{project}/locations/global/networks/{network} projects/{project}/locations/global/networks/{network} {network} */
|
|
207
211
|
network?: string;
|
|
208
212
|
/** Optional. Types of resources that are allowed to overlap with the current internal range. */
|
|
209
213
|
overlaps?: string[];
|
|
@@ -296,6 +300,14 @@ declare namespace gapi.client {
|
|
|
296
300
|
/** Locations that could not be reached. */
|
|
297
301
|
unreachable?: string[];
|
|
298
302
|
}
|
|
303
|
+
interface ListRegionalEndpointsResponse {
|
|
304
|
+
/** 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. */
|
|
305
|
+
nextPageToken?: string;
|
|
306
|
+
/** Regional endpoints to be returned. */
|
|
307
|
+
regionalEndpoints?: RegionalEndpoint[];
|
|
308
|
+
/** Locations that could not be reached. */
|
|
309
|
+
unreachable?: string[];
|
|
310
|
+
}
|
|
299
311
|
interface ListRoutesResponse {
|
|
300
312
|
/** The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results. */
|
|
301
313
|
nextPageToken?: string;
|
|
@@ -455,6 +467,8 @@ declare namespace gapi.client {
|
|
|
455
467
|
errorType?: string;
|
|
456
468
|
/** The last Compute Engine operation to setup PSC connection. */
|
|
457
469
|
gceOperation?: string;
|
|
470
|
+
/** Immutable. An immutable identifier for the producer instance. */
|
|
471
|
+
producerInstanceId?: string;
|
|
458
472
|
/** The PSC connection id of the PSC forwarding rule. */
|
|
459
473
|
pscConnectionId?: string;
|
|
460
474
|
/** Output only. The URI of the subnetwork selected to allocate IP address for this connection. */
|
|
@@ -462,6 +476,32 @@ declare namespace gapi.client {
|
|
|
462
476
|
/** State of the PSC Connection */
|
|
463
477
|
state?: string;
|
|
464
478
|
}
|
|
479
|
+
interface RegionalEndpoint {
|
|
480
|
+
/** Required. The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access. */
|
|
481
|
+
accessType?: string;
|
|
482
|
+
/** Optional. The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}` */
|
|
483
|
+
address?: string;
|
|
484
|
+
/** Output only. Time when the RegionalEndpoint was created. */
|
|
485
|
+
createTime?: string;
|
|
486
|
+
/** Optional. A description of this resource. */
|
|
487
|
+
description?: string;
|
|
488
|
+
/** Output only. The literal IP address of the PSC Forwarding Rule created on behalf of the customer. This field is deprecated. Use address instead. */
|
|
489
|
+
ipAddress?: string;
|
|
490
|
+
/** User-defined labels. */
|
|
491
|
+
labels?: {[P in string]: string};
|
|
492
|
+
/** Output only. The name of a RegionalEndpoint. Format: `projects/{project}/locations/{location}/regionalEndpoints/{regional_endpoint}`. */
|
|
493
|
+
name?: string;
|
|
494
|
+
/** The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}` */
|
|
495
|
+
network?: string;
|
|
496
|
+
/** Output only. The resource reference of the PSC Forwarding Rule created on behalf of the customer. Format: `//compute.googleapis.com/projects/{project}/regions/{region}/forwardingRules/{forwarding_rule_name}` */
|
|
497
|
+
pscForwardingRule?: string;
|
|
498
|
+
/** The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}` */
|
|
499
|
+
subnetwork?: string;
|
|
500
|
+
/** Required. The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: "cloudkms.us-central1.p.rep.googleapis.com". */
|
|
501
|
+
targetGoogleApi?: string;
|
|
502
|
+
/** Output only. Time when the RegionalEndpoint was updated. */
|
|
503
|
+
updateTime?: string;
|
|
504
|
+
}
|
|
465
505
|
interface RejectHubSpokeRequest {
|
|
466
506
|
/** Optional. Additional information provided by the hub administrator. */
|
|
467
507
|
details?: string;
|
|
@@ -2085,6 +2125,165 @@ declare namespace gapi.client {
|
|
|
2085
2125
|
uploadType?: string;
|
|
2086
2126
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
2087
2127
|
}
|
|
2128
|
+
interface RegionalEndpointsResource {
|
|
2129
|
+
/** Creates a new RegionalEndpoint in a given project and location. */
|
|
2130
|
+
create(request: {
|
|
2131
|
+
/** V1 error format. */
|
|
2132
|
+
'$.xgafv'?: string;
|
|
2133
|
+
/** OAuth access token. */
|
|
2134
|
+
access_token?: string;
|
|
2135
|
+
/** Data format for response. */
|
|
2136
|
+
alt?: string;
|
|
2137
|
+
/** JSONP */
|
|
2138
|
+
callback?: string;
|
|
2139
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2140
|
+
fields?: string;
|
|
2141
|
+
/** 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. */
|
|
2142
|
+
key?: string;
|
|
2143
|
+
/** OAuth 2.0 token for the current user. */
|
|
2144
|
+
oauth_token?: string;
|
|
2145
|
+
/** Required. The parent resource's name of the RegionalEndpoint. */
|
|
2146
|
+
parent: string;
|
|
2147
|
+
/** Returns response with indentations and line breaks. */
|
|
2148
|
+
prettyPrint?: boolean;
|
|
2149
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2150
|
+
quotaUser?: string;
|
|
2151
|
+
/** Required. Unique id of the Regional Endpoint to be created. */
|
|
2152
|
+
regionalEndpointId?: string;
|
|
2153
|
+
/** Optional. An optional 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 completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
2154
|
+
requestId?: string;
|
|
2155
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2156
|
+
upload_protocol?: string;
|
|
2157
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2158
|
+
uploadType?: string;
|
|
2159
|
+
/** Request body */
|
|
2160
|
+
resource: RegionalEndpoint;
|
|
2161
|
+
}): Request<GoogleLongrunningOperation>;
|
|
2162
|
+
create(
|
|
2163
|
+
request: {
|
|
2164
|
+
/** V1 error format. */
|
|
2165
|
+
'$.xgafv'?: string;
|
|
2166
|
+
/** OAuth access token. */
|
|
2167
|
+
access_token?: string;
|
|
2168
|
+
/** Data format for response. */
|
|
2169
|
+
alt?: string;
|
|
2170
|
+
/** JSONP */
|
|
2171
|
+
callback?: string;
|
|
2172
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2173
|
+
fields?: string;
|
|
2174
|
+
/** 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. */
|
|
2175
|
+
key?: string;
|
|
2176
|
+
/** OAuth 2.0 token for the current user. */
|
|
2177
|
+
oauth_token?: string;
|
|
2178
|
+
/** Required. The parent resource's name of the RegionalEndpoint. */
|
|
2179
|
+
parent: string;
|
|
2180
|
+
/** Returns response with indentations and line breaks. */
|
|
2181
|
+
prettyPrint?: boolean;
|
|
2182
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2183
|
+
quotaUser?: string;
|
|
2184
|
+
/** Required. Unique id of the Regional Endpoint to be created. */
|
|
2185
|
+
regionalEndpointId?: string;
|
|
2186
|
+
/** Optional. An optional 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 completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
2187
|
+
requestId?: string;
|
|
2188
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2189
|
+
upload_protocol?: string;
|
|
2190
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2191
|
+
uploadType?: string;
|
|
2192
|
+
},
|
|
2193
|
+
body: RegionalEndpoint
|
|
2194
|
+
): Request<GoogleLongrunningOperation>;
|
|
2195
|
+
/** Deletes a single RegionalEndpoint. */
|
|
2196
|
+
delete(request?: {
|
|
2197
|
+
/** V1 error format. */
|
|
2198
|
+
'$.xgafv'?: string;
|
|
2199
|
+
/** OAuth access token. */
|
|
2200
|
+
access_token?: string;
|
|
2201
|
+
/** Data format for response. */
|
|
2202
|
+
alt?: string;
|
|
2203
|
+
/** JSONP */
|
|
2204
|
+
callback?: string;
|
|
2205
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2206
|
+
fields?: string;
|
|
2207
|
+
/** 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. */
|
|
2208
|
+
key?: string;
|
|
2209
|
+
/** Required. The name of the RegionalEndpoint to delete. */
|
|
2210
|
+
name: string;
|
|
2211
|
+
/** OAuth 2.0 token for the current user. */
|
|
2212
|
+
oauth_token?: string;
|
|
2213
|
+
/** Returns response with indentations and line breaks. */
|
|
2214
|
+
prettyPrint?: boolean;
|
|
2215
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2216
|
+
quotaUser?: string;
|
|
2217
|
+
/** Optional. An optional 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 completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
2218
|
+
requestId?: string;
|
|
2219
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2220
|
+
upload_protocol?: string;
|
|
2221
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2222
|
+
uploadType?: string;
|
|
2223
|
+
}): Request<GoogleLongrunningOperation>;
|
|
2224
|
+
/** Gets details of a single RegionalEndpoint. */
|
|
2225
|
+
get(request?: {
|
|
2226
|
+
/** V1 error format. */
|
|
2227
|
+
'$.xgafv'?: string;
|
|
2228
|
+
/** OAuth access token. */
|
|
2229
|
+
access_token?: string;
|
|
2230
|
+
/** Data format for response. */
|
|
2231
|
+
alt?: string;
|
|
2232
|
+
/** JSONP */
|
|
2233
|
+
callback?: string;
|
|
2234
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2235
|
+
fields?: string;
|
|
2236
|
+
/** 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. */
|
|
2237
|
+
key?: string;
|
|
2238
|
+
/** Required. Name of the RegionalEndpoint resource to get. Format: `projects/{project}/locations/{location}/regionalEndpoints/{regional_endpoint}` */
|
|
2239
|
+
name: string;
|
|
2240
|
+
/** OAuth 2.0 token for the current user. */
|
|
2241
|
+
oauth_token?: string;
|
|
2242
|
+
/** Returns response with indentations and line breaks. */
|
|
2243
|
+
prettyPrint?: boolean;
|
|
2244
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2245
|
+
quotaUser?: string;
|
|
2246
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2247
|
+
upload_protocol?: string;
|
|
2248
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2249
|
+
uploadType?: string;
|
|
2250
|
+
}): Request<RegionalEndpoint>;
|
|
2251
|
+
/** Lists RegionalEndpoints in a given project and location. */
|
|
2252
|
+
list(request?: {
|
|
2253
|
+
/** V1 error format. */
|
|
2254
|
+
'$.xgafv'?: string;
|
|
2255
|
+
/** OAuth access token. */
|
|
2256
|
+
access_token?: string;
|
|
2257
|
+
/** Data format for response. */
|
|
2258
|
+
alt?: string;
|
|
2259
|
+
/** JSONP */
|
|
2260
|
+
callback?: string;
|
|
2261
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2262
|
+
fields?: string;
|
|
2263
|
+
/** A filter expression that filters the results listed in the response. */
|
|
2264
|
+
filter?: string;
|
|
2265
|
+
/** 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. */
|
|
2266
|
+
key?: string;
|
|
2267
|
+
/** OAuth 2.0 token for the current user. */
|
|
2268
|
+
oauth_token?: string;
|
|
2269
|
+
/** Sort the results by a certain order. */
|
|
2270
|
+
orderBy?: string;
|
|
2271
|
+
/** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
|
|
2272
|
+
pageSize?: number;
|
|
2273
|
+
/** A page token. */
|
|
2274
|
+
pageToken?: string;
|
|
2275
|
+
/** Required. The parent resource's name of the RegionalEndpoint. */
|
|
2276
|
+
parent: string;
|
|
2277
|
+
/** Returns response with indentations and line breaks. */
|
|
2278
|
+
prettyPrint?: boolean;
|
|
2279
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2280
|
+
quotaUser?: string;
|
|
2281
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2282
|
+
upload_protocol?: string;
|
|
2283
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2284
|
+
uploadType?: string;
|
|
2285
|
+
}): Request<ListRegionalEndpointsResponse>;
|
|
2286
|
+
}
|
|
2088
2287
|
interface ServiceClassesResource {
|
|
2089
2288
|
/** Deletes a single ServiceClass. */
|
|
2090
2289
|
delete(request?: {
|
|
@@ -3506,6 +3705,7 @@ declare namespace gapi.client {
|
|
|
3506
3705
|
global: GlobalResource;
|
|
3507
3706
|
internalRanges: InternalRangesResource;
|
|
3508
3707
|
operations: OperationsResource;
|
|
3708
|
+
regionalEndpoints: RegionalEndpointsResource;
|
|
3509
3709
|
serviceClasses: ServiceClassesResource;
|
|
3510
3710
|
serviceConnectionMaps: ServiceConnectionMapsResource;
|
|
3511
3711
|
serviceConnectionPolicies: ServiceConnectionPoliciesResource;
|