@maxim_mazurok/gapi.client.vmwareengine-v1 0.0.20250114 → 0.0.20250410

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.
Files changed (3) hide show
  1. package/index.d.ts +369 -37
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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: 20250114
12
+ // Revision: 20250410
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load VMware Engine API v1 */
18
18
  function load(
19
- urlOrObject: 'https://vmwareengine.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://vmwareengine.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'vmwareengine', version: 'v1'): Promise<void>;
@@ -24,6 +24,30 @@ declare namespace gapi.client {
24
24
  function load(name: 'vmwareengine', version: 'v1', callback: () => any): void;
25
25
 
26
26
  namespace vmwareengine {
27
+ interface Announcement {
28
+ /** Optional. Activity type of the announcement There can be only one active announcement for a given activity type and target resource. */
29
+ activityType?: string;
30
+ /** A Cluster resource name. */
31
+ cluster?: string;
32
+ /** Required. Code of the announcement. Indicates the presence of a VMware Engine related announcement and corresponds to a related message in the `description` field. */
33
+ code?: string;
34
+ /** Output only. Creation time of this resource. It also serves as start time of notification. */
35
+ createTime?: string;
36
+ /** Output only. Description of the announcement. */
37
+ description?: string;
38
+ /** Output only. Additional structured details about this announcement. */
39
+ metadata?: {[P in string]: string};
40
+ /** Output only. The resource name of the announcement. 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-west1-a/announcements/my-announcement-id` */
41
+ name?: string;
42
+ /** A Private Cloud resource name. */
43
+ privateCloud?: string;
44
+ /** Output only. State of the resource. New values may be added to this enum when appropriate. */
45
+ state?: string;
46
+ /** Output only. Target Resource Type defines the type of the target for the announcement */
47
+ targetResourceType?: string;
48
+ /** Output only. Last update time of this resource. */
49
+ updateTime?: string;
50
+ }
27
51
  interface AuditConfig {
28
52
  /** The configuration for logging of each type of permission. */
29
53
  auditLogConfigs?: AuditLogConfig[];
@@ -88,6 +112,16 @@ declare namespace gapi.client {
88
112
  /** Output only. Last update time of this resource. */
89
113
  updateTime?: string;
90
114
  }
115
+ interface Constraints {
116
+ /** Output only. Output Only. A list of intervals in which maintenance windows are not allowed. Any time window that overlaps with any of these intervals will be considered invalid. */
117
+ disallowedIntervals?: WeeklyTimeInterval[];
118
+ /** Output only. Minimum number of hours must be allotted for the upgrade activities for each selected day. This is a minimum; the upgrade schedule can allot more hours for the given day. */
119
+ minHoursDay?: number;
120
+ /** Output only. The minimum number of weekly hours must be allotted for the upgrade activities. This is just a minimum; the schedule can assign more weekly hours. */
121
+ minHoursWeek?: number;
122
+ /** Output only. Output Only. The user can only reschedule an upgrade that starts within this range. */
123
+ rescheduleDateRange?: Interval;
124
+ }
91
125
  interface Credentials {
92
126
  /** Initial password. */
93
127
  password?: string;
@@ -207,6 +241,12 @@ declare namespace gapi.client {
207
241
  /** Output only. System-generated unique identifier for the resource. */
208
242
  uid?: string;
209
243
  }
244
+ interface Interval {
245
+ /** Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. */
246
+ endTime?: string;
247
+ /** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
248
+ startTime?: string;
249
+ }
210
250
  interface IpRange {
211
251
  /** The name of an `ExternalAddress` resource. The external address must have been reserved in the scope of this external access rule's parent network policy. Provide the external address name in the form of `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`. */
212
252
  externalAddress?: string;
@@ -215,6 +255,14 @@ declare namespace gapi.client {
215
255
  /** An IP address range in the CIDR format. For example: `10.0.0.0/24`. */
216
256
  ipAddressRange?: string;
217
257
  }
258
+ interface ListAnnouncementsResponse {
259
+ /** A list of announcement runs. */
260
+ announcements?: Announcement[];
261
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
262
+ nextPageToken?: string;
263
+ /** list of unreachable locations */
264
+ unreachable?: string[];
265
+ }
218
266
  interface ListClustersResponse {
219
267
  /** A list of private cloud clusters. */
220
268
  clusters?: Cluster[];
@@ -341,6 +389,14 @@ declare namespace gapi.client {
341
389
  /** Locations that could not be reached when making an aggregated query using wildcards. */
342
390
  unreachable?: string[];
343
391
  }
392
+ interface ListUpgradesResponse {
393
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
394
+ nextPageToken?: string;
395
+ /** List of unreachable resources. */
396
+ unreachable?: string[];
397
+ /** A list of `Upgrades`. */
398
+ upgrades?: Upgrade[];
399
+ }
344
400
  interface ListVmwareEngineNetworksResponse {
345
401
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
346
402
  nextPageToken?: string;
@@ -675,6 +731,18 @@ declare namespace gapi.client {
675
731
  /** 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 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). */
676
732
  requestId?: string;
677
733
  }
734
+ interface Schedule {
735
+ /** Output only. Output Only. Constraints applied to the schedule. These constraints should be applicable at the time of any rescheduling. */
736
+ constraints?: Constraints;
737
+ /** Output only. Output Only. The schedule is open for edits during this time interval or window. */
738
+ editWindow?: Interval;
739
+ /** Output only. Output Only. Indicates who most recently edited the upgrade schedule. The value is updated whenever the upgrade is rescheduled. */
740
+ lastEditor?: string;
741
+ /** Required. The scheduled start time for the upgrade. */
742
+ startTime?: string;
743
+ /** Required. Weekly time windows for upgrade activities. The server performs upgrade activities during these time windows to minimize disruptions. */
744
+ weeklyWindows?: TimeWindow[];
745
+ }
678
746
  interface SetIamPolicyRequest {
679
747
  /** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
680
748
  policy?: Policy;
@@ -723,10 +791,60 @@ declare namespace gapi.client {
723
791
  /** Required. The utilization triggering the scale-out operation in percent. */
724
792
  scaleOut?: number;
725
793
  }
794
+ interface TimeOfDay {
795
+ /** Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. */
796
+ hours?: number;
797
+ /** Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. */
798
+ minutes?: number;
799
+ /** Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. */
800
+ nanos?: number;
801
+ /** Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. */
802
+ seconds?: number;
803
+ }
804
+ interface TimeWindow {
805
+ /** Required. Day of the week for this window. */
806
+ dayOfWeek?: string;
807
+ /** Required. The duration of the window. The max allowed duration for any window is 24 hours. */
808
+ duration?: string;
809
+ /** Required. Time in UTC when the window starts. */
810
+ startTime?: TimeOfDay;
811
+ }
726
812
  interface UndeletePrivateCloudRequest {
727
813
  /** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
728
814
  requestId?: string;
729
815
  }
816
+ interface Upgrade {
817
+ /** Output only. Output Only. The list of component upgrades. */
818
+ componentUpgrades?: VmwareUpgradeComponent[];
819
+ /** Output only. Output Only. Creation time of this resource. */
820
+ createTime?: string;
821
+ /** Output only. Output Only. The description of the upgrade. This is used to provide additional information about the private cloud upgrade, such as the upgrade's purpose, the changes included in the upgrade, or any other relevant information about the upgrade. */
822
+ description?: string;
823
+ /** Output only. Output Only. End time of the upgrade. */
824
+ endTime?: string;
825
+ /** Output only. Output Only. The estimated total duration of the upgrade. This information can be used to plan or schedule upgrades to minimize disruptions. Please note that the estimated duration is only an estimate. The actual upgrade duration may vary. */
826
+ estimatedDuration?: string;
827
+ /** The etag for the upgrade resource. If this is provided on update, it must match the server's etag. */
828
+ etag?: string;
829
+ /** Output only. Identifier. The resource name of the private cloud `Upgrade`. 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-west1-a/privateClouds/my-cloud/upgrades/my-upgrade` */
830
+ name?: string;
831
+ /** Schedule details for the upgrade. */
832
+ schedule?: Schedule;
833
+ /** Output only. Output Only. The start version */
834
+ startVersion?: string;
835
+ /** Output only. The current state of the upgrade. */
836
+ state?: string;
837
+ /** Output only. Output Only. The target version */
838
+ targetVersion?: string;
839
+ /** Output only. Output Only. The type of upgrade. */
840
+ type?: string;
841
+ /** Output only. System-generated unique identifier for the resource. */
842
+ uid?: string;
843
+ /** Output only. Output Only. Last update time of this resource. */
844
+ updateTime?: string;
845
+ /** Output only. */
846
+ version?: string;
847
+ }
730
848
  interface Vcenter {
731
849
  /** Fully qualified domain name of the appliance. */
732
850
  fqdn?: string;
@@ -757,12 +875,92 @@ declare namespace gapi.client {
757
875
  /** Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services. */
758
876
  vpcNetworks?: VpcNetwork[];
759
877
  }
878
+ interface VmwareUpgradeComponent {
879
+ /** Output only. Type of component */
880
+ componentType?: string;
881
+ /** Output only. Component's upgrade state. */
882
+ state?: string;
883
+ }
760
884
  interface VpcNetwork {
761
885
  /** Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: `projects/123123/global/networks/my-network` */
762
886
  network?: string;
763
887
  /** Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD) */
764
888
  type?: string;
765
889
  }
890
+ interface WeeklyTimeInterval {
891
+ /** Output only. The day on which the interval ends. Can be same as start day. */
892
+ endDay?: string;
893
+ /** Output only. The time on the end day at which the interval ends. */
894
+ endTime?: TimeOfDay;
895
+ /** Output only. The day on which the interval starts. */
896
+ startDay?: string;
897
+ /** Output only. The time on the start day at which the interval starts. */
898
+ startTime?: TimeOfDay;
899
+ }
900
+ interface AnnouncementsResource {
901
+ /** Retrieves a `Announcement` by its resource name. */
902
+ get(request?: {
903
+ /** V1 error format. */
904
+ '$.xgafv'?: string;
905
+ /** OAuth access token. */
906
+ access_token?: string;
907
+ /** Data format for response. */
908
+ alt?: string;
909
+ /** JSONP */
910
+ callback?: string;
911
+ /** Selector specifying which fields to include in a partial response. */
912
+ fields?: string;
913
+ /** 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. */
914
+ key?: string;
915
+ /** Required. The resource name of the announcement to retrieve. 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-west1-a/announcements/announcement-uuid` */
916
+ name: string;
917
+ /** OAuth 2.0 token for the current user. */
918
+ oauth_token?: string;
919
+ /** Returns response with indentations and line breaks. */
920
+ prettyPrint?: boolean;
921
+ /** 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. */
922
+ quotaUser?: string;
923
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
924
+ upload_protocol?: string;
925
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
926
+ uploadType?: string;
927
+ }): Request<Announcement>;
928
+ /** Lists `Announcements` for a given region and project */
929
+ list(request?: {
930
+ /** V1 error format. */
931
+ '$.xgafv'?: string;
932
+ /** OAuth access token. */
933
+ access_token?: string;
934
+ /** Data format for response. */
935
+ alt?: string;
936
+ /** JSONP */
937
+ callback?: string;
938
+ /** Selector specifying which fields to include in a partial response. */
939
+ fields?: string;
940
+ /** A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of announcement runs, you can exclude the ones named `example-announcement` by specifying `name != "example-announcement"`. You can also filter nested fields. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = "example-announcement") (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "announcement-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "announcement-2") ``` */
941
+ filter?: string;
942
+ /** 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. */
943
+ key?: string;
944
+ /** OAuth 2.0 token for the current user. */
945
+ oauth_token?: string;
946
+ /** Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy="name desc"`. Currently, only ordering by `name` is supported. */
947
+ orderBy?: string;
948
+ /** The maximum number of announcements to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500. */
949
+ pageSize?: number;
950
+ /** A page token, received from a previous `ListAnnouncements` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAnnouncements` must match the call that provided the page token. */
951
+ pageToken?: string;
952
+ /** Required. The resource name of the location to be queried for announcements. 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-west1-a` */
953
+ parent: string;
954
+ /** Returns response with indentations and line breaks. */
955
+ prettyPrint?: boolean;
956
+ /** 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. */
957
+ quotaUser?: string;
958
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
959
+ upload_protocol?: string;
960
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
961
+ uploadType?: string;
962
+ }): Request<ListAnnouncementsResponse>;
963
+ }
766
964
  interface DnsBindPermissionResource {
767
965
  /** Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global. */
768
966
  grant(request: {
@@ -820,7 +1018,7 @@ declare namespace gapi.client {
820
1018
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
821
1019
  uploadType?: string;
822
1020
  },
823
- body: GrantDnsBindPermissionRequest
1021
+ body: GrantDnsBindPermissionRequest,
824
1022
  ): Request<Operation>;
825
1023
  /** Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global. */
826
1024
  revoke(request: {
@@ -878,7 +1076,7 @@ declare namespace gapi.client {
878
1076
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
879
1077
  uploadType?: string;
880
1078
  },
881
- body: RevokeDnsBindPermissionRequest
1079
+ body: RevokeDnsBindPermissionRequest,
882
1080
  ): Request<Operation>;
883
1081
  }
884
1082
  interface PeeringRoutesResource {
@@ -981,7 +1179,7 @@ declare namespace gapi.client {
981
1179
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
982
1180
  uploadType?: string;
983
1181
  },
984
- body: NetworkPeering
1182
+ body: NetworkPeering,
985
1183
  ): Request<Operation>;
986
1184
  /** Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global. */
987
1185
  delete(request?: {
@@ -1138,7 +1336,7 @@ declare namespace gapi.client {
1138
1336
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1139
1337
  uploadType?: string;
1140
1338
  },
1141
- body: NetworkPeering
1339
+ body: NetworkPeering,
1142
1340
  ): Request<Operation>;
1143
1341
  peeringRoutes: PeeringRoutesResource;
1144
1342
  }
@@ -1207,7 +1405,7 @@ declare namespace gapi.client {
1207
1405
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1208
1406
  uploadType?: string;
1209
1407
  },
1210
- body: ExternalAccessRule
1408
+ body: ExternalAccessRule,
1211
1409
  ): Request<Operation>;
1212
1410
  /** Deletes a single external access rule. */
1213
1411
  delete(request?: {
@@ -1364,7 +1562,7 @@ declare namespace gapi.client {
1364
1562
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1365
1563
  uploadType?: string;
1366
1564
  },
1367
- body: ExternalAccessRule
1565
+ body: ExternalAccessRule,
1368
1566
  ): Request<Operation>;
1369
1567
  }
1370
1568
  interface NetworkPoliciesResource {
@@ -1432,7 +1630,7 @@ declare namespace gapi.client {
1432
1630
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1433
1631
  uploadType?: string;
1434
1632
  },
1435
- body: NetworkPolicy
1633
+ body: NetworkPolicy,
1436
1634
  ): Request<Operation>;
1437
1635
  /** Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when `NetworkService.state` is set to `RECONCILING` for either its external IP or internet access service. */
1438
1636
  delete(request?: {
@@ -1620,7 +1818,7 @@ declare namespace gapi.client {
1620
1818
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1621
1819
  uploadType?: string;
1622
1820
  },
1623
- body: NetworkPolicy
1821
+ body: NetworkPolicy,
1624
1822
  ): Request<Operation>;
1625
1823
  externalAccessRules: ExternalAccessRulesResource;
1626
1824
  }
@@ -1904,7 +2102,7 @@ declare namespace gapi.client {
1904
2102
  /** Optional. True if you want the request to be validated and not executed; false otherwise. */
1905
2103
  validateOnly?: boolean;
1906
2104
  },
1907
- body: Cluster
2105
+ body: Cluster,
1908
2106
  ): Request<Operation>;
1909
2107
  /** Deletes a `Cluster` resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method. */
1910
2108
  delete(request?: {
@@ -2094,7 +2292,7 @@ declare namespace gapi.client {
2094
2292
  /** Optional. True if you want the request to be validated and not executed; false otherwise. */
2095
2293
  validateOnly?: boolean;
2096
2294
  },
2097
- body: Cluster
2295
+ body: Cluster,
2098
2296
  ): Request<Operation>;
2099
2297
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2100
2298
  setIamPolicy(
@@ -2124,7 +2322,7 @@ declare namespace gapi.client {
2124
2322
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2125
2323
  uploadType?: string;
2126
2324
  },
2127
- body: SetIamPolicyRequest
2325
+ body: SetIamPolicyRequest,
2128
2326
  ): Request<Policy>;
2129
2327
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
2130
2328
  testIamPermissions(
@@ -2154,7 +2352,7 @@ declare namespace gapi.client {
2154
2352
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2155
2353
  uploadType?: string;
2156
2354
  },
2157
- body: TestIamPermissionsRequest
2355
+ body: TestIamPermissionsRequest,
2158
2356
  ): Request<TestIamPermissionsResponse>;
2159
2357
  nodes: NodesResource;
2160
2358
  }
@@ -2223,7 +2421,7 @@ declare namespace gapi.client {
2223
2421
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2224
2422
  uploadType?: string;
2225
2423
  },
2226
- body: ExternalAddress
2424
+ body: ExternalAddress,
2227
2425
  ): Request<Operation>;
2228
2426
  /** Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost. */
2229
2427
  delete(request?: {
@@ -2380,7 +2578,7 @@ declare namespace gapi.client {
2380
2578
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2381
2579
  uploadType?: string;
2382
2580
  },
2383
- body: ExternalAddress
2581
+ body: ExternalAddress,
2384
2582
  ): Request<Operation>;
2385
2583
  }
2386
2584
  interface HcxActivationKeysResource {
@@ -2448,7 +2646,7 @@ declare namespace gapi.client {
2448
2646
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2449
2647
  uploadType?: string;
2450
2648
  },
2451
- body: HcxActivationKey
2649
+ body: HcxActivationKey,
2452
2650
  ): Request<Operation>;
2453
2651
  /** Retrieves a `HcxActivationKey` resource by its resource name. */
2454
2652
  get(request?: {
@@ -2565,7 +2763,7 @@ declare namespace gapi.client {
2565
2763
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2566
2764
  uploadType?: string;
2567
2765
  },
2568
- body: SetIamPolicyRequest
2766
+ body: SetIamPolicyRequest,
2569
2767
  ): Request<Policy>;
2570
2768
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
2571
2769
  testIamPermissions(
@@ -2595,7 +2793,7 @@ declare namespace gapi.client {
2595
2793
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2596
2794
  uploadType?: string;
2597
2795
  },
2598
- body: TestIamPermissionsRequest
2796
+ body: TestIamPermissionsRequest,
2599
2797
  ): Request<TestIamPermissionsResponse>;
2600
2798
  }
2601
2799
  interface LoggingServersResource {
@@ -2663,7 +2861,7 @@ declare namespace gapi.client {
2663
2861
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2664
2862
  uploadType?: string;
2665
2863
  },
2666
- body: LoggingServer
2864
+ body: LoggingServer,
2667
2865
  ): Request<Operation>;
2668
2866
  /** Deletes a single logging server. */
2669
2867
  delete(request?: {
@@ -2820,7 +3018,7 @@ declare namespace gapi.client {
2820
3018
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2821
3019
  uploadType?: string;
2822
3020
  },
2823
- body: LoggingServer
3021
+ body: LoggingServer,
2824
3022
  ): Request<Operation>;
2825
3023
  }
2826
3024
  interface ManagementDnsZoneBindingsResource {
@@ -2888,7 +3086,7 @@ declare namespace gapi.client {
2888
3086
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2889
3087
  uploadType?: string;
2890
3088
  },
2891
- body: ManagementDnsZoneBinding
3089
+ body: ManagementDnsZoneBinding,
2892
3090
  ): Request<Operation>;
2893
3091
  /** Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone. */
2894
3092
  delete(request?: {
@@ -3045,7 +3243,7 @@ declare namespace gapi.client {
3045
3243
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3046
3244
  uploadType?: string;
3047
3245
  },
3048
- body: ManagementDnsZoneBinding
3246
+ body: ManagementDnsZoneBinding,
3049
3247
  ): Request<Operation>;
3050
3248
  /** Retries to create a `ManagementDnsZoneBinding` resource that is in failed state. */
3051
3249
  repair(request: {
@@ -3103,7 +3301,7 @@ declare namespace gapi.client {
3103
3301
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3104
3302
  uploadType?: string;
3105
3303
  },
3106
- body: RepairManagementDnsZoneBindingRequest
3304
+ body: RepairManagementDnsZoneBindingRequest,
3107
3305
  ): Request<Operation>;
3108
3306
  }
3109
3307
  interface SubnetsResource {
@@ -3225,7 +3423,137 @@ declare namespace gapi.client {
3225
3423
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3226
3424
  uploadType?: string;
3227
3425
  },
3228
- body: Subnet
3426
+ body: Subnet,
3427
+ ): Request<Operation>;
3428
+ }
3429
+ interface UpgradesResource {
3430
+ /** Retrieves a private cloud `Upgrade` resource by its resource name. */
3431
+ get(request?: {
3432
+ /** V1 error format. */
3433
+ '$.xgafv'?: string;
3434
+ /** OAuth access token. */
3435
+ access_token?: string;
3436
+ /** Data format for response. */
3437
+ alt?: string;
3438
+ /** JSONP */
3439
+ callback?: string;
3440
+ /** Selector specifying which fields to include in a partial response. */
3441
+ fields?: string;
3442
+ /** 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. */
3443
+ key?: string;
3444
+ /** Required. The name of the `Upgrade` resource to be retrieved. 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-west1-a/privateClouds/my-cloud/upgrades/my-upgrade` */
3445
+ name: string;
3446
+ /** OAuth 2.0 token for the current user. */
3447
+ oauth_token?: string;
3448
+ /** Returns response with indentations and line breaks. */
3449
+ prettyPrint?: boolean;
3450
+ /** 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. */
3451
+ quotaUser?: string;
3452
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3453
+ upload_protocol?: string;
3454
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3455
+ uploadType?: string;
3456
+ }): Request<Upgrade>;
3457
+ /** Lists past, ongoing and upcoming `Upgrades` for the given private cloud. */
3458
+ list(request?: {
3459
+ /** V1 error format. */
3460
+ '$.xgafv'?: string;
3461
+ /** OAuth access token. */
3462
+ access_token?: string;
3463
+ /** Data format for response. */
3464
+ alt?: string;
3465
+ /** JSONP */
3466
+ callback?: string;
3467
+ /** Selector specifying which fields to include in a partial response. */
3468
+ fields?: string;
3469
+ /** A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of upgrades, you can exclude the ones named `example-upgrade1` by specifying `name != "example-upgrade1"`. You can also filter nested fields. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = "example-upgrade") (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "upgrade-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "upgrade-2") ``` */
3470
+ filter?: string;
3471
+ /** 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. */
3472
+ key?: string;
3473
+ /** OAuth 2.0 token for the current user. */
3474
+ oauth_token?: string;
3475
+ /** Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy="name desc"`. Currently, only ordering by `name` is supported. */
3476
+ orderBy?: string;
3477
+ /** The maximum number of `Upgrades` to return in one page. The service may return fewer resources than this value. The maximum value is coerced to 1000. The default value of this field is 500. */
3478
+ pageSize?: number;
3479
+ /** A page token, received from a previous `ListUpgrades` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUpgrades` must match the call that provided the page token. */
3480
+ pageToken?: string;
3481
+ /** Required. Query a list of `Upgrades` for the given private cloud resource name. 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-west1-a/privateClouds/my-cloud` */
3482
+ parent: string;
3483
+ /** Returns response with indentations and line breaks. */
3484
+ prettyPrint?: boolean;
3485
+ /** 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. */
3486
+ quotaUser?: string;
3487
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3488
+ upload_protocol?: string;
3489
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3490
+ uploadType?: string;
3491
+ }): Request<ListUpgradesResponse>;
3492
+ /** Update the private cloud `Upgrade` resource. Only `schedule` field can updated. The schedule can only be updated when the upgrade has not started and schedule edit window is open. Only fields specified in `update_mask` are considered. */
3493
+ patch(request: {
3494
+ /** V1 error format. */
3495
+ '$.xgafv'?: string;
3496
+ /** OAuth access token. */
3497
+ access_token?: string;
3498
+ /** Data format for response. */
3499
+ alt?: string;
3500
+ /** JSONP */
3501
+ callback?: string;
3502
+ /** Selector specifying which fields to include in a partial response. */
3503
+ fields?: string;
3504
+ /** 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. */
3505
+ key?: string;
3506
+ /** Output only. Identifier. The resource name of the private cloud `Upgrade`. 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-west1-a/privateClouds/my-cloud/upgrades/my-upgrade` */
3507
+ name: string;
3508
+ /** OAuth 2.0 token for the current user. */
3509
+ oauth_token?: string;
3510
+ /** Returns response with indentations and line breaks. */
3511
+ prettyPrint?: boolean;
3512
+ /** 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. */
3513
+ quotaUser?: string;
3514
+ /** 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 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). */
3515
+ requestId?: string;
3516
+ /** Required. Field mask is used to specify the fields to be overwritten in the `Upgrade` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */
3517
+ updateMask?: string;
3518
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3519
+ upload_protocol?: string;
3520
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3521
+ uploadType?: string;
3522
+ /** Request body */
3523
+ resource: Upgrade;
3524
+ }): Request<Operation>;
3525
+ patch(
3526
+ request: {
3527
+ /** V1 error format. */
3528
+ '$.xgafv'?: string;
3529
+ /** OAuth access token. */
3530
+ access_token?: string;
3531
+ /** Data format for response. */
3532
+ alt?: string;
3533
+ /** JSONP */
3534
+ callback?: string;
3535
+ /** Selector specifying which fields to include in a partial response. */
3536
+ fields?: string;
3537
+ /** 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. */
3538
+ key?: string;
3539
+ /** Output only. Identifier. The resource name of the private cloud `Upgrade`. 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-west1-a/privateClouds/my-cloud/upgrades/my-upgrade` */
3540
+ name: string;
3541
+ /** OAuth 2.0 token for the current user. */
3542
+ oauth_token?: string;
3543
+ /** Returns response with indentations and line breaks. */
3544
+ prettyPrint?: boolean;
3545
+ /** 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. */
3546
+ quotaUser?: string;
3547
+ /** 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 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). */
3548
+ requestId?: string;
3549
+ /** Required. Field mask is used to specify the fields to be overwritten in the `Upgrade` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */
3550
+ updateMask?: string;
3551
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3552
+ upload_protocol?: string;
3553
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3554
+ uploadType?: string;
3555
+ },
3556
+ body: Upgrade,
3229
3557
  ): Request<Operation>;
3230
3558
  }
3231
3559
  interface PrivateCloudsResource {
@@ -3297,7 +3625,7 @@ declare namespace gapi.client {
3297
3625
  /** Optional. True if you want the request to be validated and not executed; false otherwise. */
3298
3626
  validateOnly?: boolean;
3299
3627
  },
3300
- body: PrivateCloud
3628
+ body: PrivateCloud,
3301
3629
  ): Request<Operation>;
3302
3630
  /** Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `expireTime` set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the `PrivateCloud` is successfully scheduled for deletion (this also applies when `delayHours` is set to zero), and the operation is not kept in pending state until `PrivateCloud` is purged. `PrivateCloud` can be restored using `UndeletePrivateCloud` method before the `expireTime` elapses. When `expireTime` is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be polled using standard `GET` method for the whole period of deletion and purging. It will not be returned only when it is completely purged. */
3303
3631
  delete(request?: {
@@ -3514,7 +3842,7 @@ declare namespace gapi.client {
3514
3842
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3515
3843
  uploadType?: string;
3516
3844
  },
3517
- body: PrivateCloud
3845
+ body: PrivateCloud,
3518
3846
  ): Request<Operation>;
3519
3847
  /** Resets credentials of the NSX appliance. */
3520
3848
  resetNsxCredentials(request: {
@@ -3572,7 +3900,7 @@ declare namespace gapi.client {
3572
3900
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3573
3901
  uploadType?: string;
3574
3902
  },
3575
- body: ResetNsxCredentialsRequest
3903
+ body: ResetNsxCredentialsRequest,
3576
3904
  ): Request<Operation>;
3577
3905
  /** Resets credentials of the Vcenter appliance. */
3578
3906
  resetVcenterCredentials(request: {
@@ -3630,7 +3958,7 @@ declare namespace gapi.client {
3630
3958
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3631
3959
  uploadType?: string;
3632
3960
  },
3633
- body: ResetVcenterCredentialsRequest
3961
+ body: ResetVcenterCredentialsRequest,
3634
3962
  ): Request<Operation>;
3635
3963
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
3636
3964
  setIamPolicy(
@@ -3660,7 +3988,7 @@ declare namespace gapi.client {
3660
3988
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3661
3989
  uploadType?: string;
3662
3990
  },
3663
- body: SetIamPolicyRequest
3991
+ body: SetIamPolicyRequest,
3664
3992
  ): Request<Policy>;
3665
3993
  /** Gets details of credentials for NSX appliance. */
3666
3994
  showNsxCredentials(request?: {
@@ -3746,7 +4074,7 @@ declare namespace gapi.client {
3746
4074
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3747
4075
  uploadType?: string;
3748
4076
  },
3749
- body: TestIamPermissionsRequest
4077
+ body: TestIamPermissionsRequest,
3750
4078
  ): Request<TestIamPermissionsResponse>;
3751
4079
  /** Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed. */
3752
4080
  undelete(request: {
@@ -3804,7 +4132,7 @@ declare namespace gapi.client {
3804
4132
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3805
4133
  uploadType?: string;
3806
4134
  },
3807
- body: UndeletePrivateCloudRequest
4135
+ body: UndeletePrivateCloudRequest,
3808
4136
  ): Request<Operation>;
3809
4137
  /** Updates the parameters of the `DnsForwarding` config, like associated domains. Only fields specified in `update_mask` are applied. */
3810
4138
  updateDnsForwarding(request: {
@@ -3870,7 +4198,7 @@ declare namespace gapi.client {
3870
4198
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3871
4199
  uploadType?: string;
3872
4200
  },
3873
- body: DnsForwarding
4201
+ body: DnsForwarding,
3874
4202
  ): Request<Operation>;
3875
4203
  clusters: ClustersResource;
3876
4204
  externalAddresses: ExternalAddressesResource;
@@ -3878,6 +4206,7 @@ declare namespace gapi.client {
3878
4206
  loggingServers: LoggingServersResource;
3879
4207
  managementDnsZoneBindings: ManagementDnsZoneBindingsResource;
3880
4208
  subnets: SubnetsResource;
4209
+ upgrades: UpgradesResource;
3881
4210
  }
3882
4211
  interface PeeringRoutesResource {
3883
4212
  /** Lists the private connection routes exchanged over a peering connection. */
@@ -3977,7 +4306,7 @@ declare namespace gapi.client {
3977
4306
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3978
4307
  uploadType?: string;
3979
4308
  },
3980
- body: PrivateConnection
4309
+ body: PrivateConnection,
3981
4310
  ): Request<Operation>;
3982
4311
  /** Deletes a `PrivateConnection` resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network. */
3983
4312
  delete(request?: {
@@ -4134,7 +4463,7 @@ declare namespace gapi.client {
4134
4463
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4135
4464
  uploadType?: string;
4136
4465
  },
4137
- body: PrivateConnection
4466
+ body: PrivateConnection,
4138
4467
  ): Request<Operation>;
4139
4468
  peeringRoutes: PeeringRoutesResource;
4140
4469
  }
@@ -4203,7 +4532,7 @@ declare namespace gapi.client {
4203
4532
  /** 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) */
4204
4533
  vmwareEngineNetworkId?: string;
4205
4534
  },
4206
- body: VmwareEngineNetwork
4535
+ body: VmwareEngineNetwork,
4207
4536
  ): Request<Operation>;
4208
4537
  /** Deletes a `VmwareEngineNetwork` resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network. */
4209
4538
  delete(request?: {
@@ -4362,7 +4691,7 @@ declare namespace gapi.client {
4362
4691
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4363
4692
  uploadType?: string;
4364
4693
  },
4365
- body: VmwareEngineNetwork
4694
+ body: VmwareEngineNetwork,
4366
4695
  ): Request<Operation>;
4367
4696
  }
4368
4697
  interface LocationsResource {
@@ -4430,6 +4759,8 @@ declare namespace gapi.client {
4430
4759
  alt?: string;
4431
4760
  /** JSONP */
4432
4761
  callback?: string;
4762
+ /** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
4763
+ extraLocationTypes?: string | string[];
4433
4764
  /** Selector specifying which fields to include in a partial response. */
4434
4765
  fields?: string;
4435
4766
  /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
@@ -4453,6 +4784,7 @@ declare namespace gapi.client {
4453
4784
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4454
4785
  uploadType?: string;
4455
4786
  }): Request<ListLocationsResponse>;
4787
+ announcements: AnnouncementsResource;
4456
4788
  dnsBindPermission: DnsBindPermissionResource;
4457
4789
  networkPeerings: NetworkPeeringsResource;
4458
4790
  networkPolicies: NetworkPoliciesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.vmwareengine-v1",
3
- "version": "0.0.20250114",
3
+ "version": "0.0.20250410",
4
4
  "description": "TypeScript typings for VMware Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.vmwareengine
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68