@maxim_mazurok/gapi.client.compute-alpha 0.1.20251019 → 0.1.20251031

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 +507 -43
  2. package/package.json +1 -1
  3. package/readme.md +93 -26
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: 20251019
12
+ // Revision: 20251031
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -7639,6 +7639,15 @@ declare namespace gapi.client {
7639
7639
  * Maximum number of destination CIDR IP ranges allowed is 5000.
7640
7640
  */
7641
7641
  destIpRanges?: string[];
7642
+ /**
7643
+ * Network context of the traffic destination. Allowed values are:
7644
+ *
7645
+ *
7646
+ * - UNSPECIFIED
7647
+ * - INTERNET
7648
+ * - NON_INTERNET
7649
+ */
7650
+ destNetworkContext?: string;
7642
7651
  /** Network scope of the traffic destination. */
7643
7652
  destNetworkScope?: string;
7644
7653
  /**
@@ -7680,6 +7689,17 @@ declare namespace gapi.client {
7680
7689
  * Maximum number of source CIDR IP ranges allowed is 5000.
7681
7690
  */
7682
7691
  srcIpRanges?: string[];
7692
+ /**
7693
+ * Network context of the traffic source. Allowed values are:
7694
+ *
7695
+ *
7696
+ * - UNSPECIFIED
7697
+ * - INTERNET
7698
+ * - INTRA_VPC
7699
+ * - NON_INTERNET
7700
+ * - VPC_NETWORKS
7701
+ */
7702
+ srcNetworkContext?: string;
7683
7703
  /** Networks of the traffic source. It can be either a full or partial url. */
7684
7704
  srcNetworks?: string[];
7685
7705
  /** Network scope of the traffic source. */
@@ -11118,7 +11138,7 @@ declare namespace gapi.client {
11118
11138
  * Only one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.
11119
11139
  *
11120
11140
  * Regular expressions can only be used when the loadBalancingScheme is
11121
- * set to INTERNAL_SELF_MANAGED.
11141
+ * set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
11122
11142
  */
11123
11143
  regexMatch?: string;
11124
11144
  /**
@@ -11350,7 +11370,7 @@ declare namespace gapi.client {
11350
11370
  * Only one of presentMatch, exactMatch, orregexMatch must be set.
11351
11371
  *
11352
11372
  * Regular expressions can only be used when the loadBalancingScheme is
11353
- * set to INTERNAL_SELF_MANAGED.
11373
+ * set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
11354
11374
  */
11355
11375
  regexMatch?: string;
11356
11376
  }
@@ -11722,7 +11742,7 @@ declare namespace gapi.client {
11722
11742
  *
11723
11743
  * fullPathMatch must be from 1 to 1024 characters.
11724
11744
  *
11725
- * Only one of prefixMatch, fullPathMatch or regexMatch must be
11745
+ * Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be
11726
11746
  * specified.
11727
11747
  */
11728
11748
  fullPathMatch?: string;
@@ -11786,7 +11806,8 @@ declare namespace gapi.client {
11786
11806
  *
11787
11807
  * The value must be from 1 to 1024 characters.
11788
11808
  *
11789
- * Only one of prefixMatch, fullPathMatch or regexMatch must be
11809
+ * Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be
11810
+ * specified.
11790
11811
  * specified.
11791
11812
  */
11792
11813
  prefixMatch?: string;
@@ -11803,11 +11824,11 @@ declare namespace gapi.client {
11803
11824
  * supplied with the original URL. For
11804
11825
  * more information about regular expression syntax, see Syntax.
11805
11826
  *
11806
- * Only one of prefixMatch, fullPathMatch orregexMatch must be
11827
+ * Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be
11807
11828
  * specified.
11808
11829
  *
11809
11830
  * Regular expressions can only be used when the loadBalancingScheme is
11810
- * set to INTERNAL_SELF_MANAGED.
11831
+ * set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
11811
11832
  */
11812
11833
  regexMatch?: string;
11813
11834
  }
@@ -19508,8 +19529,15 @@ declare namespace gapi.client {
19508
19529
  };
19509
19530
  }
19510
19531
  interface ManagedInstancePropertiesFromFlexibilityPolicy {
19532
+ /** List of disks to be attached to the instance. */
19533
+ disks?: AttachedDisk[];
19511
19534
  /** The machine type to be used for this instance. */
19512
19535
  machineType?: string;
19536
+ /**
19537
+ * Name of the minimum CPU platform to be used by this instance.
19538
+ * e.g. 'Intel Ice Lake'.
19539
+ */
19540
+ minCpuPlatform?: string;
19513
19541
  /** The provisioning model to be used for this instance. */
19514
19542
  provisioningModel?: string;
19515
19543
  }
@@ -21773,10 +21801,6 @@ declare namespace gapi.client {
21773
21801
  dscpMode?: string;
21774
21802
  /** Custom DSCP value from 0-63 range. */
21775
21803
  dscpValue?: number;
21776
- /** The field type could be one of: TRAFFIC_CLASS or DSCP. */
21777
- fieldType?: string;
21778
- /** For field_type = TRAFFIC_CLASS: 1 to 6. For field_type = DSCP: 0 to 63. */
21779
- fieldValue?: number;
21780
21804
  /** The traffic class that should be applied to the matching packet. */
21781
21805
  trafficClass?: string;
21782
21806
  /** Always "apply_traffic_classification" for traffic classification rules. */
@@ -25365,11 +25389,22 @@ declare namespace gapi.client {
25365
25389
  };
25366
25390
  }
25367
25391
  interface QueuedResourceStatus {
25392
+ /** Additional status detail for the FAILED state. */
25368
25393
  failedData?: QueuedResourceStatusFailedData;
25394
+ /**
25395
+ * [Output only] Fully qualified URL of the provisioning GCE operation to
25396
+ * track the provisioning along with provisioning errors. The referenced
25397
+ * operation may not exist after having been deleted or expired.
25398
+ */
25369
25399
  provisioningOperations?: string[];
25400
+ /**
25401
+ * Constraints for the time when the resource(s) start provisioning. Always
25402
+ * exposed as absolute times.
25403
+ */
25370
25404
  queuingPolicy?: QueuingPolicy;
25371
25405
  }
25372
25406
  interface QueuedResourceStatusFailedData {
25407
+ /** The error(s) that caused the QueuedResource to enter the FAILED state. */
25373
25408
  error?: {
25374
25409
  /**
25375
25410
  * [Output Only] The array of errors encountered while processing this
@@ -28249,8 +28284,7 @@ declare namespace gapi.client {
28249
28284
  rolloutEntity?: RolloutRolloutEntity;
28250
28285
  /**
28251
28286
  * Required. Rollout Plan used to model the Rollout.
28252
- * Ex. progressiverollout.googleapis.com/v1/organizations/1/rolloutPlans
28253
- * Ex. progressiverollout.googleapis.com/v1/folders/1/rolloutPlans
28287
+ * Ex. compute.googleapis.com/v1/projects/1234/rolloutPlans/rp1
28254
28288
  */
28255
28289
  rolloutPlan?: string;
28256
28290
  /** [Output Only] Server-defined fully-qualified URL for this resource. */
@@ -28502,9 +28536,9 @@ declare namespace gapi.client {
28502
28536
  * is applied across regions, this contains the name of the global
28503
28537
  * resource created by the user which contains a payload for a resource
28504
28538
  * that is orchestrated across regions. This follows the following format:
28505
- * //.googleapis.com/organizations//locations/global//
28539
+ * //.googleapis.com/projects//locations/global//
28506
28540
  * e.g.
28507
- * //osconfig.googleapis.com/organizations/1/locations/global/policyOrchestrators/po1
28541
+ * //osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1
28508
28542
  */
28509
28543
  orchestrationSource?: string;
28510
28544
  }
@@ -38178,6 +38212,11 @@ declare namespace gapi.client {
38178
38212
  ipv6Address?: string;
38179
38213
  }
38180
38214
  interface VpnTunnel {
38215
+ /**
38216
+ * Capacity tier of the VPN tunnel. This is used for IPsec over Interconnect
38217
+ * tunnels to indicate different bandwidth limits.
38218
+ */
38219
+ capacityTier?: string;
38181
38220
  /**
38182
38221
  * User specified list of ciphers to use for the phase 1 and phase 2 of the
38183
38222
  * IKE protocol.
@@ -79839,8 +79878,10 @@ declare namespace gapi.client {
79839
79878
  * hierarchical security policies will be automatically enrolled into Cloud
79840
79879
  * Armor Enterprise if not already enrolled.
79841
79880
  *
79842
- * Use of this API to modify firewall policies is deprecated. Use
79843
- * firewallPolicies.addAssociation instead if possible.
79881
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
79882
+ * versions of this API were used to modify firewall policies. This usage is
79883
+ * now disabled for most organizations. Use firewallPolicies.addAssociation
79884
+ * instead.
79844
79885
  */
79845
79886
  addAssociation(request: {
79846
79887
  /** V1 error format. */
@@ -79947,7 +79988,13 @@ declare namespace gapi.client {
79947
79988
  },
79948
79989
  body: SecurityPolicyAssociation,
79949
79990
  ): Request<Operation>;
79950
- /** Inserts a rule into a security policy. */
79991
+ /**
79992
+ * Inserts a rule into a security policy.
79993
+ *
79994
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
79995
+ * versions of this API were used to modify firewall policies. This usage is
79996
+ * now disabled for most organizations. Use firewallPolicies.addRule instead.
79997
+ */
79951
79998
  addRule(request: {
79952
79999
  /** V1 error format. */
79953
80000
  '$.xgafv'?: string;
@@ -80044,8 +80091,10 @@ declare namespace gapi.client {
80044
80091
  /**
80045
80092
  * Copies rules to the specified security policy.
80046
80093
  *
80047
- * Use of this API to modify firewall policies is deprecated. Use
80048
- * firewallPolicies.copyRules instead.
80094
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
80095
+ * versions of this API were used to modify firewall policies. This usage is
80096
+ * now disabled for most organizations. Use firewallPolicies.cloneRules
80097
+ * instead.
80049
80098
  */
80050
80099
  copyRules(request?: {
80051
80100
  /** V1 error format. */
@@ -80096,8 +80145,9 @@ declare namespace gapi.client {
80096
80145
  /**
80097
80146
  * Deletes the specified policy.
80098
80147
  *
80099
- * Use of this API to remove firewall policies is deprecated. Use
80100
- * firewallPolicies.delete instead.
80148
+ * Use this API to remove Cloud Armor policies. Previously, alpha and beta
80149
+ * versions of this API were used to remove firewall policies. This usage is
80150
+ * now disabled for most organizations. Use firewallPolicies.delete instead.
80101
80151
  */
80102
80152
  delete(request?: {
80103
80153
  /** V1 error format. */
@@ -80146,8 +80196,9 @@ declare namespace gapi.client {
80146
80196
  /**
80147
80197
  * List all of the ordered rules present in a single specified policy.
80148
80198
  *
80149
- * Use of this API to read firewall policies is deprecated. Use
80150
- * firewallPolicies.get instead.
80199
+ * Use this API to read Cloud Armor policies. Previously, alpha and beta
80200
+ * versions of this API were used to read firewall policies. This usage is now
80201
+ * disabled for most organizations. Use firewallPolicies.get instead.
80151
80202
  */
80152
80203
  get(request?: {
80153
80204
  /** V1 error format. */
@@ -80180,8 +80231,10 @@ declare namespace gapi.client {
80180
80231
  /**
80181
80232
  * Gets an association with the specified name.
80182
80233
  *
80183
- * Use of this API to read firewall policies is deprecated. Use
80184
- * firewallPolicies.getAssociation instead if possible.
80234
+ * Use this API to read Cloud Armor policies. Previously, alpha and beta
80235
+ * versions of this API were used to read firewall policies. This usage is
80236
+ * now disabled for most organizations. Use firewallPolicies.getAssociation
80237
+ * instead.
80185
80238
  */
80186
80239
  getAssociation(request?: {
80187
80240
  /** V1 error format. */
@@ -80216,8 +80269,9 @@ declare namespace gapi.client {
80216
80269
  /**
80217
80270
  * Gets a rule at the specified priority.
80218
80271
  *
80219
- * Use of this API to read firewall policies is deprecated. Use
80220
- * firewallPolicies.getRule instead.
80272
+ * Use this API to read Cloud Armor policies. Previously, alpha and beta
80273
+ * versions of this API were used to read firewall policies. This usage is now
80274
+ * disabled for most organizations. Use firewallPolicies.getRule instead.
80221
80275
  */
80222
80276
  getRule(request?: {
80223
80277
  /** V1 error format. */
@@ -80253,8 +80307,9 @@ declare namespace gapi.client {
80253
80307
  * Creates a new policy in the specified organization using the data included
80254
80308
  * in the request.
80255
80309
  *
80256
- * Use of this API to insert firewall policies is deprecated. Use
80257
- * firewallPolicies.insert instead.
80310
+ * Use this API to add Cloud Armor policies. Previously, alpha and beta
80311
+ * versions of this API were used to add firewall policies. This usage is now
80312
+ * disabled for most organizations. Use firewallPolicies.insert instead.
80258
80313
  */
80259
80314
  insert(request: {
80260
80315
  /** V1 error format. */
@@ -80361,8 +80416,9 @@ declare namespace gapi.client {
80361
80416
  * List all the policies that have been configured for the specified
80362
80417
  * organization.
80363
80418
  *
80364
- * Use of this API to read firewall policies is deprecated. Use
80365
- * firewallPolicies.list instead.
80419
+ * Use this API to read Cloud Armor policies. Previously, alpha and beta
80420
+ * versions of this API were used to read firewall policies. This usage is now
80421
+ * disabled for most organizations. Use firewallPolicies.list instead.
80366
80422
  */
80367
80423
  list(request?: {
80368
80424
  /** V1 error format. */
@@ -80493,8 +80549,10 @@ declare namespace gapi.client {
80493
80549
  /**
80494
80550
  * Lists associations of a specified target, i.e., organization or folder.
80495
80551
  *
80496
- * Use of this API to read firewall policies is deprecated. Use
80497
- * firewallPolicies.listAssociations instead if possible.
80552
+ * Use this API to read Cloud Armor policies. Previously, alpha and beta
80553
+ * versions of this API were used to read firewall policies. This usage is
80554
+ * now disabled for most organizations. Use firewallPolicies.listAssociations
80555
+ * instead.
80498
80556
  */
80499
80557
  listAssociations(request?: {
80500
80558
  /** V1 error format. */
@@ -80660,8 +80718,9 @@ declare namespace gapi.client {
80660
80718
  /**
80661
80719
  * Moves the specified security policy.
80662
80720
  *
80663
- * Use of this API to modify firewall policies is deprecated. Use
80664
- * firewallPolicies.move instead.
80721
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
80722
+ * versions of this API were used to modify firewall policies. This usage is
80723
+ * now disabled for most organizations. Use firewallPolicies.move instead.
80665
80724
  */
80666
80725
  move(request?: {
80667
80726
  /** V1 error format. */
@@ -80712,8 +80771,9 @@ declare namespace gapi.client {
80712
80771
  /**
80713
80772
  * Patches the specified policy with the data included in the request.
80714
80773
  *
80715
- * Use of this API to modify firewall policies is deprecated. Use
80716
- * firewallPolicies.patch instead.
80774
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
80775
+ * versions of this API were used to modify firewall policies. This usage is
80776
+ * now disabled for most organizations. Use firewallPolicies.patch instead.
80717
80777
  */
80718
80778
  patch(request: {
80719
80779
  /** V1 error format. */
@@ -80815,8 +80875,10 @@ declare namespace gapi.client {
80815
80875
  /**
80816
80876
  * Patches a rule at the specified priority.
80817
80877
  *
80818
- * Use of this API to modify firewall policies is deprecated. Use
80819
- * firewallPolicies.patchRule instead.
80878
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
80879
+ * versions of this API were used to modify firewall policies. This usage is
80880
+ * now disabled for most organizations. Use firewallPolicies.patchRule
80881
+ * instead.
80820
80882
  */
80821
80883
  patchRule(request: {
80822
80884
  /** V1 error format. */
@@ -80922,8 +80984,10 @@ declare namespace gapi.client {
80922
80984
  /**
80923
80985
  * Removes an association for the specified security policy.
80924
80986
  *
80925
- * Use of this API to modify firewall policies is deprecated. Use
80926
- * firewallPolicies.removeAssociation instead if possible.
80987
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
80988
+ * versions of this API were used to modify firewall policies. This usage is
80989
+ * now disabled for most organizations. Use firewallPolicies.removeAssociation
80990
+ * instead.
80927
80991
  */
80928
80992
  removeAssociation(request?: {
80929
80993
  /** V1 error format. */
@@ -80971,7 +81035,14 @@ declare namespace gapi.client {
80971
81035
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
80972
81036
  userIp?: string;
80973
81037
  }): Request<Operation>;
80974
- /** Deletes a rule at the specified priority. */
81038
+ /**
81039
+ * Deletes a rule at the specified priority.
81040
+ *
81041
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
81042
+ * versions of this API were used to modify firewall policies. This usage is
81043
+ * now disabled for most organizations. Use firewallPolicies.removeRule
81044
+ * instead.
81045
+ */
80975
81046
  removeRule(request?: {
80976
81047
  /** V1 error format. */
80977
81048
  '$.xgafv'?: string;
@@ -102482,6 +102553,397 @@ declare namespace gapi.client {
102482
102553
  userIp?: string;
102483
102554
  }): Request<Operation>;
102484
102555
  }
102556
+ interface RegionRecoverableSnapshotsResource {
102557
+ /**
102558
+ * Deletes the specified RecoverableSnapshot. Deleting a recoverable snapshot
102559
+ * will delete the underlying PD snapshot and is irreversible.
102560
+ */
102561
+ delete(request?: {
102562
+ /** V1 error format. */
102563
+ '$.xgafv'?: string;
102564
+ /** OAuth access token. */
102565
+ access_token?: string;
102566
+ /** Data format for response. */
102567
+ alt?: string;
102568
+ /** JSONP */
102569
+ callback?: string;
102570
+ /** Selector specifying which fields to include in a partial response. */
102571
+ fields?: string;
102572
+ /** 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. */
102573
+ key?: string;
102574
+ /** OAuth 2.0 token for the current user. */
102575
+ oauth_token?: string;
102576
+ /** Returns response with indentations and line breaks. */
102577
+ prettyPrint?: boolean;
102578
+ /** Project ID for this request. */
102579
+ project: string;
102580
+ /** 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. */
102581
+ quotaUser?: string;
102582
+ /** Name of the recoverable Snapshot resource to delete. */
102583
+ recoverableSnapshot: string;
102584
+ /** Name of the region for this request. */
102585
+ region: string;
102586
+ /**
102587
+ * An optional request ID to identify requests. Specify a unique request ID so
102588
+ * that if you must retry your request, the server will know to ignore the
102589
+ * request if it has already been completed.
102590
+ *
102591
+ * For example, consider a situation where you make an initial request and
102592
+ * the request times out. If you make the request again with the same
102593
+ * request ID, the server can check if original operation with the same
102594
+ * request ID was received, and if so, will ignore the second request. This
102595
+ * prevents clients from accidentally creating duplicate commitments.
102596
+ *
102597
+ * The request ID must be
102598
+ * a valid UUID with the exception that zero UUID is not supported
102599
+ * (00000000-0000-0000-0000-000000000000).
102600
+ */
102601
+ requestId?: string;
102602
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
102603
+ upload_protocol?: string;
102604
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
102605
+ uploadType?: string;
102606
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
102607
+ userIp?: string;
102608
+ }): Request<Operation>;
102609
+ /** Returns the specified RecoverableSnapshot resource. */
102610
+ get(request?: {
102611
+ /** V1 error format. */
102612
+ '$.xgafv'?: string;
102613
+ /** OAuth access token. */
102614
+ access_token?: string;
102615
+ /** Data format for response. */
102616
+ alt?: string;
102617
+ /** JSONP */
102618
+ callback?: string;
102619
+ /** Selector specifying which fields to include in a partial response. */
102620
+ fields?: string;
102621
+ /** 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. */
102622
+ key?: string;
102623
+ /** OAuth 2.0 token for the current user. */
102624
+ oauth_token?: string;
102625
+ /** Returns response with indentations and line breaks. */
102626
+ prettyPrint?: boolean;
102627
+ /** Project ID for this request. */
102628
+ project: string;
102629
+ /** 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. */
102630
+ quotaUser?: string;
102631
+ /** Name of the Snapshot resource to return. */
102632
+ recoverableSnapshot: string;
102633
+ /** Name of the region for this request. */
102634
+ region: string;
102635
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
102636
+ upload_protocol?: string;
102637
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
102638
+ uploadType?: string;
102639
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
102640
+ userIp?: string;
102641
+ }): Request<RecoverableSnapshot>;
102642
+ /**
102643
+ * Gets the access control policy for a resource. May be empty if no such
102644
+ * policy or resource exists.
102645
+ */
102646
+ getIamPolicy(request?: {
102647
+ /** V1 error format. */
102648
+ '$.xgafv'?: string;
102649
+ /** OAuth access token. */
102650
+ access_token?: string;
102651
+ /** Data format for response. */
102652
+ alt?: string;
102653
+ /** JSONP */
102654
+ callback?: string;
102655
+ /** Selector specifying which fields to include in a partial response. */
102656
+ fields?: string;
102657
+ /** 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. */
102658
+ key?: string;
102659
+ /** OAuth 2.0 token for the current user. */
102660
+ oauth_token?: string;
102661
+ /** Requested IAM Policy version. */
102662
+ optionsRequestedPolicyVersion?: number;
102663
+ /** Returns response with indentations and line breaks. */
102664
+ prettyPrint?: boolean;
102665
+ /** Project ID for this request. */
102666
+ project: string;
102667
+ /** 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. */
102668
+ quotaUser?: string;
102669
+ /** The name of the region for this request. */
102670
+ region: string;
102671
+ /** Name or id of the resource for this request. */
102672
+ resource: string;
102673
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
102674
+ upload_protocol?: string;
102675
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
102676
+ uploadType?: string;
102677
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
102678
+ userIp?: string;
102679
+ }): Request<Policy>;
102680
+ /**
102681
+ * Retrieves the list of RecoverableSnapshot resources contained within
102682
+ * the specified region.
102683
+ */
102684
+ list(request?: {
102685
+ /** V1 error format. */
102686
+ '$.xgafv'?: string;
102687
+ /** OAuth access token. */
102688
+ access_token?: string;
102689
+ /** Data format for response. */
102690
+ alt?: string;
102691
+ /** JSONP */
102692
+ callback?: string;
102693
+ /** Selector specifying which fields to include in a partial response. */
102694
+ fields?: string;
102695
+ /**
102696
+ * A filter expression that filters resources listed in the response. Most
102697
+ * Compute resources support two types of filter expressions:
102698
+ * expressions that support regular expressions and expressions that follow
102699
+ * API improvement proposal AIP-160.
102700
+ * These two types of filter expressions cannot be mixed in one request.
102701
+ *
102702
+ * If you want to use AIP-160, your expression must specify the field name, an
102703
+ * operator, and the value that you want to use for filtering. The value
102704
+ * must be a string, a number, or a boolean. The operator
102705
+ * must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
102706
+ *
102707
+ * For example, if you are filtering Compute Engine instances, you can
102708
+ * exclude instances named `example-instance` by specifying
102709
+ * `name != example-instance`.
102710
+ *
102711
+ * The `:*` comparison can be used to test whether a key has been defined.
102712
+ * For example, to find all objects with `owner` label use:
102713
+ * ```
102714
+ * labels.owner:*
102715
+ * ```
102716
+ *
102717
+ * You can also filter nested fields. For example, you could specify
102718
+ * `scheduling.automaticRestart = false` to include instances only
102719
+ * if they are not scheduled for automatic restarts. You can use filtering
102720
+ * on nested fields to filter based onresource labels.
102721
+ *
102722
+ * To filter on multiple expressions, provide each separate expression within
102723
+ * parentheses. For example:
102724
+ * ```
102725
+ * (scheduling.automaticRestart = true)
102726
+ * (cpuPlatform = "Intel Skylake")
102727
+ * ```
102728
+ * By default, each expression is an `AND` expression. However, you
102729
+ * can include `AND` and `OR` expressions explicitly.
102730
+ * For example:
102731
+ * ```
102732
+ * (cpuPlatform = "Intel Skylake") OR
102733
+ * (cpuPlatform = "Intel Broadwell") AND
102734
+ * (scheduling.automaticRestart = true)
102735
+ * ```
102736
+ *
102737
+ * If you want to use a regular expression, use the `eq` (equal) or `ne`
102738
+ * (not equal) operator against a single un-parenthesized expression with or
102739
+ * without quotes or against multiple parenthesized expressions. Examples:
102740
+ *
102741
+ * `fieldname eq unquoted literal`
102742
+ * `fieldname eq 'single quoted literal'`
102743
+ * `fieldname eq "double quoted literal"`
102744
+ * `(fieldname1 eq literal) (fieldname2 ne "literal")`
102745
+ *
102746
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
102747
+ * The literal value must match the entire field.
102748
+ *
102749
+ * For example, to filter for instances that do not end with name "instance",
102750
+ * you would use `name ne .*instance`.
102751
+ *
102752
+ * You cannot combine constraints on multiple fields using regular
102753
+ * expressions.
102754
+ */
102755
+ filter?: string;
102756
+ /** 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. */
102757
+ key?: string;
102758
+ /**
102759
+ * The maximum number of results per page that should be returned.
102760
+ * If the number of available results is larger than `maxResults`,
102761
+ * Compute Engine returns a `nextPageToken` that can be used to get
102762
+ * the next page of results in subsequent list requests. Acceptable values are
102763
+ * `0` to `500`, inclusive. (Default: `500`)
102764
+ */
102765
+ maxResults?: number;
102766
+ /** OAuth 2.0 token for the current user. */
102767
+ oauth_token?: string;
102768
+ /**
102769
+ * Sorts list results by a certain order. By default, results
102770
+ * are returned in alphanumerical order based on the resource name.
102771
+ *
102772
+ * You can also sort results in descending order based on the creation
102773
+ * timestamp using `orderBy="creationTimestamp desc"`. This sorts
102774
+ * results based on the `creationTimestamp` field in
102775
+ * reverse chronological order (newest result first). Use this to sort
102776
+ * resources like operations so that the newest operation is returned first.
102777
+ *
102778
+ * Currently, only sorting by `name` or
102779
+ * `creationTimestamp desc` is supported.
102780
+ */
102781
+ orderBy?: string;
102782
+ /**
102783
+ * Specifies a page token to use. Set `pageToken` to the
102784
+ * `nextPageToken` returned by a previous list request to get
102785
+ * the next page of results.
102786
+ */
102787
+ pageToken?: string;
102788
+ /** Returns response with indentations and line breaks. */
102789
+ prettyPrint?: boolean;
102790
+ /** Project ID for this request. */
102791
+ project: string;
102792
+ /** 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. */
102793
+ quotaUser?: string;
102794
+ /** Name of the region for this request. */
102795
+ region: string;
102796
+ /**
102797
+ * Opt-in for partial success behavior which provides partial results in case
102798
+ * of failure. The default value is false.
102799
+ *
102800
+ * For example, when partial success behavior is enabled, aggregatedList for a
102801
+ * single zone scope either returns all resources in the zone or no resources,
102802
+ * with an error code.
102803
+ */
102804
+ returnPartialSuccess?: boolean;
102805
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
102806
+ upload_protocol?: string;
102807
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
102808
+ uploadType?: string;
102809
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
102810
+ userIp?: string;
102811
+ }): Request<RecoverableSnapshotList>;
102812
+ /** Recovers the specified RecoverableSnapshot. */
102813
+ recover(request?: {
102814
+ /** V1 error format. */
102815
+ '$.xgafv'?: string;
102816
+ /** OAuth access token. */
102817
+ access_token?: string;
102818
+ /** Data format for response. */
102819
+ alt?: string;
102820
+ /** JSONP */
102821
+ callback?: string;
102822
+ /** Selector specifying which fields to include in a partial response. */
102823
+ fields?: string;
102824
+ /** 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. */
102825
+ key?: string;
102826
+ /** OAuth 2.0 token for the current user. */
102827
+ oauth_token?: string;
102828
+ /** Returns response with indentations and line breaks. */
102829
+ prettyPrint?: boolean;
102830
+ /** Project Id of the request */
102831
+ project: string;
102832
+ /** 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. */
102833
+ quotaUser?: string;
102834
+ /** Name of the recoverable resource to recover */
102835
+ recoverableSnapshot: string;
102836
+ /** Name of the region for this request. */
102837
+ region: string;
102838
+ /**
102839
+ * An optional request ID to identify requests. Specify a unique request ID so
102840
+ * that if you must retry your request, the server will know to ignore the
102841
+ * request if it has already been completed.
102842
+ *
102843
+ * For example, consider a situation where you make an initial request and
102844
+ * the request times out. If you make the request again with the same
102845
+ * request ID, the server can check if original operation with the same
102846
+ * request ID was received, and if so, will ignore the second request. This
102847
+ * prevents clients from accidentally creating duplicate commitments.
102848
+ *
102849
+ * The request ID must be
102850
+ * a valid UUID with the exception that zero UUID is not supported
102851
+ * (00000000-0000-0000-0000-000000000000).
102852
+ */
102853
+ requestId?: string;
102854
+ /**
102855
+ * Optional. Name of the snapshot after the recovery
102856
+ * The name will be 1-63 characters long, and comply withRFC1035.
102857
+ * Specifically, the name will be 1-63 characters long and match the regular
102858
+ * expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
102859
+ * character will be a lowercase letter, and all following characters can be
102860
+ * a dash, lowercase letter, or digit, except the last character, which cannot
102861
+ * be a dash.
102862
+ */
102863
+ snapshotName?: string;
102864
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
102865
+ upload_protocol?: string;
102866
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
102867
+ uploadType?: string;
102868
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
102869
+ userIp?: string;
102870
+ }): Request<Operation>;
102871
+ /**
102872
+ * Sets the access control policy on the specified resource.
102873
+ * Replaces any existing policy.
102874
+ */
102875
+ setIamPolicy(
102876
+ request: {
102877
+ /** V1 error format. */
102878
+ '$.xgafv'?: string;
102879
+ /** OAuth access token. */
102880
+ access_token?: string;
102881
+ /** Data format for response. */
102882
+ alt?: string;
102883
+ /** JSONP */
102884
+ callback?: string;
102885
+ /** Selector specifying which fields to include in a partial response. */
102886
+ fields?: string;
102887
+ /** 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. */
102888
+ key?: string;
102889
+ /** OAuth 2.0 token for the current user. */
102890
+ oauth_token?: string;
102891
+ /** Returns response with indentations and line breaks. */
102892
+ prettyPrint?: boolean;
102893
+ /** Project ID for this request. */
102894
+ project: string;
102895
+ /** 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. */
102896
+ quotaUser?: string;
102897
+ /** The name of the region for this request. */
102898
+ region: string;
102899
+ /** Name or id of the resource for this request. */
102900
+ resource: string;
102901
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
102902
+ upload_protocol?: string;
102903
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
102904
+ uploadType?: string;
102905
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
102906
+ userIp?: string;
102907
+ },
102908
+ body: RegionSetPolicyRequest,
102909
+ ): Request<Policy>;
102910
+ /** Returns permissions that a caller has on the specified resource. */
102911
+ testIamPermissions(
102912
+ request: {
102913
+ /** V1 error format. */
102914
+ '$.xgafv'?: string;
102915
+ /** OAuth access token. */
102916
+ access_token?: string;
102917
+ /** Data format for response. */
102918
+ alt?: string;
102919
+ /** JSONP */
102920
+ callback?: string;
102921
+ /** Selector specifying which fields to include in a partial response. */
102922
+ fields?: string;
102923
+ /** 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. */
102924
+ key?: string;
102925
+ /** OAuth 2.0 token for the current user. */
102926
+ oauth_token?: string;
102927
+ /** Returns response with indentations and line breaks. */
102928
+ prettyPrint?: boolean;
102929
+ /** Project ID for this request. */
102930
+ project: string;
102931
+ /** 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. */
102932
+ quotaUser?: string;
102933
+ /** The name of the region for this request. */
102934
+ region: string;
102935
+ /** Name or id of the resource for this request. */
102936
+ resource: string;
102937
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
102938
+ upload_protocol?: string;
102939
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
102940
+ uploadType?: string;
102941
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
102942
+ userIp?: string;
102943
+ },
102944
+ body: TestPermissionsRequest,
102945
+ ): Request<TestPermissionsResponse>;
102946
+ }
102485
102947
  interface RegionsResource {
102486
102948
  /**
102487
102949
  * Returns the specified Region resource.
@@ -129446,6 +129908,8 @@ declare namespace gapi.client {
129446
129908
 
129447
129909
  const regionOperations: RegionOperationsResource;
129448
129910
 
129911
+ const regionRecoverableSnapshots: RegionRecoverableSnapshotsResource;
129912
+
129449
129913
  const regionSecurityPolicies: RegionSecurityPoliciesResource;
129450
129914
 
129451
129915
  const regionSnapshotSettings: RegionSnapshotSettingsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.1.20251019",
3
+ "version": "0.1.20251031",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -3392,53 +3392,66 @@ This has billing implications. Projects in the hierarchy with effective
3392
3392
  hierarchical security policies will be automatically enrolled into Cloud
3393
3393
  Armor Enterprise if not already enrolled.
3394
3394
 
3395
- Use of this API to modify firewall policies is deprecated. Use
3396
- firewallPolicies.addAssociation instead if possible.
3395
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3396
+ versions of this API were used to modify firewall policies. This usage is
3397
+ now disabled for most organizations. Use firewallPolicies.addAssociation
3398
+ instead.
3397
3399
  */
3398
3400
  await gapi.client.compute.organizationSecurityPolicies.addAssociation({ securityPolicy: "securityPolicy", });
3399
3401
 
3400
3402
  /*
3401
3403
  Inserts a rule into a security policy.
3404
+
3405
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3406
+ versions of this API were used to modify firewall policies. This usage is
3407
+ now disabled for most organizations. Use firewallPolicies.addRule instead.
3402
3408
  */
3403
3409
  await gapi.client.compute.organizationSecurityPolicies.addRule({ securityPolicy: "securityPolicy", });
3404
3410
 
3405
3411
  /*
3406
3412
  Copies rules to the specified security policy.
3407
3413
 
3408
- Use of this API to modify firewall policies is deprecated. Use
3409
- firewallPolicies.copyRules instead.
3414
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3415
+ versions of this API were used to modify firewall policies. This usage is
3416
+ now disabled for most organizations. Use firewallPolicies.cloneRules
3417
+ instead.
3410
3418
  */
3411
3419
  await gapi.client.compute.organizationSecurityPolicies.copyRules({ securityPolicy: "securityPolicy", });
3412
3420
 
3413
3421
  /*
3414
3422
  Deletes the specified policy.
3415
3423
 
3416
- Use of this API to remove firewall policies is deprecated. Use
3417
- firewallPolicies.delete instead.
3424
+ Use this API to remove Cloud Armor policies. Previously, alpha and beta
3425
+ versions of this API were used to remove firewall policies. This usage is
3426
+ now disabled for most organizations. Use firewallPolicies.delete instead.
3418
3427
  */
3419
3428
  await gapi.client.compute.organizationSecurityPolicies.delete({ securityPolicy: "securityPolicy", });
3420
3429
 
3421
3430
  /*
3422
3431
  List all of the ordered rules present in a single specified policy.
3423
3432
 
3424
- Use of this API to read firewall policies is deprecated. Use
3425
- firewallPolicies.get instead.
3433
+ Use this API to read Cloud Armor policies. Previously, alpha and beta
3434
+ versions of this API were used to read firewall policies. This usage is now
3435
+ disabled for most organizations. Use firewallPolicies.get instead.
3426
3436
  */
3427
3437
  await gapi.client.compute.organizationSecurityPolicies.get({ securityPolicy: "securityPolicy", });
3428
3438
 
3429
3439
  /*
3430
3440
  Gets an association with the specified name.
3431
3441
 
3432
- Use of this API to read firewall policies is deprecated. Use
3433
- firewallPolicies.getAssociation instead if possible.
3442
+ Use this API to read Cloud Armor policies. Previously, alpha and beta
3443
+ versions of this API were used to read firewall policies. This usage is
3444
+ now disabled for most organizations. Use firewallPolicies.getAssociation
3445
+ instead.
3434
3446
  */
3435
3447
  await gapi.client.compute.organizationSecurityPolicies.getAssociation({ securityPolicy: "securityPolicy", });
3436
3448
 
3437
3449
  /*
3438
3450
  Gets a rule at the specified priority.
3439
3451
 
3440
- Use of this API to read firewall policies is deprecated. Use
3441
- firewallPolicies.getRule instead.
3452
+ Use this API to read Cloud Armor policies. Previously, alpha and beta
3453
+ versions of this API were used to read firewall policies. This usage is now
3454
+ disabled for most organizations. Use firewallPolicies.getRule instead.
3442
3455
  */
3443
3456
  await gapi.client.compute.organizationSecurityPolicies.getRule({ securityPolicy: "securityPolicy", });
3444
3457
 
@@ -3446,8 +3459,9 @@ await gapi.client.compute.organizationSecurityPolicies.getRule({ securityPolicy:
3446
3459
  Creates a new policy in the specified organization using the data included
3447
3460
  in the request.
3448
3461
 
3449
- Use of this API to insert firewall policies is deprecated. Use
3450
- firewallPolicies.insert instead.
3462
+ Use this API to add Cloud Armor policies. Previously, alpha and beta
3463
+ versions of this API were used to add firewall policies. This usage is now
3464
+ disabled for most organizations. Use firewallPolicies.insert instead.
3451
3465
  */
3452
3466
  await gapi.client.compute.organizationSecurityPolicies.insert({ });
3453
3467
 
@@ -3455,16 +3469,19 @@ await gapi.client.compute.organizationSecurityPolicies.insert({ });
3455
3469
  List all the policies that have been configured for the specified
3456
3470
  organization.
3457
3471
 
3458
- Use of this API to read firewall policies is deprecated. Use
3459
- firewallPolicies.list instead.
3472
+ Use this API to read Cloud Armor policies. Previously, alpha and beta
3473
+ versions of this API were used to read firewall policies. This usage is now
3474
+ disabled for most organizations. Use firewallPolicies.list instead.
3460
3475
  */
3461
3476
  await gapi.client.compute.organizationSecurityPolicies.list({ });
3462
3477
 
3463
3478
  /*
3464
3479
  Lists associations of a specified target, i.e., organization or folder.
3465
3480
 
3466
- Use of this API to read firewall policies is deprecated. Use
3467
- firewallPolicies.listAssociations instead if possible.
3481
+ Use this API to read Cloud Armor policies. Previously, alpha and beta
3482
+ versions of this API were used to read firewall policies. This usage is
3483
+ now disabled for most organizations. Use firewallPolicies.listAssociations
3484
+ instead.
3468
3485
  */
3469
3486
  await gapi.client.compute.organizationSecurityPolicies.listAssociations({ });
3470
3487
 
@@ -3477,37 +3494,48 @@ await gapi.client.compute.organizationSecurityPolicies.listPreconfiguredExpressi
3477
3494
  /*
3478
3495
  Moves the specified security policy.
3479
3496
 
3480
- Use of this API to modify firewall policies is deprecated. Use
3481
- firewallPolicies.move instead.
3497
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3498
+ versions of this API were used to modify firewall policies. This usage is
3499
+ now disabled for most organizations. Use firewallPolicies.move instead.
3482
3500
  */
3483
3501
  await gapi.client.compute.organizationSecurityPolicies.move({ securityPolicy: "securityPolicy", });
3484
3502
 
3485
3503
  /*
3486
3504
  Patches the specified policy with the data included in the request.
3487
3505
 
3488
- Use of this API to modify firewall policies is deprecated. Use
3489
- firewallPolicies.patch instead.
3506
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3507
+ versions of this API were used to modify firewall policies. This usage is
3508
+ now disabled for most organizations. Use firewallPolicies.patch instead.
3490
3509
  */
3491
3510
  await gapi.client.compute.organizationSecurityPolicies.patch({ securityPolicy: "securityPolicy", });
3492
3511
 
3493
3512
  /*
3494
3513
  Patches a rule at the specified priority.
3495
3514
 
3496
- Use of this API to modify firewall policies is deprecated. Use
3497
- firewallPolicies.patchRule instead.
3515
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3516
+ versions of this API were used to modify firewall policies. This usage is
3517
+ now disabled for most organizations. Use firewallPolicies.patchRule
3518
+ instead.
3498
3519
  */
3499
3520
  await gapi.client.compute.organizationSecurityPolicies.patchRule({ securityPolicy: "securityPolicy", });
3500
3521
 
3501
3522
  /*
3502
3523
  Removes an association for the specified security policy.
3503
3524
 
3504
- Use of this API to modify firewall policies is deprecated. Use
3505
- firewallPolicies.removeAssociation instead if possible.
3525
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3526
+ versions of this API were used to modify firewall policies. This usage is
3527
+ now disabled for most organizations. Use firewallPolicies.removeAssociation
3528
+ instead.
3506
3529
  */
3507
3530
  await gapi.client.compute.organizationSecurityPolicies.removeAssociation({ securityPolicy: "securityPolicy", });
3508
3531
 
3509
3532
  /*
3510
3533
  Deletes a rule at the specified priority.
3534
+
3535
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3536
+ versions of this API were used to modify firewall policies. This usage is
3537
+ now disabled for most organizations. Use firewallPolicies.removeRule
3538
+ instead.
3511
3539
  */
3512
3540
  await gapi.client.compute.organizationSecurityPolicies.removeRule({ securityPolicy: "securityPolicy", });
3513
3541
 
@@ -5219,6 +5247,45 @@ This method is called on a best-effort basis. Specifically:
5219
5247
  */
5220
5248
  await gapi.client.compute.regionOperations.wait({ operation: "operation", project: "project", region: "region", });
5221
5249
 
5250
+ /*
5251
+ Deletes the specified RecoverableSnapshot. Deleting a recoverable snapshot
5252
+ will delete the underlying PD snapshot and is irreversible.
5253
+ */
5254
+ await gapi.client.compute.regionRecoverableSnapshots.delete({ project: "project", recoverableSnapshot: "recoverableSnapshot", region: "region", });
5255
+
5256
+ /*
5257
+ Returns the specified RecoverableSnapshot resource.
5258
+ */
5259
+ await gapi.client.compute.regionRecoverableSnapshots.get({ project: "project", recoverableSnapshot: "recoverableSnapshot", region: "region", });
5260
+
5261
+ /*
5262
+ Gets the access control policy for a resource. May be empty if no such
5263
+ policy or resource exists.
5264
+ */
5265
+ await gapi.client.compute.regionRecoverableSnapshots.getIamPolicy({ project: "project", region: "region", resource: "resource", });
5266
+
5267
+ /*
5268
+ Retrieves the list of RecoverableSnapshot resources contained within
5269
+ the specified region.
5270
+ */
5271
+ await gapi.client.compute.regionRecoverableSnapshots.list({ project: "project", region: "region", });
5272
+
5273
+ /*
5274
+ Recovers the specified RecoverableSnapshot.
5275
+ */
5276
+ await gapi.client.compute.regionRecoverableSnapshots.recover({ project: "project", recoverableSnapshot: "recoverableSnapshot", region: "region", });
5277
+
5278
+ /*
5279
+ Sets the access control policy on the specified resource.
5280
+ Replaces any existing policy.
5281
+ */
5282
+ await gapi.client.compute.regionRecoverableSnapshots.setIamPolicy({ project: "project", region: "region", resource: "resource", });
5283
+
5284
+ /*
5285
+ Returns permissions that a caller has on the specified resource.
5286
+ */
5287
+ await gapi.client.compute.regionRecoverableSnapshots.testIamPermissions({ project: "project", region: "region", resource: "resource", });
5288
+
5222
5289
  /*
5223
5290
  Returns the specified Region resource.
5224
5291