@maxim_mazurok/gapi.client.compute-alpha 0.1.20251210 → 0.1.20260106

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 +272 -24
  2. package/package.json +1 -1
  3. package/readme.md +6 -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: 20251210
12
+ // Revision: 20260106
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3013,19 +3013,6 @@ declare namespace gapi.client {
3013
3013
  tlsSettings?: BackendServiceTlsSettings;
3014
3014
  /** Output only. [Output Only] List of resources referencing given backend service. */
3015
3015
  usedBy?: BackendServiceUsedBy[];
3016
- /**
3017
- * The network scope of the backends that can be added to the backend
3018
- * service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK.
3019
- *
3020
- * A backend service with the VPC scope set to GLOBAL_VPC_NETWORK
3021
- * is only allowed to have backends in global VPC networks.
3022
- *
3023
- * When the VPC scope is set to REGIONAL_VPC_NETWORK the backend
3024
- * service is only allowed to have backends in regional networks in the same
3025
- * scope as the backend service.
3026
- * Note: if not specified then GLOBAL_VPC_NETWORK will be used.
3027
- */
3028
- vpcNetworkScope?: string;
3029
3016
  }
3030
3017
  interface BackendServiceAggregatedList {
3031
3018
  /** [Output Only] Unique identifier for the resource; defined by the server. */
@@ -5324,6 +5311,18 @@ declare namespace gapi.client {
5324
5311
  message?: string;
5325
5312
  };
5326
5313
  }
