@maxim_mazurok/gapi.client.compute-alpha 0.2.20260807 → 0.2.20260821

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 +262 -15
  2. package/package.json +1 -1
  3. package/readme.md +10 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
12
- // Revision: 20260807
12
+ // Revision: 20260821
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2157,6 +2157,44 @@ declare namespace gapi.client {
2157
2157
  | 'OPTIMIZE_AVAILABILITY'
2158
2158
  | 'PREDICTIVE_METHOD_UNSPECIFIED'
2159
2159
  | 'STANDARD';
2160
+ /**
2161
+ * Defines how CPU utilization is aggregated in a group.
2162
+ *
2163
+ * Operates on the results from the `time_aggregation`, reducing the
2164
+ * per-instance values down to a single aggregate value across the entire
2165
+ * instance group if samples are available.
2166
+ */
2167
+ signalAggregation?: AutoscalingPolicySignalAggregation;
2168
+ /**
2169
+ * Defines how CPU utilization is aggregated over time.
2170
+ *
2171
+ * Operates on all CPU utilization samples produced by each instance over
2172
+ * the `time_aggregation.time_window_sec`, reducing them to exactly one
2173
+ * value per instance if samples are available.
2174
+ */
2175
+ timeAggregation?: AutoscalingPolicyTimeAggregation;
2176
+ /**
2177
+ * Defines a target range for CPU utilization. The values of
2178
+ * `min_utilization` and `max_utilization` must be in
2179
+ * the range (0.0, 1.0].
2180
+ *
2181
+ * If the average CPU is between `min_utilization` and
2182
+ * `max_utilization`, the autoscaler maintains the current size
2183
+ * unless another configured metric requires scaling out.
2184
+ *
2185
+ * If the average CPU is above `max_utilization`, the autoscaler
2186
+ * scales out until the average utilization reaches the
2187
+ * `utilization_range.utilization_target`.
2188
+ *
2189
+ * If the average CPU is below `min_utilization`, the autoscaler
2190
+ * considers scaling in until the average utilization reaches the
2191
+ * `utilization_range.utilization_target`. Scaling in can occur only if all
2192
+ * other configured scaling metrics also suggest scaling in.
2193
+ *
2194
+ * At most one of CpuUtilization.utilization_target or
2195
+ * CpuUtilization.utilization_range can be set.
2196
+ */
2197
+ utilizationRange?: UtilizationRange;
2160
2198
  /**
2161
2199
  * The target CPU utilization that the autoscaler maintains. Must be
2162
2200
  * a float value in the range (0, 1]. If not specified, the default is0.6.
@@ -2333,6 +2371,42 @@ declare namespace gapi.client {
2333
2371
  */
2334
2372
  timeZone?: string;
2335
2373
  }
2374
+ interface AutoscalingPolicySignalAggregation {
2375
+ /**
2376
+ * If statistic is PERCENTILE, percentile must be defined. This value is
2377
+ * used only when statistic is PERCENTILE.
2378
+ */
2379
+ percentile?: number;
2380
+ /**
2381
+ * Required. The aggregator used to aggregate signal samples across the entire
2382
+ * instance group. This field is required.
2383
+ */
2384
+ statistic?:
2385
+ 'AGGREGATOR_UNSPECIFIED' | 'AVERAGE' | 'MAX' | 'MIN' | 'PERCENTILE';
2386
+ }
2387
+ interface AutoscalingPolicyTimeAggregation {
2388
+ /**
2389
+ * If statistic is PERCENTILE, percentile must be defined. This value is
2390
+ * used only when statistic is PERCENTILE.
2391
+ */
2392
+ percentile?: number;
2393
+ /**
2394
+ * Required. The aggregator used to aggregate signal samples over the
2395
+ * `time_window_sec`. This field is required.
2396
+ */
2397
+ statistic?:
2398
+ | 'AGGREGATOR_UNSPECIFIED'
2399
+ | 'AVERAGE'
2400
+ | 'LAST_VALUE'
2401
+ | 'MAX'
2402
+ | 'MIN'
2403
+ | 'PERCENTILE';
2404
+ /**
2405
+ * Required. The duration of the time window over which the signal samples are
2406
+ * aggregated. This field is required.
2407
+ */
2408
+ timeWindowSec?: number;
2409
+ }
2336
2410
  interface AWSV4Signature {
2337
2411
  /**
2338
2412
  * The access key used for s3 bucket authentication. Required for updating or
@@ -6726,6 +6800,7 @@ declare namespace gapi.client {
6726
6800
  interface ConfidentialInstanceConfig {
6727
6801
  /** Defines the type of technology used by the confidential instance. */
6728
6802
  confidentialInstanceType?:
6803
+ | 'BMSAI'
6729
6804
  | 'CCA'
6730
6805
  | 'CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED'
6731
6806
  | 'SEV'
@@ -9532,6 +9607,13 @@ declare namespace gapi.client {
9532
9607
  };
9533
9608
  }
