@maxim_mazurok/gapi.client.compute-v1 0.1.20251019 → 0.1.20251110

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 +70 -35
  2. package/package.json +1 -1
  3. package/readme.md +54 -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/v1/rest
12
- // Revision: 20251019
12
+ // Revision: 20251110
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -8481,7 +8481,7 @@ declare namespace gapi.client {
8481
8481
  * Only one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.
8482
8482
  *
8483
8483
  * Regular expressions can only be used when the loadBalancingScheme is
8484
- * set to INTERNAL_SELF_MANAGED.
8484
+ * set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
8485
8485
  */
8486
8486
  regexMatch?: string;
8487
8487
  /**
@@ -8709,7 +8709,7 @@ declare namespace gapi.client {
8709
8709
  * Only one of presentMatch, exactMatch, orregexMatch must be set.
8710
8710
  *
8711
8711
  * Regular expressions can only be used when the loadBalancingScheme is
8712
- * set to INTERNAL_SELF_MANAGED.
8712
+ * set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
8713
8713
  */
8714
8714
  regexMatch?: string;
8715
8715
  }
@@ -9059,7 +9059,7 @@ declare namespace gapi.client {
9059
9059
  *
9060
9060
  * fullPathMatch must be from 1 to 1024 characters.
9061
9061
  *
9062
- * Only one of prefixMatch, fullPathMatch or regexMatch must be
9062
+ * Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be
9063
9063
  * specified.
9064
9064
  */
9065
9065
  fullPathMatch?: string;
@@ -9123,7 +9123,8 @@ declare namespace gapi.client {
9123
9123
  *
9124
9124
  * The value must be from 1 to 1024 characters.
9125
9125
  *
9126
- * Only one of prefixMatch, fullPathMatch or regexMatch must be
9126
+ * Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be
9127
+ * specified.
9127
9128
  * specified.
9128
9129
  */
9129
9130
  prefixMatch?: string;
@@ -9140,11 +9141,11 @@ declare namespace gapi.client {
9140
9141
  * supplied with the original URL. For
9141
9142
  * more information about regular expression syntax, see Syntax.
9142
9143
  *
9143
- * Only one of prefixMatch, fullPathMatch orregexMatch must be
9144
+ * Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be
9144
9145
  * specified.
9145
9146
  *
9146
9147
  * Regular expressions can only be used when the loadBalancingScheme is
9147
- * set to INTERNAL_SELF_MANAGED.
9148
+ * set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
9148
9149
  */
9149
9150
  regexMatch?: string;
9150
9151
  }
@@ -23772,6 +23773,8 @@ declare namespace gapi.client {
23772
23773
  * cannot be a dash.
23773
23774
  */
23774
23775
  name?: string;
23776
+ /** [Output Only] The parent of the security policy. */
23777
+ parent?: string;
23775
23778
  recaptchaOptionsConfig?: SecurityPolicyRecaptchaOptionsConfig;
23776
23779
  /**
23777
23780
  * [Output Only] URL of the region where the regional security policy
@@ -66824,8 +66827,10 @@ declare namespace gapi.client {
66824
66827
  * hierarchical security policies will be automatically enrolled into Cloud
66825
66828
  * Armor Enterprise if not already enrolled.
66826
66829
  *
66827
- * Use of this API to modify firewall policies is deprecated. Use
66828
- * firewallPolicies.addAssociation instead if possible.
66830
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
66831
+ * versions of this API were used to modify firewall policies. This usage is
66832
+ * now disabled for most organizations. Use firewallPolicies.addAssociation
66833
+ * instead.
66829
66834
  */
66830
66835
  addAssociation(request: {
66831
66836
  /** V1 error format. */
@@ -66932,7 +66937,13 @@ declare namespace gapi.client {
66932
66937
  },
66933
66938
  body: SecurityPolicyAssociation,
66934
66939
  ): Request<Operation>;
66935
- /** Inserts a rule into a security policy. */
66940
+ /**
66941
+ * Inserts a rule into a security policy.
66942
+ *
66943
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
66944
+ * versions of this API were used to modify firewall policies. This usage is
66945
+ * now disabled for most organizations. Use firewallPolicies.addRule instead.
66946
+ */
66936
66947
  addRule(request: {
66937
66948
  /** V1 error format. */
66938
66949
  '$.xgafv'?: string;
@@ -67029,8 +67040,10 @@ declare namespace gapi.client {
67029
67040
  /**
67030
67041
  * Copies rules to the specified security policy.
67031
67042
  *
67032
- * Use of this API to modify firewall policies is deprecated. Use
67033
- * firewallPolicies.copyRules instead.
67043
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
67044
+ * versions of this API were used to modify firewall policies. This usage is
67045
+ * now disabled for most organizations. Use firewallPolicies.cloneRules
67046
+ * instead.
67034
67047
  */
67035
67048
  copyRules(request?: {
67036
67049
  /** V1 error format. */
@@ -67081,8 +67094,9 @@ declare namespace gapi.client {
67081
67094
  /**
67082
67095
  * Deletes the specified policy.
67083
67096
  *
67084
- * Use of this API to remove firewall policies is deprecated. Use
67085
- * firewallPolicies.delete instead.
67097
+ * Use this API to remove Cloud Armor policies. Previously, alpha and beta
67098
+ * versions of this API were used to remove firewall policies. This usage is
67099
+ * now disabled for most organizations. Use firewallPolicies.delete instead.
67086
67100
  */
67087
67101
  delete(request?: {
67088
67102
  /** V1 error format. */
@@ -67131,8 +67145,9 @@ declare namespace gapi.client {
67131
67145
  /**
67132
67146
  * List all of the ordered rules present in a single specified policy.
67133
67147
  *
67134
- * Use of this API to read firewall policies is deprecated. Use
67135
- * firewallPolicies.get instead.
67148
+ * Use this API to read Cloud Armor policies. Previously, alpha and beta
67149
+ * versions of this API were used to read firewall policies. This usage is now
67150
+ * disabled for most organizations. Use firewallPolicies.get instead.
67136
67151
  */
67137
67152
  get(request?: {
67138
67153
  /** V1 error format. */
@@ -67165,8 +67180,10 @@ declare namespace gapi.client {
67165
67180
  /**
67166
67181
  * Gets an association with the specified name.
67167
67182
  *
67168
- * Use of this API to read firewall policies is deprecated. Use
67169
- * firewallPolicies.getAssociation instead if possible.
67183
+ * Use this API to read Cloud Armor policies. Previously, alpha and beta
67184
+ * versions of this API were used to read firewall policies. This usage is
67185
+ * now disabled for most organizations. Use firewallPolicies.getAssociation
67186
+ * instead.
67170
67187
  */
67171
67188
  getAssociation(request?: {
67172
67189
  /** V1 error format. */
@@ -67201,8 +67218,9 @@ declare namespace gapi.client {
67201
67218
  /**
67202
67219
  * Gets a rule at the specified priority.
67203
67220
  *
67204
- * Use of this API to read firewall policies is deprecated. Use
67205
- * firewallPolicies.getRule instead.
67221
+ * Use this API to read Cloud Armor policies. Previously, alpha and beta
67222
+ * versions of this API were used to read firewall policies. This usage is now
67223
+ * disabled for most organizations. Use firewallPolicies.getRule instead.
67206
67224
  */
67207
67225
  getRule(request?: {
67208
67226
  /** V1 error format. */
@@ -67238,8 +67256,9 @@ declare namespace gapi.client {
67238
67256
  * Creates a new policy in the specified organization using the data included
67239
67257
  * in the request.
67240
67258
  *
67241
- * Use of this API to insert firewall policies is deprecated. Use
67242
- * firewallPolicies.insert instead.
67259
+ * Use this API to add Cloud Armor policies. Previously, alpha and beta
67260
+ * versions of this API were used to add firewall policies. This usage is now
67261
+ * disabled for most organizations. Use firewallPolicies.insert instead.
67243
67262
  */
67244
67263
  insert(request: {
67245
67264
  /** V1 error format. */
@@ -67346,8 +67365,9 @@ declare namespace gapi.client {
67346
67365
  * List all the policies that have been configured for the specified
67347
67366
  * organization.
67348
67367
  *
67349
- * Use of this API to read firewall policies is deprecated. Use
67350
- * firewallPolicies.list instead.
67368
+ * Use this API to read Cloud Armor policies. Previously, alpha and beta
67369
+ * versions of this API were used to read firewall policies. This usage is now
67370
+ * disabled for most organizations. Use firewallPolicies.list instead.
67351
67371
  */
67352
67372
  list(request?: {
67353
67373
  /** V1 error format. */
@@ -67478,8 +67498,10 @@ declare namespace gapi.client {
67478
67498
  /**
67479
67499
  * Lists associations of a specified target, i.e., organization or folder.
67480
67500
  *
67481
- * Use of this API to read firewall policies is deprecated. Use
67482
- * firewallPolicies.listAssociations instead if possible.
67501
+ * Use this API to read Cloud Armor policies. Previously, alpha and beta
67502
+ * versions of this API were used to read firewall policies. This usage is
67503
+ * now disabled for most organizations. Use firewallPolicies.listAssociations
67504
+ * instead.
67483
67505
  */
67484
67506
  listAssociations(request?: {
67485
67507
  /** V1 error format. */
@@ -67645,8 +67667,9 @@ declare namespace gapi.client {
67645
67667
  /**
67646
67668
  * Moves the specified security policy.
67647
67669
  *
67648
- * Use of this API to modify firewall policies is deprecated. Use
67649
- * firewallPolicies.move instead.
67670
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
67671
+ * versions of this API were used to modify firewall policies. This usage is
67672
+ * now disabled for most organizations. Use firewallPolicies.move instead.
67650
67673
  */
67651
67674
  move(request?: {
67652
67675
  /** V1 error format. */
@@ -67697,8 +67720,9 @@ declare namespace gapi.client {
67697
67720
  /**
67698
67721
  * Patches the specified policy with the data included in the request.
67699
67722
  *
67700
- * Use of this API to modify firewall policies is deprecated. Use
67701
- * firewallPolicies.patch instead.
67723
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
67724
+ * versions of this API were used to modify firewall policies. This usage is
67725
+ * now disabled for most organizations. Use firewallPolicies.patch instead.
67702
67726
  */
67703
67727
  patch(request: {
67704
67728
  /** V1 error format. */
@@ -67796,8 +67820,10 @@ declare namespace gapi.client {
67796
67820
  /**
67797
67821
  * Patches a rule at the specified priority.
67798
67822
  *
67799
- * Use of this API to modify firewall policies is deprecated. Use
67800
- * firewallPolicies.patchRule instead.
67823
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
67824
+ * versions of this API were used to modify firewall policies. This usage is
67825
+ * now disabled for most organizations. Use firewallPolicies.patchRule
67826
+ * instead.
67801
67827
  */
67802
67828
  patchRule(request: {
67803
67829
  /** V1 error format. */
@@ -67899,8 +67925,10 @@ declare namespace gapi.client {
67899
67925
  /**
67900
67926
  * Removes an association for the specified security policy.
67901
67927
  *
67902
- * Use of this API to modify firewall policies is deprecated. Use
67903
- * firewallPolicies.removeAssociation instead if possible.
67928
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
67929
+ * versions of this API were used to modify firewall policies. This usage is
67930
+ * now disabled for most organizations. Use firewallPolicies.removeAssociation
67931
+ * instead.
67904
67932
  */
67905
67933
  removeAssociation(request?: {
67906
67934
  /** V1 error format. */
@@ -67948,7 +67976,14 @@ declare namespace gapi.client {
67948
67976
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
67949
67977
  userIp?: string;
67950
67978
  }): Request<Operation>;
67951
- /** Deletes a rule at the specified priority. */
67979
+ /**
67980
+ * Deletes a rule at the specified priority.
67981
+ *
67982
+ * Use this API to modify Cloud Armor policies. Previously, alpha and beta
67983
+ * versions of this API were used to modify firewall policies. This usage is
67984
+ * now disabled for most organizations. Use firewallPolicies.removeRule
67985
+ * instead.
67986
+ */
67952
67987
  removeRule(request?: {
67953
67988
  /** V1 error format. */
67954
67989
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-v1",
3
- "version": "0.1.20251019",
3
+ "version": "0.1.20251110",
4
4
  "description": "TypeScript typings for Compute Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -2982,53 +2982,66 @@ This has billing implications. Projects in the hierarchy with effective
2982
2982
  hierarchical security policies will be automatically enrolled into Cloud
2983
2983
  Armor Enterprise if not already enrolled.
2984
2984
 
2985
- Use of this API to modify firewall policies is deprecated. Use
2986
- firewallPolicies.addAssociation instead if possible.
2985
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
2986
+ versions of this API were used to modify firewall policies. This usage is
2987
+ now disabled for most organizations. Use firewallPolicies.addAssociation
2988
+ instead.
2987
2989
  */
2988
2990
  await gapi.client.compute.organizationSecurityPolicies.addAssociation({ securityPolicy: "securityPolicy", });
2989
2991
 
2990
2992
  /*
2991
2993
  Inserts a rule into a security policy.
2994
+
2995
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
2996
+ versions of this API were used to modify firewall policies. This usage is
2997
+ now disabled for most organizations. Use firewallPolicies.addRule instead.
2992
2998
  */
2993
2999
  await gapi.client.compute.organizationSecurityPolicies.addRule({ securityPolicy: "securityPolicy", });
2994
3000
 
2995
3001
  /*
2996
3002
  Copies rules to the specified security policy.
2997
3003
 
2998
- Use of this API to modify firewall policies is deprecated. Use
2999
- firewallPolicies.copyRules instead.
3004
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3005
+ versions of this API were used to modify firewall policies. This usage is
3006
+ now disabled for most organizations. Use firewallPolicies.cloneRules
3007
+ instead.
3000
3008
  */
3001
3009
  await gapi.client.compute.organizationSecurityPolicies.copyRules({ securityPolicy: "securityPolicy", });
3002
3010
 
3003
3011
  /*
3004
3012
  Deletes the specified policy.
3005
3013
 
3006
- Use of this API to remove firewall policies is deprecated. Use
3007
- firewallPolicies.delete instead.
3014
+ Use this API to remove Cloud Armor policies. Previously, alpha and beta
3015
+ versions of this API were used to remove firewall policies. This usage is
3016
+ now disabled for most organizations. Use firewallPolicies.delete instead.
3008
3017
  */
3009
3018
  await gapi.client.compute.organizationSecurityPolicies.delete({ securityPolicy: "securityPolicy", });
3010
3019
 
3011
3020
  /*
3012
3021
  List all of the ordered rules present in a single specified policy.
3013
3022
 
3014
- Use of this API to read firewall policies is deprecated. Use
3015
- firewallPolicies.get instead.
3023
+ Use this API to read Cloud Armor policies. Previously, alpha and beta
3024
+ versions of this API were used to read firewall policies. This usage is now
3025
+ disabled for most organizations. Use firewallPolicies.get instead.
3016
3026
  */
3017
3027
  await gapi.client.compute.organizationSecurityPolicies.get({ securityPolicy: "securityPolicy", });
3018
3028
 
3019
3029
  /*
3020
3030
  Gets an association with the specified name.
3021
3031
 
3022
- Use of this API to read firewall policies is deprecated. Use
3023
- firewallPolicies.getAssociation instead if possible.
3032
+ Use this API to read Cloud Armor policies. Previously, alpha and beta
3033
+ versions of this API were used to read firewall policies. This usage is
3034
+ now disabled for most organizations. Use firewallPolicies.getAssociation
3035
+ instead.
3024
3036
  */
3025
3037
  await gapi.client.compute.organizationSecurityPolicies.getAssociation({ securityPolicy: "securityPolicy", });
3026
3038
 
3027
3039
  /*
3028
3040
  Gets a rule at the specified priority.
3029
3041
 
3030
- Use of this API to read firewall policies is deprecated. Use
3031
- firewallPolicies.getRule instead.
3042
+ Use this API to read Cloud Armor policies. Previously, alpha and beta
3043
+ versions of this API were used to read firewall policies. This usage is now
3044
+ disabled for most organizations. Use firewallPolicies.getRule instead.
3032
3045
  */
3033
3046
  await gapi.client.compute.organizationSecurityPolicies.getRule({ securityPolicy: "securityPolicy", });
3034
3047
 
@@ -3036,8 +3049,9 @@ await gapi.client.compute.organizationSecurityPolicies.getRule({ securityPolicy:
3036
3049
  Creates a new policy in the specified organization using the data included
3037
3050
  in the request.
3038
3051
 
3039
- Use of this API to insert firewall policies is deprecated. Use
3040
- firewallPolicies.insert instead.
3052
+ Use this API to add Cloud Armor policies. Previously, alpha and beta
3053
+ versions of this API were used to add firewall policies. This usage is now
3054
+ disabled for most organizations. Use firewallPolicies.insert instead.
3041
3055
  */
3042
3056
  await gapi.client.compute.organizationSecurityPolicies.insert({ });
3043
3057
 
@@ -3045,16 +3059,19 @@ await gapi.client.compute.organizationSecurityPolicies.insert({ });
3045
3059
  List all the policies that have been configured for the specified
3046
3060
  organization.
3047
3061
 
3048
- Use of this API to read firewall policies is deprecated. Use
3049
- firewallPolicies.list instead.
3062
+ Use this API to read Cloud Armor policies. Previously, alpha and beta
3063
+ versions of this API were used to read firewall policies. This usage is now
3064
+ disabled for most organizations. Use firewallPolicies.list instead.
3050
3065
  */
3051
3066
  await gapi.client.compute.organizationSecurityPolicies.list({ });
3052
3067
 
3053
3068
  /*
3054
3069
  Lists associations of a specified target, i.e., organization or folder.
3055
3070
 
3056
- Use of this API to read firewall policies is deprecated. Use
3057
- firewallPolicies.listAssociations instead if possible.
3071
+ Use this API to read Cloud Armor policies. Previously, alpha and beta
3072
+ versions of this API were used to read firewall policies. This usage is
3073
+ now disabled for most organizations. Use firewallPolicies.listAssociations
3074
+ instead.
3058
3075
  */
3059
3076
  await gapi.client.compute.organizationSecurityPolicies.listAssociations({ });
3060
3077
 
@@ -3067,37 +3084,48 @@ await gapi.client.compute.organizationSecurityPolicies.listPreconfiguredExpressi
3067
3084
  /*
3068
3085
  Moves the specified security policy.
3069
3086
 
3070
- Use of this API to modify firewall policies is deprecated. Use
3071
- firewallPolicies.move instead.
3087
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3088
+ versions of this API were used to modify firewall policies. This usage is
3089
+ now disabled for most organizations. Use firewallPolicies.move instead.
3072
3090
  */
3073
3091
  await gapi.client.compute.organizationSecurityPolicies.move({ securityPolicy: "securityPolicy", });
3074
3092
 
3075
3093
  /*
3076
3094
  Patches the specified policy with the data included in the request.
3077
3095
 
3078
- Use of this API to modify firewall policies is deprecated. Use
3079
- firewallPolicies.patch instead.
3096
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3097
+ versions of this API were used to modify firewall policies. This usage is
3098
+ now disabled for most organizations. Use firewallPolicies.patch instead.
3080
3099
  */
3081
3100
  await gapi.client.compute.organizationSecurityPolicies.patch({ securityPolicy: "securityPolicy", });
3082
3101
 
3083
3102
  /*
3084
3103
  Patches a rule at the specified priority.
3085
3104
 
3086
- Use of this API to modify firewall policies is deprecated. Use
3087
- firewallPolicies.patchRule instead.
3105
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3106
+ versions of this API were used to modify firewall policies. This usage is
3107
+ now disabled for most organizations. Use firewallPolicies.patchRule
3108
+ instead.
3088
3109
  */
3089
3110
  await gapi.client.compute.organizationSecurityPolicies.patchRule({ securityPolicy: "securityPolicy", });
3090
3111
 
3091
3112
  /*
3092
3113
  Removes an association for the specified security policy.
3093
3114
 
3094
- Use of this API to modify firewall policies is deprecated. Use
3095
- firewallPolicies.removeAssociation instead if possible.
3115
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3116
+ versions of this API were used to modify firewall policies. This usage is
3117
+ now disabled for most organizations. Use firewallPolicies.removeAssociation
3118
+ instead.
3096
3119
  */
3097
3120
  await gapi.client.compute.organizationSecurityPolicies.removeAssociation({ securityPolicy: "securityPolicy", });
3098
3121
 
3099
3122
  /*
3100
3123
  Deletes a rule at the specified priority.
3124
+
3125
+ Use this API to modify Cloud Armor policies. Previously, alpha and beta
3126
+ versions of this API were used to modify firewall policies. This usage is
3127
+ now disabled for most organizations. Use firewallPolicies.removeRule
3128
+ instead.
3101
3129
  */
3102
3130
  await gapi.client.compute.organizationSecurityPolicies.removeRule({ securityPolicy: "securityPolicy", });
3103
3131