@maxim_mazurok/gapi.client.vmwareengine-v1 0.2.20260217 → 0.2.20260608
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 +140 -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: 20260608
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -217,6 +217,12 @@ declare namespace gapi.client {
|
|
|
217
217
|
updateTime?: string;
|
|
218
218
|
}
|
|
219
219
|
interface Empty {}
|
|
220
|
+
interface EncryptionConfig {
|
|
221
|
+
/** Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of this field is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key must be in the same region as the private cloud. This key is used for wrapping the key-encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or `LEGACY_CMEK`, and must not be set when `type` is `OTHER`. */
|
|
222
|
+
cryptoKeyName?: string;
|
|
223
|
+
/** Required. The encryption type of the private cloud. */
|
|
224
|
+
type?: 'TYPE_UNSPECIFIED' | 'CMEK' | 'LEGACY_CMEK' | 'OTHER';
|
|
225
|
+
}
|
|
220
226
|
interface Expr {
|
|
221
227
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
222
228
|
description?: string;
|
|
@@ -576,6 +582,14 @@ declare namespace gapi.client {
|
|
|
576
582
|
/** 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
583
|
vpcNetwork?: string;
|
|
578
584
|
}
|
|
585
|
+
interface MigrateManagementVmsRequest {
|
|
586
|
+
/** 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. */
|
|
587
|
+
clusterId?: string;
|
|
588
|
+
/** 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. */
|
|
589
|
+
etag?: string;
|
|
590
|
+
/** 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). */
|
|
591
|
+
requestId?: string;
|
|
592
|
+
}
|
|
579
593
|
interface MountDatastoreRequest {
|
|
580
594
|
/** Required. The datastore mount configuration. */
|
|
581
595
|
datastoreMountConfig?: DatastoreMountConfig;
|
|
@@ -583,6 +597,8 @@ declare namespace gapi.client {
|
|
|
583
597
|
ignoreColocation?: boolean;
|
|
584
598
|
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
585
599
|
requestId?: string;
|
|
600
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
601
|
+
validateOnly?: boolean;
|
|
586
602
|
}
|
|
587
603
|
interface NetworkConfig {
|
|
588
604
|
/** 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. */
|
|
@@ -810,6 +826,8 @@ declare namespace gapi.client {
|
|
|
810
826
|
deleteTime?: string;
|
|
811
827
|
/** User-provided description for this private cloud. */
|
|
812
828
|
description?: string;
|
|
829
|
+
/** Optional. Encryption configuration for the private cloud. If this field is left unspecified, Google default encryption is used. */
|
|
830
|
+
encryptionConfig?: EncryptionConfig;
|
|
813
831
|
/** Output only. Time when the resource will be irreversibly deleted. */
|
|
814
832
|
expireTime?: string;
|
|
815
833
|
/** Output only. HCX appliance. */
|
|
@@ -925,7 +943,7 @@ declare namespace gapi.client {
|
|
|
925
943
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
926
944
|
code?: number;
|
|
927
945
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
928
|
-
details?:
|
|
946
|
+
details?: {[P in string]: any}[];
|
|
929
947
|
/** 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
948
|
message?: string;
|
|
931
949
|
}
|
|
@@ -1013,6 +1031,8 @@ declare namespace gapi.client {
|
|
|
1013
1031
|
datastore?: string;
|
|
1014
1032
|
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1015
1033
|
requestId?: string;
|
|
1034
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1035
|
+
validateOnly?: boolean;
|
|
1016
1036
|
}
|
|
1017
1037
|
interface Upgrade {
|
|
1018
1038
|
/** Output only. Output Only. The list of component upgrades. */
|
|
@@ -1635,6 +1655,8 @@ declare namespace gapi.client {
|
|
|
1635
1655
|
upload_protocol?: string;
|
|
1636
1656
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1637
1657
|
uploadType?: string;
|
|
1658
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1659
|
+
validateOnly?: boolean;
|
|
1638
1660
|
/** Request body */
|
|
1639
1661
|
resource: NetworkPeering;
|
|
1640
1662
|
}): Request<Operation>;
|
|
@@ -1668,6 +1690,8 @@ declare namespace gapi.client {
|
|
|
1668
1690
|
upload_protocol?: string;
|
|
1669
1691
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1670
1692
|
uploadType?: string;
|
|
1693
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1694
|
+
validateOnly?: boolean;
|
|
1671
1695
|
},
|
|
1672
1696
|
body: NetworkPeering,
|
|
1673
1697
|
): Request<Operation>;
|
|
@@ -1792,6 +1816,8 @@ declare namespace gapi.client {
|
|
|
1792
1816
|
upload_protocol?: string;
|
|
1793
1817
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1794
1818
|
uploadType?: string;
|
|
1819
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1820
|
+
validateOnly?: boolean;
|
|
1795
1821
|
/** Request body */
|
|
1796
1822
|
resource: NetworkPeering;
|
|
1797
1823
|
}): Request<Operation>;
|
|
@@ -1825,6 +1851,8 @@ declare namespace gapi.client {
|
|
|
1825
1851
|
upload_protocol?: string;
|
|
1826
1852
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1827
1853
|
uploadType?: string;
|
|
1854
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1855
|
+
validateOnly?: boolean;
|
|
1828
1856
|
},
|
|
1829
1857
|
body: NetworkPeering,
|
|
1830
1858
|
): Request<Operation>;
|
|
@@ -1861,6 +1889,8 @@ declare namespace gapi.client {
|
|
|
1861
1889
|
upload_protocol?: string;
|
|
1862
1890
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1863
1891
|
uploadType?: string;
|
|
1892
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1893
|
+
validateOnly?: boolean;
|
|
1864
1894
|
/** Request body */
|
|
1865
1895
|
resource: ExternalAccessRule;
|
|
1866
1896
|
}): Request<Operation>;
|
|
@@ -1894,6 +1924,8 @@ declare namespace gapi.client {
|
|
|
1894
1924
|
upload_protocol?: string;
|
|
1895
1925
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1896
1926
|
uploadType?: string;
|
|
1927
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
1928
|
+
validateOnly?: boolean;
|
|
1897
1929
|
},
|
|
1898
1930
|
body: ExternalAccessRule,
|
|
1899
1931
|
): Request<Operation>;
|
|
@@ -2018,6 +2050,8 @@ declare namespace gapi.client {
|
|
|
2018
2050
|
upload_protocol?: string;
|
|
2019
2051
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2020
2052
|
uploadType?: string;
|
|
2053
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the// request. If set to `false`, validates and executes the request. */
|
|
2054
|
+
validateOnly?: boolean;
|
|
2021
2055
|
/** Request body */
|
|
2022
2056
|
resource: ExternalAccessRule;
|
|
2023
2057
|
}): Request<Operation>;
|
|
@@ -2051,6 +2085,8 @@ declare namespace gapi.client {
|
|
|
2051
2085
|
upload_protocol?: string;
|
|
2052
2086
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2053
2087
|
uploadType?: string;
|
|
2088
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the// request. If set to `false`, validates and executes the request. */
|
|
2089
|
+
validateOnly?: boolean;
|
|
2054
2090
|
},
|
|
2055
2091
|
body: ExternalAccessRule,
|
|
2056
2092
|
): Request<Operation>;
|
|
@@ -2086,6 +2122,8 @@ declare namespace gapi.client {
|
|
|
2086
2122
|
upload_protocol?: string;
|
|
2087
2123
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2088
2124
|
uploadType?: string;
|
|
2125
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2126
|
+
validateOnly?: boolean;
|
|
2089
2127
|
/** Request body */
|
|
2090
2128
|
resource: NetworkPolicy;
|
|
2091
2129
|
}): Request<Operation>;
|
|
@@ -2119,6 +2157,8 @@ declare namespace gapi.client {
|
|
|
2119
2157
|
upload_protocol?: string;
|
|
2120
2158
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2121
2159
|
uploadType?: string;
|
|
2160
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2161
|
+
validateOnly?: boolean;
|
|
2122
2162
|
},
|
|
2123
2163
|
body: NetworkPolicy,
|
|
2124
2164
|
): Request<Operation>;
|
|
@@ -2274,6 +2314,8 @@ declare namespace gapi.client {
|
|
|
2274
2314
|
upload_protocol?: string;
|
|
2275
2315
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2276
2316
|
uploadType?: string;
|
|
2317
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2318
|
+
validateOnly?: boolean;
|
|
2277
2319
|
/** Request body */
|
|
2278
2320
|
resource: NetworkPolicy;
|
|
2279
2321
|
}): Request<Operation>;
|
|
@@ -2307,6 +2349,8 @@ declare namespace gapi.client {
|
|
|
2307
2349
|
upload_protocol?: string;
|
|
2308
2350
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2309
2351
|
uploadType?: string;
|
|
2352
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
2353
|
+
validateOnly?: boolean;
|
|
2310
2354
|
},
|
|
2311
2355
|
body: NetworkPolicy,
|
|
2312
2356
|
): Request<Operation>;
|
|
@@ -2556,7 +2600,7 @@ declare namespace gapi.client {
|
|
|
2556
2600
|
upload_protocol?: string;
|
|
2557
2601
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2558
2602
|
uploadType?: string;
|
|
2559
|
-
/** Optional.
|
|
2603
|
+
/** 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
2604
|
validateOnly?: boolean;
|
|
2561
2605
|
/** Request body */
|
|
2562
2606
|
resource: Cluster;
|
|
@@ -2591,7 +2635,7 @@ declare namespace gapi.client {
|
|
|
2591
2635
|
upload_protocol?: string;
|
|
2592
2636
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2593
2637
|
uploadType?: string;
|
|
2594
|
-
/** Optional.
|
|
2638
|
+
/** 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
2639
|
validateOnly?: boolean;
|
|
2596
2640
|
},
|
|
2597
2641
|
body: Cluster,
|
|
@@ -2804,7 +2848,7 @@ declare namespace gapi.client {
|
|
|
2804
2848
|
upload_protocol?: string;
|
|
2805
2849
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2806
2850
|
uploadType?: string;
|
|
2807
|
-
/** Optional.
|
|
2851
|
+
/** 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
2852
|
validateOnly?: boolean;
|
|
2809
2853
|
/** Request body */
|
|
2810
2854
|
resource: Cluster;
|
|
@@ -2839,7 +2883,7 @@ declare namespace gapi.client {
|
|
|
2839
2883
|
upload_protocol?: string;
|
|
2840
2884
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2841
2885
|
uploadType?: string;
|
|
2842
|
-
/** Optional.
|
|
2886
|
+
/** 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
2887
|
validateOnly?: boolean;
|
|
2844
2888
|
},
|
|
2845
2889
|
body: Cluster,
|
|
@@ -2995,6 +3039,8 @@ declare namespace gapi.client {
|
|
|
2995
3039
|
upload_protocol?: string;
|
|
2996
3040
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2997
3041
|
uploadType?: string;
|
|
3042
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
3043
|
+
validateOnly?: boolean;
|
|
2998
3044
|
/** Request body */
|
|
2999
3045
|
resource: ExternalAddress;
|
|
3000
3046
|
}): Request<Operation>;
|
|
@@ -3028,6 +3074,8 @@ declare namespace gapi.client {
|
|
|
3028
3074
|
upload_protocol?: string;
|
|
3029
3075
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3030
3076
|
uploadType?: string;
|
|
3077
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
3078
|
+
validateOnly?: boolean;
|
|
3031
3079
|
},
|
|
3032
3080
|
body: ExternalAddress,
|
|
3033
3081
|
): Request<Operation>;
|
|
@@ -3152,6 +3200,8 @@ declare namespace gapi.client {
|
|
|
3152
3200
|
upload_protocol?: string;
|
|
3153
3201
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3154
3202
|
uploadType?: string;
|
|
3203
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
3204
|
+
validateOnly?: boolean;
|
|
3155
3205
|
/** Request body */
|
|
3156
3206
|
resource: ExternalAddress;
|
|
3157
3207
|
}): Request<Operation>;
|
|
@@ -3185,6 +3235,8 @@ declare namespace gapi.client {
|
|
|
3185
3235
|
upload_protocol?: string;
|
|
3186
3236
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3187
3237
|
uploadType?: string;
|
|
3238
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
3239
|
+
validateOnly?: boolean;
|
|
3188
3240
|
},
|
|
3189
3241
|
body: ExternalAddress,
|
|
3190
3242
|
): Request<Operation>;
|
|
@@ -4195,7 +4247,7 @@ declare namespace gapi.client {
|
|
|
4195
4247
|
upload_protocol?: string;
|
|
4196
4248
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4197
4249
|
uploadType?: string;
|
|
4198
|
-
/** Optional.
|
|
4250
|
+
/** 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
4251
|
validateOnly?: boolean;
|
|
4200
4252
|
/** Request body */
|
|
4201
4253
|
resource: PrivateCloud;
|
|
@@ -4230,7 +4282,7 @@ declare namespace gapi.client {
|
|
|
4230
4282
|
upload_protocol?: string;
|
|
4231
4283
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4232
4284
|
uploadType?: string;
|
|
4233
|
-
/** Optional.
|
|
4285
|
+
/** 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
4286
|
validateOnly?: boolean;
|
|
4235
4287
|
},
|
|
4236
4288
|
body: PrivateCloud,
|
|
@@ -4386,6 +4438,64 @@ declare namespace gapi.client {
|
|
|
4386
4438
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4387
4439
|
uploadType?: string;
|
|
4388
4440
|
}): Request<ListPrivateCloudsResponse>;
|
|
4441
|
+
/** 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 */
|
|
4442
|
+
migrateManagementVms(request: {
|
|
4443
|
+
/** V1 error format. */
|
|
4444
|
+
'$.xgafv'?: '1' | '2';
|
|
4445
|
+
/** OAuth access token. */
|
|
4446
|
+
access_token?: string;
|
|
4447
|
+
/** Data format for response. */
|
|
4448
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4449
|
+
/** JSONP */
|
|
4450
|
+
callback?: string;
|
|
4451
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4452
|
+
fields?: string;
|
|
4453
|
+
/** 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. */
|
|
4454
|
+
key?: string;
|
|
4455
|
+
/** 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` */
|
|
4456
|
+
name: string;
|
|
4457
|
+
/** OAuth 2.0 token for the current user. */
|
|
4458
|
+
oauth_token?: string;
|
|
4459
|
+
/** Returns response with indentations and line breaks. */
|
|
4460
|
+
prettyPrint?: boolean;
|
|
4461
|
+
/** 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. */
|
|
4462
|
+
quotaUser?: string;
|
|
4463
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4464
|
+
upload_protocol?: string;
|
|
4465
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4466
|
+
uploadType?: string;
|
|
4467
|
+
/** Request body */
|
|
4468
|
+
resource: MigrateManagementVmsRequest;
|
|
4469
|
+
}): Request<Operation>;
|
|
4470
|
+
migrateManagementVms(
|
|
4471
|
+
request: {
|
|
4472
|
+
/** V1 error format. */
|
|
4473
|
+
'$.xgafv'?: '1' | '2';
|
|
4474
|
+
/** OAuth access token. */
|
|
4475
|
+
access_token?: string;
|
|
4476
|
+
/** Data format for response. */
|
|
4477
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4478
|
+
/** JSONP */
|
|
4479
|
+
callback?: string;
|
|
4480
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4481
|
+
fields?: string;
|
|
4482
|
+
/** 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. */
|
|
4483
|
+
key?: string;
|
|
4484
|
+
/** 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` */
|
|
4485
|
+
name: string;
|
|
4486
|
+
/** OAuth 2.0 token for the current user. */
|
|
4487
|
+
oauth_token?: string;
|
|
4488
|
+
/** Returns response with indentations and line breaks. */
|
|
4489
|
+
prettyPrint?: boolean;
|
|
4490
|
+
/** 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. */
|
|
4491
|
+
quotaUser?: string;
|
|
4492
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4493
|
+
upload_protocol?: string;
|
|
4494
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4495
|
+
uploadType?: string;
|
|
4496
|
+
},
|
|
4497
|
+
body: MigrateManagementVmsRequest,
|
|
4498
|
+
): Request<Operation>;
|
|
4389
4499
|
/** 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
4500
|
patch(request: {
|
|
4391
4501
|
/** V1 error format. */
|
|
@@ -4416,6 +4526,8 @@ declare namespace gapi.client {
|
|
|
4416
4526
|
upload_protocol?: string;
|
|
4417
4527
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4418
4528
|
uploadType?: string;
|
|
4529
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
4530
|
+
validateOnly?: boolean;
|
|
4419
4531
|
/** Request body */
|
|
4420
4532
|
resource: PrivateCloud;
|
|
4421
4533
|
}): Request<Operation>;
|
|
@@ -4449,6 +4561,8 @@ declare namespace gapi.client {
|
|
|
4449
4561
|
upload_protocol?: string;
|
|
4450
4562
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4451
4563
|
uploadType?: string;
|
|
4564
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
4565
|
+
validateOnly?: boolean;
|
|
4452
4566
|
},
|
|
4453
4567
|
body: PrivateCloud,
|
|
4454
4568
|
): Request<Operation>;
|
|
@@ -4938,6 +5052,8 @@ declare namespace gapi.client {
|
|
|
4938
5052
|
upload_protocol?: string;
|
|
4939
5053
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4940
5054
|
uploadType?: string;
|
|
5055
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5056
|
+
validateOnly?: boolean;
|
|
4941
5057
|
/** Request body */
|
|
4942
5058
|
resource: PrivateConnection;
|
|
4943
5059
|
}): Request<Operation>;
|
|
@@ -4971,6 +5087,8 @@ declare namespace gapi.client {
|
|
|
4971
5087
|
upload_protocol?: string;
|
|
4972
5088
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4973
5089
|
uploadType?: string;
|
|
5090
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5091
|
+
validateOnly?: boolean;
|
|
4974
5092
|
},
|
|
4975
5093
|
body: PrivateConnection,
|
|
4976
5094
|
): Request<Operation>;
|
|
@@ -5095,6 +5213,8 @@ declare namespace gapi.client {
|
|
|
5095
5213
|
upload_protocol?: string;
|
|
5096
5214
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5097
5215
|
uploadType?: string;
|
|
5216
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5217
|
+
validateOnly?: boolean;
|
|
5098
5218
|
/** Request body */
|
|
5099
5219
|
resource: PrivateConnection;
|
|
5100
5220
|
}): Request<Operation>;
|
|
@@ -5128,6 +5248,8 @@ declare namespace gapi.client {
|
|
|
5128
5248
|
upload_protocol?: string;
|
|
5129
5249
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5130
5250
|
uploadType?: string;
|
|
5251
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5252
|
+
validateOnly?: boolean;
|
|
5131
5253
|
},
|
|
5132
5254
|
body: PrivateConnection,
|
|
5133
5255
|
): Request<Operation>;
|
|
@@ -5162,6 +5284,8 @@ declare namespace gapi.client {
|
|
|
5162
5284
|
upload_protocol?: string;
|
|
5163
5285
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5164
5286
|
uploadType?: string;
|
|
5287
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5288
|
+
validateOnly?: boolean;
|
|
5165
5289
|
/** 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
5290
|
vmwareEngineNetworkId?: string;
|
|
5167
5291
|
/** Request body */
|
|
@@ -5195,6 +5319,8 @@ declare namespace gapi.client {
|
|
|
5195
5319
|
upload_protocol?: string;
|
|
5196
5320
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5197
5321
|
uploadType?: string;
|
|
5322
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5323
|
+
validateOnly?: boolean;
|
|
5198
5324
|
/** 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
5325
|
vmwareEngineNetworkId?: string;
|
|
5200
5326
|
},
|
|
@@ -5323,6 +5449,8 @@ declare namespace gapi.client {
|
|
|
5323
5449
|
upload_protocol?: string;
|
|
5324
5450
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5325
5451
|
uploadType?: string;
|
|
5452
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5453
|
+
validateOnly?: boolean;
|
|
5326
5454
|
/** Request body */
|
|
5327
5455
|
resource: VmwareEngineNetwork;
|
|
5328
5456
|
}): Request<Operation>;
|
|
@@ -5356,6 +5484,8 @@ declare namespace gapi.client {
|
|
|
5356
5484
|
upload_protocol?: string;
|
|
5357
5485
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5358
5486
|
uploadType?: string;
|
|
5487
|
+
/** Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request. */
|
|
5488
|
+
validateOnly?: boolean;
|
|
5359
5489
|
},
|
|
5360
5490
|
body: VmwareEngineNetwork,
|
|
5361
5491
|
): Request<Operation>;
|
|
@@ -5415,7 +5545,7 @@ declare namespace gapi.client {
|
|
|
5415
5545
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5416
5546
|
uploadType?: string;
|
|
5417
5547
|
}): Request<DnsBindPermission>;
|
|
5418
|
-
/** Lists information about the supported locations for this service. This method
|
|
5548
|
+
/** 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
5549
|
list(request?: {
|
|
5420
5550
|
/** V1 error format. */
|
|
5421
5551
|
'$.xgafv'?: '1' | '2';
|
|
@@ -5425,7 +5555,7 @@ declare namespace gapi.client {
|
|
|
5425
5555
|
alt?: 'json' | 'media' | 'proto';
|
|
5426
5556
|
/** JSONP */
|
|
5427
5557
|
callback?: string;
|
|
5428
|
-
/** Optional. Do not use this field
|
|
5558
|
+
/** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
|
|
5429
5559
|
extraLocationTypes?: string | string[];
|
|
5430
5560
|
/** Selector specifying which fields to include in a partial response. */
|
|
5431
5561
|
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:
|