@maxim_mazurok/gapi.client.vmwareengine-v1 0.0.20241202 → 0.0.20250218

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 +355 -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: 20241202
12
+ // Revision: 20250218
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,14 @@ 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. 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. */
117
+ minHoursDay?: number;
118
+ /** 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. */
119
+ minHoursWeek?: number;
120
+ /** Output only. Output Only. The user can only reschedule an upgrade that starts within this range. */
121
+ rescheduleDateRange?: Interval;
122
+ }
91
123
  interface Credentials {
92
124
  /** Initial password. */
93
125
  password?: string;
@@ -207,6 +239,12 @@ declare namespace gapi.client {
207
239
  /** Output only. System-generated unique identifier for the resource. */
208
240
  uid?: string;
209
241
  }
242
+ interface Interval {
243
+ /** Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. */
244
+ endTime?: string;
245
+ /** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
246
+ startTime?: string;
247
+ }
210
248
  interface IpRange {
211
249
  /** 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
250
  externalAddress?: string;
@@ -215,6 +253,14 @@ declare namespace gapi.client {
215
253
  /** An IP address range in the CIDR format. For example: `10.0.0.0/24`. */
216
254
  ipAddressRange?: string;
217
255
  }
256
+ interface ListAnnouncementsResponse {
257
+ /** A list of announcement runs. */
258
+ announcements?: Announcement[];
259
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
260
+ nextPageToken?: string;
261
+ /** list of unreachable locations */
262
+ unreachable?: string[];
263
+ }
218
264
  interface ListClustersResponse {
219
265
  /** A list of private cloud clusters. */
220
266
  clusters?: Cluster[];
@@ -341,6 +387,14 @@ declare namespace gapi.client {
341
387
  /** Locations that could not be reached when making an aggregated query using wildcards. */
342
388
  unreachable?: string[];
343
389
  }
390
+ interface ListUpgradesResponse {
391
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
392
+ nextPageToken?: string;
393
+ /** List of unreachable resources. */
394
+ unreachable?: string[];
395
+ /** A list of `Upgrades`. */
396
+ upgrades?: Upgrade[];
397
+ }
344
398
  interface ListVmwareEngineNetworksResponse {
345
399
  /** 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
400
  nextPageToken?: string;
@@ -675,6 +729,18 @@ declare namespace gapi.client {
675
729
  /** 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
730
  requestId?: string;
677
731
  }
732
+ interface Schedule {
733
+ /** Output only. Output Only. Constraints applied to the schedule. These constraints should be applicable at the time of any rescheduling. */
734
+ constraints?: Constraints;
735
+ /** Output only. Output Only. The schedule is open for edits during this time interval or window. */
736
+ editWindow?: Interval;
737
+ /** Output only. Output Only. Indicates who most recently edited the upgrade schedule. The value is updated whenever the upgrade is rescheduled. */
738
+ lastEditor?: string;
739
+ /** Required. The scheduled start time for the upgrade. */
740
+ startTime?: string;
741
+ /** Required. Weekly time windows for upgrade activities. The server performs upgrade activities during these time windows to minimize disruptions. */
742
+ weeklyWindows?: TimeWindow[];
743
+ }
678
744
  interface SetIamPolicyRequest {
679
745
  /** 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
746
  policy?: Policy;
@@ -723,10 +789,60 @@ declare namespace gapi.client {
723
789
  /** Required. The utilization triggering the scale-out operation in percent. */
724
790
  scaleOut?: number;
725
791
  }
792
+ interface TimeOfDay {
793
+ /** 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. */
794
+ hours?: number;
795
+ /** Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. */
796
+ minutes?: number;
797
+ /** Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. */
798
+ nanos?: number;
799
+ /** 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. */
800
+ seconds?: number;
801
+ }
802
+ interface TimeWindow {
803
+ /** Required. Day of the week for this window. */
804
+ dayOfWeek?: string;
805
+ /** Required. The duration of the window. The max allowed duration for any window is 24 hours. */
806
+ duration?: string;
807
+ /** Required. Time in UTC when the window starts. */
808
+ startTime?: TimeOfDay;
809
+ }
726
810
  interface UndeletePrivateCloudRequest {
727
811
  /** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
728
812
  requestId?: string;
729
813
  }
814
+ interface Upgrade {
815
+ /** Output only. Output Only. The list of component upgrades. */
816
+ componentUpgrades?: VmwareUpgradeComponent[];
817
+ /** Output only. Output Only. Creation time of this resource. */
818
+ createTime?: string;
819
+ /** 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. */
820
+ description?: string;
821
+ /** Output only. Output Only. End time of the upgrade. */
822
+ endTime?: string;
823
+ /** 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. */
824
+ estimatedDuration?: string;
825
+ /** The etag for the upgrade resource. If this is provided on update, it must match the server's etag. */
826
+ etag?: string;
827
+ /** 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` */
828
+ name?: string;
829
+ /** Schedule details for the upgrade. */
830
+ schedule?: Schedule;
831
+ /** Output only. Output Only. The start version */
832
+ startVersion?: string;
833
+ /** Output only. The current state of the upgrade. */
834
+ state?: string;
835
+ /** Output only. Output Only. The target version */
836
+ targetVersion?: string;
837
+ /** Output only. Output Only. The type of upgrade. */
838
+ type?: string;
839
+ /** Output only. System-generated unique identifier for the resource. */
840
+ uid?: string;
841
+ /** Output only. Output Only. Last update time of this resource. */
842
+ updateTime?: string;
843
+ /** Output only. */
844
+ version?: string;
845
+ }
730
846
  interface Vcenter {
731
847
  /** Fully qualified domain name of the appliance. */
732
848
  fqdn?: string;
@@ -757,12 +873,82 @@ declare namespace gapi.client {
757
873
  /** 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
874
  vpcNetworks?: VpcNetwork[];
759
875
  }
876
+ interface VmwareUpgradeComponent {
877
+ /** Output only. Type of component */
878
+ componentType?: string;
879
+ /** Output only. Component's upgrade state. */
880
+ state?: string;
881
+ }
760
882
  interface VpcNetwork {
761
883
  /** 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
884
  network?: string;
763
885
  /** Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD) */
764
886
  type?: string;
765
887
  }
888
+ interface AnnouncementsResource {
889
+ /** Retrieves a `Announcement` by its resource name. */
890
+ get(request?: {
891
+ /** V1 error format. */
892
+ '$.xgafv'?: string;
893
+ /** OAuth access token. */
894
+ access_token?: string;
895
+ /** Data format for response. */
896
+ alt?: string;
897
+ /** JSONP */
898
+ callback?: string;
899
+ /** Selector specifying which fields to include in a partial response. */
900
+ fields?: string;
901
+ /** 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. */
902
+ key?: string;
903
+ /** 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` */
904
+ name: string;
905
+ /** OAuth 2.0 token for the current user. */
906
+ oauth_token?: string;
907
+ /** Returns response with indentations and line breaks. */
908
+ prettyPrint?: boolean;
909
+ /** 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. */
910
+ quotaUser?: string;
911
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
912
+ upload_protocol?: string;
913
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
914
+ uploadType?: string;
915
+ }): Request<Announcement>;
916
+ /** Lists `Announcements` for a given region and project */
917
+ list(request?: {
918
+ /** V1 error format. */
919
+ '$.xgafv'?: string;
920
+ /** OAuth access token. */
921
+ access_token?: string;
922
+ /** Data format for response. */
923
+ alt?: string;
924
+ /** JSONP */
925
+ callback?: string;
926
+ /** Selector specifying which fields to include in a partial response. */
927
+ fields?: string;
928
+ /** 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") ``` */
929
+ filter?: string;
930
+ /** 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. */
931
+ key?: string;
932
+ /** OAuth 2.0 token for the current user. */
933
+ oauth_token?: string;
934
+ /** 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. */
935
+ orderBy?: string;
936
+ /** 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. */
937
+ pageSize?: number;
938
+ /** 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. */
939
+ pageToken?: string;
940
+ /** 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` */
941
+ parent: string;
942
+ /** Returns response with indentations and line breaks. */
943
+ prettyPrint?: boolean;
944
+ /** 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. */
945
+ quotaUser?: string;
946
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
947
+ upload_protocol?: string;
948
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
949
+ uploadType?: string;
950
+ }): Request<ListAnnouncementsResponse>;
951
+ }
766
952
  interface DnsBindPermissionResource {
767
953
  /** 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
954
  grant(request: {
@@ -820,7 +1006,7 @@ declare namespace gapi.client {
820
1006
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
821
1007
  uploadType?: string;
822
1008
  },
823
- body: GrantDnsBindPermissionRequest
1009
+ body: GrantDnsBindPermissionRequest,
824
1010
  ): Request<Operation>;
825
1011
  /** 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
1012
  revoke(request: {
@@ -878,7 +1064,7 @@ declare namespace gapi.client {
878
1064
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
879
1065
  uploadType?: string;
880
1066
  },
881
- body: RevokeDnsBindPermissionRequest
1067
+ body: RevokeDnsBindPermissionRequest,
882
1068
  ): Request<Operation>;
883
1069
  }
884
1070
  interface PeeringRoutesResource {
@@ -981,7 +1167,7 @@ declare namespace gapi.client {
981
1167
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
982
1168
  uploadType?: string;
983
1169
  },
984
- body: NetworkPeering
1170
+ body: NetworkPeering,
985
1171
  ): Request<Operation>;
986
1172
  /** 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
1173
  delete(request?: {
@@ -1138,7 +1324,7 @@ declare namespace gapi.client {
1138
1324
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1139
1325
  uploadType?: string;
1140
1326
  },
1141
- body: NetworkPeering
1327
+ body: NetworkPeering,
1142
1328
  ): Request<Operation>;
1143
1329
  peeringRoutes: PeeringRoutesResource;
1144
1330
  }
@@ -1207,7 +1393,7 @@ declare namespace gapi.client {
1207
1393
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1208
1394
  uploadType?: string;
1209
1395
  },
1210
- body: ExternalAccessRule
1396
+ body: ExternalAccessRule,
1211
1397
  ): Request<Operation>;
1212
1398
  /** Deletes a single external access rule. */
1213
1399
  delete(request?: {
@@ -1364,7 +1550,7 @@ declare namespace gapi.client {
1364
1550
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1365
1551
  uploadType?: string;
1366
1552
  },
1367
- body: ExternalAccessRule
1553
+ body: ExternalAccessRule,
1368
1554
  ): Request<Operation>;
1369
1555
  }
1370
1556
  interface NetworkPoliciesResource {
@@ -1432,7 +1618,7 @@ declare namespace gapi.client {
1432
1618
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1433
1619
  uploadType?: string;
1434
1620
  },
1435
- body: NetworkPolicy
1621
+ body: NetworkPolicy,
1436
1622
  ): Request<Operation>;
1437
1623
  /** 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
1624
  delete(request?: {
@@ -1620,7 +1806,7 @@ declare namespace gapi.client {
1620
1806
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1621
1807
  uploadType?: string;
1622
1808
  },
1623
- body: NetworkPolicy
1809
+ body: NetworkPolicy,
1624
1810
  ): Request<Operation>;
1625
1811
  externalAccessRules: ExternalAccessRulesResource;
1626
1812
  }
@@ -1904,7 +2090,7 @@ declare namespace gapi.client {
1904
2090
  /** Optional. True if you want the request to be validated and not executed; false otherwise. */
1905
2091
  validateOnly?: boolean;
1906
2092
  },
1907
- body: Cluster
2093
+ body: Cluster,
1908
2094
  ): Request<Operation>;
1909
2095
  /** 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
2096
  delete(request?: {
@@ -2094,7 +2280,7 @@ declare namespace gapi.client {
2094
2280
  /** Optional. True if you want the request to be validated and not executed; false otherwise. */
2095
2281
  validateOnly?: boolean;
2096
2282
  },
2097
- body: Cluster
2283
+ body: Cluster,
2098
2284
  ): Request<Operation>;
