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

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 +328 -34
  2. package/package.json +1 -1
  3. package/readme.md +14 -4
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: 20260828
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
@@ -3556,6 +3630,11 @@ declare namespace gapi.client {
3556
3630
  * This field can only be specified when the load balancing scheme is set toINTERNAL, or when the load balancing scheme is set toEXTERNAL and haPolicy fastIpMove is enabled.
3557
3631
  */
3558
3632
  network?: string;
3633
+ /**
3634
+ * Optional. The URL of the network attachment that this resource
3635
+ * belongs to.projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}.
3636
+ */
3637
+ networkAttachment?: string;
3559
3638
  /**
3560
3639
  * Configures traffic steering properties of internal passthrough Network
3561
3640
  * Load Balancers.
@@ -3682,6 +3761,14 @@ declare namespace gapi.client {
3682
3761
  * If set, lists of backends and health checks must be both empty.
3683
3762
  */
3684
3763
  serviceBindings?: string[];
3764
+ /**
3765
+ * Optional. The service class ID associated with this resource.
3766
+ * Producer Service's Service class ID for the region of this backend
3767
+ * service. Can only be used with network_attachment. It is not possible to
3768
+ * use on its own; however, network_attachment can be used without
3769
+ * service_class_id.
3770
+ */
3771
+ serviceClassId?: string;
3685
3772
  /**
3686
3773
  * URL to networkservices.ServiceLbPolicy resource.
3687
3774
  *
@@ -4267,7 +4354,8 @@ declare namespace gapi.client {
4267
4354
  * instance must already be attached to the NEG specified in the
4268
4355
  * haPolicy.leader.backendGroup.
4269
4356
  *
4270
- * The name must be 1-63 characters long, and comply with RFC1035.
4357
+ * The value must be a valid RFC1035 name (1-63 characters) or a valid
4358
+ * instance URL.
4271
4359
  * Authorization requires the following IAM permission on the
4272
4360
  * specified resource instance: compute.instances.use
4273
4361
  */
@@ -5550,10 +5638,10 @@ declare namespace gapi.client {
5550
5638
  recommendations?: CalendarModeRecommendation[];
5551
5639
  }
5552
5640
  interface CalendarModeExtensionAdviceRequest {
5553
- /** Required. The desired end time after the Future Reservation is extended. */
5641
+ /** Required. The desired end time for the extension. */
5554
5642
  endTimeNotLaterThan?: string;
5555
5643
  /**
5556
- * Required. Reference to the Future Reservation, in the format:
5644
+ * Required. Reference to the future reservation, in the format:
5557
5645
  * projects/{project}/zones/{zone}/futureReservations/{name}
5558
5646
  * Full URIs that include hostnames (like compute.googleapis.com or
5559
5647
  * www.googleapis.com) are also supported.
@@ -5562,27 +5650,29 @@ declare namespace gapi.client {
5562
5650
  }
5563
5651
  interface CalendarModeExtensionAdviceResponse {
5564
5652
  /**
5565
- * The recommended end time for the extension, which will either be
5566
- * the end time requested by the caller or the longest alternative for
5567
- * which there is sufficient capacity. If extension is not possible, this
5568
- * field will be empty, and not_recommended_reason will be populated instead.
5653
+ * The recommended end time for the extension, which is either the end time
5654
+ * requested by the caller or the longest alternative with sufficient
5655
+ * capacity. If the extension is not possible, this field is empty, and
5656
+ * notRecommendedReason is populated instead.
5569
5657
  */
5570
5658
  endTime?: string;
5571
5659
  /**
5572
- * Information regarding the reason why the Future Reservation
5573
- * cannot be extended at all. If a recommendation is provided, whether that is
5574
- * the requested end time or an alternative, this field will be empty.
5660
+ * The reason why the future reservation can't be extended. If a
5661
+ * recommendation is provided, whether for the requested end time or an
5662
+ * alternative, this field is empty.
5575
5663
  */
5576
5664
  notRecommendedReason?: CalendarModeExtensionAdviceResponseNotRecommendedReason;
5577
- /** Unique id of the recommendation, a UUID string generated by the API. */
5665
+ /**
5666
+ * The unique ID of the recommendation, which is a UUID string generated by
5667
+ * the API.
5668
+ */
5578
5669
  recommendationId?: string;
5579
5670
  }
5580
5671
  interface CalendarModeExtensionAdviceResponseNotRecommendedReason {
5581
5672
  /**
5582
- * Details (human readable) describing why the recommendation
5583
- * was not provided. For example, if the status is CONDITION_NOT_MET,
5584
- * then this field will contain information about why the requested
5585
- * extension duration is not eligible.
5673
+ * Human-readable details describing why the recommendation wasn't provided.
5674
+ * For example, if the status is CONDITIONS_NOT_MET, this field explains why
5675
+ * the requested extension duration isn't possible.
5586
5676
  */
5587
5677
  details?: string;
5588
5678
  /** Status of recommendation. */
@@ -6726,6 +6816,7 @@ declare namespace gapi.client {
6726
6816
  interface ConfidentialInstanceConfig {
6727
6817
  /** Defines the type of technology used by the confidential instance. */
6728
6818
  confidentialInstanceType?:
6819
+ | 'BMSAI'
6729
6820
  | 'CCA'
6730
6821
  | 'CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED'
6731
6822
  | 'SEV'
@@ -8774,6 +8865,13 @@ declare namespace gapi.client {
8774
8865
  */
8775
8866
  seconds?: string;
8776
8867
  }
8868
+ interface DynamicCompressionPolicy {
8869
+ /**
8870
+ * Compress text responses using Brotli or gzip compression, based on
8871
+ * the client's Accept-Encoding header.
8872
+ */
8873
+ compressionMode?: 'AUTOMATIC' | 'DISABLED';
8874
+ }
8777
8875
  interface ErrorInfo {
8778
8876
  /**
8779
8877
  * The logical grouping to which the "reason" belongs. The error domain
@@ -9532,6 +9630,13 @@ declare namespace gapi.client {
9532
9630
  };
9533
9631
  }
9534
9632
  interface FirewallPolicy {
9633
+ /**
9634
+ * Optional. If specified, it defines what should happen in case of backend issues for
9635
+ * rules with apply_security_profile_group action.
9636
+ * Allowed values: ALLOW, DENY. If not specified, the default behavior is
9637
+ * ALLOW.
9638
+ */
9639
+ applySecurityProfileFallbackAction?: string;
9535
9640
  /** A list of associations that belong to this firewall policy. */
9536
9641
  associations?: FirewallPolicyAssociation[];
9537
9642
  /**
@@ -10633,6 +10738,11 @@ declare namespace gapi.client {
10633
10738
  * APIs, a network must be provided.
10634
10739
  */
10635
10740
  network?: string;
10741
+ /**
10742
+ * Optional. The URL of the network attachment that this resource
10743
+ * belongs to.projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}.
10744
+ */
10745
+ networkAttachment?: string;
10636
10746
  /**
10637
10747
  * This signifies the networking tier used for configuring
10638
10748
  * this load balancer and can only take the following values:PREMIUM, STANDARD.
@@ -10743,6 +10853,12 @@ declare namespace gapi.client {
10743
10853
  selfLink?: string;
10744
10854
  /** Output only. [Output Only] Server-defined URL for this resource with the resource id. */
10745
10855
  selfLinkWithId?: string;
10856
+ /**
10857
+ * Optional. Producer Service's Service class ID for the region of this forwarding rule.
10858
+ * Can only be used with network_attachment. It is not possible to use on its
10859
+ * own; however, network_attachment can be used without service_class_id.
10860
+ */
10861
+ serviceClassId?: string;
10746
10862
  /**
10747
10863
  * Service Directory resources to register this forwarding rule with.
10748
10864
  * Currently, only supports a single Service Directory resource.
@@ -11121,6 +11237,7 @@ declare namespace gapi.client {
11121
11237
  */
11122
11238
  commitmentInfo?: FutureReservationCommitmentInfo;
11123
11239
  confidentialComputeType?:
11240
+ | 'CONFIDENTIAL_COMPUTE_TYPE_BMSAI'
11124
11241
  | 'CONFIDENTIAL_COMPUTE_TYPE_TDX'
11125
11242
  | 'CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED';
11126
11243
  /**
@@ -11871,6 +11988,36 @@ declare namespace gapi.client {
11871
11988
  */
11872
11989
  destinationAddress?: string;
11873
11990
  }
11991
+ interface GlobalFrontendSettings {
11992
+ /** Customer-settable bundle type. */
11993
+ bundleType?:
11994
+ 'BUNDLE_TYPE_UNSPECIFIED' | 'GLOBAL_FRONT_END' | 'INDIVIDUAL';
11995
+ /** Output only. [Output Only] Creation timestamp in RFC3339 text format. */
11996
+ creationTimestamp?: string;
11997
+ /** Output only. [Output Only] An optional description of this resource. */
11998
+ description?: string;
11999
+ /** Output only. For optimistic locking */
12000
+ etag?: string;
12001
+ /**
12002
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is
12003
+ * defined by the server.
12004
+ */
12005
+ id?: string;
12006
+ /**
12007
+ * Output only. OUTPUT_ONLY fields
12008
+ * [Output Only] Name of the resource. Must be 1-63 characters long and match
12009
+ * the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
12010
+ * character must be a lowercase letter, and all following characters must
12011
+ * be a dash, lowercase letter, or digit, except the last character, which
12012
+ * cannot be a dash.
12013
+ */
12014
+ name?: string;
12015
+ /** Output only. [Output Only] Server-defined URL for the resource. */
12016
+ selfLink?: string;
12017
+ }
12018
+ interface GlobalFrontendSettingsPatchResponse {
12019
+ operation?: Operation;
12020
+ }
11874
12021
  interface GlobalListVmExtensionsResponse {
11875
12022
  /**
11876
12023
  * Output only. Fingerprint of this resource. A hash of the contents stored
@@ -12541,6 +12688,7 @@ declare namespace gapi.client {
12541
12688
  * - IDPF
12542
12689
  * - SNP_SVSM_CAPABLE
12543
12690
  * - CCA_CAPABLE
12691
+ * - SUSPEND_SAFE_FPR
12544
12692
  *
12545
12693
  *
12546
12694
  * For more information, see
@@ -12548,6 +12696,7 @@ declare namespace gapi.client {
12548
12696
  */
12549
12697
  type?:
12550
12698
  | 'BARE_METAL_LINUX_COMPATIBLE'
12699
+ | 'BMSAI_CAPABLE'
12551
12700
  | 'CCA_CAPABLE'
12552
12701
  | 'FEATURE_TYPE_UNSPECIFIED'
12553
12702
  | 'GVNIC'
@@ -12559,6 +12708,7 @@ declare namespace gapi.client {
12559
12708
  | 'SEV_LIVE_MIGRATABLE_V2'
12560
12709
  | 'SEV_SNP_CAPABLE'
12561
12710
  | 'SNP_SVSM_CAPABLE'
12711
+ | 'SUSPEND_SAFE_FPR'
12562
12712
  | 'TDX_CAPABLE'
12563
12713
  | 'UEFI_COMPATIBLE'
12564
12714
  | 'VIRTIO_SCSI_MULTIQUEUE'
@@ -15377,6 +15527,11 @@ declare namespace gapi.client {
15377
15527
  * Not supported when the URL map is bound to a target gRPC proxy.
15378
15528
  */
15379
15529
  corsPolicy?: CorsPolicy;
15530
+ /**
15531
+ * Dynamic compression policy for this URL Map's route. Available only for
15532
+ * Global EXTERNAL_MANAGED load balancer schemes.
15533
+ */
15534
+ dynamicCompressionPolicy?: DynamicCompressionPolicy;
15380
15535
  /**
15381
15536
  * The specification for fault injection introduced into traffic to test
15382
15537
  * the resiliency of clients to backend service failure. As part of fault
@@ -18115,8 +18270,6 @@ declare namespace gapi.client {
18115
18270
  /** Actions that are allowed to update instances within MIG. */
18116
18271
  allowedActions?:
18117
18272
  'NONE' | 'REFRESH' | 'REPLACE' | 'RESTART' | 'RESTART_IN_PLACE'[];
18118
- /** Whether the boot disk is allowed to be updated with restart. */
18119
- disruptionMode?: 'LEGACY' | 'OPTIMIZED';
18120
18273
  /**
18121
18274
  * The list of URLs of one or more instances for which you want to apply
18122
18275
  * updates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/instances/[INSTANCE_NAME].
@@ -18923,8 +19076,6 @@ declare namespace gapi.client {
18923
19076
  /** Actions that are allowed to update instances within MIG. */
18924
19077
  allowedActions?:
18925
19078
  'NONE' | 'REFRESH' | 'REPLACE' | 'RESTART' | 'RESTART_IN_PLACE'[];
18926
- /** Whether the boot disk is allowed to be updated with restart. */
18927
- disruptionMode?: 'LEGACY' | 'OPTIMIZED';
18928
19079
  /**
18929
19080
  * The
18930
19081
  * instance redistribution policy for regional managed instance groups.
@@ -21033,7 +21184,7 @@ declare namespace gapi.client {
21033
21184
  satisfiesPzs?: boolean;
21034
21185
  /** Output only. [Output Only] Server-defined URL for the resource. */
21035
21186
  selfLink?: string;
21036
- /** Output only. [Output Only] Server-defined URL for this resource with the resource id. */
21187
+ /** Output only. Server-defined URL for this resource with the resource id. */
21037
21188
  selfLinkWithId?: string;
21038
21189
  /**
21039
21190
  * Output only. [Output Only] The current state of Interconnect functionality, which can
@@ -23173,6 +23324,16 @@ declare namespace gapi.client {
23173
23324
  * may match multiple InterconnectLocations.
23174
23325
  */
23175
23326
  city?: string;
23327
+ /**
23328
+ * Output only. The maximum unmetered bandwidth for dynamic paths allowable per
23329
+ * WireGroup for this metro.
23330
+ */
23331
+ maxDynamicPathBandwidthGbps?: string;
23332
+ /**
23333
+ * Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup
23334
+ * for this metro.
23335
+ */
23336
+ maxFixedPathBandwidthGbps?: string;
23176
23337
  /**
23177
23338
  * Output only. The maximum gbps for a single flow to this metro.
23178
23339
  * This limits the total bandwidth which may be configured per wire.
@@ -25378,12 +25539,17 @@ declare namespace gapi.client {
25378
25539
  /** Output only. [Output Only] Tag describing the version. */
25379
25540
  tag?: string;
25380
25541
  /**
25381
- * Output only. [Output Only] The eventual status of the instance. The instance group
25542
+ * Output only. The eventual status of the instance. The instance group
25382
25543
  * manager will not be identified as stable till each managed instance reaches
25383
25544
  * its targetStatus.
25384
25545
  */
25385
25546
  targetStatus?:
25386
- 'ABANDONED' | 'DELETED' | 'RUNNING' | 'STOPPED' | 'SUSPENDED';
25547
+ | 'ABANDONED'
25548
+ | 'DELETED'
25549
+ | 'INVALID'
25550
+ | 'RUNNING'
25551
+ | 'STOPPED'
25552
+ | 'SUSPENDED';
25387
25553
  /** Output only. [Output Only] Intended version of this instance. */
25388
25554
  version?: ManagedInstanceVersion;
25389
25555
  }
@@ -25692,13 +25858,12 @@ declare namespace gapi.client {
25692
25858
  subnetwork?: string;
25693
25859
  /**
25694
25860
  * 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.
25861
+ * Supported types include NMX-C for partition management and gNMI for switch
25862
+ * monitoring.
25697
25863
  */
25698
25864
  type?:
25699
25865
  | 'TYPE_NVLINK_PARTITION_MANAGEMENT'
25700
25866
  | 'TYPE_NVLINK_SWITCH_MONITORING'
25701
- | 'TYPE_TPU_SLICE_MANAGEMENT'
25702
25867
  | 'TYPE_UNSPECIFIED';
25703
25868
  }
25704
25869
  interface Metadata {
@@ -26186,6 +26351,8 @@ declare namespace gapi.client {
26186
26351
  result?: NatIpInfo[];
26187
26352
  }
26188
26353
  interface Network {
26354
+ /** Output only. [Output Only] Additional tags for this resource. */
26355
+ additionalTags?: string[];
26189
26356
  /**
26190
26357
  * Must be set to create a VPC network. If not set, a legacy network is
26191
26358
  * created.
@@ -30443,7 +30610,7 @@ declare namespace gapi.client {
30443
30610
  * methods if not explicitly provided by the user.
30444
30611
  */
30445
30612
  firewallPolicyRuleOperationMetadata?: FirewallPolicyRuleOperationMetadata;
30446
- /** Output only. [Output Only] Metadata for GetHealth operations. */
30613
+ /** Output only. Metadata for GetHealth operations. */
30447
30614
  getHealthOperationMetadata?: GetHealthOperationMetadata;
30448
30615
  getVersionOperationMetadata?: GetVersionOperationMetadata;
30449
30616
  /**
@@ -33863,7 +34030,7 @@ declare namespace gapi.client {
33863
34030
  creationSizeBytes?: string;
33864
34031
  /** Output only. [Output Only] Creation timestamp inRFC3339 text format. */
33865
34032
  creationTimestamp?: string;
33866
- /** Output only. [Output Only] Purge timestamp of recoverable snapshot inRFC3339 text format. */
34033
+ /** Output only. [Output Only] Deletion timestamp of snapshot inRFC3339 text format. */
33867
34034
  deletionTimestamp?: string;
33868
34035
  /** An optional description of this resource. */
33869
34036
  description?: string;
@@ -34802,8 +34969,6 @@ declare namespace gapi.client {
34802
34969
  /** Actions that are allowed to update instances within MIG. */
34803
34970
  allowedActions?:
34804
34971
  'NONE' | 'REFRESH' | 'REPLACE' | 'RESTART' | 'RESTART_IN_PLACE'[];
34805
- /** Whether the boot disk is allowed to be updated with restart. */
34806
- disruptionMode?: 'LEGACY' | 'OPTIMIZED';
34807
34972
  /**
34808
34973
  * The list of URLs of one or more instances for which you want to apply
34809
34974
  * updates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/instances/[INSTANCE_NAME].
@@ -35554,6 +35719,7 @@ declare namespace gapi.client {
35554
35719
  */
35555
35720
  commitment?: string;
35556
35721
  confidentialComputeType?:
35722
+ | 'CONFIDENTIAL_COMPUTE_TYPE_BMSAI'
35557
35723
  | 'CONFIDENTIAL_COMPUTE_TYPE_TDX'
35558
35724
  | 'CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED';
35559
35725
  /**
@@ -37343,6 +37509,11 @@ declare namespace gapi.client {
37343
37509
  * latency.
37344
37510
  */
37345
37511
  host?: string;
37512
+ /**
37513
+ * Output only. [Output Only] The ID of the machine on which the running instance is
37514
+ * located. It is only populated for machines which have multiple hosts.
37515
+ */
37516
+ machine?: string;
37346
37517
  /**
37347
37518
  * [Output Only] The ID of the sub-block in which the running instance is
37348
37519
  * located. Instances in the same sub-block experience lower network latency
@@ -48931,6 +49102,31 @@ declare namespace gapi.client {
48931
49102
  */
48932
49103
  reportNamePrefix?: string;
48933
49104
  }
49105
+ interface UtilizationRange {
49106
+ /**
49107
+ * Required. The upper bound of the utilization range. Must be greater or equal to
49108
+ * min_utilization. This value is required when using range-based scaling.
49109
+ *
49110
+ * Scaling out is triggered if the utilization exceeds this value.
49111
+ */
49112
+ maxUtilization?: number;
49113
+ /**
49114
+ * Required. The lower bound of the utilization range. Must be smaller or equal to
49115
+ * max_utilization. This value is required when using range-based scaling.
49116
+ *
49117
+ * Scaling in is considered only if the utilization drops below this value.
49118
+ */
49119
+ minUtilization?: number;
49120
+ /**
49121
+ * The target utilization that the autoscaler aims to achieve when scaling
49122
+ * is triggered. This value must be within the range [min_utilization,
49123
+ * max_utilization].
49124
+ *
49125
+ * If not specified, this will default to the average of max_utilization and
49126
+ * min_utilization.
49127
+ */
49128
+ utilizationTarget?: number;
49129
+ }
48934
49130
  interface VmEndpointNatMappings {
48935
49131
  /** Output only. Name of the VM instance which the endpoint belongs to */
48936
49132
  instanceName?: string;
@@ -52590,10 +52786,10 @@ declare namespace gapi.client {
52590
52786
  body: CalendarModeAdviceRequest,
52591
52787
  ): Request<CalendarModeAdviceResponse>;
52592
52788
  /**
52593
- * Advise on whether extending an existing Future Reservation is possible
52594
- * based on the desired extension end time. If capacity is not available for
52595
- * the entire requested duration, the method will recommend the longest
52596
- * possible extension.
52789
+ * Advises on whether extending an existing future reservation is possible
52790
+ * based on the desired extension end time. If capacity isn't available for
52791
+ * the entire requested duration, the method recommends the longest possible
52792
+ * extension.
52597
52793
  */
52598
52794
  calendarModeExtension(request: {
52599
52795
  /** V1 error format. */
@@ -65657,6 +65853,102 @@ declare namespace gapi.client {
65657
65853
  body: TestPermissionsRequest,
65658
65854
  ): Request<TestPermissionsResponse>;
65659
65855
  }
65856
+ interface GlobalFrontendSettingsResource {
65857
+ /** Gets the Global Frontend Billing Bundle Settings for a project. */
65858
+ get(request?: {
65859
+ /** V1 error format. */
65860
+ '$.xgafv'?: '1' | '2';
65861
+ /** OAuth access token. */
65862
+ access_token?: string;
65863
+ /** Data format for response. */
65864
+ alt?: 'json' | 'media' | 'proto';
65865
+ /** JSONP */
65866
+ callback?: string;
65867
+ /** Selector specifying which fields to include in a partial response. */
65868
+ fields?: string;
65869
+ /** 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. */
65870
+ key?: string;
65871
+ /** OAuth 2.0 token for the current user. */
65872
+ oauth_token?: string;
65873
+ /** Returns response with indentations and line breaks. */
65874
+ prettyPrint?: boolean;
65875
+ project: string;
65876
+ /** 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. */
65877
+ quotaUser?: string;
65878
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
65879
+ upload_protocol?: string;
65880
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
65881
+ uploadType?: string;
65882
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
65883
+ userIp?: string;
65884
+ }): Request<GlobalFrontendSettings>;
65885
+ /** Updates the Global Frontend Billing Bundle Settings for a project. */
65886
+ patch(request: {
65887
+ /** V1 error format. */
65888
+ '$.xgafv'?: '1' | '2';
65889
+ /** OAuth access token. */
65890
+ access_token?: string;
65891
+ /** Data format for response. */
65892
+ alt?: 'json' | 'media' | 'proto';
65893
+ /** JSONP */
65894
+ callback?: string;
65895
+ /** Selector specifying which fields to include in a partial response. */
65896
+ fields?: string;
65897
+ /** 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. */
65898
+ key?: string;
65899
+ /** OAuth 2.0 token for the current user. */
65900
+ oauth_token?: string;
65901
+ /** Returns response with indentations and line breaks. */
65902
+ prettyPrint?: boolean;
65903
+ project: string;
65904
+ /** 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. */
65905
+ quotaUser?: string;
65906
+ requestId?: string;
65907
+ /** e.g., "type" */
65908
+ updateMask?: string;
65909
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
65910
+ upload_protocol?: string;
65911
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
65912
+ uploadType?: string;
65913
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
65914
+ userIp?: string;
65915
+ /** Request body */
65916
+ resource: GlobalFrontendSettings;
65917
+ }): Request<GlobalFrontendSettingsPatchResponse>;
65918
+ patch(
65919
+ request: {
65920
+ /** V1 error format. */
65921
+ '$.xgafv'?: '1' | '2';
65922
+ /** OAuth access token. */
65923
+ access_token?: string;
65924
+ /** Data format for response. */
65925
+ alt?: 'json' | 'media' | 'proto';
65926
+ /** JSONP */
65927
+ callback?: string;
65928
+ /** Selector specifying which fields to include in a partial response. */
65929
+ fields?: string;
65930
+ /** 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. */
65931
+ key?: string;
65932
+ /** OAuth 2.0 token for the current user. */
65933
+ oauth_token?: string;
65934
+ /** Returns response with indentations and line breaks. */
65935
+ prettyPrint?: boolean;
65936
+ project: string;
65937
+ /** 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. */
65938
+ quotaUser?: string;
65939
+ requestId?: string;
65940
+ /** e.g., "type" */
65941
+ updateMask?: string;
65942
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
65943
+ upload_protocol?: string;
65944
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
65945
+ uploadType?: string;
65946
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
65947
+ userIp?: string;
65948
+ },
65949
+ body: GlobalFrontendSettings,
65950
+ ): Request<GlobalFrontendSettingsPatchResponse>;
65951
+ }
65660
65952
  interface GlobalNetworkEndpointGroupsResource {
65661
65953
  /** Attach a network endpoint to the specified network endpoint group. */
65662
65954
  attachNetworkEndpoints(request: {
@@ -149547,6 +149839,8 @@ declare namespace gapi.client {
149547
149839
 
149548
149840
  const globalForwardingRules: GlobalForwardingRulesResource;
149549
149841
 
149842
+ const globalFrontendSettings: GlobalFrontendSettingsResource;
149843
+
149550
149844
  const globalNetworkEndpointGroups: GlobalNetworkEndpointGroupsResource;
149551
149845
 
149552
149846
  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.20260828",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -201,10 +201,10 @@ resources.
201
201
  await gapi.client.compute.advice.calendarMode({ project: "project", region: "region", });
202
202
 
203
203
  /*
204
- Advise on whether extending an existing Future Reservation is possible
205
- based on the desired extension end time. If capacity is not available for
206
- the entire requested duration, the method will recommend the longest
207
- possible extension.
204
+ Advises on whether extending an existing future reservation is possible
205
+ based on the desired extension end time. If capacity isn't available for
206
+ the entire requested duration, the method recommends the longest possible
207
+ extension.
208
208
  */
209
209
  await gapi.client.compute.advice.calendarModeExtension({ project: "project", region: "region", });
210
210
 
@@ -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
  */