@maxim_mazurok/gapi.client.compute-v1 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 +542 -2
  2. package/package.json +1 -1
  3. package/readme.md +55 -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/v1/rest
12
- // Revision: 20251202
12
+ // Revision: 20251230
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2488,6 +2488,13 @@ declare namespace gapi.client {
2488
2488
  * This field can only be specified when the load balancing scheme is set toINTERNAL, or when the load balancing scheme is set toEXTERNAL and haPolicy fastIpMove is enabled.
2489
2489
  */
2490
2490
  network?: string;
2491
+ /**
2492
+ * Configures traffic steering properties of internal passthrough Network
2493
+ * Load Balancers.
2494
+ *
2495
+ * networkPassThroughLbTrafficPolicy cannot be specified with haPolicy.
2496
+ */
2497
+ networkPassThroughLbTrafficPolicy?: BackendServiceNetworkPassThroughLbTrafficPolicy;
2491
2498
  /**
2492
2499
  * Settings controlling the ejection of unhealthy backend endpoints from the
2493
2500
  * load balancing pool of each individual proxy instance that processes the
@@ -3322,6 +3329,46 @@ declare namespace gapi.client {
3322
3329
  */
3323
3330
  sampleRate?: number;
3324
3331
  }
3332
+ interface BackendServiceNetworkPassThroughLbTrafficPolicy {
3333
+ /**
3334
+ * When configured, new connections are load balanced across healthy backend
3335
+ * endpoints in the local zone.
3336
+ */
3337
+ zonalAffinity?: BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity;
3338
+ }
3339
+ interface BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity {
3340
+ /**
3341
+ * This field indicates whether zonal affinity is enabled or not. The
3342
+ * possible values are:
3343
+ *
3344
+ * - ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity
3345
+ * is disabled. The load balancer distributes new connections to all
3346
+ * healthy backend endpoints across all zones.
3347
+ * - ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is
3348
+ * enabled. The load balancer distributes new connections to all healthy
3349
+ * backend endpoints in the local zone only. If there are no healthy
3350
+ * backend endpoints in the local zone, the load balancer distributes
3351
+ * new connections to all backend endpoints in the local zone.
3352
+ * - ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is
3353
+ * enabled. The load balancer distributes new connections to all healthy
3354
+ * backend endpoints in the local zone only. If there aren't enough
3355
+ * healthy backend endpoints in the local zone, the load balancer
3356
+ * distributes new connections to all healthy backend endpoints across all
3357
+ * zones.
3358
+ */
3359
+ spillover?: string;
3360
+ /**
3361
+ * The value of the field must be in [0, 1]. When the ratio of the count
3362
+ * of healthy backend endpoints in a zone to the count of backend
3363
+ * endpoints in that same zone is equal to or above this threshold, the
3364
+ * load balancer distributes new connections to all healthy endpoints in
3365
+ * the local zone only. When the ratio of the count of healthy backend
3366
+ * endpoints in a zone to the count of backend endpoints in that same
3367
+ * zone is below this threshold, the load balancer distributes all new
3368
+ * connections to all healthy endpoints across all zones.
3369
+ */
3370
+ spilloverRatio?: number;
3371
+ }
3325
3372
  interface BackendServiceParams {
3326
3373
  /**
3327
3374
  * Tag keys/values directly bound to this resource.
@@ -6459,6 +6506,15 @@ declare namespace gapi.client {
6459
6506
  * Maximum number of destination CIDR IP ranges allowed is 5000.
6460
6507
  */
6461
6508
  destIpRanges?: string[];
6509
+ /**
6510
+ * Network context of the traffic destination. Allowed values are:
6511
+ *
6512
+ *
6513
+ * - UNSPECIFIED
6514
+ * - INTERNET
6515
+ * - NON_INTERNET
6516
+ */
6517
+ destNetworkContext?: string;
6462
6518
  /**
6463
6519
  * Network type of the traffic destination. Allowed values are:
6464
6520
  *
@@ -6498,6 +6554,17 @@ declare namespace gapi.client {
6498
6554
  * Maximum number of source CIDR IP ranges allowed is 5000.
6499
6555
  */
6500
6556
  srcIpRanges?: string[];
6557
+ /**
6558
+ * Network context of the traffic source. Allowed values are:
6559
+ *
6560
+ *
6561
+ * - UNSPECIFIED
6562
+ * - INTERNET
6563
+ * - INTRA_VPC
6564
+ * - NON_INTERNET
6565
+ * - VPC_NETWORKS
6566
+ */
6567
+ srcNetworkContext?: string;
6501
6568
  /** Networks of the traffic source. It can be either a full or partial url. */
6502
6569
  srcNetworks?: string[];
6503
6570
  /**
@@ -14917,6 +14984,11 @@ declare namespace gapi.client {
14917
14984
  * attached to a disk or image at a time.
14918
14985
  */
14919
14986
  osLicense?: boolean;
14987
+ /**
14988
+ * Input only. Additional params passed with the request, but not persisted
14989
+ * as part of resource payload.
14990
+ */
14991
+ params?: LicenseParams;
14920
14992
  /**
14921
14993
  * If true, this license can be removed from a disk's set of licenses, with no
14922
14994
  * replacement license needed.
@@ -14991,6 +15063,18 @@ declare namespace gapi.client {
14991
15063
  /** Output only. [Output Only] URL of license corresponding to this License Code. */
14992
15064
  selfLink?: string;
14993
15065
  }
