@maxim_mazurok/gapi.client.compute-alpha 0.1.20251202 → 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 +492 -27
  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: 20251202
12
+ // Revision: 20251230
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -4405,6 +4405,194 @@ declare namespace gapi.client {
4405
4405
  */
4406
4406
  queryStringWhitelist?: string[];
4407
4407
  }
4408
+ interface CachePolicy {
4409
+ /**
4410
+ * Bypass the cache when the specified request headers are matched by name,
4411
+ * e.g. Pragma or Authorization headers. Values are case-insensitive. Up to 5
4412
+ * header names can be specified. The cache is bypassed for all
4413
+ * cachePolicy.cacheMode settings.
4414
+ */
4415
+ cacheBypassRequestHeaderNames?: string[];
4416
+ /** The CacheKeyPolicy for this CachePolicy. */
4417
+ cacheKeyPolicy?: CachePolicyCacheKeyPolicy;
4418
+ /**
4419
+ * Specifies the cache setting for all responses from this route.
4420
+ * If not specified, the default value is CACHE_ALL_STATIC.
4421
+ */
4422
+ cacheMode?: string;
4423
+ /**
4424
+ * Specifies a separate client (e.g. browser client) maximum TTL. This is
4425
+ * used to clamp the max-age (or Expires) value sent to the client. With
4426
+ * FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the
4427
+ * response max-age directive, along with a "public" directive. For
4428
+ * cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age
4429
+ * from the origin (if specified), or else sets the response max-age
4430
+ * directive to the lesser of the client_ttl and default_ttl, and also
4431
+ * ensures a "public" cache-control directive is present.
4432
+ * If a client TTL is not specified, a default value (1 hour) will be used.
4433
+ * The maximum allowed value is 31,622,400s (1 year).
4434
+ */
4435
+ clientTtl?: Duration;
4436
+ /**
4437
+ * Specifies the default TTL for cached content served by this origin for
4438
+ * responses that do not have an existing valid TTL (max-age or s-maxage).
4439
+ * Setting a TTL of "0" means "always revalidate".
4440
+ * The value of defaultTTL cannot be set to a value greater than that of
4441
+ * maxTTL.
4442
+ * When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL
4443
+ * will overwrite the TTL set in all responses. The maximum allowed value is
4444
+ * 31,622,400s (1 year). Infrequently accessed objects may be evicted from
4445
+ * the cache before the defined TTL.
4446
+ */
4447
+ defaultTtl?: Duration;
4448
+ /**
4449
+ * Specifies the maximum allowed TTL for cached content served by this
4450
+ * origin.
4451
+ * Cache directives that attempt to set a max-age or s-maxage higher than
4452
+ * this, or an Expires header more than maxTTL seconds in the future will
4453
+ * be capped at the value of maxTTL, as if it were the value of an
4454
+ * s-maxage Cache-Control directive.
4455
+ * Headers sent to the client will not be modified.
4456
+ * Setting a TTL of "0" means "always revalidate".
4457
+ * The maximum allowed value is 31,622,400s (1 year). Infrequently accessed
4458
+ * objects may be evicted from the cache before the defined TTL.
4459
+ */
4460
+ maxTtl?: Duration;
4461
+ /**
4462
+ * Negative caching allows per-status code TTLs to be set, in order
4463
+ * to apply fine-grained caching for common errors or redirects.
4464
+ * This can reduce the load on your origin and improve end-user
4465
+ * experience by reducing response latency.
4466
+ * When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS,
4467
+ * negative caching applies to responses with the specified response code
4468
+ * that lack any Cache-Control, Expires, or Pragma: no-cache directives.
4469
+ * When the cache mode is set to FORCE_CACHE_ALL, negative caching applies
4470
+ * to all responses with the specified response code, and override any
4471
+ * caching headers.
4472
+ * By default, Cloud CDN will apply the following default TTLs to these
4473
+ * status codes:
4474
+ * HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m
4475
+ * HTTP 404 (Not Found), 410 (Gone),
4476
+ * 451 (Unavailable For Legal Reasons): 120s
4477
+ * HTTP 405 (Method Not Found), 501 (Not Implemented): 60s.
4478
+ * These defaults can be overridden in negative_caching_policy.
4479
+ */
4480
+ negativeCaching?: boolean;
4481
+ /**
4482
+ * Sets a cache TTL for the specified HTTP status code.
4483
+ * negative_caching must be enabled to configure negative_caching_policy.
4484
+ * Omitting the policy and leaving negative_caching enabled will use
4485
+ * Cloud CDN's default cache TTLs.
4486
+ * Note that when specifying an explicit negative_caching_policy, you
4487
+ * should take care to specify a cache TTL for all response codes
4488
+ * that you wish to cache. Cloud CDN will not apply any default
4489
+ * negative caching when a policy exists.
4490
+ */
4491
+ negativeCachingPolicy?: CachePolicyNegativeCachingPolicy[];
4492
+ /**
4493
+ * If true then Cloud CDN will combine multiple concurrent cache fill
4494
+ * requests into a small number of requests to the origin.
4495
+ */
4496
+ requestCoalescing?: boolean;
4497
+ /**
4498
+ * Serve existing content from the cache (if available) when revalidating
4499
+ * content with the origin, or when an error is encountered when refreshing
4500
+ * the cache.
4501
+ * This setting defines the default "max-stale" duration for any cached
4502
+ * responses that do not specify a max-stale directive. Stale responses that
4503
+ * exceed the TTL configured here will not be served. The default limit
4504
+ * (max-stale) is 86400s (1 day), which will allow stale content to be
4505
+ * served up to this limit beyond the max-age (or s-maxage) of a cached
4506
+ * response.
4507
+ * The maximum allowed value is 604800 (1 week).
4508
+ * Set this to zero (0) to disable serve-while-stale.
4509
+ */
4510
+ serveWhileStale?: Duration;
4511
+ }
4512
+ interface CachePolicyCacheKeyPolicy {
4513
+ /**
4514
+ * Names of query string parameters to exclude in cache keys. All other
4515
+ * parameters will be included. Either specify excluded_query_parameters or
4516
+ * included_query_parameters, not both. '&' and '=' will be percent encoded
4517
+ * and not treated as delimiters.
4518
+ *
4519
+ * Note: This field applies to routes that use backend services. Attempting
4520
+ * to set it on a route that points exclusively to Backend Buckets will
4521
+ * result in a configuration error. For routes that point to a Backend
4522
+ * Bucket, use includedQueryParameters to define which parameters should
4523
+ * be a part of the cache key.
4524
+ */
4525
+ excludedQueryParameters?: string[];
4526
+ /**
4527
+ * Allows HTTP cookies (by name) to be used in the cache key.
4528
+ * The name=value pair will be used in the cache key Cloud CDN generates.
4529
+ *
4530
+ * Note: This setting is only applicable to routes that use a Backend
4531
+ * Service. It does not affect requests served by a Backend Bucket.
4532
+ * Attempting to set it on a route that points exclusively to Backend
4533
+ * Buckets will result in a configuration error. Up to 5 cookie names can be
4534
+ * specified.
4535
+ */
4536
+ includedCookieNames?: string[];
4537
+ /** Allows HTTP request headers (by name) to be used in the cache key. */
4538
+ includedHeaderNames?: string[];
4539
+ /**
4540
+ * Names of query string parameters to include in cache keys. All other
4541
+ * parameters will be excluded. Either specify included_query_parameters or
4542
+ * excluded_query_parameters, not both. '&' and '=' will be percent encoded
4543
+ * and not treated as delimiters.
4544
+ */
4545
+ includedQueryParameters?: string[];
4546
+ /**
4547
+ * If true, requests to different hosts will be cached separately.
4548
+ *
4549
+ * Note: This setting is only applicable to routes that use a Backend
4550
+ * Service. It does not affect requests served by a Backend Bucket, as the
4551
+ * host is never included in a Backend Bucket's cache key. Attempting to set
4552
+ * it on a route that points exclusively to Backend Buckets will result in a
4553
+ * configuration error.
4554
+ */
4555
+ includeHost?: boolean;
4556
+ /**
4557
+ * If true, http and https requests will be cached separately.
4558
+ *
4559
+ * Note: This setting is only applicable to routes that use a Backend
4560
+ * Service. It does not affect requests served by a Backend Bucket, as the
4561
+ * protocol is never included in a Backend Bucket's cache key. Attempting to
4562
+ * set on a route that points exclusively to Backend Buckets will result in
4563
+ * a configuration error.
4564
+ */
4565
+ includeProtocol?: boolean;
4566
+ /**
4567
+ * If true, include query string parameters in the cache key according to
4568
+ * included_query_parameters and excluded_query_parameters. If neither is
4569
+ * set, the entire query string will be included. If false, the query string
4570
+ * will be excluded from the cache key entirely.
4571
+ *
4572
+ * Note: This field applies to routes that use backend services. Attempting
4573
+ * to set it on a route that points exclusively to Backend Buckets will
4574
+ * result in a configuration error. For routes that point to a Backend
4575
+ * Bucket, use includedQueryParameters to define which parameters should
4576
+ * be a part of the cache key.
4577
+ */
4578
+ includeQueryString?: boolean;
4579
+ }
4580
+ interface CachePolicyNegativeCachingPolicy {
4581
+ /**
4582
+ * The HTTP status code to define a TTL against. Only HTTP status codes
4583
+ * 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 can be
4584
+ * specified as values, and you cannot specify a status code more than
4585
+ * once.
4586
+ */
4587
+ code?: number;
4588
+ /**
4589
+ * The TTL (in seconds) for which to cache responses with the
4590
+ * corresponding status code.
4591
+ * The maximum allowed value is 1800s (30 minutes). Infrequently accessed
4592
+ * objects may be evicted from the cache before the defined TTL.
4593
+ */
4594
+ ttl?: Duration;
4595
+ }
4408
4596
  interface CalendarModeAdviceRequest {
4409
4597
  /**
4410
4598
  * Specification of resources to create in the future.
@@ -5136,6 +5324,18 @@ declare namespace gapi.client {
5136
5324
  message?: string;
5137
5325
  };
5138
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
+ }
5139
5339
  interface CompositeHealthChecksScopedList {
5140
5340
  /** A list of CompositeHealthChecks contained in this scope. */
5141
5341
  compositeHealthChecks?: CompositeHealthCheck[];
@@ -7422,6 +7622,8 @@ declare namespace gapi.client {
7422
7622
  * not settable as a field in the request body.
7423
7623
  */
7424
7624
  region?: string;
7625
+ /** Configuration and status of the progressive rollout of this resource. */
7626
+ rolloutOperation?: FirewallPolicyRolloutOperation;
7425
7627
  /**
7426
7628
  * A list of rules that belong to this policy.
7427
7629
  * There must always be a default rule (rule with priority 2147483647 and
@@ -7541,6 +7743,62 @@ declare namespace gapi.client {
7541
7743
  message?: string;
7542
7744
  };
7543
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
+ }
7544
7802
  interface FirewallPolicyRule {
7545
7803
  /**
7546
7804
  * The Action to perform when the client connection triggers the rule.
@@ -7996,6 +8254,7 @@ declare namespace gapi.client {
7996
8254
  * address number.
7997
8255
  */
7998
8256
  IPAddress?: string;
8257
+ IPAddresses?: string[];
7999
8258
  /**
8000
8259
  * Resource reference of a PublicDelegatedPrefix. The PDP must
8001
8260
  * be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode.
@@ -9196,17 +9455,21 @@ declare namespace gapi.client {
9196
9455
  }
9197
9456
  interface GlobalVmExtensionPolicyRolloutOperationRolloutInput {
9198
9457
  /**
9199
- * Optional. [Optional] Specifies the behavior of the Rollout if a conflict is
9200
- * detected in a project during a Rollout. It can be one of the following
9201
- * values:
9202
- * 1) empty : don't overwrite the local value if conflict happens. This is
9203
- * the default behavior.
9204
- * 2) "overwrite" : Overwrite the local value with the rollout value.
9205
- * The concept of "conflict" applies to:
9206
- * 1) Insert action. If the zonal policy already exists when Insert
9207
- * happens, it's a conflict.
9208
- * 2) Update action. If the zonal policy was updated out of band by a
9209
- * zonal API, it's a conflict.
9458
+ * Optional. Specifies the behavior of the rollout if a conflict is detected in a
9459
+ * project during a rollout. This only applies to `insert` and `update`
9460
+ * methods.
9461
+ *
9462
+ * A conflict occurs in the following cases:
9463
+ * * `insert` method: If the zonal policy already exists when the insert
9464
+ * happens.
9465
+ * * `update` method: If the zonal policy was modified by a zonal API call
9466
+ * outside of this rollout.
9467
+ *
9468
+ * Possible values are the following:
9469
+ * * `""` (empty string): If a conflict occurs, the local value is not
9470
+ * overwritten. This is the default behavior.
9471
+ * * `"overwrite"`: If a conflict occurs, the local value is overwritten
9472
+ * with the rollout value.
9210
9473
  */
9211
9474
  conflictBehavior?: string;
9212
9475
  /**
@@ -9218,10 +9481,16 @@ declare namespace gapi.client {
9218
9481
  /** Optional. Predefined rollout plan. */
9219
9482
  predefinedRolloutPlan?: string;
9220
9483
  /**
9221
- * Optional. The UUID of the retry action. Only set it if this is a retry
9222
- * for an existing resource. This is for the user re-populate the resource
9223
- * without changes. An error will be returned if the retry_uuid is set but
9224
- * the resource get modified.
9484
+ * Optional. The UUID that identifies a policy rollout retry attempt for update and
9485
+ * delete operations. Set this field only when retrying a rollout for an
9486
+ * existing extension policy.
9487
+ *
9488
+ * * `update` method: Lets you retry policy rollout without changes.
9489
+ * An error occurs if you set retry_uuid but the policy is modified.
9490
+ * * `delete` method: Lets you retry policy deletion rollout if the
9491
+ * previous deletion rollout is not finished and the policy is in the
9492
+ * DELETING state. If you set this field when the policy is not in the
9493
+ * DELETING state, an error occurs.
9225
9494
  */
9226
9495
  retryUuid?: string;
9227
9496
  }
@@ -11534,6 +11803,11 @@ declare namespace gapi.client {
11534
11803
  retryConditions?: string[];
11535
11804
  }
11536
11805
  interface HttpRouteAction {
11806
+ /**
11807
+ * Cache policy for this URL Map’s route. Available only for Global
11808
+ * EXTERNAL_MANAGED load balancer schemes.
11809
+ */
11810
+ cachePolicy?: CachePolicy;
11537
11811
  /**
11538
11812
  * The specification for allowing client-side cross-origin requests. For more
11539
11813
  * information about the W3C recommendation for cross-origin resource sharing
@@ -14249,6 +14523,11 @@ declare namespace gapi.client {
14249
14523
  interface InstanceGroupManagerStatus {
14250
14524
  /** Output only. [Output only] Status of all-instances configuration on the group. */
14251
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[];
14252
14531
  /**
14253
14532
  * Output only. [Output Only] The URL of theAutoscaler
14254
14533
  * that targets this instance group manager.
@@ -14256,6 +14535,12 @@ declare namespace gapi.client {
14256
14535
  autoscaler?: string;
14257
14536
  /** Output only. [Output Only] The status of bulk instance operation. */
14258
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;
14259
14544
  /**
14260
14545
  * Output only. [Output Only] A bit indicating whether the managed instance group is in a
14261
14546
  * stable state. A stable state means that: none of the instances in the
@@ -14274,6 +14559,59 @@ declare namespace gapi.client {
14274
14559
  */
14275
14560
  versionTarget?: InstanceGroupManagerStatusVersionTarget;
14276
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
+ }
14277
14615
  interface InstanceGroupManagerStatusAllInstancesConfig {
14278
14616
  /**
14279
14617
  * Output only. [Output Only] Current all-instances configuration revision.
@@ -14333,6 +14671,79 @@ declare namespace gapi.client {
14333
14671
  */
14334
14672
  timestamp?: string;
14335
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
+ }
14336
14747
  interface InstanceGroupManagerStatusStateful {
14337
14748
  /**
14338
14749
  * Output only. [Output Only] A bit indicating whether the managed instance group
@@ -18728,9 +19139,11 @@ declare namespace gapi.client {
18728
19139
  /**
18729
19140
  * Input only. Resource manager tags to be bound to the license. Tag keys and values
18730
19141
  * have the same definition as resource
18731
- * manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and
18732
- * values are in the format `tagValues/{tag_value_id}`. The field is ignored
18733
- * (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.
18734
19147
  */
18735
19148
  resourceManagerTags?: {[P in string]: string};
18736
19149
  }
@@ -19171,6 +19584,16 @@ declare namespace gapi.client {
19171
19584
  * included with the new machine image.
19172
19585
  */
19173
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};
19174
19597
  }
