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

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 +599 -53
  2. package/package.json +1 -1
  3. package/readme.md +29 -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: 20260729
12
+ // Revision: 20260807
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -642,6 +642,13 @@ declare namespace gapi.client {
642
642
  | 'STANDARD_OVERRIDES_FIXED_STANDARD';
643
643
  /** The prefix length if the resource represents an IP range. */
644
644
  prefixLength?: number;
645
+ /**
646
+ * The public DNS PTR record to be configured for this external
647
+ * IP.
648
+ */
649
+ ptrDomainName?: string;
650
+ /** The TTL in seconds for public DNS PTR record. */
651
+ ptrDomainNameTtl?: number;
645
652
  /**
646
653
  * The purpose of this resource, which can be one of the following values:
647
654
  *
@@ -2356,7 +2363,8 @@ declare namespace gapi.client {
2356
2363
  * handle additional traffic or is fully loaded. For usage guidelines, see
2357
2364
  * Connection balancing mode.
2358
2365
  *
2359
- * Backends must use compatible balancing modes. For more information, see
2366
+ * Backends must use compatible balancing modes. Backends of a backend
2367
+ * service may use different balancing modes. For more information, see
2360
2368
  * Supported balancing modes and target capacity settings and
2361
2369
  * Restrictions and guidance for instance groups.
2362
2370
  *
@@ -2396,6 +2404,9 @@ declare namespace gapi.client {
2396
2404
  /**
2397
2405
  * This field designates whether this is a failover backend. More than one
2398
2406
  * failover backend can be configured for a given BackendService.
2407
+ *
2408
+ * This field can only be used for a regional external Passthrough Network
2409
+ * Load Balancer or a regional internal Passthrough Network Load Balancer.
2399
2410
  */
2400
2411
  failover?: boolean;
2401
2412
  /**
@@ -2501,6 +2512,15 @@ declare namespace gapi.client {
2501
2512
  * capacity, backends in this layer would be used and traffic would be
2502
2513
  * assigned based on the load balancing algorithm you use. This is the
2503
2514
  * default
2515
+ *
2516
+ *
2517
+ *
2518
+ * For global external Passthrough Network Load Balancers, the following
2519
+ * restrictions apply:
2520
+ *
2521
+ * - At most one backend can be marked as PREFERRED.
2522
+ * - PREFERRED and DEFAULT backends cannot reside
2523
+ * in the same Cloud region.
2504
2524
  */
2505
2525
  preference?: 'DEFAULT' | 'PREFERENCE_UNSPECIFIED' | 'PREFERRED';
2506
2526
  /**
@@ -2683,14 +2703,17 @@ declare namespace gapi.client {
2683
2703
  cacheKeyPolicy?: BackendBucketCdnPolicyCacheKeyPolicy;
2684
2704
  /**
2685
2705
  * Specifies the cache setting for all responses from this backend.
2686
- * The possible values are:USE_ORIGIN_HEADERS Requires the origin to set valid caching
2706
+ * The possible values are:
2707
+ * USE_ORIGIN_HEADERS Requires the origin to set valid caching
2687
2708
  * headers to cache content. Responses without these headers will not be
2688
2709
  * cached at Google's edge, and will require a full trip to the origin on
2689
2710
  * every request, potentially impacting performance and increasing load on
2690
- * the origin server.FORCE_CACHE_ALL Cache all content, ignoring any "private",
2711
+ * the origin server.
2712
+ * FORCE_CACHE_ALL Cache all content, ignoring any "private",
2691
2713
  * "no-store" or "no-cache" directives in Cache-Control response headers.
2692
2714
  * Warning: this may result in Cloud CDN caching private,
2693
- * per-user (user identifiable) content.CACHE_ALL_STATIC Automatically cache static content,
2715
+ * per-user (user identifiable) content.
2716
+ * CACHE_ALL_STATIC Automatically cache static content,
2694
2717
  * including common image formats, media (video and audio), and web assets
2695
2718
  * (JavaScript and CSS). Requests and responses that are marked as
2696
2719
  * uncacheable, as well as dynamic content (including HTML), will not be
@@ -3267,8 +3290,8 @@ declare namespace gapi.client {
3267
3290
  * Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview)
3268
3291
  * and [external passthrough Network Load
3269
3292
  * Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).
3270
- *
3271
- * failoverPolicy cannot be specified with haPolicy.
3293
+ * failoverPolicy cannot be specified with haPolicy.failoverPolicy cannot be used by global external Passthrough
3294
+ * Network Load Balancers.
3272
3295
  */
3273
3296
  failoverPolicy?: BackendServiceFailoverPolicy;
3274
3297
  /**
@@ -3309,9 +3332,9 @@ declare namespace gapi.client {
3309
3332
  * haPolicy requires customers to be responsible for tracking backend
3310
3333
  * endpoint health and electing a leader among the healthy endpoints.
3311
3334
  * Therefore, haPolicy cannot be specified with healthChecks.
3312
- *
3313
- * haPolicy can only be specified for External Passthrough Network Load
3314
- * Balancers and Internal Passthrough Network Load Balancers.
3335
+ * haPolicy can only be specified for External Passthrough
3336
+ * Network Load Balancers and Internal Passthrough Network Load Balancers.haPolicy cannot be used by global external Passthrough Network
3337
+ * Load Balancers.
3315
3338
  */
3316
3339
  haPolicy?: BackendServiceHAPolicy;
3317
3340
  /**
@@ -3385,8 +3408,8 @@ declare namespace gapi.client {
3385
3408
  /**
3386
3409
  * Specifies the load balancer type. A backend service
3387
3410
  * created for one type of load balancer cannot be used with another.
3388
- * For more information, refer toChoosing
3389
- * a load balancer.
3411
+ * For more information, refer to
3412
+ * Backend services product and scheme table.
3390
3413
  */
3391
3414
  loadBalancingScheme?:
3392
3415
  | 'EXTERNAL'
@@ -3440,8 +3463,19 @@ declare namespace gapi.client {
3440
3463
  * If set, the Backend Service responses are expected to contain non-standard
3441
3464
  * HTTP response header field Endpoint-Load-Metrics. The reported
3442
3465
  * metrics to use for computing the weights are specified via thecustomMetrics field.
3466
+ * - WEIGHTED_MAGLEV: Per-endpoint weighted load balancing via
3467
+ * health check reported weights. If set, the backend service must configure
3468
+ * an HTTP-based Health Check, and health check replies are expected to
3469
+ * contain the non-standard HTTP response header fieldX-Load-Balancing-Endpoint-Weight to specify the per-endpoint
3470
+ * weights. If set, load balancing is weighted based on the per-endpoint
3471
+ * weights reported in the last processed health check replies, as long as
3472
+ * every instance either reported a valid weight or had UNAVAILABLE_WEIGHT.
3473
+ * Otherwise, load balancing remains equal-weight.
3474
+ *
3475
+ *
3443
3476
  *
3444
3477
  * This field is applicable to either:
3478
+ *
3445
3479
  * - A regional backend service with the service protocol set to HTTP,
3446
3480
  * HTTPS, HTTP2 or H2C, and load_balancing_scheme set to
3447
3481
  * INTERNAL_MANAGED.
@@ -3450,6 +3484,7 @@ declare namespace gapi.client {
3450
3484
  * EXTERNAL_MANAGED.
3451
3485
  *
3452
3486
  *
3487
+ *
3453
3488
  * If sessionAffinity is not configured—that is, if session
3454
3489
  * affinity remains at the default value of NONE—then the
3455
3490
  * default value for localityLbPolicy
@@ -3596,13 +3631,13 @@ declare namespace gapi.client {
3596
3631
  */
3597
3632
  portName?: string;
3598
3633
  /**
3599
- * The protocol this BackendService uses to communicate
3600
- * with backends.
3634
+ * The protocol this BackendService uses to communicate with backends.
3601
3635
  *
3602
- * Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP or GRPC.
3603
- * depending on the chosen load balancer or Traffic Director configuration.
3604
- * Refer to the documentation for the load balancers or for Traffic Director
3605
- * for more information.
3636
+ * Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP, GRPC, or
3637
+ * UNSPECIFIED, depending on the chosen load balancer or Traffic Director
3638
+ * configuration.
3639
+ * Refer to
3640
+ * Load balancing features for more information.
3606
3641
  *
3607
3642
  * Must be set to GRPC when the backend service is referenced by a URL map
3608
3643
  * that is bound to target gRPC proxy.
@@ -3807,14 +3842,17 @@ declare namespace gapi.client {
3807
3842
  cacheKeyPolicy?: CacheKeyPolicy;
3808
3843
  /**
3809
3844
  * Specifies the cache setting for all responses from this backend.
3810
- * The possible values are:USE_ORIGIN_HEADERS Requires the origin to set valid caching
3845
+ * The possible values are:
3846
+ * USE_ORIGIN_HEADERS Requires the origin to set valid caching
3811
3847
  * headers to cache content. Responses without these headers will not be
3812
3848
  * cached at Google's edge, and will require a full trip to the origin on
3813
3849
  * every request, potentially impacting performance and increasing load on
3814
- * the origin server.FORCE_CACHE_ALL Cache all content, ignoring any "private",
3850
+ * the origin server.
3851
+ * FORCE_CACHE_ALL Cache all content, ignoring any "private",
3815
3852
  * "no-store" or "no-cache" directives in Cache-Control response headers.
3816
3853
  * Warning: this may result in Cloud CDN caching private,
3817
- * per-user (user identifiable) content.CACHE_ALL_STATIC Automatically cache static content,
3854
+ * per-user (user identifiable) content.
3855
+ * CACHE_ALL_STATIC Automatically cache static content,
3818
3856
  * including common image formats, media (video and audio), and web assets
3819
3857
  * (JavaScript and CSS). Requests and responses that are marked as
3820
3858
  * uncacheable, as well as dynamic content (including HTML), will not be
@@ -5631,10 +5669,7 @@ declare namespace gapi.client {
5631
5669
  machineTypes?: string[];
5632
5670
  }
5633
5671
  interface CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk {
5634
- /**
5635
- * Specifies the type of the disk.
5636
- * This field must be set to SCRATCH.
5637
- */
5672
+ /** Specifies the type of the disk. */
5638
5673
  type?: 'DISK_TYPE_UNSPECIFIED' | 'SCRATCH';
5639
5674
  }
5640
5675
  interface CapacityAdviceRequestInstanceProperties {
@@ -6082,6 +6117,7 @@ declare namespace gapi.client {
6082
6117
  | 'NETWORK_OPTIMIZED_U4S'
6083
6118
  | 'STORAGE_OPTIMIZED_Z3'
6084
6119
  | 'STORAGE_OPTIMIZED_Z4D'
6120
+ | 'STORAGE_OPTIMIZED_Z4M'
6085
6121
  | 'TYPE_UNSPECIFIED';
6086
6122
  }
6087
6123
  interface CommitmentAggregatedList {
@@ -10240,10 +10276,31 @@ declare namespace gapi.client {
10240
10276
  /** Output only. [Output Only]. The extensions that are attached to this ForwardingRule. */
10241
10277
  attachedExtensions?: ForwardingRuleAttachedExtension[];
10242
10278
  /**
10243
- * [Output Only] Specifies the availability group of the forwarding rule. This
10279
+ * Output only. [Output Only] Specifies the load balancing availability group, one of the
10280
+ * two that collectively provide high availability.
10281
+ *
10282
+ * Specifies the availability group of the forwarding rule. This
10244
10283
  * field is for use by global external passthrough load balancers (load
10245
- * balancing scheme EXTERNAL_PASSTHROUGH) and is set for the child forwarding
10246
- * rules only.
10284
+ * balancing scheme EXTERNAL_PASSTHROUGH) and is set for the
10285
+ * child forwarding rules only. The possible values are:
10286
+ *
10287
+ * - AVAILABILITY_GROUP0: Set for the child forwarding rule
10288
+ * that is programmed on the AVAILABILITY_GROUP0 load balancing
10289
+ * stack. The child forwarding rule has the same IP protocol, port, and
10290
+ * backend service settings as the parent forwarding rule, but has only one of
10291
+ * the two IP addresses of the parent forwarding rule, the one with the
10292
+ * purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0.
10293
+ * - AVAILABILITY_GROUP1: Set for the child forwarding rule
10294
+ * that is programmed on the AVAILABILITY_GROUP1 load balancing
10295
+ * stack. The child forwarding rule has the same IP protocol, port and backend
10296
+ * service settings as the parent forwarding rule, but has only one of the two
10297
+ * IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1.
10298
+ *
10299
+ *
10300
+ *
10301
+ * For each global external Passthrough Network Load Balancer forwarding rule
10302
+ * (a parent forwarding rule) that you create, Google Cloud generates two
10303
+ * output-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1.
10247
10304
  */
10248
10305
  availabilityGroup?:
10249
10306
  | 'AVAILABILITY_GROUP0'
@@ -10251,8 +10308,18 @@ declare namespace gapi.client {
10251
10308
  | 'AVAILABILITY_GROUP_UNSPECIFIED';
10252
10309
  /**
10253
10310
  * Identifies the backend service to which the forwarding rule sends traffic.
10254
- * Required for internal and external passthrough Network Load Balancers;
10255
- * must be omitted for all other load balancer types.
10311
+ *
10312
+ * It is a required field for the following load balancers:
10313
+ *
10314
+ * - Internal passthrough Network Load Balancers
10315
+ * - Backend service-based regional external passthrough Network Load
10316
+ * Balancers
10317
+ * - Global external passthrough Network Load Balancers
10318
+ *
10319
+ *
10320
+ *
10321
+ * It cannot be set by other load balancer types and protocol forwarding
10322
+ * rules.
10256
10323
  */
10257
10324
  backendService?: string;
10258
10325
  /**
@@ -10265,11 +10332,14 @@ declare namespace gapi.client {
10265
10332
  */
10266
10333
  baseForwardingRule?: string;
10267
10334
  /**
10268
- * Output only. [Output Only] Applicable only to the parent forwarding rule of global
10335
+ * Output only. [Output Only] The resource URLs for the child forwarding rules.
10336
+ *
10337
+ * Applicable only to the parent forwarding rule of global
10269
10338
  * external passthrough load balancers. This field contains the list of child
10270
10339
  * forwarding rule URLs associated with the parent forwarding rule: one for
10271
10340
  * each availability group. AVAILABILITY_GROUP0 will be the first element, and
10272
- * AVAILABILITY_GROUP1 will be the second element.
10341
+ * AVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set
10342
+ * by any other forwarding rules.
10273
10343
  */
10274
10344
  childForwardingRules?: string[];
10275
10345
  /**
@@ -10361,6 +10431,8 @@ declare namespace gapi.client {
10361
10431
  *
10362
10432
  *
10363
10433
  *
10434
+ * The IP address can only be set at creation. Once set, it cannot be updated.
10435
+ *
10364
10436
  * The forwarding rule's target or backendService,
10365
10437
  * and in most cases, also the loadBalancingScheme, determine the
10366
10438
  * type of IP address that you can use. For detailed information, see
@@ -10369,8 +10441,69 @@ declare namespace gapi.client {
10369
10441
  *
10370
10442
  * When reading an IPAddress, the API always returns the IP
10371
10443
  * address number.
10444
+ *
10445
+ * When creating a global external Passthrough Network Load Balancer
10446
+ * forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child
10447
+ * forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details.
10372
10448
  */
10373
10449
  IPAddress?: string;
10450
+ /**
10451
+ * IP addresses for which this forwarding rule accepts traffic. All IP
10452
+ * addresses must have the same IP version, IPv4 or IPv6. When a client sends
10453
+ * traffic that matches one of the specified IP addresses, protocol and ports,
10454
+ * the forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of
10455
+ * backends, and they share the target capacities specified in the backend
10456
+ * service fairly.
10457
+ *
10458
+ * Global external Passthrough Network Load Balancer requires two IP addresses
10459
+ * for each forwarding rule to provide high availability when both IP
10460
+ * addresses are used to serve client requests. The two IP addresses must come
10461
+ * from global IP pools that belong to two distinct Availability
10462
+ * Groups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses:
10463
+ *
10464
+ * - If omitted, Google Cloud assigns two ephemeral IP addresses, one from
10465
+ * each Availability Group.
10466
+ * - If you specify one IP address that references an existing static IP
10467
+ * address resource from one Availability Group, Google Cloud assigns an
10468
+ * ephemeral IP address from the other Availability Group.
10469
+ * - If you specify two IP addresses that reference existing static IP
10470
+ * address resources, they are required to be from different Availability
10471
+ * Groups.
10472
+ *
10473
+ *
10474
+ *
10475
+ * For global external Passthrough Network Load Balancer, each IP address can be one of the following:
10476
+ *
10477
+ * - A static or ephemeral IPv4 address from a Google-owned IP pool.
10478
+ * - A static IPv4 address from a global public delegated prefix.
10479
+ * - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool.
10480
+ *
10481
+ *
10482
+ *
10483
+ * For global external Passthrough Network Load Balancer, the two IP addresses
10484
+ * can be of different types. One IP address can be from a BYOIP prefix while
10485
+ * the other is from a Google-owned IP pool. One IP address can be static
10486
+ * while the other is ephemeral. However, both IP addresses must have the same
10487
+ * IP version, IPv4 or IPv6.
10488
+ *
10489
+ * The IP addresses can only be set at creation and cannot be updated.
10490
+ *
10491
+ * When creating a global external Passthrough Network Load Balancer
10492
+ * forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child
10493
+ * forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details.
10494
+ *
10495
+ * Refer to the IPAddress field for the formats that can be used
10496
+ * to specify IP addresses while creating a forwarding rule.
10497
+ *
10498
+ * Because Passthrough Network Load Balancers do not terminate or translate
10499
+ * traffic, the backend stack types must be compatible with the forwarding
10500
+ * rule IP version:
10501
+ *
10502
+ * - If the forwarding rule IP version is IPv4, backends should be
10503
+ * configured as dual-stack or IPv4-only.
10504
+ * - If the forwarding rule IP version is IPv6, backends should be
10505
+ * configured as dual-stack or IPv6-only.
10506
+ */
10374
10507
  IPAddresses?: string[];
10375
10508
  /**
10376
10509
  * Resource reference of a PublicDelegatedPrefix. The PDP must
@@ -10431,8 +10564,8 @@ declare namespace gapi.client {
10431
10564
  /**
10432
10565
  * Specifies the forwarding rule type.
10433
10566
  *
10434
- * For more information about forwarding rules, refer to
10435
- * Forwarding rule concepts.
10567
+ * For more information, refer to
10568
+ * Forwarding rule product and scheme table.
10436
10569
  */
10437
10570
  loadBalancingScheme?:
10438
10571
  | 'EXTERNAL'
@@ -10477,6 +10610,13 @@ declare namespace gapi.client {
10477
10610
  * For Private Service Connect forwarding rules that forward traffic to Google
10478
10611
  * APIs, the forwarding rule name must be a 1-20 characters string with
10479
10612
  * lowercase letters and numbers and must start with a letter.
10613
+ *
10614
+ * For global external Passthrough Network Load Balancer forwarding rules, the
10615
+ * forwarding rule name must be 1-43 characters long. For each global external
10616
+ * Passthrough Network Load Balancer forwarding rule (a parent forwarding
10617
+ * rule) that you create, Google Cloud generates two output-only child
10618
+ * forwarding rules that are named by concatenating the parent forwarding rule
10619
+ * name with the `-ag0` and `-ag1` suffixes, respectively. Refer to theavailabilityGroup field for further details.
10480
10620
  */
10481
10621
  name?: string;
10482
10622
  /**
@@ -10516,7 +10656,9 @@ declare namespace gapi.client {
10516
10656
  */
10517
10657
  noAutomateDnsZone?: boolean;
10518
10658
  /**
10519
- * Output only. [Output Only] Applicable only to the child forwarding rules of global external
10659
+ * Output only. [Output Only] The resource URL for the parent forwarding rule.
10660
+ *
10661
+ * Applicable only to the child forwarding rules of global external
10520
10662
  * passthrough load balancers. This field contains the URL of the parent
10521
10663
  * forwarding rule.
10522
10664
  */
@@ -10541,7 +10683,8 @@ declare namespace gapi.client {
10541
10683
  *
10542
10684
  *
10543
10685
  * For external forwarding rules, two or more forwarding rules cannot use the
10544
- * same [IPAddress, IPProtocol] pair, and cannot have overlappingportRanges.
10686
+ * same [IPAddress, IPProtocol] pair (specified inIPAddress, IPAddresses, IPProtocol
10687
+ * fields) if they have overlapping portRanges.
10545
10688
  *
10546
10689
  * For internal forwarding rules within the same VPC network, two or more
10547
10690
  * forwarding rules cannot use the same [IPAddress, IPProtocol]
@@ -10569,8 +10712,8 @@ declare namespace gapi.client {
10569
10712
  *
10570
10713
  *
10571
10714
  * For external forwarding rules, two or more forwarding rules cannot use the
10572
- * same [IPAddress, IPProtocol] pair if they share at least one
10573
- * port number.
10715
+ * same [IPAddress, IPProtocol] pair (specified inIPAddress, IPAddresses, IPProtocol
10716
+ * fields) if they share at least one port number.
10574
10717
  *
10575
10718
  * For internal forwarding rules within the same VPC network, two or more
10576
10719
  * forwarding rules cannot use the same [IPAddress, IPProtocol]
@@ -10664,6 +10807,15 @@ declare namespace gapi.client {
10664
10807
  *
10665
10808
  *
10666
10809
  * - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment.
10810
+ *
10811
+ *
10812
+ *
10813
+ * The following load balancers cannot set the target field (they should set the backendService field instead):
10814
+ *
10815
+ * - Internal passthrough Network Load Balancers
10816
+ * - Backend service-based regional external passthrough Network Load
10817
+ * Balancers
10818
+ * - Global external passthrough Network Load Balancers
10667
10819
  */
10668
10820
  target?: string;
10669
10821
  }
@@ -12431,16 +12583,9 @@ declare namespace gapi.client {
12431
12583
  * create the resource.
12432
12584
  */
12433
12585
  description?: string;
12434
- /**
12435
- * Capacity guarantee settings for the event of a failover.
12436
- * This determines whether capacity is guaranteed to be available
12437
- * in the zones used by the HaController.
12438
- * Deprecated: This field is deprecated and has no effect.
12439
- */
12440
- failoverCapacity?:
12441
- 'BEST_EFFORT_CAPACITY' | 'FAILOVER_CAPACITY_UNSPECIFIED';
12442
12586
  /** Indicates how failover should be initiated. */
12443
- failoverInitiation?: 'FAILOVER_INITIATION_UNSPECIFIED' | 'MANUAL_ONLY';
12587
+ failoverInitiation?:
12588
+ 'AUTOMATIC' | 'FAILOVER_INITIATION_UNSPECIFIED' | 'MANUAL_ONLY';
12444
12589
  /**
12445
12590
  * Output only. [Output Only] The unique identifier for the resource. This identifier is
12446
12591
  * defined by the server.
@@ -12481,13 +12626,24 @@ declare namespace gapi.client {
12481
12626
  * It is not settable as a field in the request body.
12482
12627
  */
12483
12628
  region?: string;
12484
- /** Indicates the capacity guarantees in the secondary zone. */
12485
- secondaryZoneCapacity?:
12486
- 'BEST_EFFORT' | 'SECONDARY_ZONE_CAPACITY_UNSPECIFIED';
12487
12629
  /** Output only. [Output only] Server-defined URL for the resource. */
12488
12630
  selfLink?: string;
12489
12631
  /** Output only. [Output Only] Server-defined URL for this resource with the resource id. */
12490
12632
  selfLinkWithId?: string;
12633
+ /** Output only. The current state of the HA Controller. */
12634
+ state?:
12635
+ | 'ACTIVE'
12636
+ | 'CREATING'
12637
+ | 'DELETING'
12638
+ | 'FAILOVER_IN_PROGRESS'
12639
+ | 'FAILOVER_UNAVAILABLE'
12640
+ | 'MULTI_ZONE_FAILURE'
12641
+ | 'PENDING_FAILOVER'
12642
+ | 'STARTING'
12643
+ | 'STATE_UNSPECIFIED'
12644
+ | 'STOPPED'
12645
+ | 'STOPPING'
12646
+ | 'UPDATING';
12491
12647
  /** Output only. [Output Only] Status information for the HaController resource. */
12492
12648
  status?: HaControllerStatus;
12493
12649
  /**
@@ -12800,6 +12956,8 @@ declare namespace gapi.client {
12800
12956
  * Filled only if the failover is completed, in lastFailoverInfo.
12801
12957
  */
12802
12958
  failoverCompleteTimestamp?: string;
12959
+ /** Output only. The duration of the last failover. */
12960
+ failoverDuration?: string;
12803
12961
  /**
12804
12962
  * Output only. [Output Only] Indicates if failover has been triggered automatically or
12805
12963
  * manually.
@@ -16414,10 +16572,16 @@ declare namespace gapi.client {
16414
16572
  *
16415
16573
  *
16416
16574
  * For example: zones/us-central1-f/machineTypes/custom-4-5120
16575
+ *
16417
16576
  * For a full list of restrictions, read theSpecifications
16418
16577
  * for custom machine types.
16419
16578
  */
16420
16579
  machineType?: string;
16580
+ /**
16581
+ * Map of management interfaces. Keys must be valid RFC1035 names and at most
16582
+ * 63 characters long.
16583
+ */
16584
+ managementInterfaces?: {[P in string]: InstanceManagementInterface};
16421
16585
  /**
16422
16586
  * The metadata key/value pairs assigned
16423
16587
  * to this instance. This includes metadata keys that were explicitly defined
@@ -19302,6 +19466,49 @@ declare namespace gapi.client {
19302
19466
  /** Output only. Error message. */
19303
19467
  message?: string;
19304
19468
  }
19469
+ interface InstanceManagementInterface {
19470
+ /** The authentication configuration for secure connection. */
19471
+ authenticationConfig?: InstanceManagementInterfaceAuthenticationConfig;
19472
+ /**
19473
+ * The IPv4 internal IP address assigned to this management interface
19474
+ * endpoint. This address will be used by the customer to route traffic to
19475
+ * the management interface.
19476
+ */
19477
+ ipv4Address?: string;
19478
+ /**
19479
+ * The IPv6 internal IP address assigned to this management interface
19480
+ * endpoint. This address will be used by the customer to route traffic to
19481
+ * the management interface if IPv6 is supported and configured.
19482
+ */
19483
+ ipv6Address?: string;
19484
+ /**
19485
+ * The URL of the VPC network to which the management interface endpoint is
19486
+ * attached. The customer must ensure that this network is correctly
19487
+ * configured for routing to the instance.
19488
+ */
19489
+ network?: string;
19490
+ /** Output only. [Output Only] The current state of the management interface endpoint. */
19491
+ state?: 'ACTIVE' | 'INACTIVE' | 'PENDING' | 'STATE_UNSPECIFIED';
19492
+ /**
19493
+ * The URL of the subnetwork from which to assign the IP address for the
19494
+ * endpoint. The subnetwork must belong to the specified network and have
19495
+ * available IP addresses.
19496
+ */
19497
+ subnetwork?: string;
19498
+ /**
19499
+ * Required. The type of management service this interface provides.
19500
+ * Supported types include HOST_MANAGEMENT for direct host control.
19501
+ */
19502
+ type?: 'HOST_MANAGEMENT' | 'TYPE_UNSPECIFIED';
19503
+ }
19504
+ interface InstanceManagementInterfaceAuthenticationConfig {
19505
+ /**
19506
+ * Required. Resource name of the Cloud Certificate Manager TrustConfig used to
19507
+ * validate client certificates for mTLS. Format:
19508
+ * projects/{project}/locations/{location}/trustConfigs/{trust_config}
19509
+ */
19510
+ trustConfig?: string;
19511
+ }
19305
19512
  interface InstanceMoveRequest {
19306
19513
  /**
19307
19514
  * The URL of the destination zone to move the instance. This can be a full or
@@ -27532,6 +27739,19 @@ declare namespace gapi.client {
27532
27739
  igmpQuery?: 'IGMP_QUERY_DISABLED' | 'IGMP_QUERY_V2';
27533
27740
  /** The prefix length of the primary internal IPv6 range. */
27534
27741
  internalIpv6PrefixLength?: number;
27742
+ /**
27743
+ * [Output Only] This field specifies the internal IPv6 network address
27744
+ * assigned to the CX9 Network Interface Card, which facilitates the routing
27745
+ * of traffic between NICs. For any single CX9 Network Interface Card, the
27746
+ * identical internalNicLoadBalancingIpv6Address is assigned across all four
27747
+ * associated ports.
27748
+ */
27749
+ internalNicLoadBalancingIpv6Address?: string;
27750
+ /**
27751
+ * [Output Only] The prefix length of the internal IPv6 Nic load balancing
27752
+ * prefix.
27753
+ */
27754
+ internalNicLoadBalancingIpv6PrefixLength?: number;
27535
27755
  /**
27536
27756
  * An array of IPv6 access configurations for this interface. Currently, only
27537
27757
  * one IPv6 access config, DIRECT_IPV6, is supported. If there
@@ -33904,7 +34124,7 @@ declare namespace gapi.client {
33904
34124
  }
33905
34125
  interface RegexRewrite {
33906
34126
  /**
33907
- * The regular expression used to match against the URL path.
34127
+ * Required. The regular expression used to match against the URL path.
33908
34128
  * It uses RE2 syntax with the following constraints:
33909
34129
  *
33910
34130
  *
@@ -33931,7 +34151,7 @@ declare namespace gapi.client {
33931
34151
  */
33932
34152
  pathPattern?: string;
33933
34153
  /**
33934
- * Required when path pattern is specified. Used to rewrite matching parts of
34154
+ * Required. Required when path pattern is specified. Used to rewrite matching parts of
33935
34155
  * the path.
33936
34156
  */
33937
34157
  pathSubstitution?: string;
@@ -34059,6 +34279,12 @@ declare namespace gapi.client {
34059
34279
  */
34060
34280
  destinationAddress?: string;
34061
34281
  }
34282
+ interface RegionAddressesUpdatePublicPtrRequest {
34283
+ /** The public DNS PTR record to be configured for this external IP. */
34284
+ ptrDomainName?: string;
34285
+ /** The TTL in seconds for public DNS PTR record. */
34286
+ ptrDomainNameTtl?: number;
34287
+ }
34062
34288
  interface RegionAutoscalerList {
34063
34289
  /** [Output Only] Unique identifier for the resource; defined by the server. */
34064
34290
  id?: string;
@@ -38166,6 +38392,13 @@ declare namespace gapi.client {
38166
38392
  * attachments (interconnectAttachments).
38167
38393
  */
38168
38394
  encryptedInterconnectRouter?: boolean;
38395
+ /**
38396
+ * ETag for optimistic concurrency control as described by AIP 154. Used to
38397
+ * prevent conflicting updates. If provided, the request will succeed only if
38398
+ * the etag matches the current etag of the router; otherwise, the request
38399
+ * fails with an ABORTED error.
38400
+ */
38401
+ etag?: string;
38169
38402
  /**
38170
38403
  * [Output Only] The unique identifier for the resource. This identifier is
38171
38404
  * defined by the server.
@@ -46486,7 +46719,8 @@ declare namespace gapi.client {
46486
46719
  * The server-defined URL for the resource. This field is applicable only when
46487
46720
  * the containing target pool is serving a forwarding rule as the primary
46488
46721
  * pool, and its failoverRatio field is properly set to a value
46489
- * between [0, 1].backupPool and failoverRatio together define
46722
+ * between [0, 1].
46723
+ * backupPool and failoverRatio together define
46490
46724
  * the fallback behavior of the primary target pool: if the ratio of the
46491
46725
  * healthy instances in the primary pool is at or belowfailoverRatio, traffic arriving at the load-balanced
46492
46726
  * IP will be directed to the backup pool.
@@ -49801,6 +50035,16 @@ declare namespace gapi.client {
49801
50035
  * be set only for Classic VPN tunnels.
49802
50036
  */
49803
50037
  peerIp?: string;
50038
+ /**
50039
+ * User specified list of PQC key exchange mechanisms (KEMs) to use for the
50040
+ * phase 1 of the IKE protocol.
50041
+ */
50042
+ pqcPhase1?: VpnTunnelPqc;
50043
+ /**
50044
+ * User specified list of PQC key exchange mechanisms (KEMs) to use for the
50045
+ * phase 2 of the IKE protocol.
50046
+ */
50047
+ pqcPhase2?: VpnTunnelPqc;
49804
50048
  /**
49805
50049
  * [Output Only] URL of the region where the VPN tunnel resides.
49806
50050
  * You must specify this field as part of the HTTP request URL. It is
@@ -49894,6 +50138,43 @@ declare namespace gapi.client {
49894
50138
  */
49895
50139
  vpnGatewayInterface?: number;
49896
50140
  }
50141
+ interface VpnTunnelAdditionalKeyExchanges {
50142
+ ke1s?:
50143
+ | 'KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED'
50144
+ | 'KE_NONE'
50145
+ | 'ML_KEM_1024'
50146
+ | 'ML_KEM_768'[];
50147
+ ke2s?:
50148
+ | 'KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED'
50149
+ | 'KE_NONE'
50150
+ | 'ML_KEM_1024'
50151
+ | 'ML_KEM_768'[];
50152
+ ke3s?:
50153
+ | 'KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED'
50154
+ | 'KE_NONE'
50155
+ | 'ML_KEM_1024'
50156
+ | 'ML_KEM_768'[];
50157
+ ke4s?:
50158
+ | 'KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED'
50159
+ | 'KE_NONE'
50160
+ | 'ML_KEM_1024'
50161
+ | 'ML_KEM_768'[];
50162
+ ke5s?:
50163
+ | 'KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED'
50164
+ | 'KE_NONE'
50165
+ | 'ML_KEM_1024'
50166
+ | 'ML_KEM_768'[];
50167
+ ke6s?:
50168
+ | 'KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED'
50169
+ | 'KE_NONE'
50170
+ | 'ML_KEM_1024'
50171
+ | 'ML_KEM_768'[];
50172
+ ke7s?:
50173
+ | 'KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED'
50174
+ | 'KE_NONE'
50175
+ | 'ML_KEM_1024'
50176
+ | 'ML_KEM_768'[];
50177
+ }
49897
50178
  interface VpnTunnelAggregatedList {
49898
50179
  /** [Output Only] Unique identifier for the resource; defined by the server. */
49899
50180
  id?: string;
@@ -50100,6 +50381,10 @@ declare namespace gapi.client {
50100
50381
  integrity?: string[];
50101
50382
  pfs?: string[];
50102
50383
  }
50384
+ interface VpnTunnelPqc {
50385
+ keys?: VpnTunnelAdditionalKeyExchanges;
50386
+ mode?: 'DISABLED' | 'ENABLED' | 'PQC_MODE_UNSPECIFIED';
50387
+ }
50103
50388
  interface VpnTunnelsScopedList {
50104
50389
  /** A list of VPN tunnels contained in this scope. */
50105
50390
  vpnTunnels?: VpnTunnel[];
@@ -50580,6 +50865,8 @@ declare namespace gapi.client {
50580
50865
  * pseudowires.
50581
50866
  */
50582
50867
  faultResponse?: 'DISABLE_PORT' | 'NONE';
50868
+ /** The flow management configuration for the wire. */
50869
+ flowManagement?: 'DYNAMIC_PATH' | 'FIXED_PATH';
50583
50870
  /** The network service class. */
50584
50871
  networkServiceClass?: 'BRONZE' | 'GOLD';
50585
50872
  }
@@ -52127,6 +52414,108 @@ declare namespace gapi.client {
52127
52414
  },
52128
52415
  body: TestPermissionsRequest,
52129
52416
  ): Request<TestPermissionsResponse>;
52417
+ /** Set a custom ptr domain name on regional address. */
52418
+ updatePublicPtr(request: {
52419
+ /** V1 error format. */
52420
+ '$.xgafv'?: '1' | '2';
52421
+ /** OAuth access token. */
52422
+ access_token?: string;
52423
+ /** Name of the address resource to update. */
52424
+ address: string;
52425
+ /** Data format for response. */
52426
+ alt?: 'json' | 'media' | 'proto';
52427
+ /** JSONP */
52428
+ callback?: string;
52429
+ /** Selector specifying which fields to include in a partial response. */
52430
+ fields?: string;
52431
+ /** 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. */
52432
+ key?: string;
52433
+ /** OAuth 2.0 token for the current user. */
52434
+ oauth_token?: string;
52435
+ /** Returns response with indentations and line breaks. */
52436
+ prettyPrint?: boolean;
52437
+ /** Source project ID where the address belongs. */
52438
+ project: string;
52439
+ /** 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. */
52440
+ quotaUser?: string;
52441
+ /** Name of the region for this request. */
52442
+ region: string;
52443
+ /**
52444
+ * An optional request ID to identify requests. Specify a unique request ID so
52445
+ * that if you must retry your request, the server will know to ignore the
52446
+ * request if it has already been completed.
52447
+ *
52448
+ * For example, consider a situation where you make an initial request and
52449
+ * the request times out. If you make the request again with the same
52450
+ * request ID, the server can check if original operation with the same
52451
+ * request ID was received, and if so, will ignore the second request. This
52452
+ * prevents clients from accidentally creating duplicate commitments.
52453
+ *
52454
+ * The request ID must be
52455
+ * a valid UUID with the exception that zero UUID is not supported
52456
+ * (00000000-0000-0000-0000-000000000000).
52457
+ */
52458
+ requestId?: string;
52459
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52460
+ upload_protocol?: string;
52461
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52462
+ uploadType?: string;
52463
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
52464
+ userIp?: string;
52465
+ /** Request body */
52466
+ resource: RegionAddressesUpdatePublicPtrRequest;
52467
+ }): Request<Operation>;
52468
+ updatePublicPtr(
52469
+ request: {
52470
+ /** V1 error format. */
52471
+ '$.xgafv'?: '1' | '2';
52472
+ /** OAuth access token. */
52473
+ access_token?: string;
52474
+ /** Name of the address resource to update. */
52475
+ address: string;
52476
+ /** Data format for response. */
52477
+ alt?: 'json' | 'media' | 'proto';
52478
+ /** JSONP */
52479
+ callback?: string;
52480
+ /** Selector specifying which fields to include in a partial response. */
52481
+ fields?: string;
52482
+ /** 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. */
52483
+ key?: string;
52484
+ /** OAuth 2.0 token for the current user. */
52485
+ oauth_token?: string;
52486
+ /** Returns response with indentations and line breaks. */
52487
+ prettyPrint?: boolean;
52488
+ /** Source project ID where the address belongs. */
52489
+ project: string;
52490
+ /** 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. */
52491
+ quotaUser?: string;
52492
+ /** Name of the region for this request. */
52493
+ region: string;
52494
+ /**
52495
+ * An optional request ID to identify requests. Specify a unique request ID so
52496
+ * that if you must retry your request, the server will know to ignore the
52497
+ * request if it has already been completed.
52498
+ *
52499
+ * For example, consider a situation where you make an initial request and
52500
+ * the request times out. If you make the request again with the same
52501
+ * request ID, the server can check if original operation with the same
52502
+ * request ID was received, and if so, will ignore the second request. This
52503
+ * prevents clients from accidentally creating duplicate commitments.
52504
+ *
52505
+ * The request ID must be
52506
+ * a valid UUID with the exception that zero UUID is not supported
52507
+ * (00000000-0000-0000-0000-000000000000).
52508
+ */
52509
+ requestId?: string;
52510
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52511
+ upload_protocol?: string;
52512
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52513
+ uploadType?: string;
52514
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
52515
+ userIp?: string;
52516
+ },
52517
+ body: RegionAddressesUpdatePublicPtrRequest,
52518
+ ): Request<Operation>;
52130
52519
  }
52131
52520
  interface AdviceResource {
52132
52521
  /**
@@ -122919,6 +123308,44 @@ declare namespace gapi.client {
122919
123308
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
122920
123309
  userIp?: string;
122921
123310
  }): Request<SslPolicy>;
123311
+ /**
123312
+ * Gets the access control policy for a resource. May be empty if no such
123313
+ * policy or resource exists.
123314
+ */
123315
+ getIamPolicy(request?: {
123316
+ /** V1 error format. */
123317
+ '$.xgafv'?: '1' | '2';
123318
+ /** OAuth access token. */
123319
+ access_token?: string;
123320
+ /** Data format for response. */
123321
+ alt?: 'json' | 'media' | 'proto';
123322
+ /** JSONP */
123323
+ callback?: string;
123324
+ /** Selector specifying which fields to include in a partial response. */
123325
+ fields?: string;
123326
+ /** 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. */
123327
+ key?: string;
123328
+ /** OAuth 2.0 token for the current user. */
123329
+ oauth_token?: string;
123330
+ /** Requested IAM Policy version. */
123331
+ optionsRequestedPolicyVersion?: number;
123332
+ /** Returns response with indentations and line breaks. */
123333
+ prettyPrint?: boolean;
123334
+ /** Project ID for this request. */
123335
+ project: string;
123336
+ /** 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. */
123337
+ quotaUser?: string;
123338
+ /** The name of the region for this request. */
123339
+ region: string;
123340
+ /** Name or id of the resource for this request. */
123341
+ resource: string;
123342
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
123343
+ upload_protocol?: string;
123344
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
123345
+ uploadType?: string;
123346
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
123347
+ userIp?: string;
123348
+ }): Request<Policy>;
122922
123349
  /**
122923
123350
  * Creates a new policy in the specified project and region using the data
122924
123351
  * included in the request.
@@ -123392,6 +123819,45 @@ declare namespace gapi.client {
123392
123819
  },
123393
123820
  body: SslPolicy,
123394
123821
  ): Request<Operation>;
123822
+ /**
123823
+ * Sets the access control policy on the specified resource.
123824
+ * Replaces any existing policy.
123825
+ */
123826
+ setIamPolicy(
123827
+ request: {
123828
+ /** V1 error format. */
123829
+ '$.xgafv'?: '1' | '2';
123830
+ /** OAuth access token. */
123831
+ access_token?: string;
123832
+ /** Data format for response. */
123833
+ alt?: 'json' | 'media' | 'proto';
123834
+ /** JSONP */
123835
+ callback?: string;
123836
+ /** Selector specifying which fields to include in a partial response. */
123837
+ fields?: string;
123838
+ /** 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. */
123839
+ key?: string;
123840
+ /** OAuth 2.0 token for the current user. */
123841
+ oauth_token?: string;
123842
+ /** Returns response with indentations and line breaks. */
123843
+ prettyPrint?: boolean;
123844
+ /** Project ID for this request. */
123845
+ project: string;
123846
+ /** 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. */
123847
+ quotaUser?: string;
123848
+ /** The name of the region for this request. */
123849
+ region: string;
123850
+ /** Name or id of the resource for this request. */
123851
+ resource: string;
123852
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
123853
+ upload_protocol?: string;
123854
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
123855
+ uploadType?: string;
123856
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
123857
+ userIp?: string;
123858
+ },
123859
+ body: RegionSetPolicyRequest,
123860
+ ): Request<Policy>;
123395
123861
  /** Returns permissions that a caller has on the specified resource. */
123396
123862
  testIamPermissions(
123397
123863
  request: {
@@ -129726,6 +130192,13 @@ declare namespace gapi.client {
129726
130192
  alt?: 'json' | 'media' | 'proto';
129727
130193
  /** JSONP */
129728
130194
  callback?: string;
130195
+ /**
130196
+ * ETag for optimistic concurrency control as described by AIP 154. Used to
130197
+ * prevent conflicting updates. If provided, the request will succeed only if
130198
+ * the etag matches the current etag of the router; otherwise, the request
130199
+ * fails with an ABORTED error.
130200
+ */
130201
+ etag?: string;
129729
130202
  /** Selector specifying which fields to include in a partial response. */
129730
130203
  fields?: string;
129731
130204
  /** 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. */
@@ -135734,6 +136207,42 @@ declare namespace gapi.client {
135734
136207
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
135735
136208
  userIp?: string;
135736
136209
  }): Request<SslPolicy>;
136210
+ /**
136211
+ * Gets the access control policy for a resource. May be empty if no such
136212
+ * policy or resource exists.
136213
+ */
136214
+ getIamPolicy(request?: {
136215
+ /** V1 error format. */
136216
+ '$.xgafv'?: '1' | '2';
136217
+ /** OAuth access token. */
136218
+ access_token?: string;
136219
+ /** Data format for response. */
136220
+ alt?: 'json' | 'media' | 'proto';
136221
+ /** JSONP */
136222
+ callback?: string;
136223
+ /** Selector specifying which fields to include in a partial response. */
136224
+ fields?: string;
136225
+ /** 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. */
136226
+ key?: string;
136227
+ /** OAuth 2.0 token for the current user. */
136228
+ oauth_token?: string;
136229
+ /** Requested IAM Policy version. */
136230
+ optionsRequestedPolicyVersion?: number;
136231
+ /** Returns response with indentations and line breaks. */
136232
+ prettyPrint?: boolean;
136233
+ /** Project ID for this request. */
136234
+ project: string;
136235
+ /** 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. */
136236
+ quotaUser?: string;
136237
+ /** Name or id of the resource for this request. */
136238
+ resource: string;
136239
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
136240
+ upload_protocol?: string;
136241
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
136242
+ uploadType?: string;
136243
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
136244
+ userIp?: string;
136245
+ }): Request<Policy>;
135737
136246
  /** Returns the specified SSL policy resource. */
135738
136247
  insert(request: {
135739
136248
  /** V1 error format. */
@@ -136192,6 +136701,43 @@ declare namespace gapi.client {
136192
136701
  },
136193
136702
  body: SslPolicy,
136194
136703
  ): Request<Operation>;
136704
+ /**
136705
+ * Sets the access control policy on the specified resource.
136706
+ * Replaces any existing policy.
136707
+ */
136708
+ setIamPolicy(
136709
+ request: {
136710
+ /** V1 error format. */
136711
+ '$.xgafv'?: '1' | '2';
136712
+ /** OAuth access token. */
136713
+ access_token?: string;
136714
+ /** Data format for response. */
136715
+ alt?: 'json' | 'media' | 'proto';
136716
+ /** JSONP */
136717
+ callback?: string;
136718
+ /** Selector specifying which fields to include in a partial response. */
136719
+ fields?: string;
136720
+ /** 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. */
136721
+ key?: string;
136722
+ /** OAuth 2.0 token for the current user. */
136723
+ oauth_token?: string;
136724
+ /** Returns response with indentations and line breaks. */
136725
+ prettyPrint?: boolean;
136726
+ /** Project ID for this request. */
136727
+ project: string;
136728
+ /** 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. */
136729
+ quotaUser?: string;
136730
+ /** Name or id of the resource for this request. */
136731
+ resource: string;
136732
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
136733
+ upload_protocol?: string;
136734
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
136735
+ uploadType?: string;
136736
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
136737
+ userIp?: string;
136738
+ },
136739
+ body: GlobalSetPolicyRequest,
136740
+ ): Request<Policy>;
136195
136741
  /** Returns permissions that a caller has on the specified resource. */
136196
136742
  testIamPermissions(
136197
136743
  request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.2.20260729",
3
+ "version": "0.2.20260807",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -187,6 +187,11 @@ Returns permissions that a caller has on the specified resource.
187
187
  */
188
188
  await gapi.client.compute.addresses.testIamPermissions({ project: "project", region: "region", resource: "resource", });
189
189
 
190
+ /*
191
+ Set a custom ptr domain name on regional address.
192
+ */
193
+ await gapi.client.compute.addresses.updatePublicPtr({ address: "address", project: "project", region: "region", });
194
+
190
195
  /*
191
196
  Advise how, where and when to create the requested amount of instances
192
197
  with specified accelerators, within the specified time and location limits.
@@ -5979,6 +5984,12 @@ Lists all of the ordered rules present in a single specified policy.
5979
5984
  */
5980
5985
  await gapi.client.compute.regionSslPolicies.get({ project: "project", region: "region", sslPolicy: "sslPolicy", });
5981
5986
 
5987
+ /*
5988
+ Gets the access control policy for a resource. May be empty if no such
5989
+ policy or resource exists.
5990
+ */
5991
+ await gapi.client.compute.regionSslPolicies.getIamPolicy({ project: "project", region: "region", resource: "resource", });
5992
+
5982
5993
  /*
5983
5994
  Creates a new policy in the specified project and region using the data
5984
5995
  included in the request.
@@ -6002,6 +6013,12 @@ Patches the specified SSL policy with the data included in the request.
6002
6013
  */
6003
6014
  await gapi.client.compute.regionSslPolicies.patch({ project: "project", region: "region", sslPolicy: "sslPolicy", });
6004
6015
 
6016
+ /*
6017
+ Sets the access control policy on the specified resource.
6018
+ Replaces any existing policy.
6019
+ */
6020
+ await gapi.client.compute.regionSslPolicies.setIamPolicy({ project: "project", region: "region", resource: "resource", });
6021
+
6005
6022
  /*
6006
6023
  Returns permissions that a caller has on the specified resource.
6007
6024
  */
@@ -6909,6 +6926,12 @@ Lists all of the ordered rules present in a single specified policy.
6909
6926
  */
6910
6927
  await gapi.client.compute.sslPolicies.get({ project: "project", sslPolicy: "sslPolicy", });
6911
6928
 
6929
+ /*
6930
+ Gets the access control policy for a resource. May be empty if no such
6931
+ policy or resource exists.
6932
+ */
6933
+ await gapi.client.compute.sslPolicies.getIamPolicy({ project: "project", resource: "resource", });
6934
+
6912
6935
  /*
6913
6936
  Returns the specified SSL policy resource.
6914
6937
  */
@@ -6931,6 +6954,12 @@ Patches the specified SSL policy with the data included in the request.
6931
6954
  */
6932
6955
  await gapi.client.compute.sslPolicies.patch({ project: "project", sslPolicy: "sslPolicy", });
6933
6956
 
6957
+ /*
6958
+ Sets the access control policy on the specified resource.
6959
+ Replaces any existing policy.
6960
+ */
6961
+ await gapi.client.compute.sslPolicies.setIamPolicy({ project: "project", resource: "resource", });
6962
+
6934
6963
  /*
6935
6964
  Returns permissions that a caller has on the specified resource.
6936
6965
  */