2099
2285
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2100
2286
  setIamPolicy(
@@ -2124,7 +2310,7 @@ declare namespace gapi.client {
2124
2310
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2125
2311
  uploadType?: string;
2126
2312
  },
2127
- body: SetIamPolicyRequest
2313
+ body: SetIamPolicyRequest,
2128
2314
  ): Request<Policy>;
2129
2315
  /** 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
2316
  testIamPermissions(
@@ -2154,7 +2340,7 @@ declare namespace gapi.client {
2154
2340
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2155
2341
  uploadType?: string;
2156
2342
  },
2157
- body: TestIamPermissionsRequest
2343
+ body: TestIamPermissionsRequest,
2158
2344
  ): Request<TestIamPermissionsResponse>;
2159
2345
  nodes: NodesResource;
2160
2346
  }
@@ -2223,7 +2409,7 @@ declare namespace gapi.client {
2223
2409
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2224
2410
  uploadType?: string;
2225
2411
  },
2226
- body: ExternalAddress
2412
+ body: ExternalAddress,
2227
2413
  ): Request<Operation>;
2228
2414
  /** 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
2415
  delete(request?: {
@@ -2380,7 +2566,7 @@ declare namespace gapi.client {
2380
2566
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2381
2567
  uploadType?: string;
2382
2568
  },
2383
- body: ExternalAddress
2569
+ body: ExternalAddress,
2384
2570
  ): Request<Operation>;
2385
2571
  }
2386
2572
  interface HcxActivationKeysResource {
@@ -2448,7 +2634,7 @@ declare namespace gapi.client {
2448
2634
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2449
2635
  uploadType?: string;
2450
2636
  },
2451
- body: HcxActivationKey
2637
+ body: HcxActivationKey,
2452
2638
  ): Request<Operation>;
2453
2639
  /** Retrieves a `HcxActivationKey` resource by its resource name. */
