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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +558 -1
  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: 20251210
12
+ // Revision: 20260106
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.
@@ -3727,6 +3774,8 @@ declare namespace gapi.client {
3727
3774
  interface BulkInsertInstanceResource {
3728
3775
  /** The maximum number of instances to create. */
3729
3776
  count?: string;
3777
+ /** A flexible specification of machine type of instances to create. */
3778
+ instanceFlexibilityPolicy?: InstanceFlexibilityPolicy;
3730
3779
  /**
3731
3780
  * The instance properties defining the VM instances to be created. Required
3732
3781
  * if sourceInstanceTemplate is not provided.
@@ -6459,6 +6508,15 @@ declare namespace gapi.client {
6459
6508
  * Maximum number of destination CIDR IP ranges allowed is 5000.
6460
6509
  */
6461
6510
  destIpRanges?: string[];
6511
+ /**
6512
+ * Network context of the traffic destination. Allowed values are:
6513
+ *
6514
+ *
6515
+ * - UNSPECIFIED
6516
+ * - INTERNET
6517
+ * - NON_INTERNET
6518
+ */
6519
+ destNetworkContext?: string;
6462
6520
  /**
6463
6521
  * Network type of the traffic destination. Allowed values are:
6464
6522
  *
@@ -6498,6 +6556,17 @@ declare namespace gapi.client {
6498
6556
  * Maximum number of source CIDR IP ranges allowed is 5000.
6499
6557
  */
6500
6558
  srcIpRanges?: string[];
6559
+ /**
6560
+ * Network context of the traffic source. Allowed values are:
6561
+ *
6562
+ *
6563
+ * - UNSPECIFIED
6564
+ * - INTERNET
6565
+ * - INTRA_VPC
6566
+ * - NON_INTERNET
6567
+ * - VPC_NETWORKS
6568
+ */
6569
+ srcNetworkContext?: string;
6501
6570
  /** Networks of the traffic source. It can be either a full or partial url. */
6502
6571
  srcNetworks?: string[];
6503
6572
  /**
@@ -10149,6 +10218,44 @@ declare namespace gapi.client {
10149
10218
  /** Output only. The minimal guaranteed number of virtual CPUs that are reserved. */
10150
10219
  minNodeCpus?: number;
10151
10220
  }
10221
+ interface InstanceFlexibilityPolicy {
10222
+ /**
10223
+ * Specification of alternative, flexible instance subsets.
10224
+ * One of them will be selected to create the instances
10225
+ * based on various criteria, like:
10226
+ * - ranks,
10227
+ * - location policy,
10228
+ * - current capacity,
10229
+ * - available reservations (you can specify affinity in
10230
+ * InstanceProperties),
10231
+ * - SWAN/GOOSE limitations.
10232
+ * Key is an arbitrary, unique RFC1035 string that identifies the instance
10233
+ * selection.
10234
+ */
10235
+ instanceSelections?: {
10236
+ [P in string]: InstanceFlexibilityPolicyInstanceSelection;
10237
+ };
10238
+ }
10239
+ interface InstanceFlexibilityPolicyInstanceSelection {
10240
+ /**
10241
+ * Disks to be attached to the instances created from in this selection.
10242
+ * They override the disks specified in the instance properties.
10243
+ */
10244
+ disks?: AttachedDisk[];
10245
+ /**
10246
+ * Alternative machine types to use for instances that are created from
10247
+ * these properties. This field only accepts a machine type names, for
10248
+ * example `n2-standard-4` and not URLs or partial URLs.
10249
+ */
10250
+ machineTypes?: string[];
10251
+ /**
10252
+ * Rank when prioritizing the shape flexibilities.
10253
+ * The instance selections with rank are considered
10254
+ * first, in the ascending order of the rank.
10255
+ * If not set, defaults to 0.
10256
+ */
10257
+ rank?: string;
10258
+ }
10152
10259
  interface InstanceGroup {
10153
10260
  /**
10154
10261
  * Output only. [Output Only] The creation timestamp for this instance group inRFC3339
@@ -12910,6 +13017,7 @@ declare namespace gapi.client {
12910
13017
  * - BPS_20G: 20 Gbit/s
12911
13018
  * - BPS_50G: 50 Gbit/s
12912
13019
  * - BPS_100G: 100 Gbit/s
13020
+ * - BPS_400G: 400 Gbit/s
12913
13021
  */
12914
13022
  bandwidth?: string;
12915
13023
  /**
@@ -14917,6 +15025,11 @@ declare namespace gapi.client {
14917
15025
  * attached to a disk or image at a time.
14918
15026
  */
14919
15027
  osLicense?: boolean;
15028
+ /**
15029
+ * Input only. Additional params passed with the request, but not persisted
15030
+ * as part of resource payload.
15031
+ */
15032
+ params?: LicenseParams;
14920
15033
  /**
14921
15034
  * If true, this license can be removed from a disk's set of licenses, with no
14922
15035
  * replacement license needed.
@@ -14991,6 +15104,18 @@ declare namespace gapi.client {
14991
15104
  /** Output only. [Output Only] URL of license corresponding to this License Code. */
14992
15105
  selfLink?: string;
14993
15106
  }
15107
+ interface LicenseParams {
15108
+ /**
15109
+ * Input only. Resource manager tags to be bound to the license. Tag keys and values
15110
+ * have the same definition as resource
15111
+ * manager tags. Keys and values can be either in numeric format,
15112
+ * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
15113
+ * format such as `{org_id|project_id}/{tag_key_short_name}` and
15114
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
15115
+ * PATCH) when empty.
15116
+ */
15117
+ resourceManagerTags?: {[P in string]: string};
15118
+ }
14994
15119
  interface LicenseResourceCommitment {
14995
15120
  /** The number of licenses you plan to purchase. */
14996
15121
  amount?: string;
@@ -17179,6 +17304,8 @@ declare namespace gapi.client {
17179
17304
  * purposes are supported.
17180
17305
  */
17181
17306
  addressPurposes?: string[];
17307
+ /** Specifies whether address creation is allowed. */
17308
+ allowAddressCreation?: string;
17182
17309
  /**
17183
17310
  * Specifies whether alias IP ranges (and secondary address ranges) are
17184
17311
  * allowed.
@@ -17199,6 +17326,8 @@ declare namespace gapi.client {
17199
17326
  * interfaces connected to this VPC.
17200
17327
  */
17201
17328
  allowExternalIpAccess?: string;
17329
+ /** Specifies whether firewall policy can be attached to the network. */
17330
+ allowFirewallPolicy?: string;
17202
17331
  /** Specifies whether Cloud Interconnect creation is allowed. */
17203
17332
  allowInterconnect?: string;
17204
17333
  /** Specifies whether IP forwarding is allowed. */
@@ -17209,6 +17338,8 @@ declare namespace gapi.client {
17209
17338
  allowMulticast?: string;
17210
17339
  /** Specifies whether multi-nic in the same network is allowed. */
17211
17340
  allowMultiNicInSameNetwork?: string;
17341
+ /** Specifies whether multi-nic in the same subnetwork is allowed. */
17342
+ allowMultiNicInSameSubnetwork?: string;
17212
17343
  /** Specifies whether NCC is allowed. */
17213
17344
  allowNcc?: string;
17214
17345
  /** Specifies whether VM network migration is allowed. */
@@ -17225,10 +17356,15 @@ declare namespace gapi.client {
17225
17356
  allowStaticRoutes?: string;
17226
17357
  /** Specifies whether sub interfaces are allowed. */
17227
17358
  allowSubInterfaces?: string;
17359
+ /** Specifies whether subnetwork creation is allowed. */
17360
+ allowSubnetworkCreation?: string;
17361
+ /** Specifies whether VPC firewall rules can be created under the network. */
17362
+ allowVpcFirewallRules?: string;
17228
17363
  /** Specifies whether VPC peering is allowed. */
17229
17364
  allowVpcPeering?: string;
17230
17365
  /** Specifies whether VPN creation is allowed. */
17231
17366
  allowVpn?: string;
17367
+ firewallPolicyTypes?: string[];
17232
17368
  /**
17233
17369
  * If set, limits the interface types that the network supports. If
17234
17370
  * empty, all interface types are supported.
@@ -17236,6 +17372,10 @@ declare namespace gapi.client {
17236
17372
  interfaceTypes?: string[];
17237
17373
  /** Specifies which type of multicast is supported. */
17238
17374
  multicast?: string;
17375
+ /** Specifies a predefined internal IPv6 range for the network. */
17376
+ predefinedNetworkInternalIpv6Range?: string;
17377
+ /** Predefined subnetwork ranges for the network. */
17378
+ predefinedSubnetworkRanges?: NetworkProfileNetworkFeaturesPredefinedSubnetworkRange[];
17239
17379
  /** Specifies which subnetwork purposes are supported. */
17240
17380
  subnetPurposes?: string[];
17241
17381
  /** Specifies which subnetwork stack types are supported. */
@@ -17247,6 +17387,12 @@ declare namespace gapi.client {
17247
17387
  /** Specifies which type of unicast is supported. */
17248
17388
  unicast?: string;
17249
17389
  }
17390
+ interface NetworkProfileNetworkFeaturesPredefinedSubnetworkRange {
17391
+ /** The IPv6 range of the predefined subnetwork. */
17392
+ ipv6Range?: string;
17393
+ /** The naming prefix of the predefined subnetwork. */
17394
+ namePrefix?: string;
17395
+ }
17250
17396
  interface NetworkProfileProfileType {
17251
17397
  networkType?: string;
17252
17398
  rdmaSubtype?: string;
@@ -21265,6 +21411,11 @@ declare namespace gapi.client {
21265
21411
  * reservation block.
21266
21412
  */
21267
21413
  inUseCount?: number;
21414
+ /**
21415
+ * Output only. Number of hosts currently in use. If there is one or more Instances running
21416
+ * on the host, it is considered in use.
21417
+ */
21418
+ inUseHostCount?: number;
21268
21419
  /** Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks. */
21269
21420
  kind?: string;
21270
21421
  /**
@@ -21521,6 +21672,11 @@ declare namespace gapi.client {
21521
21672
  * reservation subBlock.
21522
21673
  */
21523
21674
  inUseCount?: number;
21675
+ /**
21676
+ * Output only. Number of hosts currently in use. If there is one or more Instances running
21677
+ * on the host, it is considered in use.
21678
+ */
21679
+ inUseHostCount?: number;
21524
21680
  /** Output only. [Output Only] Type of the resource. Alwayscompute#reservationSubBlock for reservation subBlocks. */
21525
21681
  kind?: string;
21526
21682
  /**
@@ -25636,6 +25792,8 @@ declare namespace gapi.client {
25636
25792
  minCpuPlatform?: string;
25637
25793
  /** An array of network access configurations for this interface. */
25638
25794
  networkInterfaces?: NetworkInterface[];
25795
+ /** PostKeyRevocationActionType of the instance. */
25796
+ postKeyRevocationActionType?: string;
25639
25797
  /**
25640
25798
  * Specifies the scheduling options for the instances that are created from
25641
25799
  * this machine image.
@@ -26332,6 +26490,11 @@ declare namespace gapi.client {
26332
26490
  * the last character, which cannot be a dash.
26333
26491
  */
26334
26492
  name?: string;
26493
+ /**
26494
+ * Input only. Additional params passed with the request, but not persisted
26495
+ * as part of resource payload.
26496
+ */
26497
+ params?: StoragePoolParams;
26335
26498
  /**
26336
26499
  * Provisioning type of the performance-related parameters of the pool,
26337
26500
  * such as throughput and IOPS.
@@ -26601,6 +26764,18 @@ declare namespace gapi.client {
26601
26764
  message?: string;
26602
26765
  };
26603
26766
  }
26767
+ interface StoragePoolParams {
26768
+ /**
26769
+ * Input only. Resource manager tags to be bound to the storage pool. Tag keys and values
26770
+ * have the same definition as resource
26771
+ * manager tags. Keys and values can be either in numeric format,
26772
+ * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
26773
+ * format such as `{org_id|project_id}/{tag_key_short_name}` and
26774
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
26775
+ * PATCH) when empty.
26776
+ */
26777
+ resourceManagerTags?: {[P in string]: string};
26778
+ }
26604
26779
  interface StoragePoolResourceStatus {
26605
26780
  /** [Output Only] Number of disks used. */
26606
26781
  diskCount?: string;
@@ -32875,6 +33050,42 @@ declare namespace gapi.client {
32875
33050
  },
32876
33051
  body: Autoscaler,
32877
33052
  ): Request<Operation>;
33053
+ /** Returns permissions that a caller has on the specified resource. */
33054
+ testIamPermissions(
33055
+ request: {
33056
+ /** V1 error format. */
33057
+ '$.xgafv'?: string;
33058
+ /** OAuth access token. */
33059
+ access_token?: string;
33060
+ /** Data format for response. */
33061
+ alt?: string;
33062
+ /** JSONP */
33063
+ callback?: string;
33064
+ /** Selector specifying which fields to include in a partial response. */
33065
+ fields?: string;
33066
+ /** 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. */
33067
+ key?: string;
33068
+ /** OAuth 2.0 token for the current user. */
33069
+ oauth_token?: string;
33070
+ /** Returns response with indentations and line breaks. */
33071
+ prettyPrint?: boolean;
33072
+ /** Project ID for this request. */
33073
+ project: string;
33074
+ /** 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. */
33075
+ quotaUser?: string;
33076
+ /** Name or id of the resource for this request. */
33077
+ resource: string;
33078
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33079
+ upload_protocol?: string;
33080
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33081
+ uploadType?: string;
33082
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
33083
+ userIp?: string;
33084
+ /** The name of the zone for this request. */
33085
+ zone: string;
33086
+ },
33087
+ body: TestPermissionsRequest,
33088
+ ): Request<TestPermissionsResponse>;
32878
33089
  /**
32879
33090
  * Updates an autoscaler in the specified project using the data
32880
33091
  * included in the request.
@@ -44197,6 +44408,40 @@ declare namespace gapi.client {
44197
44408
  },
44198
44409
  body: HealthCheck,
44199
44410
  ): Request<Operation>;
44411
+ /** Returns permissions that a caller has on the specified resource. */
44412
+ testIamPermissions(
44413
+ request: {
44414
+ /** V1 error format. */
44415
+ '$.xgafv'?: string;
44416
+ /** OAuth access token. */
44417
+ access_token?: string;
44418
+ /** Data format for response. */
44419
+ alt?: string;
44420
+ /** JSONP */
44421
+ callback?: string;
44422
+ /** Selector specifying which fields to include in a partial response. */
44423
+ fields?: string;
44424
+ /** 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. */
44425
+ key?: string;
44426
+ /** OAuth 2.0 token for the current user. */
44427
+ oauth_token?: string;
44428
+ /** Returns response with indentations and line breaks. */
44429
+ prettyPrint?: boolean;
44430
+ /** Project ID for this request. */
44431
+ project: string;
44432
+ /** 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. */
44433
+ quotaUser?: string;
44434
+ /** Name or id of the resource for this request. */
44435
+ resource: string;
44436
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44437
+ upload_protocol?: string;
44438
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44439
+ uploadType?: string;
44440
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
44441
+ userIp?: string;
44442
+ },
44443
+ body: TestPermissionsRequest,
44444
+ ): Request<TestPermissionsResponse>;
44200
44445
  /**
44201
44446
  * Updates a HealthCheck resource in the specified project using the data
44202
44447
  * included in the request.
@@ -44708,6 +44953,40 @@ declare namespace gapi.client {
44708
44953
  },
44709
44954
  body: HttpHealthCheck,
44710
44955
  ): Request<Operation>;
44956
+ /** Returns permissions that a caller has on the specified resource. */
44957
+ testIamPermissions(
44958
+ request: {
44959
+ /** V1 error format. */
44960
+ '$.xgafv'?: string;
44961
+ /** OAuth access token. */
44962
+ access_token?: string;
44963
+ /** Data format for response. */
44964
+ alt?: string;
44965
+ /** JSONP */
44966
+ callback?: string;
44967
+ /** Selector specifying which fields to include in a partial response. */
44968
+ fields?: string;
44969
+ /** 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. */
44970
+ key?: string;
44971
+ /** OAuth 2.0 token for the current user. */
44972
+ oauth_token?: string;
44973
+ /** Returns response with indentations and line breaks. */
44974
+ prettyPrint?: boolean;
44975
+ /** Project ID for this request. */
44976
+ project: string;
44977
+ /** 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. */
44978
+ quotaUser?: string;
44979
+ /** Name or id of the resource for this request. */
44980
+ resource: string;
44981
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44982
+ upload_protocol?: string;
44983
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44984
+ uploadType?: string;
44985
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
44986
+ userIp?: string;
44987
+ },
44988
+ body: TestPermissionsRequest,
44989
+ ): Request<TestPermissionsResponse>;
44711
44990
  /**
44712
44991
  * Updates a HttpHealthCheck resource in the specified project using the data
44713
44992
  * included in the request.
@@ -45219,6 +45498,40 @@ declare namespace gapi.client {
45219
45498
  },
45220
45499
  body: HttpsHealthCheck,
45221
45500
  ): Request<Operation>;
45501
+ /** Returns permissions that a caller has on the specified resource. */
45502
+ testIamPermissions(
45503
+ request: {
45504
+ /** V1 error format. */
45505
+ '$.xgafv'?: string;
45506
+ /** OAuth access token. */
45507
+ access_token?: string;
45508
+ /** Data format for response. */
45509
+ alt?: string;
45510
+ /** JSONP */
45511
+ callback?: string;
45512
+ /** Selector specifying which fields to include in a partial response. */
45513
+ fields?: string;
45514
+ /** 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. */
45515
+ key?: string;
45516
+ /** OAuth 2.0 token for the current user. */
45517
+ oauth_token?: string;
45518
+ /** Returns response with indentations and line breaks. */
45519
+ prettyPrint?: boolean;
45520
+ /** Project ID for this request. */
45521
+ project: string;
45522
+ /** 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. */
45523
+ quotaUser?: string;
45524
+ /** Name or id of the resource for this request. */
45525
+ resource: string;
45526
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
45527
+ upload_protocol?: string;
45528
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
45529
+ uploadType?: string;
45530
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
45531
+ userIp?: string;
45532
+ },
45533
+ body: TestPermissionsRequest,
45534
+ ): Request<TestPermissionsResponse>;
45222
45535
  /**
45223
45536
  * Updates a HttpsHealthCheck resource in the specified project using the data
45224
45537
  * included in the request.
@@ -72198,6 +72511,42 @@ declare namespace gapi.client {
72198
72511
  },
72199
72512
  body: Autoscaler,
72200
72513
  ): Request<Operation>;
72514
+ /** Returns permissions that a caller has on the specified resource. */
72515
+ testIamPermissions(
72516
+ request: {
72517
+ /** V1 error format. */
72518
+ '$.xgafv'?: string;
72519
+ /** OAuth access token. */
72520
+ access_token?: string;
72521
+ /** Data format for response. */
72522
+ alt?: string;
72523
+ /** JSONP */
72524
+ callback?: string;
72525
+ /** Selector specifying which fields to include in a partial response. */
72526
+ fields?: string;
72527
+ /** 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. */
72528
+ key?: string;
72529
+ /** OAuth 2.0 token for the current user. */
72530
+ oauth_token?: string;
72531
+ /** Returns response with indentations and line breaks. */
72532
+ prettyPrint?: boolean;
72533
+ /** Project ID for this request. */
72534
+ project: string;
72535
+ /** 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. */
72536
+ quotaUser?: string;
72537
+ /** The name of the region for this request. */
72538
+ region: string;
72539
+ /** Name or id of the resource for this request. */
72540
+ resource: string;
72541
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
72542
+ upload_protocol?: string;
72543
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
72544
+ uploadType?: string;
72545
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
72546
+ userIp?: string;
72547
+ },
72548
+ body: TestPermissionsRequest,
72549
+ ): Request<TestPermissionsResponse>;
72201
72550
  /**
72202
72551
  * Updates an autoscaler in the specified project using
72203
72552
  * the data included in the request.
@@ -75765,6 +76114,42 @@ declare namespace gapi.client {
75765
76114
  },
75766
76115
  body: HealthCheck,
75767
76116
  ): Request<Operation>;
76117
+ /** Returns permissions that a caller has on the specified resource. */
76118
+ testIamPermissions(
76119
+ request: {
76120
+ /** V1 error format. */
76121
+ '$.xgafv'?: string;
76122
+ /** OAuth access token. */
76123
+ access_token?: string;
76124
+ /** Data format for response. */
76125
+ alt?: string;
76126
+ /** JSONP */
76127
+ callback?: string;
76128
+ /** Selector specifying which fields to include in a partial response. */
76129
+ fields?: string;
76130
+ /** 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. */
76131
+ key?: string;
76132
+ /** OAuth 2.0 token for the current user. */
76133
+ oauth_token?: string;
76134
+ /** Returns response with indentations and line breaks. */
76135
+ prettyPrint?: boolean;
76136
+ /** Project ID for this request. */
76137
+ project: string;
76138
+ /** 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. */
76139
+ quotaUser?: string;
76140
+ /** The name of the region for this request. */
76141
+ region: string;
76142
+ /** Name or id of the resource for this request. */
76143
+ resource: string;
76144
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
76145
+ upload_protocol?: string;
76146
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
76147
+ uploadType?: string;
76148
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
76149
+ userIp?: string;
76150
+ },
76151
+ body: TestPermissionsRequest,
76152
+ ): Request<TestPermissionsResponse>;
75768
76153
  /**
75769
76154
  * Updates a HealthCheck resource in the specified project using the data
75770
76155
  * included in the request.
@@ -82426,6 +82811,42 @@ declare namespace gapi.client {
82426
82811
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
82427
82812
  userIp?: string;
82428
82813
  }): Request<NotificationEndpointList>;
82814
+ /** Returns permissions that a caller has on the specified resource. */
82815
+ testIamPermissions(
82816
+ request: {
82817
+ /** V1 error format. */
82818
+ '$.xgafv'?: string;
82819
+ /** OAuth access token. */
82820
+ access_token?: string;
82821
+ /** Data format for response. */
82822
+ alt?: string;
82823
+ /** JSONP */
82824
+ callback?: string;
82825
+ /** Selector specifying which fields to include in a partial response. */
82826
+ fields?: string;
82827
+ /** 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. */
82828
+ key?: string;
82829
+ /** OAuth 2.0 token for the current user. */
82830
+ oauth_token?: string;
82831
+ /** Returns response with indentations and line breaks. */
82832
+ prettyPrint?: boolean;
82833
+ /** Project ID for this request. */
82834
+ project: string;
82835
+ /** 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. */
82836
+ quotaUser?: string;
82837
+ /** The name of the region for this request. */
82838
+ region: string;
82839
+ /** Name or id of the resource for this request. */
82840
+ resource: string;
82841
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
82842
+ upload_protocol?: string;
82843
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
82844
+ uploadType?: string;
82845
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
82846
+ userIp?: string;
82847
+ },
82848
+ body: TestPermissionsRequest,
82849
+ ): Request<TestPermissionsResponse>;
82429
82850
  }
82430
82851
  interface RegionOperationsResource {
82431
82852
  /** Deletes the specified region-specific Operations resource. */
@@ -90838,6 +91259,40 @@ declare namespace gapi.client {
90838
91259
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
90839
91260
  userIp?: string;
90840
91261
  }): Request<RouteList>;
91262
+ /** Returns permissions that a caller has on the specified resource. */
91263
+ testIamPermissions(
91264
+ request: {
91265
+ /** V1 error format. */
91266
+ '$.xgafv'?: string;
91267
+ /** OAuth access token. */
91268
+ access_token?: string;
91269
+ /** Data format for response. */
91270
+ alt?: string;
91271
+ /** JSONP */
91272
+ callback?: string;
91273
+ /** Selector specifying which fields to include in a partial response. */
91274
+ fields?: string;
91275
+ /** 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. */
91276
+ key?: string;
91277
+ /** OAuth 2.0 token for the current user. */
91278
+ oauth_token?: string;
91279
+ /** Returns response with indentations and line breaks. */
91280
+ prettyPrint?: boolean;
91281
+ /** Project ID for this request. */
91282
+ project: string;
91283
+ /** 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. */
91284
+ quotaUser?: string;
91285
+ /** Name or id of the resource for this request. */
91286
+ resource: string;
91287
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
91288
+ upload_protocol?: string;
91289
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
91290
+ uploadType?: string;
91291
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
91292
+ userIp?: string;
91293
+ },
91294
+ body: TestPermissionsRequest,
91295
+ ): Request<TestPermissionsResponse>;
90841
91296
  }
90842
91297
  interface SecurityPoliciesResource {
90843
91298
  /** Inserts a rule into a security policy. */
@@ -101219,6 +101674,40 @@ declare namespace gapi.client {
101219
101674
  },
101220
101675
  body: SslPolicyReference,
101221
101676
  ): Request<Operation>;
101677
+ /** Returns permissions that a caller has on the specified resource. */
101678
+ testIamPermissions(
101679
+ request: {
101680
+ /** V1 error format. */
101681
+ '$.xgafv'?: string;
101682
+ /** OAuth access token. */
101683
+ access_token?: string;
101684
+ /** Data format for response. */
101685
+ alt?: string;
101686
+ /** JSONP */
101687
+ callback?: string;
101688
+ /** Selector specifying which fields to include in a partial response. */
101689
+ fields?: string;
101690
+ /** 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. */
101691
+ key?: string;
101692
+ /** OAuth 2.0 token for the current user. */
101693
+ oauth_token?: string;
101694
+ /** Returns response with indentations and line breaks. */
101695
+ prettyPrint?: boolean;
101696
+ /** Project ID for this request. */
101697
+ project: string;
101698
+ /** 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. */
101699
+ quotaUser?: string;
101700
+ /** Name or id of the resource for this request. */
101701
+ resource: string;
101702
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
101703
+ upload_protocol?: string;
101704
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
101705
+ uploadType?: string;
101706
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
101707
+ userIp?: string;
101708
+ },
101709
+ body: TestPermissionsRequest,
101710
+ ): Request<TestPermissionsResponse>;
101222
101711
  }
101223
101712
  interface TargetTcpProxiesResource {
101224
101713
  /**
@@ -101876,6 +102365,40 @@ declare namespace gapi.client {
101876
102365
  },
101877
102366
  body: TargetTcpProxiesSetProxyHeaderRequest,
101878
102367
  ): Request<Operation>;
102368
+ /** Returns permissions that a caller has on the specified resource. */
102369
+ testIamPermissions(
102370
+ request: {
102371
+ /** V1 error format. */
102372
+ '$.xgafv'?: string;
102373
+ /** OAuth access token. */
102374
+ access_token?: string;
102375
+ /** Data format for response. */
102376
+ alt?: string;
102377
+ /** JSONP */
102378
+ callback?: string;
102379
+ /** Selector specifying which fields to include in a partial response. */
102380
+ fields?: string;
102381
+ /** 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. */
102382
+ key?: string;
102383
+ /** OAuth 2.0 token for the current user. */
102384
+ oauth_token?: string;
102385
+ /** Returns response with indentations and line breaks. */
102386
+ prettyPrint?: boolean;
102387
+ /** Project ID for this request. */
102388
+ project: string;
102389
+ /** 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. */
102390
+ quotaUser?: string;
102391
+ /** Name or id of the resource for this request. */
102392
+ resource: string;
102393
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
102394
+ upload_protocol?: string;
102395
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
102396
+ uploadType?: string;
102397
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
102398
+ userIp?: string;
102399
+ },
102400
+ body: TestPermissionsRequest,
102401
+ ): Request<TestPermissionsResponse>;
101879
102402
  }
101880
102403
  interface TargetVpnGatewaysResource {
101881
102404
  /**
@@ -103057,6 +103580,40 @@ declare namespace gapi.client {
103057
103580
  },
103058
103581
  body: UrlMap,
103059
103582
  ): Request<Operation>;
103583
+ /** Returns permissions that a caller has on the specified resource. */
103584
+ testIamPermissions(
103585
+ request: {
103586
+ /** V1 error format. */
103587
+ '$.xgafv'?: string;
103588
+ /** OAuth access token. */
103589
+ access_token?: string;
103590
+ /** Data format for response. */
103591
+ alt?: string;
103592
+ /** JSONP */
103593
+ callback?: string;
103594
+ /** Selector specifying which fields to include in a partial response. */
103595
+ fields?: string;
103596
+ /** 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. */
103597
+ key?: string;
103598
+ /** OAuth 2.0 token for the current user. */
103599
+ oauth_token?: string;
103600
+ /** Returns response with indentations and line breaks. */
103601
+ prettyPrint?: boolean;
103602
+ /** Project ID for this request. */
103603
+ project: string;
103604
+ /** 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. */
103605
+ quotaUser?: string;
103606
+ /** Name or id of the resource for this request. */
103607
+ resource: string;
103608
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
103609
+ upload_protocol?: string;
103610
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
103611
+ uploadType?: string;
103612
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
103613
+ userIp?: string;
103614
+ },
103615
+ body: TestPermissionsRequest,
103616
+ ): Request<TestPermissionsResponse>;
103060
103617
  /**
103061
103618
  * Updates the specified UrlMap resource with the data included in the
103062
103619
  * request.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-v1",
3
- "version": "0.1.20251210",
3
+ "version": "0.1.20260106",
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.