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

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 +71 -21
  2. package/package.json +1 -1
  3. package/readme.md +4 -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: 20260821
12
+ // Revision: 20260908
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3630,6 +3630,11 @@ declare namespace gapi.client {
3630
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.
3631
3631
  */
3632
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;
3633
3638
  /**
3634
3639
  * Configures traffic steering properties of internal passthrough Network
3635
3640
  * Load Balancers.
@@ -3756,6 +3761,14 @@ declare namespace gapi.client {
3756
3761
  * If set, lists of backends and health checks must be both empty.
3757
3762
  */
3758
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;
3759
3772
  /**
3760
3773
  * URL to networkservices.ServiceLbPolicy resource.
3761
3774
  *
@@ -4341,7 +4354,8 @@ declare namespace gapi.client {
4341
4354
  * instance must already be attached to the NEG specified in the
4342
4355
  * haPolicy.leader.backendGroup.
4343
4356
  *
4344
- * 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.
4345
4359
  * Authorization requires the following IAM permission on the
4346
4360
  * specified resource instance: compute.instances.use
4347
4361
  */
@@ -5624,10 +5638,10 @@ declare namespace gapi.client {
5624
5638
  recommendations?: CalendarModeRecommendation[];
5625
5639
  }
5626
5640
  interface CalendarModeExtensionAdviceRequest {
5627
- /** Required. The desired end time after the Future Reservation is extended. */
5641
+ /** Required. The desired end time for the extension. */
5628
5642
  endTimeNotLaterThan?: string;
5629
5643
  /**
5630
- * Required. Reference to the Future Reservation, in the format:
5644
+ * Required. Reference to the future reservation, in the format:
5631
5645
  * projects/{project}/zones/{zone}/futureReservations/{name}
5632
5646
  * Full URIs that include hostnames (like compute.googleapis.com or
5633
5647
  * www.googleapis.com) are also supported.
@@ -5636,27 +5650,29 @@ declare namespace gapi.client {
5636
5650
  }
5637
5651
  interface CalendarModeExtensionAdviceResponse {
5638
5652
  /**
5639
- * The recommended end time for the extension, which will either be
5640
- * the end time requested by the caller or the longest alternative for
5641
- * which there is sufficient capacity. If extension is not possible, this
5642
- * 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.
5643
5657
  */
5644
5658
  endTime?: string;
5645
5659
  /**
5646
- * Information regarding the reason why the Future Reservation
5647
- * cannot be extended at all. If a recommendation is provided, whether that is
5648
- * 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.
5649
5663
  */
5650
5664
  notRecommendedReason?: CalendarModeExtensionAdviceResponseNotRecommendedReason;
5651
- /** 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
+ */
5652
5669
  recommendationId?: string;
5653
5670
  }
5654
5671
  interface CalendarModeExtensionAdviceResponseNotRecommendedReason {
5655
5672
  /**
5656
- * Details (human readable) describing why the recommendation
5657
- * was not provided. For example, if the status is CONDITION_NOT_MET,
5658
- * then this field will contain information about why the requested
5659
- * 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.
5660
5676
  */
5661
5677
  details?: string;
5662
5678
  /** Status of recommendation. */
@@ -6134,7 +6150,7 @@ declare namespace gapi.client {
6134
6150
  * resource types.
6135
6151
  *
6136
6152
  * The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D,
6137
- * COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
6153
+ * COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3,STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T. For
6138
6154
  * example, type MEMORY_OPTIMIZED specifies a commitment that
6139
6155
  * applies only to eligible resources of memory optimized M1 and M2 machine
6140
6156
  * series. Type GENERAL_PURPOSE specifies a commitment that
@@ -6191,6 +6207,9 @@ declare namespace gapi.client {
6191
6207
  | 'NETWORK_OPTIMIZED_U4S'
6192
6208
  | 'STORAGE_OPTIMIZED_Z3'
6193
6209
  | 'STORAGE_OPTIMIZED_Z4D'
6210
+ | 'STORAGE_OPTIMIZED_Z4D4T'
6211
+ | 'STORAGE_OPTIMIZED_Z4DH'
6212
+ | 'STORAGE_OPTIMIZED_Z4DS'
6194
6213
  | 'STORAGE_OPTIMIZED_Z4M'
6195
6214
  | 'TYPE_UNSPECIFIED';
6196
6215
  }
@@ -8849,6 +8868,13 @@ declare namespace gapi.client {
8849
8868
  */
8850
8869
  seconds?: string;
8851
8870
  }
8871
+ interface DynamicCompressionPolicy {
8872
+ /**
8873
+ * Compress text responses using Brotli or gzip compression, based on
8874
+ * the client's Accept-Encoding header.
8875
+ */
8876
+ compressionMode?: 'AUTOMATIC' | 'DISABLED';
8877
+ }
8852
8878
  interface ErrorInfo {
8853
8879
  /**
8854
8880
  * The logical grouping to which the "reason" belongs. The error domain
@@ -10715,6 +10741,11 @@ declare namespace gapi.client {
10715
10741
  * APIs, a network must be provided.
10716
10742
  */
10717
10743
  network?: string;
10744
+ /**
10745
+ * Optional. The URL of the network attachment that this resource
10746
+ * belongs to.projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}.
10747
+ */
10748
+ networkAttachment?: string;
10718
10749
  /**
10719
10750
  * This signifies the networking tier used for configuring
10720
10751
  * this load balancer and can only take the following values:PREMIUM, STANDARD.
@@ -10825,6 +10856,12 @@ declare namespace gapi.client {
10825
10856
  selfLink?: string;
10826
10857
  /** Output only. [Output Only] Server-defined URL for this resource with the resource id. */
10827
10858
  selfLinkWithId?: string;
10859
+ /**
10860
+ * Optional. Producer Service's Service class ID for the region of this forwarding rule.
10861
+ * Can only be used with network_attachment. It is not possible to use on its
10862
+ * own; however, network_attachment can be used without service_class_id.
10863
+ */
10864
+ serviceClassId?: string;
10828
10865
  /**
10829
10866
  * Service Directory resources to register this forwarding rule with.
10830
10867
  * Currently, only supports a single Service Directory resource.
@@ -12662,6 +12699,7 @@ declare namespace gapi.client {
12662
12699
  */
12663
12700
  type?:
12664
12701
  | 'BARE_METAL_LINUX_COMPATIBLE'
12702
+ | 'BMSAI_CAPABLE'
12665
12703
  | 'CCA_CAPABLE'
12666
12704
  | 'FEATURE_TYPE_UNSPECIFIED'
12667
12705
  | 'GVNIC'
@@ -15492,6 +15530,11 @@ declare namespace gapi.client {
15492
15530
  * Not supported when the URL map is bound to a target gRPC proxy.
15493
15531
  */
15494
15532
  corsPolicy?: CorsPolicy;
15533
+ /**
15534
+ * Dynamic compression policy for this URL Map's route. Available only for
15535
+ * Global EXTERNAL_MANAGED load balancer schemes.
15536
+ */
15537
+ dynamicCompressionPolicy?: DynamicCompressionPolicy;
15495
15538
  /**
15496
15539
  * The specification for fault injection introduced into traffic to test
15497
15540
  * the resiliency of clients to backend service failure. As part of fault
@@ -26311,6 +26354,8 @@ declare namespace gapi.client {
26311
26354
  result?: NatIpInfo[];
26312
26355
  }
26313
26356
  interface Network {
26357
+ /** Output only. [Output Only] Additional tags for this resource. */
26358
+ additionalTags?: string[];
26314
26359
  /**
26315
26360
  * Must be set to create a VPC network. If not set, a legacy network is
26316
26361
  * created.
@@ -37467,6 +37512,11 @@ declare namespace gapi.client {
37467
37512
  * latency.
37468
37513
  */
37469
37514
  host?: string;
37515
+ /**
37516
+ * Output only. [Output Only] The ID of the machine on which the running instance is
37517
+ * located. It is only populated for machines which have multiple hosts.
37518
+ */
37519
+ machine?: string;
37470
37520
  /**
37471
37521
  * [Output Only] The ID of the sub-block in which the running instance is
37472
37522
  * located. Instances in the same sub-block experience lower network latency
@@ -52739,10 +52789,10 @@ declare namespace gapi.client {
52739
52789
  body: CalendarModeAdviceRequest,
52740
52790
  ): Request<CalendarModeAdviceResponse>;
52741
52791
  /**
52742
- * Advise on whether extending an existing Future Reservation is possible
52743
- * based on the desired extension end time. If capacity is not available for
52744
- * the entire requested duration, the method will recommend the longest
52745
- * possible extension.
52792
+ * Advises on whether extending an existing future reservation is possible
52793
+ * based on the desired extension end time. If capacity isn't available for
52794
+ * the entire requested duration, the method recommends the longest possible
52795
+ * extension.
52746
52796
  */
52747
52797
  calendarModeExtension(request: {
52748
52798
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.2.20260821",
3
+ "version": "0.2.20260908",
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