2454
2640
  get(request?: {
@@ -2565,7 +2751,7 @@ declare namespace gapi.client {
2565
2751
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2566
2752
  uploadType?: string;
2567
2753
  },
2568
- body: SetIamPolicyRequest
2754
+ body: SetIamPolicyRequest,
2569
2755
  ): Request<Policy>;
2570
2756
  /** 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
2757
  testIamPermissions(
@@ -2595,7 +2781,7 @@ declare namespace gapi.client {
2595
2781
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2596
2782
  uploadType?: string;
2597
2783
  },
2598
- body: TestIamPermissionsRequest
2784
+ body: TestIamPermissionsRequest,
2599
2785
  ): Request<TestIamPermissionsResponse>;
2600
2786
  }
2601
2787
  interface LoggingServersResource {
@@ -2663,7 +2849,7 @@ declare namespace gapi.client {
2663
2849
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2664
2850
  uploadType?: string;
2665
2851
  },
2666
- body: LoggingServer
2852
+ body: LoggingServer,
2667
2853
  ): Request<Operation>;
2668
2854
  /** Deletes a single logging server. */
2669
2855
  delete(request?: {
@@ -2820,7 +3006,7 @@ declare namespace gapi.client {
2820
3006
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2821
3007
  uploadType?: string;
2822
3008
  },
2823
- body: LoggingServer
3009
+ body: LoggingServer,
2824
3010
  ): Request<Operation>;
2825
3011
  }
2826
3012
  interface ManagementDnsZoneBindingsResource {
@@ -2888,7 +3074,7 @@ declare namespace gapi.client {
2888
3074
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2889
3075
  uploadType?: string;
2890
3076
  },
2891
- body: ManagementDnsZoneBinding
3077
+ body: ManagementDnsZoneBinding,
2892
3078
  ): Request<Operation>;
2893
3079
  /** 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
3080
  delete(request?: {
@@ -3045,7 +3231,7 @@ declare namespace gapi.client {
3045
3231
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3046
3232
  uploadType?: string;
3047
3233
  },
3048
- body: ManagementDnsZoneBinding
3234
+ body: ManagementDnsZoneBinding,
3049
3235
  ): Request<Operation>;
3050
3236
  /** Retries to create a `ManagementDnsZoneBinding` resource that is in failed state. */
3051
3237
  repair(request: {
@@ -3103,7 +3289,7 @@ declare namespace gapi.client {
3103
3289
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3104
3290
  uploadType?: string;
3105
3291
  },
3106
- body: RepairManagementDnsZoneBindingRequest
3292
+ body: RepairManagementDnsZoneBindingRequest,
3107
3293
  ): Request<Operation>;
3108
3294
  }
3109
3295
  interface SubnetsResource {
@@ -3225,7 +3411,137 @@ declare namespace gapi.client {
3225
3411
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3226
3412
  uploadType?: string;
3227
3413
  },
3228
- body: Subnet
3414
+ body: Subnet,
3415
+ ): Request<Operation>;
3416
+ }
3417
+ interface UpgradesResource {
3418
+ /** Retrieves a private cloud `Upgrade` resource by its resource name. */
3419
+ get(request?: {
3420
+ /** V1 error format. */
3421
+ '$.xgafv'?: string;
3422
+ /** OAuth access token. */
3423
+ access_token?: string;
3424
+ /** Data format for response. */
3425
+ alt?: string;
3426
+ /** JSONP */
3427
+ callback?: string;
3428
+ /** Selector specifying which fields to include in a partial response. */
3429
+ fields?: string;
3430
+ /** 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. */
3431
+ key?: string;
3432
+ /** 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` */
3433
+ name: string;
3434
+ /** OAuth 2.0 token for the current user. */
3435
+ oauth_token?: string;
3436
+ /** Returns response with indentations and line breaks. */
3437
+ prettyPrint?: boolean;
3438
+ /** 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. */
3439
+ quotaUser?: string;
3440
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3441
+ upload_protocol?: string;
3442
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3443
+ uploadType?: string;
3444
+ }): Request<Upgrade>;
3445
+ /** Lists past, ongoing and upcoming `Upgrades` for the given private cloud. */
3446
+ list(request?: {
3447
+ /** V1 error format. */
3448
+ '$.xgafv'?: string;
3449
+ /** OAuth access token. */
3450
+ access_token?: string;
3451
+ /** Data format for response. */
3452
+ alt?: string;
3453
+ /** JSONP */
3454
+ callback?: string;
3455
+ /** Selector specifying which fields to include in a partial response. */
3456
+ fields?: string;
3457
+ /** 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") ``` */
3458
+ filter?: string;
3459
+ /** 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. */
3460
+ key?: string;
3461
+ /** OAuth 2.0 token for the current user. */
3462
+ oauth_token?: string;
3463
+ /** 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. */
3464
+ orderBy?: string;
3465
+ /** 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. */
3466
+ pageSize?: number;
3467
+ /** 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. */
3468
+ pageToken?: string;
3469
+ /** 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` */
3470
+ parent: string;
3471
+ /** Returns response with indentations and line breaks. */
3472
+ prettyPrint?: boolean;
3473
+ /** 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. */
3474
+ quotaUser?: string;
3475
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3476
+ upload_protocol?: string;
3477
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3478
+ uploadType?: string;
3479
+ }): Request<ListUpgradesResponse>;
3480
+ /** 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. */
3481
+ patch(request: {
3482
+ /** V1 error format. */
3483
+ '$.xgafv'?: string;
3484
+ /** OAuth access token. */
3485
+ access_token?: string;
3486
+ /** Data format for response. */
3487
+ alt?: string;
3488
+ /** JSONP */
3489
+ callback?: string;
3490
+ /** Selector specifying which fields to include in a partial response. */
3491
+ fields?: string;
3492
+ /** 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. */
3493
+ key?: string;
3494
+ /** 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` */
3495
+ name: string;
3496
+ /** OAuth 2.0 token for the current user. */
3497
+ oauth_token?: string;
3498
+ /** Returns response with indentations and line breaks. */
3499
+ prettyPrint?: boolean;
3500
+ /** 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. */
3501
+ quotaUser?: string;
3502
+ /** 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). */
3503
+ requestId?: string;
3504
+ /** 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. */
3505
+ updateMask?: string;
3506
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3507
+ upload_protocol?: string;
3508
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3509
+ uploadType?: string;
3510
+ /** Request body */
3511
+ resource: Upgrade;
3512
+ }): Request<Operation>;
3513
+ patch(
3514
+ request: {
3515
+ /** V1 error format. */
3516
+ '$.xgafv'?: string;
3517
+ /** OAuth access token. */
3518
+ access_token?: string;
3519
+ /** Data format for response. */
3520
+ alt?: string;
3521
+ /** JSONP */
3522
+ callback?: string;
3523
+ /** Selector specifying which fields to include in a partial response. */
3524
+ fields?: string;
3525
+ /** 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. */
3526
+ key?: string;
3527
+ /** 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` */
3528
+ name: string;
3529
+ /** OAuth 2.0 token for the current user. */
3530
+ oauth_token?: string;
3531
+ /** Returns response with indentations and line breaks. */
3532
+ prettyPrint?: boolean;
3533
+ /** 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. */
3534
+ quotaUser?: string;
3535
+ /** 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). */
3536
+ requestId?: string;
3537
+ /** 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. */
3538
+ updateMask?: string;
3539
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3540
+ upload_protocol?: string;
3541
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3542
+ uploadType?: string;
3543
+ },
3544
+ body: Upgrade,
3229
3545
  ): Request<Operation>;
3230
3546
  }