19175
19598
  interface MachineType {
19176
19599
  /**
@@ -19787,10 +20210,7 @@ declare namespace gapi.client {
19787
20210
  id?: string;
19788
20211
  /** Output only. Type of the resource. Alwayscompute#multiMigMember for a list of multi-MIG members. */
19789
20212
  kind?: string;
19790
- /**
19791
- * Output only. [Output Only] The name of this multi-MIG member generated by
19792
- * Google Compute Engine.
19793
- */
20213
+ /** Output only. [Output Only] Server-defined name for the multi-MIG member. */
19794
20214
  name?: string;
19795
20215
  /** Output only. [Output Only] The URL of the region where the multi-MIG resides. */
19796
20216
  region?: string;
@@ -21299,6 +21719,8 @@ declare namespace gapi.client {
21299
21719
  ipv6Address?: string;
21300
21720
  /** Output only. [Output Only] Type of the resource. Alwayscompute#networkInterface for network interfaces. */
21301
21721
  kind?: string;
21722
+ /** Output only. [Output Only] MAC address assigned to this network interface. */
21723
+ macAddress?: string;
21302
21724
  /**
21303
21725
  * [Output Only] The name of the network interface, which is generated by the
21304
21726
  * server. For a VM, the network interface uses the nicN naming
@@ -27490,6 +27912,11 @@ declare namespace gapi.client {
27490
27912
  selfLink?: string;
27491
27913
  /** Output only. [Output Only] Server-defined URL for this resource with the resource id. */
27492
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;
27493
27920
  /** Output only. [Output Only] State of the reservation slot. */
27494
27921
  state?: string;
27495
27922
  /** Output only. [Output Only] The status of the reservation slot. */
@@ -34060,9 +34487,11 @@ declare namespace gapi.client {
34060
34487
  /**
34061
34488
  * Input only. Resource manager tags to be bound to the storage pool. Tag keys and values
34062
34489
  * have the same definition as resource
34063
- * manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and
34064
- * values are in the format `tagValues/{tag_value_id}`. The field is ignored
34065
- * (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.
34066
34495
  */
34067
34496
  resourceManagerTags?: {[P in string]: string};
34068
34497
  }
@@ -34432,7 +34861,7 @@ declare namespace gapi.client {
34432
34861
  * explicitly set, it will not appear in get listings. If not set
34433
34862
  * the default behavior is determined by the org policy, if there is no org
34434
34863
  * policy specified, then it will default to disabled. This field isn't
34435
- * supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY.
34864
+ * supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY. It is recommended to uselogConfig.enable field instead.
34436
34865
  */
34437
34866
  enableFlowLogs?: boolean;
34438
34867
  /** Enables Layer2 communication on the subnetwork. */
@@ -88637,6 +89066,42 @@ declare namespace gapi.client {
88637
89066
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
88638
89067
  userIp?: string;
88639
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>;
88640
89105
  /**
88641
89106
  * Create a CompositeHealthCheck in the specified project in the given region
88642
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.20251202",
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.