@maxim_mazurok/gapi.client.compute-alpha 0.0.20240604 → 0.0.20240618

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 +266 -9
  2. package/package.json +1 -1
  3. package/readme.md +21 -1
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: 20240604
12
+ // Revision: 20240618
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -310,6 +310,10 @@ declare namespace gapi.client {
310
310
  /** Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l" */
311
311
  acceleratorType?: string;
312
312
  }
313
+ interface AllocationReservationSharingPolicy {
314
+ /** Sharing config for all Google Cloud services. */
315
+ serviceShareType?: string;
316
+ }
313
317
  interface AllocationResourceStatus {
314
318
  /** Allocation Properties of this reservation. */
315
319
  specificSkuAllocation?: AllocationResourceStatusSpecificSKUAllocation;
@@ -3909,6 +3913,8 @@ declare namespace gapi.client {
3909
3913
  forceUpdateOnRepair?: string;
3910
3914
  /** The configuration for metadata based readiness signal sent by the instance during initialization when stopping / suspending an instance. The Instance Group Manager will wait for a signal that indicates successful initialization before stopping / suspending an instance. If a successful readiness signal is not sent before timeout, the corresponding instance will not be stopped / suspended. Instead, an error will be visible in the lastAttempt.errors field of the managed instance in the listmanagedinstances method. If metadataBasedReadinessSignal.timeoutSec is unset, the Instance Group Manager will directly proceed to suspend / stop instances, skipping initialization on them. */
3911
3915
  metadataBasedReadinessSignal?: InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal;
3916
+ /** The action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are: - DEFAULT_ACTION (default): The MIG performs the same action as specified in the instanceLifecyclePolicy.defaultActionOnFailure field. If the defaultActionOnFailure field is set to REPAIR, then the MIG repairs unhealthy VMs. If the defaultActionOnFailure field is set to DO_NOTHING, then the MIG doesn't repair unhealthy VMs. - REPAIR: The MIG repairs unhealthy VMs by recreating it. - DO_NOTHING: The MIG doesn't repair unhealthy VMs. For more information, see About repairing VMs in a MIG. */
3917
+ onFailedHealthCheck?: string;
3912
3918
  }
3913
3919
  interface InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal {
3914
3920
  /** The number of seconds to wait for a readiness signal during initialization before timing out. */
@@ -4412,7 +4418,7 @@ declare namespace gapi.client {
4412
4418
  keyRevocationActionType?: string;
4413
4419
  /** Labels to apply to instances that are created from these properties. */
4414
4420
  labels?: {[P in string]: string};
4415
- /** The machine type to use for instances that are created from these properties. This field only accept machine types name. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4 will throw INTERNAL_ERROR. */
4421
+ /** The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`. */
4416
4422
  machineType?: string;
4417
4423
  /** The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information. */
4418
4424
  metadata?: Metadata;
@@ -5918,6 +5924,72 @@ declare namespace gapi.client {
5918
5924
  /** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
5919
5925
  units?: string;
5920
5926
  }
5927
+ interface MultiMig {
5928
+ /** [Output Only] Creation timestamp in RFC3339 text format. */
5929
+ creationTimestamp?: string;
5930
+ /** An optional description of this resource. Provide this property when you create the resource. */
5931
+ description?: string;
5932
+ /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
5933
+ id?: string;
5934
+ /** [Output Only] Type of the resource. Always compute#multiMig for MultiMIGs. */
5935
+ kind?: string;
5936
+ locationPolicy?: MultiMigLocationPolicy;
5937
+ /** Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
5938
+ name?: string;
5939
+ /** User-provided names for Parts of MultiMIG and the Parts themselves. */
5940
+ parts?: {[P in string]: MultiMigPart};
5941
+ /** [Output Only] URL of the region where the resource resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
5942
+ region?: string;
5943
+ /** Policy for handling provisioning and other scheduling-related events. */
5944
+ schedulingPolicy?: MultiMigSchedulingPolicy;
5945
+ /** [Output only] Server-defined URL for the resource. */
5946
+ selfLink?: string;
5947
+ /** [Output Only] Server-defined URL for this resource with the resource id. */
5948
+ selfLinkWithId?: string;
5949
+ }
5950
+ interface MultiMigLocationPolicy {
5951
+ /** List of zones where MIGs will be provisioned. Should be valid RFC1035 name */
5952
+ provisioningZones?: string[];
5953
+ }
5954
+ interface MultiMigPart {
5955
+ /** Link to an existing InstanceGroupManager that will be adopted by a MultiMIG. */
5956
+ instanceGroupManager?: string;
5957
+ /** InstanceGroupManager to be created by the multiMig */
5958
+ instanceGroupManagerProperties?: InstanceGroupManager;
5959
+ }
5960
+ interface MultiMigSchedulingPolicy {
5961
+ /** How provisioning of MIGs should be scheduled (coordinated or not) */
5962
+ provisioning?: string;
5963
+ }
5964
+ interface MultiMigsList {
5965
+ etag?: string;
5966
+ /** Unique identifier for the resource; defined by the server. */
5967
+ id?: string;
5968
+ /** A list of MultiMig resources. */
5969
+ items?: MultiMig[];
5970
+ /** Type of resource. */
5971
+ kind?: string;
5972
+ /** This token allows you to get the next page of results for maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. */
5973
+ nextPageToken?: string;
5974
+ /** [Output only] Server-defined URL for this resource. */
5975
+ selfLink?: string;
5976
+ /** [Output only] Unreachable resources. */
5977
+ unreachables?: string[];
5978
+ /** Informational warning message. */
5979
+ warning?: {
5980
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
5981
+ code?: string;
5982
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
5983
+ data?: Array<{
5984
+ /** [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). */
5985
+ key?: string;
5986
+ /** [Output Only] A warning data value corresponding to the key. */
5987
+ value?: string;
5988
+ }>;
5989
+ /** [Output Only] A human-readable description of the warning code. */
5990
+ message?: string;
5991
+ };
5992
+ }
5921
5993
  interface MutualTls {
5922
5994
  /** Specifies if the server TLS is configured to be strict or permissive. This field can be set to one of the following: STRICT: Client certificate must be presented, connection is in TLS. PERMISSIVE: Client certificate can be omitted, connection can be either plaintext or TLS. */
5923
5995
  mode?: string;
@@ -8641,6 +8713,8 @@ declare namespace gapi.client {
8641
8713
  kind?: string;
8642
8714
  /** The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
8643
8715
  name?: string;
8716
+ /** Specify the reservation sharing policy. If unspecified, the reservation will not be shared with Google Cloud managed services. */
8717
+ reservationSharingPolicy?: AllocationReservationSharingPolicy;
8644
8718
  /** Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation. */
8645
8719
  resourcePolicies?: {[P in string]: string};
8646
8720
  /** [Output Only] Status information for Reservation resource. */
@@ -9048,7 +9122,7 @@ declare namespace gapi.client {
9048
9122
  nextHopGateway?: string;
9049
9123
  /** [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets. */
9050
9124
  nextHopHub?: string;
9051
- /** The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule */
9125
+ /** The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address. */
9052
9126
  nextHopIlb?: string;
9053
9127
  /** The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ */
9054
9128
  nextHopInstance?: string;
@@ -9398,7 +9472,7 @@ declare namespace gapi.client {
9398
9472
  action?: RouterNatRuleAction;
9399
9473
  /** An optional description of this rule. */
9400
9474
  description?: string;
9401
- /** CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The following example is a valid match expression for private NAT: "nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'" */
9475
+ /** CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The following example is a valid match expression for private NAT: `nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'` */
9402
9476
  match?: string;
9403
9477
  /** An integer uniquely identifying a rule in the list. The rule number must be a positive value between 0 and 65000, and must be unique among rules within a NAT. */
9404
9478
  ruleNumber?: number;
@@ -9541,9 +9615,9 @@ declare namespace gapi.client {
9541
9615
  };
9542
9616
  }
9543
9617
  interface RouterStatus {
9544
- /** Best routes for this router's network. */
9618
+ /** A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions. */
9545
9619
  bestRoutes?: Route[];
9546
- /** Best routes learned by this router. */
9620
+ /** A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router. */
9547
9621
  bestRoutesForRouter?: Route[];
9548
9622
  bgpPeerStatus?: RouterStatusBgpPeerStatus[];
9549
9623
  natStatus?: RouterStatusNatStatus[];
@@ -10996,7 +11070,7 @@ declare namespace gapi.client {
10996
11070
  name?: string;
10997
11071
  /** Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. */
10998
11072
  performanceProvisioningType?: string;
10999
- /** Size, in GiB, of the storage pool. */
11073
+ /** Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools. */
11000
11074
  poolProvisionedCapacityGb?: string;
11001
11075
  /** Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced. */
11002
11076
  poolProvisionedIops?: string;
@@ -11151,7 +11225,7 @@ declare namespace gapi.client {
11151
11225
  numberOfDisks?: string;
11152
11226
  /** [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks. */
11153
11227
  poolUsedCapacityBytes?: string;
11154
- /** Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. */
11228
+ /** [Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools. */
11155
11229
  poolUsedIops?: string;
11156
11230
  /** [Output Only] Sum of all the disks' provisioned throughput in MB/s. */
11157
11231
  poolUsedThroughput?: string;
@@ -43127,6 +43201,187 @@ declare namespace gapi.client {
43127
43201
  body: TestPermissionsRequest
43128
43202
  ): Request<TestPermissionsResponse>;
43129
43203
  }
43204
+ interface RegionMultiMigsResource {
43205
+ /** Deletes a regional multiMIG in the specified project. */
43206
+ delete(request?: {
43207
+ /** V1 error format. */
43208
+ '$.xgafv'?: string;
43209
+ /** OAuth access token. */
43210
+ access_token?: string;
43211
+ /** Data format for response. */
43212
+ alt?: string;
43213
+ /** JSONP */
43214
+ callback?: string;
43215
+ /** Selector specifying which fields to include in a partial response. */
43216
+ fields?: string;
43217
+ /** 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. */
43218
+ key?: string;
43219
+ /** Name of the multiMIG to delete. */
43220
+ multiMig: string;
43221
+ /** OAuth 2.0 token for the current user. */
43222
+ oauth_token?: string;
43223
+ /** Returns response with indentations and line breaks. */
43224
+ prettyPrint?: boolean;
43225
+ /** Project ID for this request. */
43226
+ project: string;
43227
+ /** 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. */
43228
+ quotaUser?: string;
43229
+ /** Name of the region for this request. */
43230
+ region: string;
43231
+ /** 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). */
43232
+ requestId?: string;
43233
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43234
+ upload_protocol?: string;
43235
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43236
+ uploadType?: string;
43237
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
43238
+ userIp?: string;
43239
+ }): Request<Operation>;
43240
+ /** Returns the specified MultiMIG resource. */
43241
+ get(request?: {
43242
+ /** V1 error format. */
43243
+ '$.xgafv'?: string;
43244
+ /** OAuth access token. */
43245
+ access_token?: string;
43246
+ /** Data format for response. */
43247
+ alt?: string;
43248
+ /** JSONP */
43249
+ callback?: string;
43250
+ /** Selector specifying which fields to include in a partial response. */
43251
+ fields?: string;
43252
+ /** 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. */
43253
+ key?: string;
43254
+ /** Name of the MultiMig resource to return. */
43255
+ multiMig: string;
43256
+ /** OAuth 2.0 token for the current user. */
43257
+ oauth_token?: string;
43258
+ /** Returns response with indentations and line breaks. */
43259
+ prettyPrint?: boolean;
43260
+ /** Project ID for this request. */
43261
+ project: string;
43262
+ /** 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. */
43263
+ quotaUser?: string;
43264
+ /** Name of the region for this request. */
43265
+ region: string;
43266
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43267
+ upload_protocol?: string;
43268
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43269
+ uploadType?: string;
43270
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
43271
+ userIp?: string;
43272
+ }): Request<MultiMig>;
43273
+ /** Creates a regional multiMIG in the specified project. */
43274
+ insert(request: {
43275
+ /** V1 error format. */
43276
+ '$.xgafv'?: string;
43277
+ /** OAuth access token. */
43278
+ access_token?: string;
43279
+ /** Data format for response. */
43280
+ alt?: string;
43281
+ /** JSONP */
43282
+ callback?: string;
43283
+ /** Selector specifying which fields to include in a partial response. */
43284
+ fields?: string;
43285
+ /** 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. */
43286
+ key?: string;
43287
+ /** OAuth 2.0 token for the current user. */
43288
+ oauth_token?: string;
43289
+ /** Returns response with indentations and line breaks. */
43290
+ prettyPrint?: boolean;
43291
+ /** Project ID for this request. */
43292
+ project: string;
43293
+ /** 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. */
43294
+ quotaUser?: string;
43295
+ /** Name of the region for this request. */
43296
+ region: string;
43297
+ /** 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). */
43298
+ requestId?: string;
43299
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43300
+ upload_protocol?: string;
43301
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43302
+ uploadType?: string;
43303
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
43304
+ userIp?: string;
43305
+ /** Request body */
43306
+ resource: MultiMig;
43307
+ }): Request<Operation>;
43308
+ insert(
43309
+ request: {
43310
+ /** V1 error format. */
43311
+ '$.xgafv'?: string;
43312
+ /** OAuth access token. */
43313
+ access_token?: string;
43314
+ /** Data format for response. */
43315
+ alt?: string;
43316
+ /** JSONP */
43317
+ callback?: string;
43318
+ /** Selector specifying which fields to include in a partial response. */
43319
+ fields?: string;
43320
+ /** 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. */
43321
+ key?: string;
43322
+ /** OAuth 2.0 token for the current user. */
43323
+ oauth_token?: string;
43324
+ /** Returns response with indentations and line breaks. */
43325
+ prettyPrint?: boolean;
43326
+ /** Project ID for this request. */
43327
+ project: string;
43328
+ /** 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. */
43329
+ quotaUser?: string;
43330
+ /** Name of the region for this request. */
43331
+ region: string;
43332
+ /** 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). */
43333
+ requestId?: string;
43334
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43335
+ upload_protocol?: string;
43336
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43337
+ uploadType?: string;
43338
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
43339
+ userIp?: string;
43340
+ },
43341
+ body: MultiMig
43342
+ ): Request<Operation>;
43343
+ /** Retrieves a list of MultiMIGs in a project and region. */
43344
+ list(request?: {
43345
+ /** V1 error format. */
43346
+ '$.xgafv'?: string;
43347
+ /** OAuth access token. */
43348
+ access_token?: string;
43349
+ /** Data format for response. */
43350
+ alt?: string;
43351
+ /** JSONP */
43352
+ callback?: string;
43353
+ /** Selector specifying which fields to include in a partial response. */
43354
+ fields?: string;
43355
+ /** A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. */
43356
+ filter?: string;
43357
+ /** 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. */
43358
+ key?: string;
43359
+ /** The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) */
43360
+ maxResults?: number;
43361
+ /** OAuth 2.0 token for the current user. */
43362
+ oauth_token?: string;
43363
+ /** Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. */
43364
+ orderBy?: string;
43365
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
43366
+ pageToken?: string;
43367
+ /** Returns response with indentations and line breaks. */
43368
+ prettyPrint?: boolean;
43369
+ /** Project ID for this request. */
43370
+ project: string;
43371
+ /** 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. */
43372
+ quotaUser?: string;
43373
+ /** Name of the region for this request. */
43374
+ region: string;
43375
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. */
43376
+ returnPartialSuccess?: boolean;
43377
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43378
+ upload_protocol?: string;
43379
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43380
+ uploadType?: string;
43381
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
43382
+ userIp?: string;
43383
+ }): Request<MultiMigsList>;
43384
+ }
43130
43385
  interface RegionNetworkEndpointGroupsResource {
43131
43386
  /** Attach a list of network endpoints to the specified network endpoint group. */
43132
43387
  attachNetworkEndpoints(request: {
@@ -52594,7 +52849,7 @@ declare namespace gapi.client {
52594
52849
  },
52595
52850
  body: TestPermissionsRequest
52596
52851
  ): Request<TestPermissionsResponse>;
52597
- /** Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: size_tb and provisioned_iops. */
52852
+ /** Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: pool_provisioned_capacity_gb, pool_provisioned_iops and pool_provisioned_throughput. */
52598
52853
  update(request: {
52599
52854
  /** V1 error format. */
52600
52855
  '$.xgafv'?: string;
@@ -58835,6 +59090,8 @@ declare namespace gapi.client {
58835
59090
 
58836
59091
  const regionInstantSnapshots: RegionInstantSnapshotsResource;
58837
59092
 
59093
+ const regionMultiMigs: RegionMultiMigsResource;
59094
+
58838
59095
  const regionNetworkEndpointGroups: RegionNetworkEndpointGroupsResource;
58839
59096
 
58840
59097
  const regionNetworkFirewallPolicies: RegionNetworkFirewallPoliciesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20240604",
3
+ "version": "0.0.20240618",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -3110,6 +3110,26 @@ Returns permissions that a caller has on the specified resource.
3110
3110
  */
3111
3111
  await gapi.client.compute.regionInstantSnapshots.testIamPermissions({ project: "project", region: "region", resource: "resource", });
3112
3112
 
3113
+ /*
3114
+ Deletes a regional multiMIG in the specified project.
3115
+ */
3116
+ await gapi.client.compute.regionMultiMigs.delete({ multiMig: "multiMig", project: "project", region: "region", });
3117
+
3118
+ /*
3119
+ Returns the specified MultiMIG resource.
3120
+ */
3121
+ await gapi.client.compute.regionMultiMigs.get({ multiMig: "multiMig", project: "project", region: "region", });
3122
+
3123
+ /*
3124
+ Creates a regional multiMIG in the specified project.
3125
+ */
3126
+ await gapi.client.compute.regionMultiMigs.insert({ project: "project", region: "region", });
3127
+
3128
+ /*
3129
+ Retrieves a list of MultiMIGs in a project and region.
3130
+ */
3131
+ await gapi.client.compute.regionMultiMigs.list({ project: "project", region: "region", });
3132
+
3113
3133
  /*
3114
3134
  Attach a list of network endpoints to the specified network endpoint group.
3115
3135
  */
@@ -4116,7 +4136,7 @@ Returns permissions that a caller has on the specified resource.
4116
4136
  await gapi.client.compute.storagePools.testIamPermissions({ project: "project", resource: "resource", zone: "zone", });
4117
4137
 
4118
4138
  /*
4119
- Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: size_tb and provisioned_iops.
4139
+ Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: pool_provisioned_capacity_gb, pool_provisioned_iops and pool_provisioned_throughput.
4120
4140
  */
4121
4141
  await gapi.client.compute.storagePools.update({ project: "project", storagePool: "storagePool", zone: "zone", });
4122
4142