15066
+ interface LicenseParams {
15067
+ /**
15068
+ * Input only. Resource manager tags to be bound to the license. Tag keys and values
15069
+ * have the same definition as resource
15070
+ * manager tags. Keys and values can be either in numeric format,
15071
+ * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
15072
+ * format such as `{org_id|project_id}/{tag_key_short_name}` and
15073
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
15074
+ * PATCH) when empty.
15075
+ */
15076
+ resourceManagerTags?: {[P in string]: string};
15077
+ }
14994
15078
  interface LicenseResourceCommitment {
14995
15079
  /** The number of licenses you plan to purchase. */
14996
15080
  amount?: string;
@@ -17179,6 +17263,8 @@ declare namespace gapi.client {
17179
17263
  * purposes are supported.
17180
17264
  */
17181
17265
  addressPurposes?: string[];
17266
+ /** Specifies whether address creation is allowed. */
17267
+ allowAddressCreation?: string;
17182
17268
  /**
17183
17269
  * Specifies whether alias IP ranges (and secondary address ranges) are
17184
17270
  * allowed.
@@ -17199,6 +17285,8 @@ declare namespace gapi.client {
17199
17285
  * interfaces connected to this VPC.
17200
17286
  */
17201
17287
  allowExternalIpAccess?: string;
17288
+ /** Specifies whether firewall policy can be attached to the network. */
17289
+ allowFirewallPolicy?: string;
17202
17290
  /** Specifies whether Cloud Interconnect creation is allowed. */
17203
17291
  allowInterconnect?: string;
17204
17292
  /** Specifies whether IP forwarding is allowed. */
@@ -17209,6 +17297,8 @@ declare namespace gapi.client {
17209
17297
  allowMulticast?: string;
17210
17298
  /** Specifies whether multi-nic in the same network is allowed. */
17211
17299
  allowMultiNicInSameNetwork?: string;
17300
+ /** Specifies whether multi-nic in the same subnetwork is allowed. */
17301
+ allowMultiNicInSameSubnetwork?: string;
17212
17302
  /** Specifies whether NCC is allowed. */
17213
17303
  allowNcc?: string;
17214
17304
  /** Specifies whether VM network migration is allowed. */
@@ -17225,10 +17315,15 @@ declare namespace gapi.client {
17225
17315
  allowStaticRoutes?: string;
17226
17316
  /** Specifies whether sub interfaces are allowed. */
17227
17317
  allowSubInterfaces?: string;
17318
+ /** Specifies whether subnetwork creation is allowed. */
17319
+ allowSubnetworkCreation?: string;
17320
+ /** Specifies whether VPC firewall rules can be created under the network. */
17321
+ allowVpcFirewallRules?: string;
17228
17322
  /** Specifies whether VPC peering is allowed. */
17229
17323
  allowVpcPeering?: string;
17230
17324
  /** Specifies whether VPN creation is allowed. */
17231
17325
  allowVpn?: string;
17326
+ firewallPolicyTypes?: string[];
17232
17327
  /**
17233
17328
  * If set, limits the interface types that the network supports. If
17234
17329
  * empty, all interface types are supported.
@@ -17236,6 +17331,10 @@ declare namespace gapi.client {
17236
17331
  interfaceTypes?: string[];
17237
17332
  /** Specifies which type of multicast is supported. */
17238
17333
  multicast?: string;
17334
+ /** Specifies a predefined internal IPv6 range for the network. */
17335
+ predefinedNetworkInternalIpv6Range?: string;
17336
+ /** Predefined subnetwork ranges for the network. */
17337
+ predefinedSubnetworkRanges?: NetworkProfileNetworkFeaturesPredefinedSubnetworkRange[];
17239
17338
  /** Specifies which subnetwork purposes are supported. */
17240
17339
  subnetPurposes?: string[];
17241
17340
  /** Specifies which subnetwork stack types are supported. */
@@ -17247,6 +17346,12 @@ declare namespace gapi.client {
17247
17346
  /** Specifies which type of unicast is supported. */
17248
17347
  unicast?: string;
17249
17348
  }
17349
+ interface NetworkProfileNetworkFeaturesPredefinedSubnetworkRange {
17350
+ /** The IPv6 range of the predefined subnetwork. */
17351
+ ipv6Range?: string;
17352
+ /** The naming prefix of the predefined subnetwork. */
17353
+ namePrefix?: string;
17354
+ }
17250
17355
  interface NetworkProfileProfileType {
17251
17356
  networkType?: string;
17252
17357
  rdmaSubtype?: string;
@@ -21265,6 +21370,11 @@ declare namespace gapi.client {
21265
21370
  * reservation block.
21266
21371
  */
21267
21372
  inUseCount?: number;
21373
+ /**
21374
+ * Output only. Number of hosts currently in use. If there is one or more Instances running
21375
+ * on the host, it is considered in use.
21376
+ */
21377
+ inUseHostCount?: number;
21268
21378
  /** Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks. */
21269
21379
  kind?: string;
21270
21380
  /**
@@ -21521,6 +21631,11 @@ declare namespace gapi.client {
21521
21631
  * reservation subBlock.
21522
21632
  */
21523
21633
  inUseCount?: number;
21634
+ /**
21635
+ * Output only. Number of hosts currently in use. If there is one or more Instances running
21636
+ * on the host, it is considered in use.
21637
+ */
21638
+ inUseHostCount?: number;
21524
21639
  /** Output only. [Output Only] Type of the resource. Alwayscompute#reservationSubBlock for reservation subBlocks. */
21525
21640
  kind?: string;
21526
21641
  /**
@@ -25636,6 +25751,8 @@ declare namespace gapi.client {
25636
25751
  minCpuPlatform?: string;
25637
25752
  /** An array of network access configurations for this interface. */
25638
25753
  networkInterfaces?: NetworkInterface[];
25754
+ /** PostKeyRevocationActionType of the instance. */
25755
+ postKeyRevocationActionType?: string;
25639
25756
  /**
25640
25757
  * Specifies the scheduling options for the instances that are created from
25641
25758
  * this machine image.
@@ -26293,6 +26410,8 @@ declare namespace gapi.client {
26293
26410
  * create the resource.
26294
26411
  */
26295
26412
  description?: string;
26413
+ /** Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB */
26414
+ exapoolProvisionedCapacityGb?: StoragePoolExapoolProvisionedCapacityGb;
26296
26415
  /**
26297
26416
  * Output only. [Output Only] The unique identifier for the resource. This identifier is
26298
26417
  * defined by the server.
@@ -26330,6 +26449,11 @@ declare namespace gapi.client {
26330
26449
  * the last character, which cannot be a dash.
26331
26450
  */
26332
26451
  name?: string;
26452
+ /**
26453
+ * Input only. Additional params passed with the request, but not persisted
26454
+ * as part of resource payload.
26455
+ */
26456
+ params?: StoragePoolParams;
26333
26457
  /**
26334
26458
  * Provisioning type of the performance-related parameters of the pool,
26335
26459
  * such as throughput and IOPS.
@@ -26467,6 +26591,14 @@ declare namespace gapi.client {
26467
26591
  /** Output only. [Output Only] Amount of disk space used. */
26468
26592
  usedBytes?: string;
26469
26593
  }
26594
+ interface StoragePoolExapoolProvisionedCapacityGb {
26595
+ /** Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool */
26596
+ capacityOptimized?: string;
26597
+ /** Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool */
26598
+ readOptimized?: string;
26599
+ /** Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool */
26600
+ writeOptimized?: string;
26601
+ }
26470
26602
  interface StoragePoolList {
26471
26603
  etag?: string;
26472
26604
  /** [Output Only] Unique identifier for the resource; defined by the server. */
@@ -26591,9 +26723,35 @@ declare namespace gapi.client {
26591
26723
  message?: string;
26592
26724
  };
26593
26725
  }
26726
+ interface StoragePoolParams {
26727
+ /**
26728
+ * Input only. Resource manager tags to be bound to the storage pool. Tag keys and values
26729
+ * have the same definition as resource
26730
+ * manager tags. Keys and values can be either in numeric format,
26731
+ * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
26732
+ * format such as `{org_id|project_id}/{tag_key_short_name}` and
26733
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
26734
+ * PATCH) when empty.
26735
+ */
26736
+ resourceManagerTags?: {[P in string]: string};
26737
+ }
26594
26738
  interface StoragePoolResourceStatus {
26595
26739
  /** [Output Only] Number of disks used. */
26596
26740
  diskCount?: string;
26741
+ /** Output only. [Output Only] Maximum allowed read IOPS for this Exapool. */
26742
+ exapoolMaxReadIops?: string;
26743
+ /**
26744
+ * Output only. [Output Only] Maximum allowed read throughput in MiB/s for
26745
+ * this Exapool.
26746
+ */
26747
+ exapoolMaxReadThroughput?: string;
26748
+ /** Output only. [Output Only] Maximum allowed write IOPS for this Exapool. */
26749
+ exapoolMaxWriteIops?: string;
26750
+ /**
26751
+ * Output only. [Output Only] Maximum allowed write throughput in MiB/s
26752
+ * for this Exapool.
26753
+ */
26754
+ exapoolMaxWriteThroughput?: string;
26597
26755
  /** Output only. [Output Only] Timestamp of the last successful resize inRFC3339 text format. */
26598
26756
  lastResizeTimestamp?: string;
26599
26757
  /** [Output Only] Maximum allowed aggregate disk size in GiB. */
@@ -26914,7 +27072,7 @@ declare namespace gapi.client {
26914
27072
  * explicitly set, it will not appear in get listings. If not set
26915
27073
  * the default behavior is determined by the org policy, if there is no org
26916
27074
  * policy specified, then it will default to disabled. This field isn't
26917
- * supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY.
27075
+ * supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY. It is recommended to uselogConfig.enable field instead.
26918
27076
  */
26919
27077
  enableFlowLogs?: boolean;
26920
27078
  /**
@@ -32851,6 +33009,42 @@ declare namespace gapi.client {
32851
33009
  },
32852
33010
  body: Autoscaler,
32853
33011
  ): Request<Operation>;
33012
+ /** Returns permissions that a caller has on the specified resource. */
33013
+ testIamPermissions(
33014
+ request: {
33015
+ /** V1 error format. */
33016
+ '$.xgafv'?: string;
33017
+ /** OAuth access token. */
33018
+ access_token?: string;
33019
+ /** Data format for response. */
33020
+ alt?: string;
33021
+ /** JSONP */
33022
+ callback?: string;
33023
+ /** Selector specifying which fields to include in a partial response. */
33024
+ fields?: string;
33025
+ /** 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. */
33026
+ key?: string;
33027
+ /** OAuth 2.0 token for the current user. */
33028
+ oauth_token?: string;
33029
+ /** Returns response with indentations and line breaks. */
33030
+ prettyPrint?: boolean;
33031
+ /** Project ID for this request. */
33032
+ project: string;
33033
+ /** 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. */
33034
+ quotaUser?: string;
33035
+ /** Name or id of the resource for this request. */
33036
+ resource: string;
33037
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33038
+ upload_protocol?: string;
33039
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33040
+ uploadType?: string;
33041
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
33042
+ userIp?: string;
33043
+ /** The name of the zone for this request. */
33044
+ zone: string;
33045
+ },
33046
+ body: TestPermissionsRequest,
33047
+ ): Request<TestPermissionsResponse>;
32854
33048
  /**
32855
33049
  * Updates an autoscaler in the specified project using the data
32856
33050
  * included in the request.
@@ -44173,6 +44367,40 @@ declare namespace gapi.client {
44173
44367
  },
44174
44368
  body: HealthCheck,
44175
44369
  ): Request<Operation>;
44370
+ /** Returns permissions that a caller has on the specified resource. */
44371
+ testIamPermissions(
44372
+ request: {
44373
+ /** V1 error format. */
44374
+ '$.xgafv'?: string;
44375
+ /** OAuth access token. */
44376
+ access_token?: string;
44377
+ /** Data format for response. */
44378
+ alt?: string;
44379
+ /** JSONP */
44380
+ callback?: string;
44381
+ /** Selector specifying which fields to include in a partial response. */
44382
+ fields?: string;
44383
+ /** 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. */
44384
+ key?: string;
44385
+ /** OAuth 2.0 token for the current user. */
44386
+ oauth_token?: string;
44387
+ /** Returns response with indentations and line breaks. */
44388
+ prettyPrint?: boolean;
44389
+ /** Project ID for this request. */
44390
+ project: string;
44391
+ /** 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. */
44392
+ quotaUser?: string;
44393
+ /** Name or id of the resource for this request. */
44394
+ resource: string;
44395
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44396
+ upload_protocol?: string;
44397
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44398
+ uploadType?: string;
44399
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
44400
+ userIp?: string;
44401
+ },
44402
+ body: TestPermissionsRequest,
44403
+ ): Request<TestPermissionsResponse>;
44176
44404
  /**
44177
44405
  * Updates a HealthCheck resource in the specified project using the data
44178
44406
  * included in the request.
@@ -44684,6 +44912,40 @@ declare namespace gapi.client {
44684
44912
  },
44685
44913
  body: HttpHealthCheck,
44686
44914
  ): Request<Operation>;
44915
+ /** Returns permissions that a caller has on the specified resource. */
44916
+ testIamPermissions(
44917
+ request: {
44918
+ /** V1 error format. */
44919
+ '$.xgafv'?: string;
44920
+ /** OAuth access token. */
44921
+ access_token?: string;
44922
+ /** Data format for response. */
44923
+ alt?: string;
44924
+ /** JSONP */
44925
+ callback?: string;
44926
+ /** Selector specifying which fields to include in a partial response. */
44927
+ fields?: string;
44928
+ /** 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. */
44929
+ key?: string;
44930
+ /** OAuth 2.0 token for the current user. */
44931
+ oauth_token?: string;
44932
+ /** Returns response with indentations and line breaks. */
44933
+ prettyPrint?: boolean;
44934
+ /** Project ID for this request. */
44935
+ project: string;
44936
+ /** 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. */
44937
+ quotaUser?: string;
44938
+ /** Name or id of the resource for this request. */
44939
+ resource: string;
44940
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44941
+ upload_protocol?: string;
44942
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44943
+ uploadType?: string;
44944
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
44945
+ userIp?: string;
44946
+ },
44947
+ body: TestPermissionsRequest,
44948
+ ): Request<TestPermissionsResponse>;
44687
44949
  /**
44688
44950
  * Updates a HttpHealthCheck resource in the specified project using the data
44689
44951
  * included in the request.
@@ -45195,6 +45457,40 @@ declare namespace gapi.client {
45195
45457
  },
45196
45458
  body: HttpsHealthCheck,
45197
45459
  ): Request<Operation>;
45460
+ /** Returns permissions that a caller has on the specified resource. */
45461
+ testIamPermissions(
45462
+ request: {
45463
+ /** V1 error format. */
45464
+ '$.xgafv'?: string;
45465
+ /** OAuth access token. */
45466
+ access_token?: string;
45467
+ /** Data format for response. */
45468
+ alt?: string;
45469
+ /** JSONP */
45470
+ callback?: string;
45471
+ /** Selector specifying which fields to include in a partial response. */
45472
+ fields?: string;
45473
+ /** 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. */
45474
+ key?: string;
45475
+ /** OAuth 2.0 token for the current user. */
45476
+ oauth_token?: string;
45477
+ /** Returns response with indentations and line breaks. */
45478
+ prettyPrint?: boolean;
45479
+ /** Project ID for this request. */
45480
+ project: string;
45481
+ /** 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. */
45482
+ quotaUser?: string;
45483
+ /** Name or id of the resource for this request. */
45484
+ resource: string;
45485
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
45486
+ upload_protocol?: string;
45487
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
45488
+ uploadType?: string;
45489
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
45490
+ userIp?: string;
45491
+ },
45492
+ body: TestPermissionsRequest,
45493
+ ): Request<TestPermissionsResponse>;
45198
45494
  /**
45199
45495
  * Updates a HttpsHealthCheck resource in the specified project using the data
45200
45496
  * included in the request.
@@ -72174,6 +72470,42 @@ declare namespace gapi.client {
72174
72470
  },
72175
72471
  body: Autoscaler,
72176
72472
  ): Request<Operation>;
72473
+ /** Returns permissions that a caller has on the specified resource. */
72474
+ testIamPermissions(
72475
+ request: {
72476
+ /** V1 error format. */
72477
+ '$.xgafv'?: string;
72478
+ /** OAuth access token. */
72479
+ access_token?: string;
72480
+ /** Data format for response. */
72481
+ alt?: string;
72482
+ /** JSONP */
72483
+ callback?: string;
72484
+ /** Selector specifying which fields to include in a partial response. */
72485
+ fields?: string;
72486
+ /** 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. */
72487
+ key?: string;
72488
+ /** OAuth 2.0 token for the current user. */
72489
+ oauth_token?: string;
72490
+ /** Returns response with indentations and line breaks. */
72491
+ prettyPrint?: boolean;
72492
+ /** Project ID for this request. */
72493
+ project: string;
72494
+ /** 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. */
72495
+ quotaUser?: string;
72496
+ /** The name of the region for this request. */
72497
+ region: string;
72498
+ /** Name or id of the resource for this request. */
72499
+ resource: string;
72500
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
72501
+ upload_protocol?: string;
72502
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
72503
+ uploadType?: string;
72504
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
72505
+ userIp?: string;
72506
+ },
72507
+ body: TestPermissionsRequest,
72508
+ ): Request<TestPermissionsResponse>;
72177
72509
  /**
72178
72510
  * Updates an autoscaler in the specified project using
72179
72511
  * the data included in the request.
@@ -75741,6 +76073,42 @@ declare namespace gapi.client {
75741
76073
  },
75742
76074
  body: HealthCheck,
75743
76075
  ): Request<Operation>;
76076
+ /** Returns permissions that a caller has on the specified resource. */
76077
+ testIamPermissions(
76078
+ request: {
76079
+ /** V1 error format. */
76080
+ '$.xgafv'?: string;
76081
+ /** OAuth access token. */
76082
+ access_token?: string;
76083
+ /** Data format for response. */
76084
+ alt?: string;
76085
+ /** JSONP */
76086
+ callback?: string;
76087
+ /** Selector specifying which fields to include in a partial response. */
76088
+ fields?: string;
76089
+ /** 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. */
76090
+ key?: string;
76091
+ /** OAuth 2.0 token for the current user. */
76092
+ oauth_token?: string;
76093
+ /** Returns response with indentations and line breaks. */
76094
+ prettyPrint?: boolean;
76095
+ /** Project ID for this request. */
76096
+ project: string;
76097
+ /** 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. */
76098
+ quotaUser?: string;
76099
+ /** The name of the region for this request. */
76100
+ region: string;
76101
+ /** Name or id of the resource for this request. */
76102
+ resource: string;
76103
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
76104
+ upload_protocol?: string;
76105
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
76106
+ uploadType?: string;
76107
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
76108
+ userIp?: string;
76109
+ },
76110
+ body: TestPermissionsRequest,
76111
+ ): Request<TestPermissionsResponse>;
75744
76112
  /**
75745
76113
  * Updates a HealthCheck resource in the specified project using the data
75746
76114
  * included in the request.
@@ -82402,6 +82770,42 @@ declare namespace gapi.client {
82402
82770
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
82403
82771
  userIp?: string;
82404
82772
  }): Request<NotificationEndpointList>;
82773
+ /** Returns permissions that a caller has on the specified resource. */
82774
+ testIamPermissions(
82775
+ request: {
82776
+ /** V1 error format. */
82777
+ '$.xgafv'?: string;
82778
+ /** OAuth access token. */
82779
+ access_token?: string;
82780
+ /** Data format for response. */
82781
+ alt?: string;
82782
+ /** JSONP */
82783
+ callback?: string;
82784
+ /** Selector specifying which fields to include in a partial response. */
82785
+ fields?: string;
82786
+ /** 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. */
82787
+ key?: string;
82788
+ /** OAuth 2.0 token for the current user. */
82789
+ oauth_token?: string;
82790
+ /** Returns response with indentations and line breaks. */
82791
+ prettyPrint?: boolean;
82792
+ /** Project ID for this request. */
82793
+ project: string;
82794
+ /** 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. */
82795
+ quotaUser?: string;
82796
+ /** The name of the region for this request. */
82797
+ region: string;
82798
+ /** Name or id of the resource for this request. */
82799
+ resource: string;
82800
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
82801
+ upload_protocol?: string;
82802
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
82803
+ uploadType?: string;
82804
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
82805
+ userIp?: string;
82806
+ },
82807
+ body: TestPermissionsRequest,
82808
+ ): Request<TestPermissionsResponse>;
82405
82809
  }
82406
82810
  interface RegionOperationsResource {
82407
82811
  /** Deletes the specified region-specific Operations resource. */
@@ -90814,6 +91218,40 @@ declare namespace gapi.client {
90814
91218
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
90815
91219
  userIp?: string;
90816
91220
  }): Request<RouteList>;
91221
+ /** Returns permissions that a caller has on the specified resource. */
91222
+ testIamPermissions(
91223
+ request: {
91224
+ /** V1 error format. */
91225
+ '$.xgafv'?: string;
91226
+ /** OAuth access token. */
91227
+ access_token?: string;
91228
+ /** Data format for response. */
91229
+ alt?: string;
91230
+ /** JSONP */
91231
+ callback?: string;
91232
+ /** Selector specifying which fields to include in a partial response. */
91233
+ fields?: string;
91234
+ /** 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. */
91235
+ key?: string;
91236
+ /** OAuth 2.0 token for the current user. */
91237
+ oauth_token?: string;
91238
+ /** Returns response with indentations and line breaks. */
91239
+ prettyPrint?: boolean;
91240
+ /** Project ID for this request. */
91241
+ project: string;
91242
+ /** 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. */
91243
+ quotaUser?: string;
91244
+ /** Name or id of the resource for this request. */
91245
+ resource: string;
91246
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
91247
+ upload_protocol?: string;
91248
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
91249
+ uploadType?: string;
91250
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
91251
+ userIp?: string;
91252
+ },
91253
+ body: TestPermissionsRequest,
91254
+ ): Request<TestPermissionsResponse>;
90817
91255
  }
90818
91256
  interface SecurityPoliciesResource {
90819
91257
  /** Inserts a rule into a security policy. */
@@ -101195,6 +101633,40 @@ declare namespace gapi.client {
101195
101633
  },
101196
101634
  body: SslPolicyReference,
101197
101635
  ): Request<Operation>;
101636
+ /** Returns permissions that a caller has on the specified resource. */
101637
+ testIamPermissions(
101638
+ request: {
101639
+ /** V1 error format. */
101640
+ '$.xgafv'?: string;
101641
+ /** OAuth access token. */
101642
+ access_token?: string;
101643
+ /** Data format for response. */
101644
+ alt?: string;
101645
+ /** JSONP */
101646
+ callback?: string;
101647
+ /** Selector specifying which fields to include in a partial response. */
101648
+ fields?: string;
101649
+ /** 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. */
101650
+ key?: string;
101651
+ /** OAuth 2.0 token for the current user. */
101652
+ oauth_token?: string;
101653
+ /** Returns response with indentations and line breaks. */
101654
+ prettyPrint?: boolean;
101655
+ /** Project ID for this request. */
101656
+ project: string;
101657
+ /** 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. */
101658
+ quotaUser?: string;
101659
+ /** Name or id of the resource for this request. */
101660
+ resource: string;
101661
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
101662
+ upload_protocol?: string;
101663
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
101664
+ uploadType?: string;
101665
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
101666
+ userIp?: string;
101667
+ },
101668
+ body: TestPermissionsRequest,
101669
+ ): Request<TestPermissionsResponse>;
101198
101670
  }
101199
101671
  interface TargetTcpProxiesResource {
101200
101672
  /**
@@ -101852,6 +102324,40 @@ declare namespace gapi.client {
101852
102324
  },
101853
102325
  body: TargetTcpProxiesSetProxyHeaderRequest,
101854
102326
  ): Request<Operation>;
102327
+ /** Returns permissions that a caller has on the specified resource. */
102328
+ testIamPermissions(
102329
+ request: {
102330
+ /** V1 error format. */
102331
+ '$.xgafv'?: string;
102332
+ /** OAuth access token. */
102333
+ access_token?: string;
102334
+ /** Data format for response. */
102335
+ alt?: string;
102336
+ /** JSONP */
102337
+ callback?: string;
102338
+ /** Selector specifying which fields to include in a partial response. */
102339
+ fields?: string;
102340
+ /** 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. */
102341
+ key?: string;
102342
+ /** OAuth 2.0 token for the current user. */
102343
+ oauth_token?: string;
102344
+ /** Returns response with indentations and line breaks. */
102345
+ prettyPrint?: boolean;
102346
+ /** Project ID for this request. */
102347
+ project: string;
102348
+ /** 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. */
102349
+ quotaUser?: string;
102350
+ /** Name or id of the resource for this request. */
102351
+ resource: string;
102352
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
102353
+ upload_protocol?: string;
102354
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
102355
+ uploadType?: string;
102356
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
102357
+ userIp?: string;
102358
+ },
102359
+ body: TestPermissionsRequest,
102360
+ ): Request<TestPermissionsResponse>;
101855
102361
  }
101856
102362
  interface TargetVpnGatewaysResource {
101857
102363
  /**
@@ -103033,6 +103539,40 @@ declare namespace gapi.client {
103033
103539
  },
103034
103540
  body: UrlMap,
103035
103541
  ): Request<Operation>;
103542
+ /** Returns permissions that a caller has on the specified resource. */
103543
+ testIamPermissions(
103544
+ request: {
103545
+ /** V1 error format. */
103546
+ '$.xgafv'?: string;
103547
+ /** OAuth access token. */
103548
+ access_token?: string;
103549
+ /** Data format for response. */
103550
+ alt?: string;
103551
+ /** JSONP */
103552
+ callback?: string;
103553
+ /** Selector specifying which fields to include in a partial response. */
103554
+ fields?: string;
103555
+ /** 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. */
103556
+ key?: string;
103557
+ /** OAuth 2.0 token for the current user. */
103558
+ oauth_token?: string;
103559
+ /** Returns response with indentations and line breaks. */
103560
+ prettyPrint?: boolean;
103561
+ /** Project ID for this request. */
103562
+ project: string;
103563
+ /** 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. */
103564
+ quotaUser?: string;
103565
+ /** Name or id of the resource for this request. */
103566
+ resource: string;
103567
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
103568
+ upload_protocol?: string;
103569
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
103570
+ uploadType?: string;
103571
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
103572
+ userIp?: string;
103573
+ },
103574
+ body: TestPermissionsRequest,
103575
+ ): Request<TestPermissionsResponse>;
103036
103576
  /**
103037
103577
  * Updates the specified UrlMap resource with the data included in the
103038
103578
  * request.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-v1",
3
- "version": "0.1.20251202",
3
+ "version": "0.1.20251230",
4
4
  "description": "TypeScript typings for Compute Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -196,6 +196,11 @@ patch format and processing rules.
196
196
  */
197
197
  await gapi.client.compute.autoscalers.patch({ project: "project", zone: "zone", });
198
198
 
199
+ /*
200
+ Returns permissions that a caller has on the specified resource.
201
+ */
202
+ await gapi.client.compute.autoscalers.testIamPermissions({ project: "project", resource: "resource", zone: "zone", });
203
+
199
204
  /*
200
205
  Updates an autoscaler in the specified project using the data
201
206
  included in the request.
@@ -1065,6 +1070,11 @@ patch format and processing rules.
1065
1070
  */
1066
1071
  await gapi.client.compute.healthChecks.patch({ healthCheck: "healthCheck", project: "project", });
1067
1072
 
1073
+ /*
1074
+ Returns permissions that a caller has on the specified resource.
1075
+ */
1076
+ await gapi.client.compute.healthChecks.testIamPermissions({ project: "project", resource: "resource", });
1077
+
1068
1078
  /*
1069
1079
  Updates a HealthCheck resource in the specified project using the data
1070
1080
  included in the request.
@@ -1101,6 +1111,11 @@ patch format and processing rules.
1101
1111
  */
1102
1112
  await gapi.client.compute.httpHealthChecks.patch({ httpHealthCheck: "httpHealthCheck", project: "project", });
1103
1113
 
1114
+ /*
1115
+ Returns permissions that a caller has on the specified resource.
1116
+ */
1117
+ await gapi.client.compute.httpHealthChecks.testIamPermissions({ project: "project", resource: "resource", });
1118
+
1104
1119
  /*
1105
1120
  Updates a HttpHealthCheck resource in the specified project using the data
1106
1121
  included in the request.
@@ -1137,6 +1152,11 @@ patch format and processing rules.
1137
1152
  */
1138
1153
  await gapi.client.compute.httpsHealthChecks.patch({ httpsHealthCheck: "httpsHealthCheck", project: "project", });
1139
1154
 
1155
+ /*
1156
+ Returns permissions that a caller has on the specified resource.
1157
+ */
1158
+ await gapi.client.compute.httpsHealthChecks.testIamPermissions({ project: "project", resource: "resource", });
1159
+
1140
1160
  /*
1141
1161
  Updates a HttpsHealthCheck resource in the specified project using the data
1142
1162
  included in the request.
@@ -3423,6 +3443,11 @@ patch format and processing rules.
3423
3443
  */
3424
3444
  await gapi.client.compute.regionAutoscalers.patch({ project: "project", region: "region", });
3425
3445
 
3446
+ /*
3447
+ Returns permissions that a caller has on the specified resource.
3448
+ */
3449
+ await gapi.client.compute.regionAutoscalers.testIamPermissions({ project: "project", region: "region", resource: "resource", });
3450
+
3426
3451
  /*
3427
3452
  Updates an autoscaler in the specified project using
3428
3453
  the data included in the request.
@@ -3680,6 +3705,11 @@ patch format and processing rules.
3680
3705
  */
3681
3706
  await gapi.client.compute.regionHealthChecks.patch({ healthCheck: "healthCheck", project: "project", region: "region", });
3682
3707
 
3708
+ /*
3709
+ Returns permissions that a caller has on the specified resource.
3710
+ */
3711
+ await gapi.client.compute.regionHealthChecks.testIamPermissions({ project: "project", region: "region", resource: "resource", });
3712
+
3683
3713
  /*
3684
3714
  Updates a HealthCheck resource in the specified project using the data
3685
3715
  included in the request.
@@ -4261,6 +4291,11 @@ Lists the NotificationEndpoints for a project in the given region.
4261
4291
  */
4262
4292
  await gapi.client.compute.regionNotificationEndpoints.list({ project: "project", region: "region", });
4263
4293
 
4294
+ /*
4295
+ Returns permissions that a caller has on the specified resource.
4296
+ */
4297
+ await gapi.client.compute.regionNotificationEndpoints.testIamPermissions({ project: "project", region: "region", resource: "resource", });
4298
+
4264
4299
  /*
4265
4300
  Deletes the specified region-specific Operations resource.
4266
4301
  */
@@ -4900,6 +4935,11 @@ Retrieves the list of Route resources available to the specified project.
4900
4935
  */
4901
4936
  await gapi.client.compute.routes.list({ project: "project", });
4902
4937
 
4938
+ /*
4939
+ Returns permissions that a caller has on the specified resource.
4940
+ */
4941
+ await gapi.client.compute.routes.testIamPermissions({ project: "project", resource: "resource", });
4942
+
4903
4943
  /*
4904
4944
  Inserts a rule into a security policy.
4905
4945
  */
@@ -5629,6 +5669,11 @@ connection between the load balancer and the backends.
5629
5669
  */
5630
5670
  await gapi.client.compute.targetSslProxies.setSslPolicy({ project: "project", targetSslProxy: "targetSslProxy", });
5631
5671
 
5672
+ /*
5673
+ Returns permissions that a caller has on the specified resource.
5674
+ */
5675
+ await gapi.client.compute.targetSslProxies.testIamPermissions({ project: "project", resource: "resource", });
5676
+
5632
5677
  /*
5633
5678
  Retrieves the list of all TargetTcpProxy resources, regional and global,
5634
5679
  available to the specified project.
@@ -5670,6 +5715,11 @@ Changes the ProxyHeaderType for TargetTcpProxy.
5670
5715
  */
5671
5716
  await gapi.client.compute.targetTcpProxies.setProxyHeader({ project: "project", targetTcpProxy: "targetTcpProxy", });
5672
5717
 
5718
+ /*
5719
+ Returns permissions that a caller has on the specified resource.
5720
+ */
5721
+ await gapi.client.compute.targetTcpProxies.testIamPermissions({ project: "project", resource: "resource", });
5722
+
5673
5723
  /*
5674
5724
  Retrieves an aggregated list of target VPN gateways.
5675
5725
 
@@ -5754,6 +5804,11 @@ patch format and processing rules.
5754
5804
  */
5755
5805
  await gapi.client.compute.urlMaps.patch({ project: "project", urlMap: "urlMap", });
5756
5806
 
5807
+ /*
5808
+ Returns permissions that a caller has on the specified resource.
5809
+ */
5810
+ await gapi.client.compute.urlMaps.testIamPermissions({ project: "project", resource: "resource", });
5811
+
5757
5812
  /*
5758
5813
  Updates the specified UrlMap resource with the data included in the
5759
5814
  request.