@maxim_mazurok/gapi.client.compute-alpha 0.0.20250511 → 0.0.20250601

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 +547 -7
  2. package/package.json +1 -1
  3. package/readme.md +41 -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: 20250511
12
+ // Revision: 20250601
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -733,6 +733,8 @@ declare namespace gapi.client {
733
733
  loadBalancingScheme?: string;
734
734
  /** 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. */
735
735
  name?: string;
736
+ /** [Output Only] URL of the region where the regional backend bucket resides. This field is not applicable to global backend buckets. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
737
+ region?: string;
736
738
  /** [Output Only] Server-defined URL for the resource. */
737
739
  selfLink?: string;
738
740
  /** [Output Only] Server-defined URL for this resource with the resource id. */
@@ -1058,7 +1060,7 @@ declare namespace gapi.client {
1058
1060
  kind?: string;
1059
1061
  }
1060
1062
  interface BackendServiceHAPolicy {
1061
- /** Specifies whether fast IP move is enabled, and if so, the mechanism to achieve it. Supported values are: - DISABLED: Fast IP Move is disabled. You can only use the haPolicy.leader API to update the leader. - >GARP_RA: Provides a method to very quickly define a new network endpoint as the leader. This method is faster than updating the leader using the haPolicy.leader API. Fast IP move works as follows: The VM hosting the network endpoint that should become the new leader sends either a Gratuitous ARP (GARP) packet (IPv4) or an ICMPv6 Router Advertisement(RA) packet (IPv6). Google Cloud immediately but temporarily associates the forwarding rule IP address with that VM, and both new and in-flight packets are quickly delivered to that VM. Note the important properties of the Fast IP Move functionality: - The GARP/RA-initiated re-routing stays active for approximately 20 minutes. After triggering fast failover, you must also appropriately set the haPolicy.leader. - The new leader instance should continue to send GARP/RA packets periodically every 10 seconds until at least 10 minutes after updating the haPolicy.leader (but stop immediately if it is no longer the leader). - After triggering a fast failover, we recommend that you wait at least 3 seconds before sending another GARP/RA packet from a different VM instance to avoid race conditions. - Don't send GARP/RA packets from different VM instances at the same time. If multiple instances continue to send GARP/RA packets, traffic might be routed to different destinations in an alternating order. This condition ceases when a single instance issues a GARP/RA packet. - The GARP/RA request always takes priority over the leader API. Using the haPolicy.leader API to change the leader to a different instance will have no effect until the GARP/RA request becomes inactive. - The GARP/RA packets should follow the GARP/RA Packet Specifications.. - When multiple forwarding rules refer to a regional backend service, you need only send a GARP or RA packet for a single forwarding rule virtual IP. The virtual IPs for all forwarding rules targeting the same backend service will also be moved to the sender of the GARP or RA packet. The following are the Fast IP Move limitations (that is, when fastIPMove is not DISABLED): - Multiple forwarding rules cannot use the same IP address if one of them refers to a regional backend service with fastIPMove. - The regional backend service must set the network field, and all NEGs must belong to that network. However, individual NEGs can belong to different subnetworks of that network. - The maximum number of network endpoints across all backends of a backend service with fastIPMove is 64. - The maximum number of backend services with fastIPMove that can have the same network endpoint attached to one of its backends is 64. - The maximum number of backend services with fastIPMove in a VPC in a region is 64. - The network endpoints that are attached to a backend of a backend service with fastIPMove cannot resolve to Gen3+ machines for IPv6. - Traffic directed to the leader by a static route next hop will not be redirected to a new leader by fast failover. Such traffic will only be redirected once an haPolicy.leader update has taken effect. Only traffic to the forwarding rule's virtual IP will be redirected to a new leader by fast failover. haPolicy.fastIPMove can be set only at backend service creation time. Once set, it cannot be updated. By default, fastIpMove is set to DISABLED. */
1063
+ /** Specifies whether fast IP move is enabled, and if so, the mechanism to achieve it. Supported values are: - DISABLED: Fast IP Move is disabled. You can only use the haPolicy.leader API to update the leader. - >GARP_RA: Provides a method to very quickly define a new network endpoint as the leader. This method is faster than updating the leader using the haPolicy.leader API. Fast IP move works as follows: The VM hosting the network endpoint that should become the new leader sends either a Gratuitous ARP (GARP) packet (IPv4) or an ICMPv6 Router Advertisement(RA) packet (IPv6). Google Cloud immediately but temporarily associates the forwarding rule IP address with that VM, and both new and in-flight packets are quickly delivered to that VM. Note the important properties of the Fast IP Move functionality: - The GARP/RA-initiated re-routing stays active for approximately 20 minutes. After triggering fast failover, you must also appropriately set the haPolicy.leader. - The new leader instance should continue to send GARP/RA packets periodically every 10 seconds until at least 10 minutes after updating the haPolicy.leader (but stop immediately if it is no longer the leader). - After triggering a fast failover, we recommend that you wait at least 3 seconds before sending another GARP/RA packet from a different VM instance to avoid race conditions. - Don't send GARP/RA packets from different VM instances at the same time. If multiple instances continue to send GARP/RA packets, traffic might be routed to different destinations in an alternating order. This condition ceases when a single instance issues a GARP/RA packet. - The GARP/RA request always takes priority over the leader API. Using the haPolicy.leader API to change the leader to a different instance will have no effect until the GARP/RA request becomes inactive. - The GARP/RA packets should follow the GARP/RA Packet Specifications.. - When multiple forwarding rules refer to a regional backend service, you need only send a GARP or RA packet for a single forwarding rule virtual IP. The virtual IPs for all forwarding rules targeting the same backend service will also be moved to the sender of the GARP or RA packet. The following are the Fast IP Move limitations (that is, when fastIPMove is not DISABLED): - Multiple forwarding rules cannot use the same IP address if one of them refers to a regional backend service with fastIPMove. - The regional backend service must set the network field, and all NEGs must belong to that network. However, individual NEGs can belong to different subnetworks of that network. - The maximum number of network endpoints across all backends of a backend service with fastIPMove is 32. - The maximum number of backend services with fastIPMove that can have the same network endpoint attached to one of its backends is 64. - The maximum number of backend services with fastIPMove in a VPC in a region is 64. - The network endpoints that are attached to a backend of a backend service with fastIPMove cannot resolve to Gen3+ machines for IPv6. - Traffic directed to the leader by a static route next hop will not be redirected to a new leader by fast failover. Such traffic will only be redirected once an haPolicy.leader update has taken effect. Only traffic to the forwarding rule's virtual IP will be redirected to a new leader by fast failover. haPolicy.fastIPMove can be set only at backend service creation time. Once set, it cannot be updated. By default, fastIpMove is set to DISABLED. */
1062
1064
  fastIPMove?: string;
1063
1065
  /** Selects one of the network endpoints attached to the backend NEGs of this service as the active endpoint (the leader) that receives all traffic. When the leader changes, there is no connection draining to persist existing connections on the old leader. You are responsible for selecting a suitable endpoint as the leader. For example, preferring a healthy endpoint over unhealthy ones. Note that this service does not track backend endpoint health, and selects the configured leader unconditionally. */
1064
1066
  leader?: BackendServiceHAPolicyLeader;
@@ -1349,6 +1351,8 @@ declare namespace gapi.client {
1349
1351
  interface BulkInsertInstanceResource {
1350
1352
  /** The maximum number of instances to create. */
1351
1353
  count?: string;
1354
+ /** A flexible specification of machine type of instances to create. */
1355
+ instanceFlexibilityPolicy?: InstanceFlexibilityPolicy;
1352
1356
  /** The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided. */
1353
1357
  instanceProperties?: InstanceProperties;
1354
1358
  /** Policy for choosing target zone. For more information, see Create VMs in bulk. */
@@ -2008,6 +2012,14 @@ declare namespace gapi.client {
2008
2012
  sourceInstantSnapshot?: string;
2009
2013
  /** [Output Only] The unique ID of the instant snapshot used to create this disk. This value identifies the exact instant snapshot that was used to create this persistent disk. For example, if you created the persistent disk from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact version of the instant snapshot that was used. */
2010
2014
  sourceInstantSnapshotId?: string;
2015
+ /** The machine image to create the disk from. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/machineImages/machineImage - projects/project/global/machineImages/machineImage - global/machineImages/machineImage */
2016
+ sourceMachineImage?: string;
2017
+ /** Input only. The device name of a disk within a given machine image. The source_machine_image must be specified. */
2018
+ sourceMachineImageDiskDeviceName?: string;
2019
+ /** The customer-supplied encryption key of the source machine image. Required if the source machine image is protected by a customer-supplied encryption key. */
2020
+ sourceMachineImageEncryptionKey?: CustomerEncryptionKey;
2021
+ /** [Output Only] The unique ID of the machine image used to create this disk. This value identifies the exact machine image that was used to create this persistent disk. For example, if you created the persistent disk from a machine image that was later deleted and recreated under the same name, the source machine image ID would identify the exact version of the machine image that was used. */
2022
+ sourceMachineImageId?: string;
2011
2023
  /** The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot */
2012
2024
  sourceSnapshot?: string;
2013
2025
  /** The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. */
@@ -3781,7 +3793,7 @@ declare namespace gapi.client {
3781
3793
  headerName?: string;
3782
3794
  /** The value of the header to add. */
3783
3795
  headerValue?: string;
3784
- /** If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false. */
3796
+ /** If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is true, unless a variable is present in headerValue, in which case the default value is false. . */
3785
3797
  replace?: boolean;
3786
3798
  }
3787
3799
  interface HttpHealthCheck {
@@ -4059,6 +4071,8 @@ declare namespace gapi.client {
4059
4071
  locked?: boolean;
4060
4072
  /** 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. */
4061
4073
  name?: string;
4074
+ /** Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. */
4075
+ params?: ImageParams;
4062
4076
  /** The parameters of the raw disk image. */
4063
4077
  rawDisk?: {
4064
4078
  /** The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. */
@@ -4137,6 +4151,10 @@ declare namespace gapi.client {
4137
4151
  message?: string;
4138
4152
  };
4139
4153
  }
4154
+ interface ImageParams {
4155
+ /** Resource manager tags to be bound to the image. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. */
4156
+ resourceManagerTags?: {[P in string]: string};
4157
+ }
4140
4158
  interface InitialStateConfig {
4141
4159
  /** The Key Database (db). */
4142
4160
  dbs?: FileContentBuffer[];
@@ -4193,7 +4211,7 @@ declare namespace gapi.client {
4193
4211
  lastSuspendedTimestamp?: string;
4194
4212
  /** Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types. */
4195
4213
  machineType?: string;
4196
- /** The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys. */
4214
+ /** The metadata key/value pairs assigned to this instance. This includes metadata keys that were explicitly defined for the instance. */
4197
4215
  metadata?: Metadata;
4198
4216
  /** Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". */
4199
4217
  minCpuPlatform?: string;
@@ -4301,6 +4319,18 @@ declare namespace gapi.client {
4301
4319
  /** The minimal guaranteed number of virtual CPUs that are reserved. */
4302
4320
  minNodeCpus?: number;
4303
4321
  }
4322
+ interface InstanceFlexibilityPolicy {
4323
+ /** Specification of alternative, flexible instance subsets. One of them will be selected to create the instances based on various criteria, like: - ranks, - location policy, - current capacity, - available reservations (you can specify affinity in InstanceProperties), - SWAN/GOOSE limitations. Key is an arbitrary, unique RFC1035 string that identifies the instance selection. */
4324
+ instanceSelections?: {
4325
+ [P in string]: InstanceFlexibilityPolicyInstanceSelection;
4326
+ };
4327
+ }
4328
+ interface InstanceFlexibilityPolicyInstanceSelection {
4329
+ /** Alternative machine types to use for instances that are created from these properties. This field only accepts a machine type names, for example `n2-standard-4` and not URLs or partial URLs. */
4330
+ machineTypes?: string[];
4331
+ /** Rank when prioritizing the shape flexibilities. The instance selections with rank are considered first, in the ascending order of the rank. If not set, defaults to 0. */
4332
+ rank?: string;
4333
+ }
4304
4334
  interface InstanceGroup {
4305
4335
  /** [Output Only] The creation timestamp for this instance group in RFC3339 text format. */
4306
4336
  creationTimestamp?: string;
@@ -4584,7 +4614,7 @@ declare namespace gapi.client {
4584
4614
  timeoutSec?: number;
4585
4615
  }
4586
4616
  interface InstanceGroupManagerInstanceLifecyclePolicyOnRepair {
4587
- /** Specifies whether the MIG can change a VM's zone during repair. */
4617
+ /** Specifies whether the MIG can change a VM's zone during a repair. */
4588
4618
  allowChangingZone?: string;
4589
4619
  }
4590
4620
  interface InstanceGroupManagerList {
@@ -5106,6 +5136,8 @@ declare namespace gapi.client {
5106
5136
  targetInstance?: string;
5107
5137
  }
5108
5138
  interface InstanceParams {
5139
+ /** Relative deadline for waiting for capacity. Relevant only for Instances.Insert API. */
5140
+ requestValidForDuration?: Duration;
5109
5141
  /** Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. */
5110
5142
  resourceManagerTags?: {[P in string]: string};
5111
5143
  }
@@ -7991,6 +8023,8 @@ declare namespace gapi.client {
7991
8023
  location?: NetworkProfileLocation;
7992
8024
  /** [Output Only] Name of the resource. */
7993
8025
  name?: string;
8026
+ /** [Output Only] Type of the network profile. */
8027
+ profileType?: NetworkProfileProfileType;
7994
8028
  /** [Output Only] Server-defined URL for the resource. */
7995
8029
  selfLink?: string;
7996
8030
  /** [Output Only] Server-defined URL for this resource with the resource id. */
@@ -8058,6 +8092,12 @@ declare namespace gapi.client {
8058
8092
  /** Specifies which type of unicast is supported. */
8059
8093
  unicast?: string;
8060
8094
  }
8095
+ interface NetworkProfileProfileType {
8096
+ networkType?: string;
8097
+ rdmaSubtype?: string;
8098
+ ullSubtype?: string;
8099
+ vpcSubtype?: string;
8100
+ }
8061
8101
  interface NetworkProfilesListResponse {
8062
8102
  etag?: string;
8063
8103
  /** [Output Only] Unique identifier for the resource; defined by the server. */
@@ -9333,6 +9373,8 @@ declare namespace gapi.client {
9333
9373
  id?: string;
9334
9374
  /** The address range, in CIDR format, represented by this public advertised prefix. */
9335
9375
  ipCidrRange?: string;
9376
+ /** The internet access type for IPv6 Public Advertised Prefixes. */
9377
+ ipv6AccessType?: string;
9336
9378
  /** [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes. */
9337
9379
  kind?: string;
9338
9380
  /** 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. */
@@ -9403,6 +9445,8 @@ declare namespace gapi.client {
9403
9445
  id?: string;
9404
9446
  /** The IP address range, in CIDR format, represented by this public delegated prefix. */
9405
9447
  ipCidrRange?: string;
9448
+ /** [Output Only] The internet access type for IPv6 Public Delegated Prefixes. Inherited from parent prefix. */
9449
+ ipv6AccessType?: string;
9406
9450
  /** If true, the prefix will be live migrated. */
9407
9451
  isLiveMigration?: boolean;
9408
9452
  /** [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes. */
@@ -9505,6 +9549,8 @@ declare namespace gapi.client {
9505
9549
  description?: string;
9506
9550
  /** The IP address range, in CIDR format, represented by this sub public delegated prefix. */
9507
9551
  ipCidrRange?: string;
9552
+ /** [Output Only] The internet access type for IPv6 Public Delegated Sub Prefixes. Inherited from parent prefix. */
9553
+ ipv6AccessType?: string;
9508
9554
  /** Whether the sub prefix is delegated to create Address resources in the delegatee project. */
9509
9555
  isAddress?: boolean;
9510
9556
  /** The PublicDelegatedSubPrefix mode for IPv6 only. */
@@ -9679,6 +9725,194 @@ declare namespace gapi.client {
9679
9725
  /** The list of principals. */
9680
9726
  principals?: Principal[];
9681
9727
  }
9728
+ interface RecoverableSnapshot {
9729
+ /** [Output Only] Creation timestamp in RFC3339 text format. */
9730
+ creationTimestamp?: string;
9731
+ /** Optional. An optional description of this resource. */
9732
+ description?: string;
9733
+ /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
9734
+ id?: string;
9735
+ /** [Output Only] Type of the resource. Always compute#recoverableSnapshot for RecoverableSnapshot resources. */
9736
+ kind?: string;
9737
+ /** Identifier. Name of the recoverable snapshot generated on the deletion of the snapshot. The name will be 1-63 characters long, and comply with RFC1035. Specifically, the name will be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character will be a lowercase letter, and all following characters can be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
9738
+ name?: string;
9739
+ /** Output Only] The original snapshot resource. */
9740
+ originalResource?: RecoverableSnapshotOriginalSnapshot;
9741
+ /** [Output Only] Purge timestamp of recoverable snapshot in RFC3339 text format. */
9742
+ purgeTimestamp?: string;
9743
+ /** Output only. [Output Only] Reserved for future use. */
9744
+ satisfiesPzi?: boolean;
9745
+ /** [Output Only] Reserved for future use. */
9746
+ satisfiesPzs?: boolean;
9747
+ /** [Output Only] Server-defined URL for the resource. */
9748
+ selfLink?: string;
9749
+ /** [Output Only] Server-defined URL for this resource's resource id. */
9750
+ selfLinkWithId?: string;
9751
+ /** [Output Only] Status of the recoverable snapshot. */
9752
+ status?: string;
9753
+ }
9754
+ interface RecoverableSnapshotAggregatedList {
9755
+ etag?: string;
9756
+ /** [Output Only] Unique identifier for the resource; defined by the server. */
9757
+ id?: string;
9758
+ /** A list of RecoverableSnapshotsScopedList resources. */
9759
+ items?: {[P in string]: RecoverableSnapshotsScopedList};
9760
+ /** [Output Only] Type of resource. Always compute#recoverableSnapshotAggregatedList for aggregated lists of recoverablesnapshots. */
9761
+ kind?: string;
9762
+ /** [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than 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. */
9763
+ nextPageToken?: string;
9764
+ /** [Output Only] Server-defined URL for this resource. */
9765
+ selfLink?: string;
9766
+ /** [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder */
9767
+ unreachables?: string[];
9768
+ /** [Output Only] Informational warning message. */
9769
+ warning?: {
9770
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
9771
+ code?: string;
9772
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
9773
+ data?: Array<{
9774
+ /** [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). */
9775
+ key?: string;
9776
+ /** [Output Only] A warning data value corresponding to the key. */
9777
+ value?: string;
9778
+ }>;
9779
+ /** [Output Only] A human-readable description of the warning code. */
9780
+ message?: string;
9781
+ };
9782
+ }
9783
+ interface RecoverableSnapshotList {
9784
+ etag?: string;
9785
+ /** [Output Only] Unique identifier for the resource; defined by the server. */
9786
+ id?: string;
9787
+ /** A list of RecoverableSnapshots resources. */
9788
+ items?: RecoverableSnapshot[];
9789
+ /** [Output Only] Type of resource. Always compute#recoverableSnapshotList for lists of recoverablesnapshots. */
9790
+ kind?: string;
9791
+ /** [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than 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. */
9792
+ nextPageToken?: string;
9793
+ /** [Output Only] Server-defined URL for this resource. */
9794
+ selfLink?: string;
9795
+ /** [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder */
9796
+ unreachables?: string[];
9797
+ /** [Output Only] Informational warning message. */
9798
+ warning?: {
9799
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
9800
+ code?: string;
9801
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
9802
+ data?: Array<{
9803
+ /** [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). */
9804
+ key?: string;
9805
+ /** [Output Only] A warning data value corresponding to the key. */
9806
+ value?: string;
9807
+ }>;
9808
+ /** [Output Only] A human-readable description of the warning code. */
9809
+ message?: string;
9810
+ };
9811
+ }
9812
+ interface RecoverableSnapshotOriginalSnapshot {
9813
+ /** [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. */
9814
+ architecture?: string;
9815
+ /** [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk. */
9816
+ autoCreated?: boolean;
9817
+ /** ResourceKey of the resource policy or flow which created this auto snapshot */
9818
+ autoCreatedBy?: string;
9819
+ /** Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value. */
9820
+ chainName?: string;
9821
+ /** [Output Only] Size in bytes of the snapshot at creation time. */
9822
+ creationSizeBytes?: string;
9823
+ /** [Output Only] Creation timestamp in RFC3339 text format. */
9824
+ creationTimestamp?: string;
9825
+ /** [Output Only] Purge timestamp of recoverable snapshot in RFC3339 text format. */
9826
+ deletionTimestamp?: string;
9827
+ /** An optional description of this resource. */
9828
+ description?: string;
9829
+ /** [Output Only] Size of the source disk, specified in GB. */
9830
+ diskSizeGb?: string;
9831
+ /** [Output Only] Number of bytes downloaded to restore a snapshot to a disk. */
9832
+ downloadBytes?: string;
9833
+ /** Whether this snapshot is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk. */
9834
+ enableConfidentialCompute?: boolean;
9835
+ /** Indicates the created snapshot is a full snapshot. */
9836
+ full?: boolean;
9837
+ /** [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. */
9838
+ guestOsFeatures?: GuestOsFeature[];
9839
+ /** [Output Only] The unique identifier for the original snapshot. This identifier is defined by the server. */
9840
+ id?: string;
9841
+ /** A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot. */
9842
+ labelFingerprint?: string;
9843
+ /** Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty. */
9844
+ labels?: {[P in string]: string};
9845
+ /** [Output Only] Integer license codes indicating which licenses are attached to this snapshot. */
9846
+ licenseCodes?: string[];
9847
+ /** [Output Only] A list of public visible licenses that apply to this snapshot. */
9848
+ licenses?: string[];
9849
+ /** Number of days the snapshot should be retained before being deleted automatically. */
9850
+ maxRetentionDays?: number;
9851
+ /** Name of the original snapshot provided by the client. 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. */
9852
+ name?: string;
9853
+ /** [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots. */
9854
+ region?: string;
9855
+ /** Output only. Reserved for future use. */
9856
+ satisfiesPzi?: boolean;
9857
+ /** [Output Only] Reserved for future use. */
9858
+ satisfiesPzs?: boolean;
9859
+ /** [Output Only] Server-defined URL for the resource. */
9860
+ selfLink?: string;
9861
+ /** [Output Only] Server-defined URL for this resource's resource id. */
9862
+ selfLinkWithId?: string;
9863
+ /** Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later. */
9864
+ snapshotEncryptionKey?: CustomerEncryptionKey;
9865
+ /** [Output Only] The unique ID of the snapshot group that this snapshot belongs to. */
9866
+ snapshotGroupId?: string;
9867
+ /** [Output only] The snapshot group that this snapshot belongs to. */
9868
+ snapshotGroupName?: string;
9869
+ /** Indicates the type of the snapshot. */
9870
+ snapshotType?: string;
9871
+ /** The source disk used to create this snapshot. */
9872
+ sourceDisk?: string;
9873
+ /** The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. */
9874
+ sourceDiskEncryptionKey?: CustomerEncryptionKey;
9875
+ /** The source disk whose recovery checkpoint will be used to create this snapshot. */
9876
+ sourceDiskForRecoveryCheckpoint?: string;
9877
+ /** [Output Only] The ID value of the disk used to create this snapshot */
9878
+ sourceDiskId?: string;
9879
+ /** The source instant snapshot used to create this snapshot. */
9880
+ sourceInstantSnapshot?: string;
9881
+ /** Customer provided encryption key when creating Snapshot from Instant Snapshot. */
9882
+ sourceInstantSnapshotEncryptionKey?: CustomerEncryptionKey;
9883
+ /** [Output Only] The unique ID of the instant snapshot used to create this snapshot. This value identifies the exact instant snapshot that was used to create this persistent disk. For example, if you created the persistent disk from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact instant snapshot that was used. */
9884
+ sourceInstantSnapshotId?: string;
9885
+ /** [Output Only] URL of the resource policy which created this scheduled snapshot. */
9886
+ sourceSnapshotSchedulePolicy?: string;
9887
+ /** [Output Only] ID of the resource policy which created this scheduled snapshot. */
9888
+ sourceSnapshotSchedulePolicyId?: string;
9889
+ /** [Output Only] A size of the storage used by the snapshot. */
9890
+ storageBytes?: string;
9891
+ /** [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. */
9892
+ storageBytesStatus?: string;
9893
+ /** Cloud Storage bucket storage location of the snapshot (regional or multi-regional). */
9894
+ storageLocations?: string[];
9895
+ /** [Output Only] A list of user provided licenses represented by a list of URLs to the license resource. */
9896
+ userLicenses?: string[];
9897
+ }
9898
+ interface RecoverableSnapshotsScopedList {
9899
+ /** [Output Only] A list of recoverablesnapshots contained in this scope. */
9900
+ recoverablesnapshots?: RecoverableSnapshot[];
9901
+ /** [Output Only] Informational warning which replaces the list of recoverablesnapshots when the list is empty. */
9902
+ warning?: {
9903
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
9904
+ code?: string;
9905
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
9906
+ data?: Array<{
9907
+ /** [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). */
9908
+ key?: string;
9909
+ /** [Output Only] A warning data value corresponding to the key. */
9910
+ value?: string;
9911
+ }>;
9912
+ /** [Output Only] A human-readable description of the warning code. */
9913
+ message?: string;
9914
+ };
9915
+ }
9682
9916
  interface Reference {
9683
9917
  /** [Output Only] Type of the resource. Always compute#reference for references. */
9684
9918
  kind?: string;
@@ -10198,7 +10432,7 @@ declare namespace gapi.client {
10198
10432
  deploymentType?: string;
10199
10433
  /** An optional description of this resource. Provide this property when you create the resource. */
10200
10434
  description?: string;
10201
- /** Indicates if this group of VMs have emergent maintenance enabled. */
10435
+ /** Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors. */
10202
10436
  enableEmergentMaintenance?: boolean;
10203
10437
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
10204
10438
  id?: string;
@@ -10700,6 +10934,10 @@ declare namespace gapi.client {
10700
10934
  interface ResourceStatus {
10701
10935
  /** [Output Only] Accelerators status show results of GPU scans. These scans are specialized diagnostic tests designed to uncover latent manufacturing defects or other issues that could potentially lead to data corruption or impede the customer's ability to efficiently execute GPU workloads. */
10702
10936
  acceleratorStatus?: ResourceStatusAcceleratorStatus[];
10937
+ /** [Output Only] The full resource name of the reservation that this instance is consuming from. */
10938
+ consumedReservation?: string;
10939
+ /** [Output Only] The full resource name of the reservation block that this instance is consuming from. */
10940
+ consumedReservationBlock?: string;
10703
10941
  /** [Output Only] Effective metadata is a field that consolidates project, zonal instance settings, and instance-level predefined metadata keys to provide the overridden value for those metadata keys at the instance level. */
10704
10942
  effectiveInstanceMetadata?: ResourceStatusEffectiveInstanceMetadata;
10705
10943
  /** [Output Only] Contains last termination details why the instance was terminated. */
@@ -10986,6 +11224,8 @@ declare namespace gapi.client {
10986
11224
  nccGateway?: string;
10987
11225
  /** URI of the network to which this router belongs. */
10988
11226
  network?: string;
11227
+ /** Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. */
11228
+ params?: RouterParams;
10989
11229
  /** [Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
10990
11230
  region?: string;
10991
11231
  /** [Output Only] Server-defined URL for the resource. */
@@ -11246,6 +11486,10 @@ declare namespace gapi.client {
11246
11486
  /** URL for the subnetwork resource that will use NAT64. */
11247
11487
  name?: string;
11248
11488
  }
11489
+ interface RouterParams {
11490
+ /** Tag keys/values directly bound to this resource. Tag keys and values have the same definition as resource manager tags. The field is allowed for INSERT only. The keys/values to set on the resource should be specified in either ID { : } or Namespaced format { : }. For example the following are valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} Note: * Invalid combinations of ID & namespaced format is not supported. For instance: {"123/environment" : "tagValues/444"} is invalid. * Inconsistent format is not supported. For instance: {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. */
11491
+ resourceManagerTags?: {[P in string]: string};
11492
+ }
11249
11493
  interface RoutersGetNamedSetResponse {
11250
11494
  /** end_interface: MixerGetResponseWithEtagBuilder */
11251
11495
  etag?: string;
@@ -11548,6 +11792,8 @@ declare namespace gapi.client {
11548
11792
  provisioningModel?: string;
11549
11793
  /** DEPRECATED: please use skipGuestOsShutdown. Timeout between GCE ACPI G2 Soft Off and ACPI G3 Mechanical Off during shutdown operation of VM. For Standard VMs values between 0s and 120s are allowed. For Spot and Preemptible VMs supported values are between 0s and 30s. If no value is specified for shutdownDuration, default values are 90s for Standard VMs and 30s for Spot/Preemptible VMs. */
11550
11794
  shutdownTimeout?: Duration;
11795
+ /** Default is false and there will be 120 seconds between GCE ACPI G2 Soft Off and ACPI G3 Mechanical Off for Standard VMs and 30 seconds for Spot VMs. */
11796
+ skipGuestOsShutdown?: boolean;
11551
11797
  /** Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. */
11552
11798
  terminationTime?: string;
11553
11799
  /** Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default mode is `OFF`. */
@@ -12322,6 +12568,8 @@ declare namespace gapi.client {
12322
12568
  maxRetentionDays?: number;
12323
12569
  /** 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. */
12324
12570
  name?: string;
12571
+ /** Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. */
12572
+ params?: SnapshotParams;
12325
12573
  /** [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots. */
12326
12574
  region?: string;
12327
12575
  /** [Output only] ResourceStatus of the Snapshot resource */
@@ -12466,6 +12714,10 @@ declare namespace gapi.client {
12466
12714
  message?: string;
12467
12715
  };
12468
12716
  }
12717
+ interface SnapshotParams {
12718
+ /** Resource manager tags to be bound to the snapshot. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. */
12719
+ resourceManagerTags?: {[P in string]: string};
12720
+ }
12469
12721
  interface SnapshotResourceStatus {
12470
12722
  /** [Output only] Scheduled deletion time of the snapshot. The snapshot will be deleted by the at any point within one hour after the deletion time. */
12471
12723
  scheduledDeletionTime?: string;
@@ -14894,6 +15146,8 @@ declare namespace gapi.client {
14894
15146
  kind?: string;
14895
15147
  /** 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. */
14896
15148
  name?: string;
15149
+ /** [Output Only] Indicates whether there are wire changes yet to be processed. */
15150
+ reconciling?: boolean;
14897
15151
  /** [Output Only] Server-defined URL for the resource. */
14898
15152
  selfLink?: string;
14899
15153
  selfLinkWithId?: string;
@@ -38697,7 +38951,7 @@ declare namespace gapi.client {
38697
38951
  }): Request<NodeTypeList>;
38698
38952
  }
38699
38953
  interface OrganizationSecurityPoliciesResource {
38700
- /** Inserts an association for the specified security policy. Use of this API to modify firewall policies is deprecated. Use firewallPolicies.addAssociation instead if possible. */
38954
+ /** Inserts an association for the specified security policy. This has billing implications. Projects in the hierarchy with effective hierarchical security policies will be automatically enrolled into Cloud Armor Enterprise if not already enrolled. Use of this API to modify firewall policies is deprecated. Use firewallPolicies.addAssociation instead if possible. */
38701
38955
  addAssociation(request: {
38702
38956
  /** V1 error format. */
38703
38957
  '$.xgafv'?: string;
@@ -41451,6 +41705,290 @@ declare namespace gapi.client {
41451
41705
  userIp?: string;
41452
41706
  }): Request<Operation>;
41453
41707
  }
41708
+ interface RecoverableSnapshotsResource {
41709
+ /** Retrieves an aggregated list of all of the RecoverableSnapshots in your project across all regions and global scope. */
41710
+ aggregatedList(request?: {
41711
+ /** V1 error format. */
41712
+ '$.xgafv'?: string;
41713
+ /** OAuth access token. */
41714
+ access_token?: string;
41715
+ /** Data format for response. */
41716
+ alt?: string;
41717
+ /** JSONP */
41718
+ callback?: string;
41719
+ /** Selector specifying which fields to include in a partial response. */
41720
+ fields?: string;
41721
+ /** 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. */
41722
+ filter?: string;
41723
+ /** Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. */
41724
+ includeAllScopes?: boolean;
41725
+ /** 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. */
41726
+ key?: string;
41727
+ /** 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`) */
41728
+ maxResults?: number;
41729
+ /** OAuth 2.0 token for the current user. */
41730
+ oauth_token?: string;
41731
+ /** 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. */
41732
+ orderBy?: string;
41733
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
41734
+ pageToken?: string;
41735
+ /** Returns response with indentations and line breaks. */
41736
+ prettyPrint?: boolean;
41737
+ /** Project ID for this request. */
41738
+ project: string;
41739
+ /** 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. */
41740
+ quotaUser?: string;
41741
+ /** 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. */
41742
+ returnPartialSuccess?: boolean;
41743
+ /** The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. */
41744
+ serviceProjectNumber?: string;
41745
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41746
+ upload_protocol?: string;
41747
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41748
+ uploadType?: string;
41749
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41750
+ userIp?: string;
41751
+ }): Request<RecoverableSnapshotAggregatedList>;
41752
+ /** Deletes the specified RecoverableSnapshot. Deleting a recoverable snapshot will delete the underlying PD snapshot and is irreversible. */
41753
+ delete(request?: {
41754
+ /** V1 error format. */
41755
+ '$.xgafv'?: string;
41756
+ /** OAuth access token. */
41757
+ access_token?: string;
41758
+ /** Data format for response. */
41759
+ alt?: string;
41760
+ /** JSONP */
41761
+ callback?: string;
41762
+ /** Selector specifying which fields to include in a partial response. */
41763
+ fields?: string;
41764
+ /** 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. */
41765
+ key?: string;
41766
+ /** OAuth 2.0 token for the current user. */
41767
+ oauth_token?: string;
41768
+ /** Returns response with indentations and line breaks. */
41769
+ prettyPrint?: boolean;
41770
+ /** Project ID for this request. */
41771
+ project: string;
41772
+ /** 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. */
41773
+ quotaUser?: string;
41774
+ /** Name of the recoverable Snapshot resource to delete. */
41775
+ recoverableSnapshot: string;
41776
+ /** 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). */
41777
+ requestId?: string;
41778
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41779
+ upload_protocol?: string;
41780
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41781
+ uploadType?: string;
41782
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41783
+ userIp?: string;
41784
+ }): Request<Operation>;
41785
+ /** Returns the specified RecoverableSnapshot resource. */
41786
+ get(request?: {
41787
+ /** V1 error format. */
41788
+ '$.xgafv'?: string;
41789
+ /** OAuth access token. */
41790
+ access_token?: string;
41791
+ /** Data format for response. */
41792
+ alt?: string;
41793
+ /** JSONP */
41794
+ callback?: string;
41795
+ /** Selector specifying which fields to include in a partial response. */
41796
+ fields?: string;
41797
+ /** 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. */
41798
+ key?: string;
41799
+ /** OAuth 2.0 token for the current user. */
41800
+ oauth_token?: string;
41801
+ /** Returns response with indentations and line breaks. */
41802
+ prettyPrint?: boolean;
41803
+ /** Project ID for this request. */
41804
+ project: string;
41805
+ /** 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. */
41806
+ quotaUser?: string;
41807
+ /** Name of the Snapshot resource to return. */
41808
+ recoverableSnapshot: string;
41809
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41810
+ upload_protocol?: string;
41811
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41812
+ uploadType?: string;
41813
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41814
+ userIp?: string;
41815
+ }): Request<RecoverableSnapshot>;
41816
+ /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */
41817
+ getIamPolicy(request?: {
41818
+ /** V1 error format. */
41819
+ '$.xgafv'?: string;
41820
+ /** OAuth access token. */
41821
+ access_token?: string;
41822
+ /** Data format for response. */
41823
+ alt?: string;
41824
+ /** JSONP */
41825
+ callback?: string;
41826
+ /** Selector specifying which fields to include in a partial response. */
41827
+ fields?: string;
41828
+ /** 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. */
41829
+ key?: string;
41830
+ /** OAuth 2.0 token for the current user. */
41831
+ oauth_token?: string;
41832
+ /** Requested IAM Policy version. */
41833
+ optionsRequestedPolicyVersion?: number;
41834
+ /** Returns response with indentations and line breaks. */
41835
+ prettyPrint?: boolean;
41836
+ /** Project ID for this request. */
41837
+ project: string;
41838
+ /** 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. */
41839
+ quotaUser?: string;
41840
+ /** Name or id of the resource for this request. */
41841
+ resource: string;
41842
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41843
+ upload_protocol?: string;
41844
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41845
+ uploadType?: string;
41846
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41847
+ userIp?: string;
41848
+ }): Request<Policy>;
41849
+ /** Retrieves a list of all of the RecoverableSnapshots in your project. */
41850
+ list(request?: {
41851
+ /** V1 error format. */
41852
+ '$.xgafv'?: string;
41853
+ /** OAuth access token. */
41854
+ access_token?: string;
41855
+ /** Data format for response. */
41856
+ alt?: string;
41857
+ /** JSONP */
41858
+ callback?: string;
41859
+ /** Selector specifying which fields to include in a partial response. */
41860
+ fields?: string;
41861
+ /** 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. */
41862
+ filter?: string;
41863
+ /** 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. */
41864
+ key?: string;
41865
+ /** 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`) */
41866
+ maxResults?: number;
41867
+ /** OAuth 2.0 token for the current user. */
41868
+ oauth_token?: string;
41869
+ /** 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. */
41870
+ orderBy?: string;
41871
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
41872
+ pageToken?: string;
41873
+ /** Returns response with indentations and line breaks. */
41874
+ prettyPrint?: boolean;
41875
+ /** Project ID for this request. */
41876
+ project: string;
41877
+ /** 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. */
41878
+ quotaUser?: string;
41879
+ /** 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. */
41880
+ returnPartialSuccess?: boolean;
41881
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41882
+ upload_protocol?: string;
41883
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41884
+ uploadType?: string;
41885
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41886
+ userIp?: string;
41887
+ }): Request<RecoverableSnapshotList>;
41888
+ /** Recovers the specified RecoverableSnapshot. */
41889
+ recover(request?: {
41890
+ /** V1 error format. */
41891
+ '$.xgafv'?: string;
41892
+ /** OAuth access token. */
41893
+ access_token?: string;
41894
+ /** Data format for response. */
41895
+ alt?: string;
41896
+ /** JSONP */
41897
+ callback?: string;
41898
+ /** Selector specifying which fields to include in a partial response. */
41899
+ fields?: string;
41900
+ /** 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. */
41901
+ key?: string;
41902
+ /** OAuth 2.0 token for the current user. */
41903
+ oauth_token?: string;
41904
+ /** Returns response with indentations and line breaks. */
41905
+ prettyPrint?: boolean;
41906
+ /** Project Id of the request */
41907
+ project: string;
41908
+ /** 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. */
41909
+ quotaUser?: string;
41910
+ /** Name of the recoverable resource to recover */
41911
+ recoverableSnapshot: string;
41912
+ /** 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). */
41913
+ requestId?: string;
41914
+ /** Name of the snapshot after the recovery The name will be 1-63 characters long, and comply with RFC1035. Specifically, the name will be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character will be a lowercase letter, and all following characters can be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
41915
+ snapshotName?: string;
41916
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41917
+ upload_protocol?: string;
41918
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41919
+ uploadType?: string;
41920
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41921
+ userIp?: string;
41922
+ }): Request<Operation>;
41923
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. */
41924
+ setIamPolicy(
41925
+ request: {
41926
+ /** V1 error format. */
41927
+ '$.xgafv'?: string;
41928
+ /** OAuth access token. */
41929
+ access_token?: string;
41930
+ /** Data format for response. */
41931
+ alt?: string;
41932
+ /** JSONP */
41933
+ callback?: string;
41934
+ /** Selector specifying which fields to include in a partial response. */
41935
+ fields?: string;
41936
+ /** 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. */
41937
+ key?: string;
41938
+ /** OAuth 2.0 token for the current user. */
41939
+ oauth_token?: string;
41940
+ /** Returns response with indentations and line breaks. */
41941
+ prettyPrint?: boolean;
41942
+ /** Project ID for this request. */
41943
+ project: string;
41944
+ /** 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. */
41945
+ quotaUser?: string;
41946
+ /** Name or id of the resource for this request. */
41947
+ resource: string;
41948
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41949
+ upload_protocol?: string;
41950
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41951
+ uploadType?: string;
41952
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41953
+ userIp?: string;
41954
+ },
41955
+ body: GlobalSetPolicyRequest,
41956
+ ): Request<Policy>;
41957
+ /** Returns permissions that a caller has on the specified resource. */
41958
+ testIamPermissions(
41959
+ request: {
41960
+ /** V1 error format. */
41961
+ '$.xgafv'?: string;
41962
+ /** OAuth access token. */
41963
+ access_token?: string;
41964
+ /** Data format for response. */
41965
+ alt?: string;
41966
+ /** JSONP */
41967
+ callback?: string;
41968
+ /** Selector specifying which fields to include in a partial response. */
41969
+ fields?: string;
41970
+ /** 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. */
41971
+ key?: string;
41972
+ /** OAuth 2.0 token for the current user. */
41973
+ oauth_token?: string;
41974
+ /** Returns response with indentations and line breaks. */
41975
+ prettyPrint?: boolean;
41976
+ /** Project ID for this request. */
41977
+ project: string;
41978
+ /** 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. */
41979
+ quotaUser?: string;
41980
+ /** Name or id of the resource for this request. */
41981
+ resource: string;
41982
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41983
+ upload_protocol?: string;
41984
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41985
+ uploadType?: string;
41986
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41987
+ userIp?: string;
41988
+ },
41989
+ body: TestPermissionsRequest,
41990
+ ): Request<TestPermissionsResponse>;
41991
+ }
41454
41992
  interface RegionAutoscalersResource {
41455
41993
  /** Deletes the specified autoscaler. */
41456
41994
  delete(request?: {
@@ -66232,6 +66770,8 @@ declare namespace gapi.client {
66232
66770
 
66233
66771
  const publicDelegatedPrefixes: PublicDelegatedPrefixesResource;
66234
66772
 
66773
+ const recoverableSnapshots: RecoverableSnapshotsResource;
66774
+
66235
66775
  const regionAutoscalers: RegionAutoscalersResource;
66236
66776
 
66237
66777
  const regionBackendBuckets: RegionBackendBucketsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20250511",
3
+ "version": "0.0.20250601",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -2506,7 +2506,7 @@ Retrieves a list of node types available to the specified project.
2506
2506
  await gapi.client.compute.nodeTypes.list({ project: "project", zone: "zone", });
2507
2507
 
2508
2508
  /*
2509
- Inserts an association for the specified security policy. Use of this API to modify firewall policies is deprecated. Use firewallPolicies.addAssociation instead if possible.
2509
+ Inserts an association for the specified security policy. This has billing implications. Projects in the hierarchy with effective hierarchical security policies will be automatically enrolled into Cloud Armor Enterprise if not already enrolled. Use of this API to modify firewall policies is deprecated. Use firewallPolicies.addAssociation instead if possible.
2510
2510
  */
2511
2511
  await gapi.client.compute.organizationSecurityPolicies.addAssociation({ securityPolicy: "securityPolicy", });
2512
2512
 
@@ -2790,6 +2790,46 @@ Withdraws the specified PublicDelegatedPrefix in the given region.
2790
2790
  */
2791
2791
  await gapi.client.compute.publicDelegatedPrefixes.withdraw({ project: "project", publicDelegatedPrefix: "publicDelegatedPrefix", region: "region", });
2792
2792
 
2793
+ /*
2794
+ Retrieves an aggregated list of all of the RecoverableSnapshots in your project across all regions and global scope.
2795
+ */
2796
+ await gapi.client.compute.recoverableSnapshots.aggregatedList({ project: "project", });
2797
+
2798
+ /*
2799
+ Deletes the specified RecoverableSnapshot. Deleting a recoverable snapshot will delete the underlying PD snapshot and is irreversible.
2800
+ */
2801
+ await gapi.client.compute.recoverableSnapshots.delete({ project: "project", recoverableSnapshot: "recoverableSnapshot", });
2802
+
2803
+ /*
2804
+ Returns the specified RecoverableSnapshot resource.
2805
+ */
2806
+ await gapi.client.compute.recoverableSnapshots.get({ project: "project", recoverableSnapshot: "recoverableSnapshot", });
2807
+
2808
+ /*
2809
+ Gets the access control policy for a resource. May be empty if no such policy or resource exists.
2810
+ */
2811
+ await gapi.client.compute.recoverableSnapshots.getIamPolicy({ project: "project", resource: "resource", });
2812
+
2813
+ /*
2814
+ Retrieves a list of all of the RecoverableSnapshots in your project.
2815
+ */
2816
+ await gapi.client.compute.recoverableSnapshots.list({ project: "project", });
2817
+
2818
+ /*
2819
+ Recovers the specified RecoverableSnapshot.
2820
+ */
2821
+ await gapi.client.compute.recoverableSnapshots.recover({ project: "project", recoverableSnapshot: "recoverableSnapshot", });
2822
+
2823
+ /*
2824
+ Sets the access control policy on the specified resource. Replaces any existing policy.
2825
+ */
2826
+ await gapi.client.compute.recoverableSnapshots.setIamPolicy({ project: "project", resource: "resource", });
2827
+
2828
+ /*
2829
+ Returns permissions that a caller has on the specified resource.
2830
+ */
2831
+ await gapi.client.compute.recoverableSnapshots.testIamPermissions({ project: "project", resource: "resource", });
2832
+
2793
2833
  /*
2794
2834
  Deletes the specified autoscaler.
2795
2835
  */