9534
9609
  interface FirewallPolicy {
9610
+ /**
9611
+ * Optional. If specified, it defines what should happen in case of backend issues for
9612
+ * rules with apply_security_profile_group action.
9613
+ * Allowed values: ALLOW, DENY. If not specified, the default behavior is
9614
+ * ALLOW.
9615
+ */
9616
+ applySecurityProfileFallbackAction?: string;
9535
9617
  /** A list of associations that belong to this firewall policy. */
9536
9618
  associations?: FirewallPolicyAssociation[];
9537
9619
  /**
@@ -11121,6 +11203,7 @@ declare namespace gapi.client {
11121
11203
  */
11122
11204
  commitmentInfo?: FutureReservationCommitmentInfo;
11123
11205
  confidentialComputeType?:
11206
+ | 'CONFIDENTIAL_COMPUTE_TYPE_BMSAI'
11124
11207
  | 'CONFIDENTIAL_COMPUTE_TYPE_TDX'
11125
11208
  | 'CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED';
11126
11209
  /**
@@ -11871,6 +11954,36 @@ declare namespace gapi.client {
11871
11954
  */
11872
11955
  destinationAddress?: string;
11873
11956
  }
11957
+ interface GlobalFrontendSettings {
11958
+ /** Customer-settable bundle type. */
11959
+ bundleType?:
11960
+ 'BUNDLE_TYPE_UNSPECIFIED' | 'GLOBAL_FRONT_END' | 'INDIVIDUAL';
11961
+ /** Output only. [Output Only] Creation timestamp in RFC3339 text format. */
11962
+ creationTimestamp?: string;
11963
+ /** Output only. [Output Only] An optional description of this resource. */
11964
+ description?: string;
11965
+ /** Output only. For optimistic locking */
11966
+ etag?: string;
11967
+ /**
11968
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is
11969
+ * defined by the server.
11970
+ */
11971
+ id?: string;
11972
+ /**
11973
+ * Output only. OUTPUT_ONLY fields
11974
+ * [Output Only] Name of the resource. Must be 1-63 characters long and match
11975
+ * the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
11976
+ * character must be a lowercase letter, and all following characters must
11977
+ * be a dash, lowercase letter, or digit, except the last character, which
11978
+ * cannot be a dash.
11979
+ */
11980
+ name?: string;
11981
+ /** Output only. [Output Only] Server-defined URL for the resource. */
11982
+ selfLink?: string;
11983
+ }
11984
+ interface GlobalFrontendSettingsPatchResponse {
11985
+ operation?: Operation;
11986
+ }
11874
11987
  interface GlobalListVmExtensionsResponse {
11875
11988
  /**
11876
11989
  * Output only. Fingerprint of this resource. A hash of the contents stored
@@ -12541,6 +12654,7 @@ declare namespace gapi.client {
12541
12654
  * - IDPF
12542
12655
  * - SNP_SVSM_CAPABLE
12543
12656
  * - CCA_CAPABLE
12657
+ * - SUSPEND_SAFE_FPR
12544
12658
  *
12545
12659
  *
12546
12660
  * For more information, see
@@ -12559,6 +12673,7 @@ declare namespace gapi.client {
12559
12673
  | 'SEV_LIVE_MIGRATABLE_V2'
12560
12674
  | 'SEV_SNP_CAPABLE'
12561
12675
  | 'SNP_SVSM_CAPABLE'
12676
+ | 'SUSPEND_SAFE_FPR'
12562
12677
  | 'TDX_CAPABLE'
12563
12678
  | 'UEFI_COMPATIBLE'
12564
12679
  | 'VIRTIO_SCSI_MULTIQUEUE'
@@ -18115,8 +18230,6 @@ declare namespace gapi.client {
18115
18230
  /** Actions that are allowed to update instances within MIG. */
18116
18231
  allowedActions?:
18117
18232
  'NONE' | 'REFRESH' | 'REPLACE' | 'RESTART' | 'RESTART_IN_PLACE'[];
18118
- /** Whether the boot disk is allowed to be updated with restart. */
18119
- disruptionMode?: 'LEGACY' | 'OPTIMIZED';
18120
18233
  /**
18121
18234
  * The list of URLs of one or more instances for which you want to apply
18122
18235
  * updates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/instances/[INSTANCE_NAME].
@@ -18923,8 +19036,6 @@ declare namespace gapi.client {
18923
19036
  /** Actions that are allowed to update instances within MIG. */
18924
19037
  allowedActions?:
18925
19038
  'NONE' | 'REFRESH' | 'REPLACE' | 'RESTART' | 'RESTART_IN_PLACE'[];
18926
- /** Whether the boot disk is allowed to be updated with restart. */
18927
- disruptionMode?: 'LEGACY' | 'OPTIMIZED';
18928
19039
  /**
18929
19040
  * The
18930
19041
  * instance redistribution policy for regional managed instance groups.
@@ -21033,7 +21144,7 @@ declare namespace gapi.client {
21033
21144
  satisfiesPzs?: boolean;
21034
21145
  /** Output only. [Output Only] Server-defined URL for the resource. */
21035
21146
  selfLink?: string;
21036
- /** Output only. [Output Only] Server-defined URL for this resource with the resource id. */
21147
+ /** Output only. Server-defined URL for this resource with the resource id. */
21037
21148
  selfLinkWithId?: string;
21038
21149
  /**
21039
21150
  * Output only. [Output Only] The current state of Interconnect functionality, which can
@@ -23173,6 +23284,16 @@ declare namespace gapi.client {
23173
23284
  * may match multiple InterconnectLocations.
23174
23285
  */
23175
23286
  city?: string;
23287
+ /**
23288
+ * Output only. The maximum unmetered bandwidth for dynamic paths allowable per
23289
+ * WireGroup for this metro.
23290
+ */
23291
+ maxDynamicPathBandwidthGbps?: string;
23292
+ /**
23293
+ * Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup
23294
+ * for this metro.
23295
+ */
23296
+ maxFixedPathBandwidthGbps?: string;
23176
23297
  /**
23177
23298
  * Output only. The maximum gbps for a single flow to this metro.
23178
23299
  * This limits the total bandwidth which may be configured per wire.
@@ -25378,12 +25499,17 @@ declare namespace gapi.client {
25378
25499
  /** Output only. [Output Only] Tag describing the version. */
25379
25500
  tag?: string;
25380
25501
  /**
25381
- * Output only. [Output Only] The eventual status of the instance. The instance group
25502
+ * Output only. The eventual status of the instance. The instance group
25382
25503
  * manager will not be identified as stable till each managed instance reaches
25383
25504
  * its targetStatus.
25384
25505
  */
25385
25506
  targetStatus?:
25386
- 'ABANDONED' | 'DELETED' | 'RUNNING' | 'STOPPED' | 'SUSPENDED';
25507
+ | 'ABANDONED'
25508
+ | 'DELETED'
25509
+ | 'INVALID'
25510
+ | 'RUNNING'
25511
+ | 'STOPPED'
25512
+ | 'SUSPENDED';
25387
25513
  /** Output only. [Output Only] Intended version of this instance. */
25388
25514
  version?: ManagedInstanceVersion;
25389
25515
  }
