@maxim_mazurok/gapi.client.compute-alpha 0.0.20240312 → 0.0.20240324

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 +434 -4
  2. package/package.json +1 -1
  3. package/readme.md +40 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
12
- // Revision: 20240312
12
+ // Revision: 20240324
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -815,6 +815,10 @@ declare namespace gapi.client {
815
815
  edgeSecurityPolicy?: string;
816
816
  /** If true, enables Cloud CDN for the backend service of a global external Application Load Balancer. */
817
817
  enableCDN?: boolean;
818
+ /** Specifies the canary migration state. Possible values are PREPARE, TEST, and FINALIZE. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to FINALIZE before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST state can be used to migrate traffic by percentage using externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to FINALIZE at the same time. Optionally, the TEST state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. */
819
+ externalManagedMigrationState?: string;
820
+ /** Determines the fraction of requests that should be processed by the Global external Application Load Balancer. The value of this field must be in the range [0, 100]. Session affinity options will slightly affect this routing behavior, for more details, see: Session Affinity. This value is only used if the loadBalancingScheme in the BackendService is set to EXTERNAL when using the classic Application Load Balancer. */
821
+ externalManagedMigrationTestingPercentage?: number;
818
822
  /** Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). */
819
823
  failoverPolicy?: BackendServiceFailoverPolicy;
820
824
  /** Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. */
@@ -1953,7 +1957,7 @@ declare namespace gapi.client {
1953
1957
  interface ErrorInfo {
1954
1958
  /** The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". */
1955
1959
  domain?: string;
1956
- /** Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request. */
1960
+ /** Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request. */
1957
1961
  metadatas?: {[P in string]: string};
1958
1962
  /** The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. */
1959
1963
  reason?: string;
@@ -2178,6 +2182,8 @@ declare namespace gapi.client {
2178
2182
  kind?: string;
2179
2183
  /** Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy. */
2180
2184
  name?: string;
2185
+ /** A list of packet mirroring rules that belong to this policy. */
2186
+ packetMirroringRules?: FirewallPolicyRule[];
2181
2187
  /** [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies. */
2182
2188
  parent?: string;
2183
2189
  /** [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
@@ -2328,6 +2334,10 @@ declare namespace gapi.client {
2328
2334
  creationTimestamp?: string;
2329
2335
  /** An optional description of this resource. Provide this property when you create the resource. */
2330
2336
  description?: string;
2337
+ /** Specifies the canary migration state for the backend buckets attached to this forwarding rule. Possible values are PREPARE, TEST, and FINALIZE. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to FINALIZE before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST state can be used to migrate traffic to backend buckets attached to this forwarding rule by percentage using externalManagedBackendBucketMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to FINALIZE at the same time. Optionally, the TEST state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. */
2338
+ externalManagedBackendBucketMigrationState?: string;
2339
+ /** Determines the fraction of requests to backend buckets that should be processed by the Global external Application Load Balancer. The value of this field must be in the range [0, 100]. This value is only used if the loadBalancingScheme is set to EXTERNAL (when using the Classic ALB). */
2340
+ externalManagedBackendBucketMigrationTestingPercentage?: number;
2331
2341
  /** Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ForwardingRule. Include the fingerprint in patch request to ensure that you do not overwrite changes that were applied from another concurrent request. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule. */
2332
2342
  fingerprint?: string;
2333
2343
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
@@ -4162,7 +4172,7 @@ declare namespace gapi.client {
4162
4172
  hasStatefulConfig?: boolean;
4163
4173
  /** [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config. */
4164
4174
  isStateful?: boolean;
4165
- /** [Output Only] Status of per-instance configurations on the instance. */
4175
+ /** [Output Only] Status of per-instance configurations on the instances. */
4166
4176
  perInstanceConfigs?: InstanceGroupManagerStatusStatefulPerInstanceConfigs;
4167
4177
  }
4168
4178
  interface InstanceGroupManagerStatusStatefulPerInstanceConfigs {
@@ -10075,7 +10085,7 @@ declare namespace gapi.client {
10075
10085
  natSubnets?: string[];
10076
10086
  /** The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment. */
10077
10087
  producerForwardingRule?: string;
10078
- /** The number of consumer Network Connectivity Center spokes that connected Private Service Connect endpoints can be propagated to. This limit lets a service producer indirectly limit how many propagated Private Service Connect connections can be established to the producer's service attachment. If the connection preference of the service attachment is ACCEPT_MANUAL, the limit applies to each project or network that is listed in the consumer accept list. If the connection preference of the service attachment is ACCEPT_AUTOMATIC, the limit applies to each project that contains a connected endpoint. If unspecified, the default propagated connection limit is 250. */
10088
+ /** The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center. This limit lets the service producer limit how many propagated Private Service Connect connections can be established to this service attachment from a single consumer. If the connection preference of the service attachment is ACCEPT_MANUAL, the limit applies to each project or network that is listed in the consumer accept list. If the connection preference of the service attachment is ACCEPT_AUTOMATIC, the limit applies to each project that contains a connected endpoint. If unspecified, the default propagated connection limit is 250. */
10079
10089
  propagatedConnectionLimit?: number;
10080
10090
  /** [Output Only] An 128-bit global unique ID of the PSC service attachment. */
10081
10091
  pscServiceAttachmentId?: Uint128;
@@ -16692,6 +16702,72 @@ declare namespace gapi.client {
16692
16702
  },
16693
16703
  body: FirewallPolicyAssociation
16694
16704
  ): Request<Operation>;
16705
+ /** Inserts a packet mirroring rule into a firewall policy. */
16706
+ addPacketMirroringRule(request: {
16707
+ /** V1 error format. */
16708
+ '$.xgafv'?: string;
16709
+ /** OAuth access token. */
16710
+ access_token?: string;
16711
+ /** Data format for response. */
16712
+ alt?: string;
16713
+ /** JSONP */
16714
+ callback?: string;
16715
+ /** Selector specifying which fields to include in a partial response. */
16716
+ fields?: string;
16717
+ /** Name of the firewall policy to update. */
16718
+ firewallPolicy: string;
16719
+ /** 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. */
16720
+ key?: string;
16721
+ /** OAuth 2.0 token for the current user. */
16722
+ oauth_token?: string;
16723
+ /** Returns response with indentations and line breaks. */
16724
+ prettyPrint?: boolean;
16725
+ /** 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. */
16726
+ quotaUser?: string;
16727
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
16728
+ requestId?: string;
16729
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16730
+ upload_protocol?: string;
16731
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16732
+ uploadType?: string;
16733
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
16734
+ userIp?: string;
16735
+ /** Request body */
16736
+ resource: FirewallPolicyRule;
16737
+ }): Request<Operation>;
16738
+ addPacketMirroringRule(
16739
+ request: {
16740
+ /** V1 error format. */
16741
+ '$.xgafv'?: string;
16742
+ /** OAuth access token. */
16743
+ access_token?: string;
16744
+ /** Data format for response. */
16745
+ alt?: string;
16746
+ /** JSONP */
16747
+ callback?: string;
16748
+ /** Selector specifying which fields to include in a partial response. */
16749
+ fields?: string;
16750
+ /** Name of the firewall policy to update. */
16751
+ firewallPolicy: string;
16752
+ /** 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. */
16753
+ key?: string;
16754
+ /** OAuth 2.0 token for the current user. */
16755
+ oauth_token?: string;
16756
+ /** Returns response with indentations and line breaks. */
16757
+ prettyPrint?: boolean;
16758
+ /** 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. */
16759
+ quotaUser?: string;
16760
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
16761
+ requestId?: string;
16762
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16763
+ upload_protocol?: string;
16764
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16765
+ uploadType?: string;
16766
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
16767
+ userIp?: string;
16768
+ },
16769
+ body: FirewallPolicyRule
16770
+ ): Request<Operation>;
16695
16771
  /** Inserts a rule into a firewall policy. */
16696
16772
  addRule(request: {
16697
16773
  /** V1 error format. */
@@ -16913,6 +16989,37 @@ declare namespace gapi.client {
16913
16989
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
16914
16990
  userIp?: string;
16915
16991
  }): Request<Policy>;
16992
+ /** Gets a packet mirroring rule of the specified priority. */
16993
+ getPacketMirroringRule(request?: {
16994
+ /** V1 error format. */
16995
+ '$.xgafv'?: string;
16996
+ /** OAuth access token. */
16997
+ access_token?: string;
16998
+ /** Data format for response. */
16999
+ alt?: string;
17000
+ /** JSONP */
17001
+ callback?: string;
17002
+ /** Selector specifying which fields to include in a partial response. */
17003
+ fields?: string;
17004
+ /** Name of the firewall policy to which the queried rule belongs. */
17005
+ firewallPolicy: string;
17006
+ /** 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. */
17007
+ key?: string;
17008
+ /** OAuth 2.0 token for the current user. */
17009
+ oauth_token?: string;
17010
+ /** Returns response with indentations and line breaks. */
17011
+ prettyPrint?: boolean;
17012
+ /** The priority of the rule to get from the firewall policy. */
17013
+ priority?: number;
17014
+ /** 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. */
17015
+ quotaUser?: string;
17016
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17017
+ upload_protocol?: string;
17018
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17019
+ uploadType?: string;
17020
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
17021
+ userIp?: string;
17022
+ }): Request<FirewallPolicyRule>;
16916
17023
  /** Gets a rule of the specified priority. */
16917
17024
  getRule(request?: {
16918
17025
  /** V1 error format. */
@@ -17177,6 +17284,76 @@ declare namespace gapi.client {
17177
17284
  },
17178
17285
  body: FirewallPolicy
17179
17286
  ): Request<Operation>;
17287
+ /** Patches a packet mirroring rule of the specified priority. */
17288
+ patchPacketMirroringRule(request: {
17289
+ /** V1 error format. */
17290
+ '$.xgafv'?: string;
17291
+ /** OAuth access token. */
17292
+ access_token?: string;
17293
+ /** Data format for response. */
17294
+ alt?: string;
17295
+ /** JSONP */
17296
+ callback?: string;
17297
+ /** Selector specifying which fields to include in a partial response. */
17298
+ fields?: string;
17299
+ /** Name of the firewall policy to update. */
17300
+ firewallPolicy: string;
17301
+ /** 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. */
17302
+ key?: string;
17303
+ /** OAuth 2.0 token for the current user. */
17304
+ oauth_token?: string;
17305
+ /** Returns response with indentations and line breaks. */
17306
+ prettyPrint?: boolean;
17307
+ /** The priority of the rule to patch. */
17308
+ priority?: number;
17309
+ /** 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. */
17310
+ quotaUser?: string;
17311
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
17312
+ requestId?: string;
17313
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17314
+ upload_protocol?: string;
17315
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17316
+ uploadType?: string;
17317
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
17318
+ userIp?: string;
17319
+ /** Request body */
17320
+ resource: FirewallPolicyRule;
17321
+ }): Request<Operation>;
17322
+ patchPacketMirroringRule(
17323
+ request: {
17324
+ /** V1 error format. */
17325
+ '$.xgafv'?: string;
17326
+ /** OAuth access token. */
17327
+ access_token?: string;
17328
+ /** Data format for response. */
17329
+ alt?: string;
17330
+ /** JSONP */
17331
+ callback?: string;
17332
+ /** Selector specifying which fields to include in a partial response. */
17333
+ fields?: string;
17334
+ /** Name of the firewall policy to update. */
17335
+ firewallPolicy: string;
17336
+ /** 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. */
17337
+ key?: string;
17338
+ /** OAuth 2.0 token for the current user. */
17339
+ oauth_token?: string;
17340
+ /** Returns response with indentations and line breaks. */
17341
+ prettyPrint?: boolean;
17342
+ /** The priority of the rule to patch. */
17343
+ priority?: number;
17344
+ /** 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. */
17345
+ quotaUser?: string;
17346
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
17347
+ requestId?: string;
17348
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17349
+ upload_protocol?: string;
17350
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17351
+ uploadType?: string;
17352
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
17353
+ userIp?: string;
17354
+ },
17355
+ body: FirewallPolicyRule
17356
+ ): Request<Operation>;
17180
17357
  /** Patches a rule of the specified priority. */
17181
17358
  patchRule(request: {
17182
17359
  /** V1 error format. */
@@ -17280,6 +17457,39 @@ declare namespace gapi.client {
17280
17457
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
17281
17458
  userIp?: string;
17282
17459
  }): Request<Operation>;
17460
+ /** Deletes a packet mirroring rule of the specified priority. */
17461
+ removePacketMirroringRule(request?: {
17462
+ /** V1 error format. */
17463
+ '$.xgafv'?: string;
17464
+ /** OAuth access token. */
17465
+ access_token?: string;
17466
+ /** Data format for response. */
17467
+ alt?: string;
17468
+ /** JSONP */
17469
+ callback?: string;
17470
+ /** Selector specifying which fields to include in a partial response. */
17471
+ fields?: string;
17472
+ /** Name of the firewall policy to update. */
17473
+ firewallPolicy: string;
17474
+ /** 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. */
17475
+ key?: string;
17476
+ /** OAuth 2.0 token for the current user. */
17477
+ oauth_token?: string;
17478
+ /** Returns response with indentations and line breaks. */
17479
+ prettyPrint?: boolean;
17480
+ /** The priority of the rule to remove from the firewall policy. */
17481
+ priority?: number;
17482
+ /** 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. */
17483
+ quotaUser?: string;
17484
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
17485
+ requestId?: string;
17486
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17487
+ upload_protocol?: string;
17488
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17489
+ uploadType?: string;
17490
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
17491
+ userIp?: string;
17492
+ }): Request<Operation>;
17283
17493
  /** Deletes a rule of the specified priority. */
17284
17494
  removeRule(request?: {
17285
17495
  /** V1 error format. */
@@ -31281,6 +31491,84 @@ declare namespace gapi.client {
31281
31491
  },
31282
31492
  body: FirewallPolicyAssociation
31283
31493
  ): Request<Operation>;
31494
+ /** Inserts a packet mirroring rule into a firewall policy. */
31495
+ addPacketMirroringRule(request: {
31496
+ /** V1 error format. */
31497
+ '$.xgafv'?: string;
31498
+ /** OAuth access token. */
31499
+ access_token?: string;
31500
+ /** Data format for response. */
31501
+ alt?: string;
31502
+ /** JSONP */
31503
+ callback?: string;
31504
+ /** Selector specifying which fields to include in a partial response. */
31505
+ fields?: string;
31506
+ /** Name of the firewall policy to update. */
31507
+ firewallPolicy: string;
31508
+ /** 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. */
31509
+ key?: string;
31510
+ /** When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. */
31511
+ maxPriority?: number;
31512
+ /** When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. */
31513
+ minPriority?: number;
31514
+ /** OAuth 2.0 token for the current user. */
31515
+ oauth_token?: string;
31516
+ /** Returns response with indentations and line breaks. */
31517
+ prettyPrint?: boolean;
31518
+ /** Project ID for this request. */
31519
+ project: string;
31520
+ /** 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. */
31521
+ quotaUser?: string;
31522
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
31523
+ requestId?: string;
31524
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31525
+ upload_protocol?: string;
31526
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31527
+ uploadType?: string;
31528
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
31529
+ userIp?: string;
31530
+ /** Request body */
31531
+ resource: FirewallPolicyRule;
31532
+ }): Request<Operation>;
31533
+ addPacketMirroringRule(
31534
+ request: {
31535
+ /** V1 error format. */
31536
+ '$.xgafv'?: string;
31537
+ /** OAuth access token. */
31538
+ access_token?: string;
31539
+ /** Data format for response. */
31540
+ alt?: string;
31541
+ /** JSONP */
31542
+ callback?: string;
31543
+ /** Selector specifying which fields to include in a partial response. */
31544
+ fields?: string;
31545
+ /** Name of the firewall policy to update. */
31546
+ firewallPolicy: string;
31547
+ /** 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. */
31548
+ key?: string;
31549
+ /** When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. */
31550
+ maxPriority?: number;
31551
+ /** When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. */
31552
+ minPriority?: number;
31553
+ /** OAuth 2.0 token for the current user. */
31554
+ oauth_token?: string;
31555
+ /** Returns response with indentations and line breaks. */
31556
+ prettyPrint?: boolean;
31557
+ /** Project ID for this request. */
31558
+ project: string;
31559
+ /** 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. */
31560
+ quotaUser?: string;
31561
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
31562
+ requestId?: string;
31563
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31564
+ upload_protocol?: string;
31565
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31566
+ uploadType?: string;
31567
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
31568
+ userIp?: string;
31569
+ },
31570
+ body: FirewallPolicyRule
31571
+ ): Request<Operation>;
31284
31572
  /** Inserts a rule into a firewall policy. */
31285
31573
  addRule(request: {
31286
31574
  /** V1 error format. */
@@ -31524,6 +31812,39 @@ declare namespace gapi.client {
31524
31812
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
31525
31813
  userIp?: string;
31526
31814
  }): Request<Policy>;
31815
+ /** Gets a packet mirroring rule of the specified priority. */
31816
+ getPacketMirroringRule(request?: {
31817
+ /** V1 error format. */
31818
+ '$.xgafv'?: string;
31819
+ /** OAuth access token. */
31820
+ access_token?: string;
31821
+ /** Data format for response. */
31822
+ alt?: string;
31823
+ /** JSONP */
31824
+ callback?: string;
31825
+ /** Selector specifying which fields to include in a partial response. */
31826
+ fields?: string;
31827
+ /** Name of the firewall policy to which the queried rule belongs. */
31828
+ firewallPolicy: string;
31829
+ /** 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. */
31830
+ key?: string;
31831
+ /** OAuth 2.0 token for the current user. */
31832
+ oauth_token?: string;
31833
+ /** Returns response with indentations and line breaks. */
31834
+ prettyPrint?: boolean;
31835
+ /** The priority of the rule to get from the firewall policy. */
31836
+ priority?: number;
31837
+ /** Project ID for this request. */
31838
+ project: string;
31839
+ /** 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. */
31840
+ quotaUser?: string;
31841
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31842
+ upload_protocol?: string;
31843
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31844
+ uploadType?: string;
31845
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
31846
+ userIp?: string;
31847
+ }): Request<FirewallPolicyRule>;
31527
31848
  /** Gets a rule of the specified priority. */
31528
31849
  getRule(request?: {
31529
31850
  /** V1 error format. */
@@ -31802,6 +32123,80 @@ declare namespace gapi.client {
31802
32123
  },
31803
32124
  body: FirewallPolicyAssociation
31804
32125
  ): Request<Operation>;
32126
+ /** Patches a packet mirroring rule of the specified priority. */
32127
+ patchPacketMirroringRule(request: {
32128
+ /** V1 error format. */
32129
+ '$.xgafv'?: string;
32130
+ /** OAuth access token. */
32131
+ access_token?: string;
32132
+ /** Data format for response. */
32133
+ alt?: string;
32134
+ /** JSONP */
32135
+ callback?: string;
32136
+ /** Selector specifying which fields to include in a partial response. */
32137
+ fields?: string;
32138
+ /** Name of the firewall policy to update. */
32139
+ firewallPolicy: string;
32140
+ /** 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. */
32141
+ key?: string;
32142
+ /** OAuth 2.0 token for the current user. */
32143
+ oauth_token?: string;
32144
+ /** Returns response with indentations and line breaks. */
32145
+ prettyPrint?: boolean;
32146
+ /** The priority of the rule to patch. */
32147
+ priority?: number;
32148
+ /** Project ID for this request. */
32149
+ project: string;
32150
+ /** 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. */
32151
+ quotaUser?: string;
32152
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
32153
+ requestId?: string;
32154
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32155
+ upload_protocol?: string;
32156
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32157
+ uploadType?: string;
32158
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32159
+ userIp?: string;
32160
+ /** Request body */
32161
+ resource: FirewallPolicyRule;
32162
+ }): Request<Operation>;
32163
+ patchPacketMirroringRule(
32164
+ request: {
32165
+ /** V1 error format. */
32166
+ '$.xgafv'?: string;
32167
+ /** OAuth access token. */
32168
+ access_token?: string;
32169
+ /** Data format for response. */
32170
+ alt?: string;
32171
+ /** JSONP */
32172
+ callback?: string;
32173
+ /** Selector specifying which fields to include in a partial response. */
32174
+ fields?: string;
32175
+ /** Name of the firewall policy to update. */
32176
+ firewallPolicy: string;
32177
+ /** 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. */
32178
+ key?: string;
32179
+ /** OAuth 2.0 token for the current user. */
32180
+ oauth_token?: string;
32181
+ /** Returns response with indentations and line breaks. */
32182
+ prettyPrint?: boolean;
32183
+ /** The priority of the rule to patch. */
32184
+ priority?: number;
32185
+ /** Project ID for this request. */
32186
+ project: string;
32187
+ /** 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. */
32188
+ quotaUser?: string;
32189
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
32190
+ requestId?: string;
32191
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32192
+ upload_protocol?: string;
32193
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32194
+ uploadType?: string;
32195
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32196
+ userIp?: string;
32197
+ },
32198
+ body: FirewallPolicyRule
32199
+ ): Request<Operation>;
31805
32200
  /** Patches a rule of the specified priority. */
31806
32201
  patchRule(request: {
31807
32202
  /** V1 error format. */
@@ -31911,6 +32306,41 @@ declare namespace gapi.client {
31911
32306
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
31912
32307
  userIp?: string;
31913
32308
  }): Request<Operation>;
32309
+ /** Deletes a packet mirroring rule of the specified priority. */
32310
+ removePacketMirroringRule(request?: {
32311
+ /** V1 error format. */
32312
+ '$.xgafv'?: string;
32313
+ /** OAuth access token. */
32314
+ access_token?: string;
32315
+ /** Data format for response. */
32316
+ alt?: string;
32317
+ /** JSONP */
32318
+ callback?: string;
32319
+ /** Selector specifying which fields to include in a partial response. */
32320
+ fields?: string;
32321
+ /** Name of the firewall policy to update. */
32322
+ firewallPolicy: string;
32323
+ /** 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. */
32324
+ key?: string;
32325
+ /** OAuth 2.0 token for the current user. */
32326
+ oauth_token?: string;
32327
+ /** Returns response with indentations and line breaks. */
32328
+ prettyPrint?: boolean;
32329
+ /** The priority of the rule to remove from the firewall policy. */
32330
+ priority?: number;
32331
+ /** Project ID for this request. */
32332
+ project: string;
32333
+ /** 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. */
32334
+ quotaUser?: string;
32335
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
32336
+ requestId?: string;
32337
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32338
+ upload_protocol?: string;
32339
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32340
+ uploadType?: string;
32341
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
32342
+ userIp?: string;
32343
+ }): Request<Operation>;
31914
32344
  /** Deletes a rule of the specified priority. */
31915
32345
  removeRule(request?: {
31916
32346
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20240312",
3
+ "version": "0.0.20240324",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -470,6 +470,11 @@ Inserts an association for the specified firewall policy.
470
470
  */
471
471
  await gapi.client.compute.firewallPolicies.addAssociation({ firewallPolicy: "firewallPolicy", });
472
472
 
473
+ /*
474
+ Inserts a packet mirroring rule into a firewall policy.
475
+ */
476
+ await gapi.client.compute.firewallPolicies.addPacketMirroringRule({ firewallPolicy: "firewallPolicy", });
477
+
473
478
  /*
474
479
  Inserts a rule into a firewall policy.
475
480
  */
@@ -500,6 +505,11 @@ Gets the access control policy for a resource. May be empty if no such policy or
500
505
  */
501
506
  await gapi.client.compute.firewallPolicies.getIamPolicy({ resource: "resource", });
502
507
 
508
+ /*
509
+ Gets a packet mirroring rule of the specified priority.
510
+ */
511
+ await gapi.client.compute.firewallPolicies.getPacketMirroringRule({ firewallPolicy: "firewallPolicy", });
512
+
503
513
  /*
504
514
  Gets a rule of the specified priority.
505
515
  */
@@ -530,6 +540,11 @@ Patches the specified policy with the data included in the request.
530
540
  */
531
541
  await gapi.client.compute.firewallPolicies.patch({ firewallPolicy: "firewallPolicy", });
532
542
 
543
+ /*
544
+ Patches a packet mirroring rule of the specified priority.
545
+ */
546
+ await gapi.client.compute.firewallPolicies.patchPacketMirroringRule({ firewallPolicy: "firewallPolicy", });
547
+
533
548
  /*
534
549
  Patches a rule of the specified priority.
535
550
  */
@@ -540,6 +555,11 @@ Removes an association for the specified firewall policy.
540
555
  */
541
556
  await gapi.client.compute.firewallPolicies.removeAssociation({ firewallPolicy: "firewallPolicy", });
542
557
 
558
+ /*
559
+ Deletes a packet mirroring rule of the specified priority.
560
+ */
561
+ await gapi.client.compute.firewallPolicies.removePacketMirroringRule({ firewallPolicy: "firewallPolicy", });
562
+
543
563
  /*
544
564
  Deletes a rule of the specified priority.
545
565
  */
@@ -1965,6 +1985,11 @@ Inserts an association for the specified firewall policy.
1965
1985
  */
1966
1986
  await gapi.client.compute.networkFirewallPolicies.addAssociation({ firewallPolicy: "firewallPolicy", project: "project", });
1967
1987
 
1988
+ /*
1989
+ Inserts a packet mirroring rule into a firewall policy.
1990
+ */
1991
+ await gapi.client.compute.networkFirewallPolicies.addPacketMirroringRule({ firewallPolicy: "firewallPolicy", project: "project", });
1992
+
1968
1993
  /*
1969
1994
  Inserts a rule into a firewall policy.
1970
1995
  */
@@ -1995,6 +2020,11 @@ Gets the access control policy for a resource. May be empty if no such policy or
1995
2020
  */
1996
2021
  await gapi.client.compute.networkFirewallPolicies.getIamPolicy({ project: "project", resource: "resource", });
1997
2022
 
2023
+ /*
2024
+ Gets a packet mirroring rule of the specified priority.
2025
+ */
2026
+ await gapi.client.compute.networkFirewallPolicies.getPacketMirroringRule({ firewallPolicy: "firewallPolicy", project: "project", });
2027
+
1998
2028
  /*
1999
2029
  Gets a rule of the specified priority.
2000
2030
  */
@@ -2020,6 +2050,11 @@ Updates an association for the specified network firewall policy.
2020
2050
  */
2021
2051
  await gapi.client.compute.networkFirewallPolicies.patchAssociation({ firewallPolicy: "firewallPolicy", project: "project", });
2022
2052
 
2053
+ /*
2054
+ Patches a packet mirroring rule of the specified priority.
2055
+ */
2056
+ await gapi.client.compute.networkFirewallPolicies.patchPacketMirroringRule({ firewallPolicy: "firewallPolicy", project: "project", });
2057
+
2023
2058
  /*
2024
2059
  Patches a rule of the specified priority.
2025
2060
  */
@@ -2030,6 +2065,11 @@ Removes an association for the specified firewall policy.
2030
2065
  */
2031
2066
  await gapi.client.compute.networkFirewallPolicies.removeAssociation({ firewallPolicy: "firewallPolicy", project: "project", });
2032
2067
 
2068
+ /*
2069
+ Deletes a packet mirroring rule of the specified priority.
2070
+ */
2071
+ await gapi.client.compute.networkFirewallPolicies.removePacketMirroringRule({ firewallPolicy: "firewallPolicy", project: "project", });
2072
+
2033
2073
  /*
2034
2074
  Deletes a rule of the specified priority.
2035
2075
  */