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

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 +270 -11
  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: 20251230
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -5324,6 +5324,18 @@ declare namespace gapi.client {
5324
5324
  message?: string;
5325
5325
  };
5326
5326
  }
5327
+ interface CompositeHealthChecksGetHealthResponse {
5328
+ /** Health sources and their corresponding health states. */
5329
+ healthSources?: CompositeHealthChecksGetHealthResponseHealthSourceHealth[];
5330
+ /** Health state of the CompositeHealthCheck. */
5331
+ healthState?: string;
5332
+ }
5333
+ interface CompositeHealthChecksGetHealthResponseHealthSourceHealth {
5334
+ /** Health state of the associated HealthSource resource. */
5335
+ healthState?: string;
5336
+ /** URL of the associated HealthSource resource. */
5337
+ source?: string;
5338
+ }
5327
5339
  interface CompositeHealthChecksScopedList {
5328
5340
  /** A list of CompositeHealthChecks contained in this scope. */
5329
5341
  compositeHealthChecks?: CompositeHealthCheck[];
@@ -7610,6 +7622,8 @@ declare namespace gapi.client {
7610
7622
  * not settable as a field in the request body.
7611
7623
  */
7612
7624
  region?: string;
7625
+ /** Configuration and status of the progressive rollout of this resource. */
7626
+ rolloutOperation?: FirewallPolicyRolloutOperation;
7613
7627
  /**
7614
7628
  * A list of rules that belong to this policy.
7615
7629
  * There must always be a default rule (rule with priority 2147483647 and
@@ -7729,6 +7743,62 @@ declare namespace gapi.client {
7729
7743
  message?: string;
7730
7744
  };
7731
7745
  }
7746
+ interface FirewallPolicyRolloutOperation {
7747
+ /** Input parameters to be used by the next not yet scheduled rollout. */
7748
+ rolloutInput?: FirewallPolicyRolloutOperationRolloutInput;
7749
+ /** [Output only] Current status of the rollout. */
7750
+ rolloutStatus?: FirewallPolicyRolloutOperationRolloutStatus;
7751
+ }
7752
+ interface FirewallPolicyRolloutOperationRolloutInput {
7753
+ /**
7754
+ * The name of the rollout plan. Ex.
7755
+ * organizations//locations/global/rolloutPlans/.
7756
+ */
7757
+ name?: string;
7758
+ /** Predefined rollout plan. */
7759
+ predefinedRolloutPlan?: string;
7760
+ /**
7761
+ * The UUID of the retry action. Only needed if this is a retry for an
7762
+ * existing rollout. This can be used after the user canceled a rollout
7763
+ * and want to retry it with no changes.
7764
+ */
7765
+ retryUuid?: string;
7766
+ }
7767
+ interface FirewallPolicyRolloutOperationRolloutStatus {
7768
+ /** [Output only] The next rollout. */
7769
+ nextRollout?: FirewallPolicyRolloutOperationRolloutStatusNextRollout;
7770
+ /** [Output only] The ongoing rollout. */
7771
+ ongoingRollouts?: FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata[];
7772
+ /** [Output only] The last previously executed rollout. */
7773
+ previousRollout?: FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata;
7774
+ }
7775
+ interface FirewallPolicyRolloutOperationRolloutStatusNextRollout {
7776
+ /** Output only. [Output only] The id of the next rollout. */
7777
+ rolloutId?: string;
7778
+ /**
7779
+ * The name of the rollout plan to be used by the next not yet started
7780
+ * rollout. This field is auto populated based on RolloutInput when a
7781
+ * new rollout is scheduled. This can be manually changed before the
7782
+ * scheduled rollout starts.
7783
+ * Ex.
7784
+ * organizations//locations/global/rolloutPlans/
7785
+ */
7786
+ rolloutPlan?: string;
7787
+ }
7788
+ interface FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata {
7789
+ /**
7790
+ * Output only. [Output only] The name of the rollout
7791
+ * organizations//locations/global/rollouts/
7792
+ */
7793
+ rollout?: string;
7794
+ /**
7795
+ * Output only. [Output only] The name of the rollout plan used by this rollout
7796
+ * organizations//locations/global/rolloutPlans/
7797
+ */
7798
+ rolloutPlan?: string;
7799
+ /** Output only. [Output only] The state of the rollout. */
7800
+ state?: string;
7801
+ }
7732
7802
  interface FirewallPolicyRule {
7733
7803
  /**
7734
7804
  * The Action to perform when the client connection triggers the rule.
@@ -14453,6 +14523,11 @@ declare namespace gapi.client {
14453
14523
  interface InstanceGroupManagerStatus {
14454
14524
  /** Output only. [Output only] Status of all-instances configuration on the group. */
14455
14525
  allInstancesConfig?: InstanceGroupManagerStatusAllInstancesConfig;
14526
+ /**
14527
+ * Output only. [Output Only] The accelerator topology applied to this MIG.
14528
+ * Currently only one accelerator topology is supported.
14529
+ */
14530
+ appliedAcceleratorTopologies?: InstanceGroupManagerStatusAcceleratorTopology[];
14456
14531
  /**
14457
14532
  * Output only. [Output Only] The URL of theAutoscaler
14458
14533
  * that targets this instance group manager.
@@ -14460,6 +14535,12 @@ declare namespace gapi.client {
14460
14535
  autoscaler?: string;
14461
14536
  /** Output only. [Output Only] The status of bulk instance operation. */
14462
14537
  bulkInstanceOperation?: InstanceGroupManagerStatusBulkInstanceOperation;
14538
+ /**
14539
+ * Output only. [Output Only] The list of instance statuses and the number of instances
14540
+ * in this managed instance group that have the status. Currently only shown
14541
+ * for TPU MIGs
14542
+ */
14543
+ currentInstanceStatuses?: InstanceGroupManagerStatusInstanceStatusSummary;
14463
14544
  /**
14464
14545
  * Output only. [Output Only] A bit indicating whether the managed instance group is in a
14465
14546
  * stable state. A stable state means that: none of the instances in the
@@ -14478,6 +14559,59 @@ declare namespace gapi.client {
14478
14559
  */
14479
14560
  versionTarget?: InstanceGroupManagerStatusVersionTarget;
14480
14561
  }
14562
+ interface InstanceGroupManagerStatusAcceleratorTopology {
14563
+ /**
14564
+ * Output only. [Output Only] Topology in the format of: "16x16", "4x4x4", etc.
14565
+ * The value is the same as configured in the WorkloadPolicy.
14566
+ */
14567
+ acceleratorTopology?: string;
14568
+ /** Output only. [Output Only] The state of the accelerator topology. */
14569
+ state?: string;
14570
+ /**
14571
+ * Output only. [Output Only] The result of the latest accelerator topology state
14572
+ * check.
14573
+ */
14574
+ stateDetails?: InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails;
14575
+ }
14576
+ interface InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails {
14577
+ /** Output only. [Output Only] Encountered errors. */
14578
+ error?: {
14579
+ /**
14580
+ * [Output Only] The array of errors encountered while processing this
14581
+ * operation.
14582
+ */
14583
+ errors?: Array<{
14584
+ /** [Output Only] The error type identifier for this error. */
14585
+ code?: string;
14586
+ /**
14587
+ * [Output Only] An optional list of messages that contain the error
14588
+ * details. There is a set of defined message types to use for providing
14589
+ * details.The syntax depends on the error code. For example,
14590
+ * QuotaExceededInfo will have details when the error code is
14591
+ * QUOTA_EXCEEDED.
14592
+ */
14593
+ errorDetails?: Array<{
14594
+ errorInfo?: ErrorInfo;
14595
+ help?: Help;
14596
+ localizedMessage?: LocalizedMessage;
14597
+ quotaInfo?: QuotaExceededInfo;
14598
+ }>;
14599
+ /**
14600
+ * [Output Only] Indicates the field in the request that caused the error.
14601
+ * This property is optional.
14602
+ */
14603
+ location?: string;
14604
+ /** [Output Only] An optional, human-readable error message. */
14605
+ message?: string;
14606
+ }>;
14607
+ };
14608
+ /**
14609
+ * Output only. [Output Only] Timestamp is shown only if there is an error. The field
14610
+ * has // RFC3339 //
14611
+ * text format.
14612
+ */
14613
+ timestamp?: string;
14614
+ }
14481
14615
  interface InstanceGroupManagerStatusAllInstancesConfig {
14482
14616
  /**
14483
14617
  * Output only. [Output Only] Current all-instances configuration revision.
@@ -14537,6 +14671,79 @@ declare namespace gapi.client {
14537
14671
  */
14538
14672
  timestamp?: string;
14539
14673
  }
14674
+ interface InstanceGroupManagerStatusInstanceStatusSummary {
14675
+ /**
14676
+ * Output only. [Output Only] The number of instances in the managed instance group
14677
+ * that have DEPROVISIONING status.
14678
+ */
14679
+ deprovisioning?: number;
14680
+ /**
14681
+ * Output only. [Output Only] The number of instances that have not been created yet or
14682
+ * have been deleted. Includes only instances that would be shown in the
14683
+ * listManagedInstances method and not all instances that have been
14684
+ * deleted in the lifetime of the MIG.
14685
+ * Does not include FlexStart instances that are waiting for the resources
14686
+ * availability, they are considered as 'pending'.
14687
+ */
14688
+ nonExistent?: number;
14689
+ /**
14690
+ * Output only. [Output Only] The number of instances in the managed instance group
14691
+ * that have PENDING status, that is FlexStart instances that are waiting
14692
+ * for resources. Instances that do not exist because of the other reasons
14693
+ * are counted as 'non_existent'.
14694
+ */
14695
+ pending?: number;
14696
+ /**
14697
+ * Output only. [Output Only] The number of instances in the managed instance group
14698
+ * that have PENDING_STOP status.
14699
+ */
14700
+ pendingStop?: number;
14701
+ /**
14702
+ * Output only. [Output Only] The number of instances in the managed instance group
14703
+ * that have PROVISIONING status.
14704
+ */
14705
+ provisioning?: number;
14706
+ /**
14707
+ * Output only. [Output Only] The number of instances in the managed instance group
14708
+ * that have REPAIRING status.
14709
+ */
14710
+ repairing?: number;
14711
+ /**
14712
+ * Output only. [Output Only] The number of instances in the managed instance group
14713
+ * that have RUNNING status.
14714
+ */
14715
+ running?: number;
14716
+ /**
14717
+ * Output only. [Output Only] The number of instances in the managed instance group
14718
+ * that have STAGING status.
14719
+ */
14720
+ staging?: number;
14721
+ /**
14722
+ * Output only. [Output Only] The number of instances in the managed instance group
14723
+ * that have STOPPED status.
14724
+ */
14725
+ stopped?: number;
14726
+ /**
14727
+ * Output only. [Output Only] The number of instances in the managed instance group
14728
+ * that have STOPPING status.
14729
+ */
14730
+ stopping?: number;
14731
+ /**
14732
+ * Output only. [Output Only] The number of instances in the managed instance group
14733
+ * that have SUSPENDED status.
14734
+ */
14735
+ suspended?: number;
14736
+ /**
14737
+ * Output only. [Output Only] The number of instances in the managed instance group
14738
+ * that have SUSPENDING status.
14739
+ */
14740
+ suspending?: number;
14741
+ /**
14742
+ * Output only. [Output Only] The number of instances in the managed instance group
14743
+ * that have TERMINATED status.
14744
+ */
14745
+ terminated?: number;
14746
+ }
14540
14747
  interface InstanceGroupManagerStatusStateful {
14541
14748
  /**
14542
14749
  * Output only. [Output Only] A bit indicating whether the managed instance group
@@ -18932,9 +19139,11 @@ declare namespace gapi.client {
18932
19139
  /**
18933
19140
  * Input only. Resource manager tags to be bound to the license. Tag keys and values
18934
19141
  * 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.
19142
+ * manager tags. Keys and values can be either in numeric format,
19143
+ * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
19144
+ * format such as `{org_id|project_id}/{tag_key_short_name}` and
19145
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
19146
+ * PATCH) when empty.
18938
19147
  */
18939
19148
  resourceManagerTags?: {[P in string]: string};
18940
19149
  }
@@ -19375,6 +19584,16 @@ declare namespace gapi.client {
19375
19584
  * included with the new machine image.
19376
19585
  */
19377
19586
  includedDisks?: string[];
19587
+ /**
19588
+ * Input only. Resource manager tags to be bound to the machine image. Tag keys and values
19589
+ * have the same definition as resource
19590
+ * manager tags. Keys and values can be either in numeric format,
19591
+ * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
19592
+ * format such as `{org_id|project_id}/{tag_key_short_name}` and
19593
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
19594
+ * PATCH) when empty.
19595
+ */
19596
+ resourceManagerTags?: {[P in string]: string};
19378
19597
  }
19379
19598
  interface MachineType {
19380
19599
  /**
@@ -19991,10 +20210,7 @@ declare namespace gapi.client {
19991
20210
  id?: string;
19992
20211
  /** Output only. Type of the resource. Alwayscompute#multiMigMember for a list of multi-MIG members. */
19993
20212
  kind?: string;
19994
- /**
19995
- * Output only. [Output Only] The name of this multi-MIG member generated by
19996
- * Google Compute Engine.
19997
- */
20213
+ /** Output only. [Output Only] Server-defined name for the multi-MIG member. */
19998
20214
  name?: string;
19999
20215
  /** Output only. [Output Only] The URL of the region where the multi-MIG resides. */
20000
20216
  region?: string;
@@ -27696,6 +27912,11 @@ declare namespace gapi.client {
27696
27912
  selfLink?: string;
27697
27913
  /** Output only. [Output Only] Server-defined URL for this resource with the resource id. */
27698
27914
  selfLinkWithId?: string;
27915
+ /**
27916
+ * Specify share-settings to create a shared slot. Set to empty
27917
+ * to inherit share settings from a parent resource.
27918
+ */
27919
+ shareSettings?: ShareSettings;
27699
27920
  /** Output only. [Output Only] State of the reservation slot. */
27700
27921
  state?: string;
27701
27922
  /** Output only. [Output Only] The status of the reservation slot. */
@@ -34266,9 +34487,11 @@ declare namespace gapi.client {
34266
34487
  /**
34267
34488
  * Input only. Resource manager tags to be bound to the storage pool. Tag keys and values
34268
34489
  * 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.
34490
+ * manager tags. Keys and values can be either in numeric format,
34491
+ * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
34492
+ * format such as `{org_id|project_id}/{tag_key_short_name}` and
34493
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
34494
+ * PATCH) when empty.
34272
34495
  */
34273
34496
  resourceManagerTags?: {[P in string]: string};
34274
34497
  }
@@ -88843,6 +89066,42 @@ declare namespace gapi.client {
88843
89066
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
88844
89067
  userIp?: string;
88845
89068
  }): Request<CompositeHealthCheck>;
89069
+ /**
89070
+ * Gets the most recent health check results for this
89071
+ * regional CompositeHealthCheck.
89072
+ */
89073
+ getHealth(request?: {
89074
+ /** V1 error format. */
89075
+ '$.xgafv'?: string;
89076
+ /** OAuth access token. */
89077
+ access_token?: string;
89078
+ /** Data format for response. */
89079
+ alt?: string;
89080
+ /** JSONP */
89081
+ callback?: string;
89082
+ /** Name of the CompositeHealthCheck resource to get health for. */
89083
+ compositeHealthCheck: string;
89084
+ /** Selector specifying which fields to include in a partial response. */
89085
+ fields?: string;
89086
+ /** 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. */
89087
+ key?: string;
89088
+ /** OAuth 2.0 token for the current user. */
89089
+ oauth_token?: string;
89090
+ /** Returns response with indentations and line breaks. */
89091
+ prettyPrint?: boolean;
89092
+ /** Name of the project scoping this request. */
89093
+ project: string;
89094
+ /** 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. */
89095
+ quotaUser?: string;
89096
+ /** Name of the region scoping this request. */
89097
+ region: string;
89098
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
89099
+ upload_protocol?: string;
89100
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
89101
+ uploadType?: string;
89102
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
89103
+ userIp?: string;
89104
+ }): Request<CompositeHealthChecksGetHealthResponse>;
88846
89105
  /**
88847
89106
  * Create a CompositeHealthCheck in the specified project in the given region
88848
89107
  * 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.20251230",
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.