@@ -25692,13 +25818,12 @@ declare namespace gapi.client {
25692
25818
  subnetwork?: string;
25693
25819
  /**
25694
25820
  * Required. The type of management service this interface provides.
25695
- * Supported types include NMX-C for partition management, gNMI for switch
25696
- * monitoring, and TPU slice management.
25821
+ * Supported types include NMX-C for partition management and gNMI for switch
25822
+ * monitoring.
25697
25823
  */
25698
25824
  type?:
25699
25825
  | 'TYPE_NVLINK_PARTITION_MANAGEMENT'
25700
25826
  | 'TYPE_NVLINK_SWITCH_MONITORING'
25701
- | 'TYPE_TPU_SLICE_MANAGEMENT'
25702
25827
  | 'TYPE_UNSPECIFIED';
25703
25828
  }
25704
25829
  interface Metadata {
@@ -30443,7 +30568,7 @@ declare namespace gapi.client {
30443
30568
  * methods if not explicitly provided by the user.
30444
30569
  */
30445
30570
  firewallPolicyRuleOperationMetadata?: FirewallPolicyRuleOperationMetadata;
30446
- /** Output only. [Output Only] Metadata for GetHealth operations. */
30571
+ /** Output only. Metadata for GetHealth operations. */
30447
30572
  getHealthOperationMetadata?: GetHealthOperationMetadata;
30448
30573
  getVersionOperationMetadata?: GetVersionOperationMetadata;
30449
30574
  /**
@@ -33863,7 +33988,7 @@ declare namespace gapi.client {
33863
33988
  creationSizeBytes?: string;
33864
33989
  /** Output only. [Output Only] Creation timestamp inRFC3339 text format. */
33865
33990
  creationTimestamp?: string;
33866
- /** Output only. [Output Only] Purge timestamp of recoverable snapshot inRFC3339 text format. */
33991
+ /** Output only. [Output Only] Deletion timestamp of snapshot inRFC3339 text format. */
33867
33992
  deletionTimestamp?: string;
33868
33993
  /** An optional description of this resource. */
33869
33994
  description?: string;
@@ -34802,8 +34927,6 @@ declare namespace gapi.client {
34802
34927
  /** Actions that are allowed to update instances within MIG. */
34803
34928
  allowedActions?:
34804
34929
  'NONE' | 'REFRESH' | 'REPLACE' | 'RESTART' | 'RESTART_IN_PLACE'[];
34805
- /** Whether the boot disk is allowed to be updated with restart. */
34806
- disruptionMode?: 'LEGACY' | 'OPTIMIZED';
34807
34930
  /**
34808
34931
  * The list of URLs of one or more instances for which you want to apply
34809
34932
  * updates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/instances/[INSTANCE_NAME].
@@ -35554,6 +35677,7 @@ declare namespace gapi.client {
35554
35677
  */
35555
35678
  commitment?: string;
35556
35679
  confidentialComputeType?:
35680
+ | 'CONFIDENTIAL_COMPUTE_TYPE_BMSAI'
35557
35681
  | 'CONFIDENTIAL_COMPUTE_TYPE_TDX'
35558
35682
  | 'CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED';
35559
35683
  /**
@@ -48931,6 +49055,31 @@ declare namespace gapi.client {
48931
49055
  */
48932
49056
  reportNamePrefix?: string;
48933
49057
  }
49058
+ interface UtilizationRange {
49059
+ /**
49060
+ * Required. The upper bound of the utilization range. Must be greater or equal to
49061
+ * min_utilization. This value is required when using range-based scaling.
49062
+ *
49063
+ * Scaling out is triggered if the utilization exceeds this value.
49064
+ */
49065
+ maxUtilization?: number;
49066
+ /**
49067
+ * Required. The lower bound of the utilization range. Must be smaller or equal to
49068
+ * max_utilization. This value is required when using range-based scaling.
49069
+ *
49070
+ * Scaling in is considered only if the utilization drops below this value.
49071
+ */
49072
+ minUtilization?: number;
49073
+ /**
49074
+ * The target utilization that the autoscaler aims to achieve when scaling
49075
+ * is triggered. This value must be within the range [min_utilization,
49076
+ * max_utilization].
49077
+ *
49078
+ * If not specified, this will default to the average of max_utilization and
49079
+ * min_utilization.
49080
+ */
49081
+ utilizationTarget?: number;
49082
+ }
48934
49083
  interface VmEndpointNatMappings {
48935
49084
  /** Output only. Name of the VM instance which the endpoint belongs to */
48936
49085
  instanceName?: string;
@@ -65657,6 +65806,102 @@ declare namespace gapi.client {
65657
65806
  body: TestPermissionsRequest,
65658
65807
  ): Request<TestPermissionsResponse>;
65659
65808
  }
65809
+ interface GlobalFrontendSettingsResource {
65810
+ /** Gets the Global Frontend Billing Bundle Settings for a project. */
65811
+ get(request?: {
65812
+ /** V1 error format. */
65813
+ '$.xgafv'?: '1' | '2';
65814
+ /** OAuth access token. */
65815
+ access_token?: string;
65816
+ /** Data format for response. */
65817
+ alt?: 'json' | 'media' | 'proto';
65818
+ /** JSONP */
65819
+ callback?: string;
65820
+ /** Selector specifying which fields to include in a partial response. */
65821
+ fields?: string;
65822
+ /** 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. */
65823
+ key?: string;
65824
+ /** OAuth 2.0 token for the current user. */
65825
+ oauth_token?: string;
65826
+ /** Returns response with indentations and line breaks. */
65827
+ prettyPrint?: boolean;
65828
+ project: string;
65829
+ /** 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. */
65830
+ quotaUser?: string;
65831
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
65832
+ upload_protocol?: string;
65833
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
65834
+ uploadType?: string;
65835
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
65836
+ userIp?: string;
65837
+ }): Request<GlobalFrontendSettings>;
65838
+ /** Updates the Global Frontend Billing Bundle Settings for a project. */
65839
+ patch(request: {
65840
+ /** V1 error format. */
65841
+ '$.xgafv'?: '1' | '2';
65842
+ /** OAuth access token. */
65843
+ access_token?: string;
65844
+ /** Data format for response. */
65845
+ alt?: 'json' | 'media' | 'proto';
65846
+ /** JSONP */
65847
+ callback?: string;
65848
+ /** Selector specifying which fields to include in a partial response. */
65849
+ fields?: string;
65850
+ /** 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. */
65851
+ key?: string;
65852
+ /** OAuth 2.0 token for the current user. */
65853
+ oauth_token?: string;
65854
+ /** Returns response with indentations and line breaks. */
65855
+ prettyPrint?: boolean;
65856
+ project: string;
65857
+ /** 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. */
65858
+ quotaUser?: string;
65859
+ requestId?: string;
65860
+ /** e.g., "type" */
65861
+ updateMask?: string;
65862
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
65863
+ upload_protocol?: string;
65864
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
65865
+ uploadType?: string;
65866
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
65867
+ userIp?: string;
65868
+ /** Request body */
65869
+ resource: GlobalFrontendSettings;
65870
+ }): Request<GlobalFrontendSettingsPatchResponse>;
65871
+ patch(
65872
+ request: {
65873
+ /** V1 error format. */
65874
+ '$.xgafv'?: '1' | '2';
65875
+ /** OAuth access token. */
65876
+ access_token?: string;
65877
+ /** Data format for response. */
65878
+ alt?: 'json' | 'media' | 'proto';
65879
+ /** JSONP */
65880
+ callback?: string;
65881
+ /** Selector specifying which fields to include in a partial response. */
65882
+ fields?: string;
65883
+ /** 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. */
65884
+ key?: string;
65885
+ /** OAuth 2.0 token for the current user. */
65886
+ oauth_token?: string;
65887
+ /** Returns response with indentations and line breaks. */
65888
+ prettyPrint?: boolean;
65889
+ project: string;
65890
+ /** 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. */
65891
+ quotaUser?: string;
65892
+ requestId?: string;
65893
+ /** e.g., "type" */
65894
+ updateMask?: string;
65895
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
65896
+ upload_protocol?: string;
65897
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
65898
+ uploadType?: string;
65899
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
65900
+ userIp?: string;
65901
+ },
65902
+ body: GlobalFrontendSettings,
65903
+ ): Request<GlobalFrontendSettingsPatchResponse>;
65904
+ }
65660
65905
  interface GlobalNetworkEndpointGroupsResource {
65661
65906
  /** Attach a network endpoint to the specified network endpoint group. */
65662
65907
  attachNetworkEndpoints(request: {
@@ -149547,6 +149792,8 @@ declare namespace gapi.client {
149547
149792
 
149548
149793
  const globalForwardingRules: GlobalForwardingRulesResource;
149549
149794
 
149795
+ const globalFrontendSettings: GlobalFrontendSettingsResource;
149796
+
149550
149797
  const globalNetworkEndpointGroups: GlobalNetworkEndpointGroupsResource;
149551
149798
 
149552
149799
  const globalOperations: GlobalOperationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.2.20260807",
3
+ "version": "0.2.20260821",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -1185,6 +1185,16 @@ Returns permissions that a caller has on the specified resource.
1185
1185
  */
1186
1186
  await gapi.client.compute.globalForwardingRules.testIamPermissions({ project: "project", resource: "resource", });
1187
1187
 
1188
+ /*
1189
+ Gets the Global Frontend Billing Bundle Settings for a project.
1190
+ */
1191
+ await gapi.client.compute.globalFrontendSettings.get({ project: "project", });
1192
+
1193
+ /*
1194
+ Updates the Global Frontend Billing Bundle Settings for a project.
1195
+ */
1196
+ await gapi.client.compute.globalFrontendSettings.patch({ project: "project", });
1197
+
1188
1198
  /*
1189
1199
  Attach a network endpoint to the specified network endpoint group.
1190
1200
  */