@maxim_mazurok/gapi.client.vmwareengine-v1 0.2.20260217 → 0.2.20260518
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 +132 -10
- package/package.json +1 -1
- package/readme.md +17 -0
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://vmwareengine.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260518
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -576,6 +576,14 @@ declare namespace gapi.client {
|
|
|
576
576
|
/** Network to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: `projects/{project}/global/networks/{network_id}`. `{project}` can either be a project number or a project ID. */
|
|
577
577
|
vpcNetwork?: string;
|
|
578
578
|
}
|
|
579
|
+
interface MigrateManagementVmsRequest {
|
|
580
|
+
/** Required. The user-provided identifier of the workload cluster to which the management VMs are to be migrated. The cluster must be in the same private cloud as the one specified in `name`, and must be a workload cluster. The eventual cluster name will be constructed from the private cloud name and this cluster ID. */
|
|
581
|
+
clusterId?: string;
|
|
582
|
+
/** Optional. Checksum used to ensure that the user-provided value is up to date before the server processes the request. The server compares provided checksum with the current checksum of the resource. If the user-provided value is out of date, this request returns an `ABORTED` error. */
|
|
583
|
+
etag?: string;
|
|
584
|
+
/** Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been 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 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, will ignore 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). */
|
|
585
|
+
requestId?: string;
|
|
586
|
+
}
|
|
579
587
|
interface MountDatastoreRequest {
|
|
580
588
|
/** Required. The datastore mount configuration. */
|
|
581
589
|
datastoreMountConfig?: DatastoreMountConfig;
|
|
@@ -583,6 +591,8 @@ declare namespace gapi.client {
|
|
|
583
591
|
ignoreColocation?: boolean;
|
|
584
592
|
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
585
593
|
requestId?: string;
|
|
594
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
595
|
+
validateOnly?: boolean;
|
|
586
596
|
}
|
|
587
597
|
interface NetworkConfig {
|
|
588
598
|
/** Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud's management entities like vCenter, NSX-T Manager and ESXi hosts. */
|
|
@@ -925,7 +935,7 @@ declare namespace gapi.client {
|
|
|
925
935
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
926
936
|
code?: number;
|
|
927
937
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
928
|
-
details?:
|
|
938
|
+
details?: {[P in string]: any}[];
|
|
929
939
|
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
930
940
|
message?: string;
|
|
931
941
|
}
|
|
@@ -1013,6 +1023,8 @@ declare namespace gapi.client {
|
|
|
1013
1023
|
datastore?: string;
|
|
1014
1024
|
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1015
1025
|
requestId?: string;
|
|
1026
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1027
|
+
validateOnly?: boolean;
|
|
1016
1028
|
}
|
|
1017
1029
|
interface Upgrade {
|
|
1018
1030
|
/** Output only. Output Only. The list of component upgrades. */
|
|
@@ -1635,6 +1647,8 @@ declare namespace gapi.client {
|
|
|
1635
1647
|
upload_protocol?: string;
|
|
1636
1648
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1637
1649
|
uploadType?: string;
|
|
1650
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1651
|
+
validateOnly?: boolean;
|
|
1638
1652
|
/** Request body */
|
|
1639
1653
|
resource: NetworkPeering;
|
|
1640
1654
|
}): Request<Operation>;
|
|
@@ -1668,6 +1682,8 @@ declare namespace gapi.client {
|
|
|
1668
1682
|
upload_protocol?: string;
|
|
1669
1683
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1670
1684
|
uploadType?: string;
|
|
1685
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1686
|
+
validateOnly?: boolean;
|
|
1671
1687
|
},
|
|
1672
1688
|
body: NetworkPeering,
|
|
1673
1689
|
): Request<Operation>;
|
|
@@ -1792,6 +1808,8 @@ declare namespace gapi.client {
|
|
|
1792
1808
|
upload_protocol?: string;
|
|
1793
1809
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1794
1810
|
uploadType?: string;
|
|
1811
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1812
|
+
validateOnly?: boolean;
|
|
1795
1813
|
/** Request body */
|
|
1796
1814
|
resource: NetworkPeering;
|
|
1797
1815
|
}): Request<Operation>;
|
|
@@ -1825,6 +1843,8 @@ declare namespace gapi.client {
|
|
|
1825
1843
|
upload_protocol?: string;
|
|
1826
1844
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1827
1845
|
uploadType?: string;
|
|
1846
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1847
|
+
validateOnly?: boolean;
|
|
1828
1848
|
},
|
|
1829
1849
|
body: NetworkPeering,
|
|
1830
1850
|
): Request<Operation>;
|
|
@@ -1861,6 +1881,8 @@ declare namespace gapi.client {
|
|
|
1861
1881
|
upload_protocol?: string;
|
|
1862
1882
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1863
1883
|
uploadType?: string;
|
|
1884
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1885
|
+
validateOnly?: boolean;
|
|
1864
1886
|
/** Request body */
|
|
1865
1887
|
resource: ExternalAccessRule;
|
|
1866
1888
|
}): Request<Operation>;
|
|
@@ -1894,6 +1916,8 @@ declare namespace gapi.client {
|
|
|
1894
1916
|
upload_protocol?: string;
|
|
1895
1917
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1896
1918
|
uploadType?: string;
|
|
1919
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1920
|
+
validateOnly?: boolean;
|
|
1897
1921
|
},
|
|
1898
1922
|
body: ExternalAccessRule,
|
|
1899
1923
|
): Request<Operation>;
|
|
@@ -2018,6 +2042,8 @@ declare namespace gapi.client {
|
|
|
2018
2042
|
upload_protocol?: string;
|
|
2019
2043
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2020
2044
|
uploadType?: string;
|
|
2045
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the// request. If set to `false`, validates and executes the request. */
|
|
2046
|
+
validateOnly?: boolean;
|
|
2021
2047
|
/** Request body */
|
|
2022
2048
|
resource: ExternalAccessRule;
|
|
2023
2049
|
}): Request<Operation>;
|
|
@@ -2051,6 +2077,8 @@ declare namespace gapi.client {
|
|
|
2051
2077
|
upload_protocol?: string;
|
|
2052
2078
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2053
2079
|
uploadType?: string;
|
|
2080
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the// request. If set to `false`, validates and executes the request. */
|
|
2081
|
+
validateOnly?: boolean;
|
|
2054
2082
|
},
|
|
2055
2083
|
body: ExternalAccessRule,
|
|
2056
2084
|
): Request<Operation>;
|
|
@@ -2086,6 +2114,8 @@ declare namespace gapi.client {
|
|
|
2086
2114
|
upload_protocol?: string;
|
|
2087
2115
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2088
2116
|
uploadType?: string;
|
|
2117
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2118
|
+
validateOnly?: boolean;
|
|
2089
2119
|
/** Request body */
|
|
2090
2120
|
resource: NetworkPolicy;
|
|
2091
2121
|
}): Request<Operation>;
|
|
@@ -2119,6 +2149,8 @@ declare namespace gapi.client {
|
|
|
2119
2149
|
upload_protocol?: string;
|
|
2120
2150
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2121
2151
|
uploadType?: string;
|
|
2152
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2153
|
+
validateOnly?: boolean;
|
|
2122
2154
|
},
|
|
2123
2155
|
body: NetworkPolicy,
|
|
2124
2156
|
): Request<Operation>;
|
|
@@ -2274,6 +2306,8 @@ declare namespace gapi.client {
|
|
|
2274
2306
|
upload_protocol?: string;
|
|
2275
2307
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2276
2308
|
uploadType?: string;
|
|
2309
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2310
|
+
validateOnly?: boolean;
|
|
2277
2311
|
/** Request body */
|
|
2278
2312
|
resource: NetworkPolicy;
|
|
2279
2313
|
}): Request<Operation>;
|
|
@@ -2307,6 +2341,8 @@ declare namespace gapi.client {
|
|
|
2307
2341
|
upload_protocol?: string;
|
|
2308
2342
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2309
2343
|
uploadType?: string;
|
|
2344
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2345
|
+
validateOnly?: boolean;
|
|
2310
2346
|
},
|
|
2311
2347
|
body: NetworkPolicy,
|
|
2312
2348
|
): Request<Operation>;
|
|
@@ -2556,7 +2592,7 @@ declare namespace gapi.client {
|
|
|
2556
2592
|
upload_protocol?: string;
|
|
2557
2593
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2558
2594
|
uploadType?: string;
|
|
2559
|
-
/** Optional.
|
|
2595
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2560
2596
|
validateOnly?: boolean;
|
|
2561
2597
|
/** Request body */
|
|
2562
2598
|
resource: Cluster;
|
|
@@ -2591,7 +2627,7 @@ declare namespace gapi.client {
|
|
|
2591
2627
|
upload_protocol?: string;
|
|
2592
2628
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2593
2629
|
uploadType?: string;
|
|
2594
|
-
/** Optional.
|
|
2630
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2595
2631
|
validateOnly?: boolean;
|
|
2596
2632
|
},
|
|
2597
2633
|
body: Cluster,
|
|
@@ -2804,7 +2840,7 @@ declare namespace gapi.client {
|
|
|
2804
2840
|
upload_protocol?: string;
|
|
2805
2841
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2806
2842
|
uploadType?: string;
|
|
2807
|
-
/** Optional.
|
|
2843
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2808
2844
|
validateOnly?: boolean;
|
|
2809
2845
|
/** Request body */
|
|
2810
2846
|
resource: Cluster;
|
|
@@ -2839,7 +2875,7 @@ declare namespace gapi.client {
|
|
|
2839
2875
|
upload_protocol?: string;
|
|
2840
2876
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2841
2877
|
uploadType?: string;
|
|
2842
|
-
/** Optional.
|
|
2878
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2843
2879
|
validateOnly?: boolean;
|
|
2844
2880
|
},
|
|
2845
2881
|
body: Cluster,
|
|
@@ -2995,6 +3031,8 @@ declare namespace gapi.client {
|
|
|
2995
3031
|
upload_protocol?: string;
|
|
2996
3032
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2997
3033
|
uploadType?: string;
|
|
3034
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
3035
|
+
validateOnly?: boolean;
|
|
2998
3036
|
/** Request body */
|
|
2999
3037
|
resource: ExternalAddress;
|
|
3000
3038
|
}): Request<Operation>;
|
|
@@ -3028,6 +3066,8 @@ declare namespace gapi.client {
|
|
|
3028
3066
|
upload_protocol?: string;
|
|
3029
3067
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3030
3068
|
uploadType?: string;
|
|
3069
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
3070
|
+
validateOnly?: boolean;
|
|
3031
3071
|
},
|
|
3032
3072
|
body: ExternalAddress,
|
|
3033
3073
|
): Request<Operation>;
|
|
@@ -3152,6 +3192,8 @@ declare namespace gapi.client {
|
|
|
3152
3192
|
upload_protocol?: string;
|
|
3153
3193
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3154
3194
|
uploadType?: string;
|
|
3195
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
3196
|
+
validateOnly?: boolean;
|
|
3155
3197
|
/** Request body */
|
|
3156
3198
|
resource: ExternalAddress;
|
|
3157
3199
|
}): Request<Operation>;
|
|
@@ -3185,6 +3227,8 @@ declare namespace gapi.client {
|
|
|
3185
3227
|
upload_protocol?: string;
|
|
3186
3228
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3187
3229
|
uploadType?: string;
|
|
3230
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
3231
|
+
validateOnly?: boolean;
|
|
3188
3232
|
},
|
|
3189
3233
|
body: ExternalAddress,
|
|
3190
3234
|
): Request<Operation>;
|
|
@@ -4195,7 +4239,7 @@ declare namespace gapi.client {
|
|
|
4195
4239
|
upload_protocol?: string;
|
|
4196
4240
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4197
4241
|
uploadType?: string;
|
|
4198
|
-
/** Optional.
|
|
4242
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
4199
4243
|
validateOnly?: boolean;
|
|
4200
4244
|
/** Request body */
|
|
4201
4245
|
resource: PrivateCloud;
|
|
@@ -4230,7 +4274,7 @@ declare namespace gapi.client {
|
|
|
4230
4274
|
upload_protocol?: string;
|
|
4231
4275
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4232
4276
|
uploadType?: string;
|
|
4233
|
-
/** Optional.
|
|
4277
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
4234
4278
|
validateOnly?: boolean;
|
|
4235
4279
|
},
|
|
4236
4280
|
body: PrivateCloud,
|
|
@@ -4386,6 +4430,64 @@ declare namespace gapi.client {
|
|
|
4386
4430
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4387
4431
|
uploadType?: string;
|
|
4388
4432
|
}): Request<ListPrivateCloudsResponse>;
|
|
4433
|
+
/** Migrates the management VMs of the PC from the current management cluster to a workload cluster. Post this migration, the provided workload cluster becomes the management cluster */
|
|
4434
|
+
migrateManagementVms(request: {
|
|
4435
|
+
/** V1 error format. */
|
|
4436
|
+
'$.xgafv'?: '1' | '2';
|
|
4437
|
+
/** OAuth access token. */
|
|
4438
|
+
access_token?: string;
|
|
4439
|
+
/** Data format for response. */
|
|
4440
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4441
|
+
/** JSONP */
|
|
4442
|
+
callback?: string;
|
|
4443
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4444
|
+
fields?: string;
|
|
4445
|
+
/** 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. */
|
|
4446
|
+
key?: string;
|
|
4447
|
+
/** Required. The resource name of the private cloud whose management vms are getting migrated. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` */
|
|
4448
|
+
name: string;
|
|
4449
|
+
/** OAuth 2.0 token for the current user. */
|
|
4450
|
+
oauth_token?: string;
|
|
4451
|
+
/** Returns response with indentations and line breaks. */
|
|
4452
|
+
prettyPrint?: boolean;
|
|
4453
|
+
/** 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. */
|
|
4454
|
+
quotaUser?: string;
|
|
4455
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4456
|
+
upload_protocol?: string;
|
|
4457
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4458
|
+
uploadType?: string;
|
|
4459
|
+
/** Request body */
|
|
4460
|
+
resource: MigrateManagementVmsRequest;
|
|
4461
|
+
}): Request<Operation>;
|
|
4462
|
+
migrateManagementVms(
|
|
4463
|
+
request: {
|
|
4464
|
+
/** V1 error format. */
|
|
4465
|
+
'$.xgafv'?: '1' | '2';
|
|
4466
|
+
/** OAuth access token. */
|
|
4467
|
+
access_token?: string;
|
|
4468
|
+
/** Data format for response. */
|
|
4469
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4470
|
+
/** JSONP */
|
|
4471
|
+
callback?: string;
|
|
4472
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4473
|
+
fields?: string;
|
|
4474
|
+
/** 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. */
|
|
4475
|
+
key?: string;
|
|
4476
|
+
/** Required. The resource name of the private cloud whose management vms are getting migrated. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` */
|
|
4477
|
+
name: string;
|
|
4478
|
+
/** OAuth 2.0 token for the current user. */
|
|
4479
|
+
oauth_token?: string;
|
|
4480
|
+
/** Returns response with indentations and line breaks. */
|
|
4481
|
+
prettyPrint?: boolean;
|
|
4482
|
+
/** 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. */
|
|
4483
|
+
quotaUser?: string;
|
|
4484
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4485
|
+
upload_protocol?: string;
|
|
4486
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4487
|
+
uploadType?: string;
|
|
4488
|
+
},
|
|
4489
|
+
body: MigrateManagementVmsRequest,
|
|
4490
|
+
): Request<Operation>;
|
|
4389
4491
|
/** Modifies a `PrivateCloud` resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes. */
|
|
4390
4492
|
patch(request: {
|
|
4391
4493
|
/** V1 error format. */
|
|
@@ -4416,6 +4518,8 @@ declare namespace gapi.client {
|
|
|
4416
4518
|
upload_protocol?: string;
|
|
4417
4519
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4418
4520
|
uploadType?: string;
|
|
4521
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
4522
|
+
validateOnly?: boolean;
|
|
4419
4523
|
/** Request body */
|
|
4420
4524
|
resource: PrivateCloud;
|
|
4421
4525
|
}): Request<Operation>;
|
|
@@ -4449,6 +4553,8 @@ declare namespace gapi.client {
|
|
|
4449
4553
|
upload_protocol?: string;
|
|
4450
4554
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4451
4555
|
uploadType?: string;
|
|
4556
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
4557
|
+
validateOnly?: boolean;
|
|
4452
4558
|
},
|
|
4453
4559
|
body: PrivateCloud,
|
|
4454
4560
|
): Request<Operation>;
|
|
@@ -4938,6 +5044,8 @@ declare namespace gapi.client {
|
|
|
4938
5044
|
upload_protocol?: string;
|
|
4939
5045
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4940
5046
|
uploadType?: string;
|
|
5047
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5048
|
+
validateOnly?: boolean;
|
|
4941
5049
|
/** Request body */
|
|
4942
5050
|
resource: PrivateConnection;
|
|
4943
5051
|
}): Request<Operation>;
|
|
@@ -4971,6 +5079,8 @@ declare namespace gapi.client {
|
|
|
4971
5079
|
upload_protocol?: string;
|
|
4972
5080
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4973
5081
|
uploadType?: string;
|
|
5082
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5083
|
+
validateOnly?: boolean;
|
|
4974
5084
|
},
|
|
4975
5085
|
body: PrivateConnection,
|
|
4976
5086
|
): Request<Operation>;
|
|
@@ -5095,6 +5205,8 @@ declare namespace gapi.client {
|
|
|
5095
5205
|
upload_protocol?: string;
|
|
5096
5206
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5097
5207
|
uploadType?: string;
|
|
5208
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5209
|
+
validateOnly?: boolean;
|
|
5098
5210
|
/** Request body */
|
|
5099
5211
|
resource: PrivateConnection;
|
|
5100
5212
|
}): Request<Operation>;
|
|
@@ -5128,6 +5240,8 @@ declare namespace gapi.client {
|
|
|
5128
5240
|
upload_protocol?: string;
|
|
5129
5241
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5130
5242
|
uploadType?: string;
|
|
5243
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5244
|
+
validateOnly?: boolean;
|
|
5131
5245
|
},
|
|
5132
5246
|
body: PrivateConnection,
|
|
5133
5247
|
): Request<Operation>;
|
|
@@ -5162,6 +5276,8 @@ declare namespace gapi.client {
|
|
|
5162
5276
|
upload_protocol?: string;
|
|
5163
5277
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5164
5278
|
uploadType?: string;
|
|
5279
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5280
|
+
validateOnly?: boolean;
|
|
5165
5281
|
/** Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * For networks of type LEGACY, adheres to the format: `{region-id}-default`. Replace `{region-id}` with the region where you want to create the VMware Engine network. For example, "us-central1-default". * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) */
|
|
5166
5282
|
vmwareEngineNetworkId?: string;
|
|
5167
5283
|
/** Request body */
|
|
@@ -5195,6 +5311,8 @@ declare namespace gapi.client {
|
|
|
5195
5311
|
upload_protocol?: string;
|
|
5196
5312
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5197
5313
|
uploadType?: string;
|
|
5314
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5315
|
+
validateOnly?: boolean;
|
|
5198
5316
|
/** Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * For networks of type LEGACY, adheres to the format: `{region-id}-default`. Replace `{region-id}` with the region where you want to create the VMware Engine network. For example, "us-central1-default". * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) */
|
|
5199
5317
|
vmwareEngineNetworkId?: string;
|
|
5200
5318
|
},
|
|
@@ -5323,6 +5441,8 @@ declare namespace gapi.client {
|
|
|
5323
5441
|
upload_protocol?: string;
|
|
5324
5442
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5325
5443
|
uploadType?: string;
|
|
5444
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5445
|
+
validateOnly?: boolean;
|
|
5326
5446
|
/** Request body */
|
|
5327
5447
|
resource: VmwareEngineNetwork;
|
|
5328
5448
|
}): Request<Operation>;
|
|
@@ -5356,6 +5476,8 @@ declare namespace gapi.client {
|
|
|
5356
5476
|
upload_protocol?: string;
|
|
5357
5477
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5358
5478
|
uploadType?: string;
|
|
5479
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5480
|
+
validateOnly?: boolean;
|
|
5359
5481
|
},
|
|
5360
5482
|
body: VmwareEngineNetwork,
|
|
5361
5483
|
): Request<Operation>;
|
|
@@ -5415,7 +5537,7 @@ declare namespace gapi.client {
|
|
|
5415
5537
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5416
5538
|
uploadType?: string;
|
|
5417
5539
|
}): Request<DnsBindPermission>;
|
|
5418
|
-
/** Lists information about the supported locations for this service. This method
|
|
5540
|
+
/** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
|
|
5419
5541
|
list(request?: {
|
|
5420
5542
|
/** V1 error format. */
|
|
5421
5543
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5425,7 +5547,7 @@ declare namespace gapi.client {
|
|
|
5425
5547
|
alt?: 'json' | 'media' | 'proto';
|
|
5426
5548
|
/** JSONP */
|
|
5427
5549
|
callback?: string;
|
|
5428
|
-
/** Optional. Do not use this field
|
|
5550
|
+
/** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
|
|
5429
5551
|
extraLocationTypes?: string | string[];
|
|
5430
5552
|
/** Selector specifying which fields to include in a partial response. */
|
|
5431
5553
|
fields?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -11,6 +11,23 @@ Install typings for VMware Engine API:
|
|
|
11
11
|
npm install @types/gapi.client.vmwareengine-v1 --save-dev
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
## TypeScript 6.0+
|
|
15
|
+
|
|
16
|
+
TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"compilerOptions": {
|
|
21
|
+
"types": [
|
|
22
|
+
"gapi",
|
|
23
|
+
"gapi.auth2",
|
|
24
|
+
"gapi.client",
|
|
25
|
+
"gapi.client.vmwareengine-v1"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
14
31
|
## Usage
|
|
15
32
|
|
|
16
33
|
You need to initialize Google API client in your code:
|