3231
3547
  interface PrivateCloudsResource {
@@ -3297,7 +3613,7 @@ declare namespace gapi.client {
3297
3613
  /** Optional. True if you want the request to be validated and not executed; false otherwise. */
3298
3614
  validateOnly?: boolean;
3299
3615
  },
3300
- body: PrivateCloud
3616
+ body: PrivateCloud,
3301
3617
  ): Request<Operation>;
3302
3618
  /** 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
3619
  delete(request?: {
@@ -3514,7 +3830,7 @@ declare namespace gapi.client {
3514
3830
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3515
3831
  uploadType?: string;
3516
3832
  },
3517
- body: PrivateCloud
3833
+ body: PrivateCloud,
3518
3834
  ): Request<Operation>;
3519
3835
  /** Resets credentials of the NSX appliance. */
3520
3836
  resetNsxCredentials(request: {
@@ -3572,7 +3888,7 @@ declare namespace gapi.client {
3572
3888
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3573
3889
  uploadType?: string;
3574
3890
  },
3575
- body: ResetNsxCredentialsRequest
3891
+ body: ResetNsxCredentialsRequest,
3576
3892
  ): Request<Operation>;
3577
3893
  /** Resets credentials of the Vcenter appliance. */
3578
3894
  resetVcenterCredentials(request: {
@@ -3630,7 +3946,7 @@ declare namespace gapi.client {
3630
3946
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3631
3947
  uploadType?: string;
3632
3948
  },
3633
- body: ResetVcenterCredentialsRequest
3949
+ body: ResetVcenterCredentialsRequest,
3634
3950
  ): Request<Operation>;
3635
3951
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
3636
3952
  setIamPolicy(
@@ -3660,7 +3976,7 @@ declare namespace gapi.client {
3660
3976
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3661
3977
  uploadType?: string;
3662
3978
  },
3663
- body: SetIamPolicyRequest
3979
+ body: SetIamPolicyRequest,
3664
3980
  ): Request<Policy>;
3665
3981
  /** Gets details of credentials for NSX appliance. */
3666
3982
  showNsxCredentials(request?: {
@@ -3746,7 +4062,7 @@ declare namespace gapi.client {
3746
4062
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3747
4063
  uploadType?: string;
3748
4064
  },
3749
- body: TestIamPermissionsRequest
4065
+ body: TestIamPermissionsRequest,
3750
4066
  ): Request<TestIamPermissionsResponse>;
3751
4067
  /** 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
4068
  undelete(request: {
@@ -3804,7 +4120,7 @@ declare namespace gapi.client {
3804
4120
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3805
4121
  uploadType?: string;
3806
4122
  },
3807
- body: UndeletePrivateCloudRequest
4123
+ body: UndeletePrivateCloudRequest,
3808
4124
  ): Request<Operation>;
3809
4125
  /** Updates the parameters of the `DnsForwarding` config, like associated domains. Only fields specified in `update_mask` are applied. */
3810
4126
  updateDnsForwarding(request: {
@@ -3870,7 +4186,7 @@ declare namespace gapi.client {
3870
4186
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3871
4187
  uploadType?: string;
3872
4188
  },
3873
- body: DnsForwarding
4189
+ body: DnsForwarding,
3874
4190
  ): Request<Operation>;
3875
4191
  clusters: ClustersResource;
3876
4192
  externalAddresses: ExternalAddressesResource;
@@ -3878,6 +4194,7 @@ declare namespace gapi.client {
3878
4194
  loggingServers: LoggingServersResource;
3879
4195
  managementDnsZoneBindings: ManagementDnsZoneBindingsResource;
3880
4196
  subnets: SubnetsResource;
4197
+ upgrades: UpgradesResource;
3881
4198
  }
3882
4199
  interface PeeringRoutesResource {
3883
4200
  /** Lists the private connection routes exchanged over a peering connection. */
@@ -3977,7 +4294,7 @@ declare namespace gapi.client {
3977
4294
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3978
4295
  uploadType?: string;
3979
4296
  },
3980
- body: PrivateConnection
4297
+ body: PrivateConnection,
3981
4298
  ): Request<Operation>;
3982
4299
  /** 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
4300
  delete(request?: {
@@ -4134,7 +4451,7 @@ declare namespace gapi.client {
4134
4451
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4135
4452
  uploadType?: string;
4136
4453
  },
4137
- body: PrivateConnection
4454
+ body: PrivateConnection,
4138
4455
  ): Request<Operation>;
4139
4456
  peeringRoutes: PeeringRoutesResource;
4140
4457
  }
@@ -4203,7 +4520,7 @@ declare namespace gapi.client {
4203
4520
  /** 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
4521
  vmwareEngineNetworkId?: string;
4205
4522
  },
4206
- body: VmwareEngineNetwork
4523
+ body: VmwareEngineNetwork,
4207
4524
  ): Request<Operation>;
4208
4525
  /** 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
4526
  delete(request?: {
@@ -4362,7 +4679,7 @@ declare namespace gapi.client {
4362
4679
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4363
4680
  uploadType?: string;
4364
4681
  },
4365
- body: VmwareEngineNetwork
4682
+ body: VmwareEngineNetwork,
4366
4683
  ): Request<Operation>;
4367
4684
  }
4368
4685
  interface LocationsResource {
@@ -4453,6 +4770,7 @@ declare namespace gapi.client {
4453
4770
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4454
4771
  uploadType?: string;
4455
4772
  }): Request<ListLocationsResponse>;
4773
+ announcements: AnnouncementsResource;
4456
4774
  dnsBindPermission: DnsBindPermissionResource;
4457
4775
  networkPeerings: NetworkPeeringsResource;
4458
4776
  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.20241202",
3
+ "version": "0.0.20250218",
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