5314
+ interface CompositeHealthChecksGetHealthResponse {
5315
+ /** Health sources and their corresponding health states. */
5316
+ healthSources?: CompositeHealthChecksGetHealthResponseHealthSourceHealth[];
5317
+ /** Health state of the CompositeHealthCheck. */
5318
+ healthState?: string;
5319
+ }
5320
+ interface CompositeHealthChecksGetHealthResponseHealthSourceHealth {
5321
+ /** Health state of the associated HealthSource resource. */
5322
+ healthState?: string;
5323
+ /** URL of the associated HealthSource resource. */
5324
+ source?: string;
5325
+ }
5327
5326
  interface CompositeHealthChecksScopedList {
5328
5327
  /** A list of CompositeHealthChecks contained in this scope. */
5329
5328
  compositeHealthChecks?: CompositeHealthCheck[];
@@ -7610,6 +7609,8 @@ declare namespace gapi.client {
7610
7609
  * not settable as a field in the request body.
7611
7610
  */
7612
7611
  region?: string;
7612
+ /** Configuration and status of the progressive rollout of this resource. */
7613
+ rolloutOperation?: FirewallPolicyRolloutOperation;
7613
7614
  /**
7614
7615
  * A list of rules that belong to this policy.
7615
7616
  * There must always be a default rule (rule with priority 2147483647 and
@@ -7729,6 +7730,62 @@ declare namespace gapi.client {
7729
7730
  message?: string;
7730
7731
  };
7731
7732
  }
7733
+ interface FirewallPolicyRolloutOperation {
7734
+ /** Input parameters to be used by the next not yet scheduled rollout. */
7735
+ rolloutInput?: FirewallPolicyRolloutOperationRolloutInput;
7736
+ /** [Output only] Current status of the rollout. */
7737
+ rolloutStatus?: FirewallPolicyRolloutOperationRolloutStatus;
7738
+ }
7739
+ interface FirewallPolicyRolloutOperationRolloutInput {
7740
+ /**
7741
+ * The name of the rollout plan. Ex.
7742
+ * organizations//locations/global/rolloutPlans/.
7743
+ */
7744
+ name?: string;
7745
+ /** Predefined rollout plan. */
7746
+ predefinedRolloutPlan?: string;
7747
+ /**
7748
+ * The UUID of the retry action. Only needed if this is a retry for an
7749
+ * existing rollout. This can be used after the user canceled a rollout
7750
+ * and want to retry it with no changes.
7751
+ */
7752
+ retryUuid?: string;
7753
+ }
7754
+ interface FirewallPolicyRolloutOperationRolloutStatus {
7755
+ /** [Output only] The next rollout. */
7756
+ nextRollout?: FirewallPolicyRolloutOperationRolloutStatusNextRollout;
7757
+ /** [Output only] The ongoing rollout. */
7758
+ ongoingRollouts?: FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata[];
7759
+ /** [Output only] The last previously executed rollout. */
7760
+ previousRollout?: FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata;
7761
+ }
7762
+ interface FirewallPolicyRolloutOperationRolloutStatusNextRollout {
7763
+ /** Output only. [Output only] The id of the next rollout. */
7764
+ rolloutId?: string;
7765
+ /**
7766
+ * The name of the rollout plan to be used by the next not yet started
7767
+ * rollout. This field is auto populated based on RolloutInput when a
7768
+ * new rollout is scheduled. This can be manually changed before the
7769
+ * scheduled rollout starts.
7770
+ * Ex.
7771
+ * organizations//locations/global/rolloutPlans/
7772
+ */
7773
+ rolloutPlan?: string;
7774
+ }
7775
+ interface FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata {
7776
+ /**
7777
+ * Output only. [Output only] The name of the rollout
7778
+ * organizations//locations/global/rollouts/
7779
+ */
7780
+ rollout?: string;
7781
+ /**
7782
+ * Output only. [Output only] The name of the rollout plan used by this rollout
7783
+ * organizations//locations/global/rolloutPlans/
7784
+ */
7785
+ rolloutPlan?: string;
7786
+ /** Output only. [Output only] The state of the rollout. */
7787
+ state?: string;
7788
+ }
7732
7789
  interface FirewallPolicyRule {
7733
7790
  /**
7734
7791
  * The Action to perform when the client connection triggers the rule.
@@ -14453,6 +14510,11 @@ declare namespace gapi.client {
14453
14510
  interface InstanceGroupManagerStatus {
14454
14511
  /** Output only. [Output only] Status of all-instances configuration on the group. */
14455
14512
  allInstancesConfig?: InstanceGroupManagerStatusAllInstancesConfig;
14513
+ /**
14514
+ * Output only. [Output Only] The accelerator topology applied to this MIG.
14515
+ * Currently only one accelerator topology is supported.
14516
+ */
14517
+ appliedAcceleratorTopologies?: InstanceGroupManagerStatusAcceleratorTopology[];
14456
14518
  /**
14457
14519
  * Output only. [Output Only] The URL of theAutoscaler
14458
14520
  * that targets this instance group manager.
@@ -14460,6 +14522,12 @@ declare namespace gapi.client {
14460
14522
  autoscaler?: string;
14461
14523
  /** Output only. [Output Only] The status of bulk instance operation. */
14462
14524
  bulkInstanceOperation?: InstanceGroupManagerStatusBulkInstanceOperation;
14525
+ /**
14526
+ * Output only. [Output Only] The list of instance statuses and the number of instances
14527
+ * in this managed instance group that have the status. Currently only shown
14528
+ * for TPU MIGs
14529
+ */
14530
+ currentInstanceStatuses?: InstanceGroupManagerStatusInstanceStatusSummary;
14463
14531
  /**
14464
14532
  * Output only. [Output Only] A bit indicating whether the managed instance group is in a
14465
14533
  * stable state. A stable state means that: none of the instances in the
@@ -14478,6 +14546,59 @@ declare namespace gapi.client {
14478
14546
  */
14479
14547
  versionTarget?: InstanceGroupManagerStatusVersionTarget;
14480
14548
  }
14549
+ interface InstanceGroupManagerStatusAcceleratorTopology {
14550
+ /**
14551
+ * Output only. [Output Only] Topology in the format of: "16x16", "4x4x4", etc.
14552
+ * The value is the same as configured in the WorkloadPolicy.
14553
+ */
14554
+ acceleratorTopology?: string;
14555
+ /** Output only. [Output Only] The state of the accelerator topology. */
14556
+ state?: string;
14557
+ /**
14558
+ * Output only. [Output Only] The result of the latest accelerator topology state
14559
+ * check.
14560
+ */
14561
+ stateDetails?: InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails;
14562
+ }
14563
+ interface InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails {
14564
+ /** Output only. [Output Only] Encountered errors. */
14565
+ error?: {
14566
+ /**
14567
+ * [Output Only] The array of errors encountered while processing this
14568
+ * operation.
14569
+ */
14570
+ errors?: Array<{
14571
+ /** [Output Only] The error type identifier for this error. */
14572
+ code?: string;
14573
+ /**
14574
+ * [Output Only] An optional list of messages that contain the error
14575
+ * details. There is a set of defined message types to use for providing
14576
+ * details.The syntax depends on the error code. For example,
14577
+ * QuotaExceededInfo will have details when the error code is
14578
+ * QUOTA_EXCEEDED.
14579
+ */
14580
+ errorDetails?: Array<{
14581
+ errorInfo?: ErrorInfo;
14582
+ help?: Help;
14583
+ localizedMessage?: LocalizedMessage;
14584
+ quotaInfo?: QuotaExceededInfo;
14585
+ }>;
14586
+ /**
14587
+ * [Output Only] Indicates the field in the request that caused the error.
14588
+ * This property is optional.
14589
+ */
14590
+ location?: string;
14591
+ /** [Output Only] An optional, human-readable error message. */
14592
+ message?: string;
14593
+ }>;
14594
+ };
14595
+ /**
14596
+ * Output only. [Output Only] Timestamp is shown only if there is an error. The field
14597
+ * has // RFC3339 //
14598
+ * text format.
14599
+ */
14600
+ timestamp?: string;
14601
+ }
14481
14602
  interface InstanceGroupManagerStatusAllInstancesConfig {
14482
14603
  /**
14483
14604
  * Output only. [Output Only] Current all-instances configuration revision.
@@ -14537,6 +14658,79 @@ declare namespace gapi.client {
14537
14658
  */
14538
14659
  timestamp?: string;
14539
14660
  }
14661
+ interface InstanceGroupManagerStatusInstanceStatusSummary {
14662
+ /**
14663
+ * Output only. [Output Only] The number of instances in the managed instance group
14664
+ * that have DEPROVISIONING status.
14665
+ */
14666
+ deprovisioning?: number;
14667
+ /**
14668
+ * Output only. [Output Only] The number of instances that have not been created yet or
14669
+ * have been deleted. Includes only instances that would be shown in the
14670
+ * listManagedInstances method and not all instances that have been
14671
+ * deleted in the lifetime of the MIG.
14672
+ * Does not include FlexStart instances that are waiting for the resources
14673
+ * availability, they are considered as 'pending'.
14674
+ */
14675
+ nonExistent?: number;
14676
+ /**
14677
+ * Output only. [Output Only] The number of instances in the managed instance group
14678
+ * that have PENDING status, that is FlexStart instances that are waiting
14679
+ * for resources. Instances that do not exist because of the other reasons
14680
+ * are counted as 'non_existent'.
14681
+ */
14682
+ pending?: number;
14683
+ /**
14684
+ * Output only. [Output Only] The number of instances in the managed instance group
14685
+ * that have PENDING_STOP status.
14686
+ */
14687
+ pendingStop?: number;
14688
+ /**
14689
+ * Output only. [Output Only] The number of instances in the managed instance group
14690
+ * that have PROVISIONING status.
14691
+ */
14692
+ provisioning?: number;
14693
+ /**
14694
+ * Output only. [Output Only] The number of instances in the managed instance group
14695
+ * that have REPAIRING status.
14696
+ */
14697
+ repairing?: number;
14698
+ /**
14699
+ * Output only. [Output Only] The number of instances in the managed instance group
14700
+ * that have RUNNING status.
14701
+ */
14702
+ running?: number;
14703
+ /**
14704
+ * Output only. [Output Only] The number of instances in the managed instance group
14705
+ * that have STAGING status.
14706
+ */
14707
+ staging?: number;
14708
+ /**
14709
+ * Output only. [Output Only] The number of instances in the managed instance group
14710
+ * that have STOPPED status.
14711
+ */
14712
+ stopped?: number;
14713
+ /**
14714
+ * Output only. [Output Only] The number of instances in the managed instance group
14715
+ * that have STOPPING status.
14716
+ */
14717
+ stopping?: number;
14718
+ /**
14719
+ * Output only. [Output Only] The number of instances in the managed instance group
14720
+ * that have SUSPENDED status.
14721
+ */
14722
+ suspended?: number;
14723
+ /**
14724
+ * Output only. [Output Only] The number of instances in the managed instance group
14725
+ * that have SUSPENDING status.
14726
+ */
14727
+ suspending?: number;
14728
+ /**
14729
+ * Output only. [Output Only] The number of instances in the managed instance group
14730
+ * that have TERMINATED status.
14731
+ */
14732
+ terminated?: number;
14733
+ }
14540
14734
  interface InstanceGroupManagerStatusStateful {
14541
14735
  /**
14542
14736
  * Output only. [Output Only] A bit indicating whether the managed instance group
@@ -16333,6 +16527,7 @@ declare namespace gapi.client {
16333
16527
  * - BPS_20G: 20 Gbit/s
16334
16528
  * - BPS_50G: 50 Gbit/s
16335
16529
  * - BPS_100G: 100 Gbit/s
16530
+ * - BPS_400G: 400 Gbit/s
16336
16531
  */
16337
16532
  bandwidth?: string;
16338
16533
  /**
@@ -16952,6 +17147,7 @@ declare namespace gapi.client {
16952
17147
  * - BPS_20G: 20 Gbit/s
16953
17148
  * - BPS_50G: 50 Gbit/s
16954
17149
  * - BPS_100G: 100 Gbit/s
17150
+ * - BPS_400G: 400 Gbit/s
16955
17151
  */
16956
17152
  bandwidth?: string;
16957
17153
  /**
@@ -18932,9 +19128,11 @@ declare namespace gapi.client {
18932
19128
  /**
18933
19129
  * Input only. Resource manager tags to be bound to the license. Tag keys and values
18934
19130
  * have the same definition as resource
18935
- * manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and
18936
- * values are in the format `tagValues/{tag_value_id}`. The field is ignored
18937
- * (both PUT & PATCH) when empty.
19131
+ * manager tags. Keys and values can be either in numeric format,
19132
+ * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
19133
+ * format such as `{org_id|project_id}/{tag_key_short_name}` and
19134
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
19135
+ * PATCH) when empty.
18938
19136
  */
18939
19137
  resourceManagerTags?: {[P in string]: string};
18940
19138
  }
@@ -19375,6 +19573,16 @@ declare namespace gapi.client {
19375
19573
  * included with the new machine image.
19376
19574
  */
19377
19575
  includedDisks?: string[];
19576
+ /**
19577
+ * Input only. Resource manager tags to be bound to the machine image. Tag keys and values
19578
+ * have the same definition as resource
19579
+ * manager tags. Keys and values can be either in numeric format,
19580
+ * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
19581
+ * format such as `{org_id|project_id}/{tag_key_short_name}` and
19582
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
19583
+ * PATCH) when empty.
19584
+ */
19585
+ resourceManagerTags?: {[P in string]: string};
19378
19586
  }
19379
19587
  interface MachineType {
19380
19588
  /**
@@ -19991,10 +20199,7 @@ declare namespace gapi.client {
19991
20199
  id?: string;
19992
20200
  /** Output only. Type of the resource. Alwayscompute#multiMigMember for a list of multi-MIG members. */
19993
20201
  kind?: string;
19994
- /**
19995
- * Output only. [Output Only] The name of this multi-MIG member generated by
19996
- * Google Compute Engine.
19997
- */
20202
+ /** Output only. [Output Only] Server-defined name for the multi-MIG member. */
19998
20203
  name?: string;
19999
20204
  /** Output only. [Output Only] The URL of the region where the multi-MIG resides. */
20000
20205
  region?: string;
@@ -27696,6 +27901,11 @@ declare namespace gapi.client {
27696
27901
  selfLink?: string;
27697
27902
  /** Output only. [Output Only] Server-defined URL for this resource with the resource id. */
27698
27903
  selfLinkWithId?: string;
27904
+ /**
27905
+ * Specify share-settings to create a shared slot. Set to empty
27906
+ * to inherit share settings from a parent resource.
27907
+ */
27908
+ shareSettings?: ShareSettings;
27699
27909
  /** Output only. [Output Only] State of the reservation slot. */
27700
27910
  state?: string;
27701
27911
  /** Output only. [Output Only] The status of the reservation slot. */
@@ -34266,9 +34476,11 @@ declare namespace gapi.client {
34266
34476
  /**
34267
34477
  * Input only. Resource manager tags to be bound to the storage pool. Tag keys and values
34268
34478
  * have the same definition as resource
34269
- * manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and
34270
- * values are in the format `tagValues/{tag_value_id}`. The field is ignored
34271
- * (both PUT & PATCH) when empty.
34479
+ * manager tags. Keys and values can be either in numeric format,
34480
+ * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
34481
+ * format such as `{org_id|project_id}/{tag_key_short_name}` and
34482
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
34483
+ * PATCH) when empty.
34272
34484
  */
34273
34485
  resourceManagerTags?: {[P in string]: string};
34274
34486
  }
@@ -88843,6 +89055,42 @@ declare namespace gapi.client {
88843
89055
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
88844
89056
  userIp?: string;
88845
89057
  }): Request<CompositeHealthCheck>;
89058
+ /**
89059
+ * Gets the most recent health check results for this
89060
+ * regional CompositeHealthCheck.
89061
+ */
89062
+ getHealth(request?: {
89063
+ /** V1 error format. */
89064
+ '$.xgafv'?: string;
89065
+ /** OAuth access token. */
89066
+ access_token?: string;
89067
+ /** Data format for response. */
89068
+ alt?: string;
89069
+ /** JSONP */
89070
+ callback?: string;
89071
+ /** Name of the CompositeHealthCheck resource to get health for. */
89072
+ compositeHealthCheck: string;
89073
+ /** Selector specifying which fields to include in a partial response. */
89074
+ fields?: string;
89075
+ /** 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. */
89076
+ key?: string;
89077
+ /** OAuth 2.0 token for the current user. */
89078
+ oauth_token?: string;
89079
+ /** Returns response with indentations and line breaks. */
89080
+ prettyPrint?: boolean;
89081
+ /** Name of the project scoping this request. */
89082
+ project: string;
89083
+ /** 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. */
89084
+ quotaUser?: string;
89085
+ /** Name of the region scoping this request. */
89086
+ region: string;
89087
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
89088
+ upload_protocol?: string;
89089
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
89090
+ uploadType?: string;
89091
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
89092
+ userIp?: string;
89093
+ }): Request<CompositeHealthChecksGetHealthResponse>;
88846
89094
  /**
88847
89095
  * Create a CompositeHealthCheck in the specified project in the given region
88848
89096
  * using the parameters that are included in the request.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.1.20251210",
3
+ "version": "0.1.20260106",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -4096,6 +4096,12 @@ Returns the specified CompositeHealthCheck resource in the given region.
4096
4096
  */
4097
4097
  await gapi.client.compute.regionCompositeHealthChecks.get({ compositeHealthCheck: "compositeHealthCheck", project: "project", region: "region", });
4098
4098
 
4099
+ /*
4100
+ Gets the most recent health check results for this
4101
+ regional CompositeHealthCheck.
4102
+ */
4103
+ await gapi.client.compute.regionCompositeHealthChecks.getHealth({ compositeHealthCheck: "compositeHealthCheck", project: "project", region: "region", });
4104
+
4099
4105
  /*
4100
4106
  Create a CompositeHealthCheck in the specified project in the given region
4101
4107
  using the parameters that are included in the request.