@maxim_mazurok/gapi.client.compute-alpha 0.0.20250415 → 0.0.20250505

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 +104 -22
  2. package/package.json +1 -1
  3. package/readme.md +7 -2
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: 20250415
12
+ // Revision: 20250505
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -860,7 +860,7 @@ declare namespace gapi.client {
860
860
  connectionDraining?: ConnectionDraining;
861
861
  /** Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers. connectionTrackingPolicy cannot be specified with haPolicy. */
862
862
  connectionTrackingPolicy?: BackendServiceConnectionTrackingPolicy;
863
- /** Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. */
863
+ /** Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. */
864
864
  consistentHash?: ConsistentHashLoadBalancerSettings;
865
865
  /** [Output Only] Creation timestamp in RFC3339 text format. */
866
866
  creationTimestamp?: string;
@@ -902,7 +902,7 @@ declare namespace gapi.client {
902
902
  loadBalancingScheme?: string;
903
903
  /** A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration. */
904
904
  localityLbPolicies?: BackendServiceLocalityLoadBalancingPolicyConfig[];
905
- /** The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. localityLbPolicy cannot be specified with haPolicy. */
905
+ /** The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. localityLbPolicy cannot be specified with haPolicy. */
906
906
  localityLbPolicy?: string;
907
907
  /** This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. */
908
908
  logConfig?: BackendServiceLogConfig;
@@ -916,13 +916,13 @@ declare namespace gapi.client {
916
916
  network?: string;
917
917
  /** Configures traffic steering properties of internal passthrough Network Load Balancers. networkPassThroughLbTrafficPolicy cannot be specified with haPolicy. */
918
918
  networkPassThroughLbTrafficPolicy?: BackendServiceNetworkPassThroughLbTrafficPolicy;
919
- /** Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. */
919
+ /** Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. */
920
920
  outlierDetection?: OutlierDetection;
921
921
  /** Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port. */
922
922
  port?: number;
923
923
  /** A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name. */
924
924
  portName?: string;
925
- /** The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. */
925
+ /** The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. */
926
926
  protocol?: string;
927
927
  /** [Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
928
928
  region?: string;
@@ -2614,6 +2614,8 @@ declare namespace gapi.client {
2614
2614
  destIpRanges?: string[];
2615
2615
  /** Network scope of the traffic destination. */
2616
2616
  destNetworkScope?: string;
2617
+ /** Network type of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET */
2618
+ destNetworkType?: string;
2617
2619
  /** Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000. */
2618
2620
  destRegionCodes?: string[];
2619
2621
  /** Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination. */
@@ -2630,6 +2632,8 @@ declare namespace gapi.client {
2630
2632
  srcNetworks?: string[];
2631
2633
  /** Network scope of the traffic source. */
2632
2634
  srcNetworkScope?: string;
2635
+ /** Network type of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS */
2636
+ srcNetworkType?: string;
2633
2637
  /** Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000. */
2634
2638
  srcRegionCodes?: string[];
2635
2639
  /** List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. */
@@ -3135,12 +3139,20 @@ declare namespace gapi.client {
3135
3139
  policy?: Policy;
3136
3140
  }
3137
3141
  interface GroupMaintenanceInfo {
3142
+ /** Describes number of instances that have ongoing maintenance. */
3143
+ instanceMaintenanceOngoingCount?: number;
3144
+ /** Describes number of instances that have pending maintenance. */
3145
+ instanceMaintenancePendingCount?: number;
3138
3146
  /** Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance. */
3139
3147
  maintenanceOngoingCount?: number;
3140
3148
  /** Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance. */
3141
3149
  maintenancePendingCount?: number;
3142
3150
  /** The type of maintenance for the reservation. */
3143
3151
  schedulingType?: string;
3152
+ /** Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field. */
3153
+ subblockInfraMaintenanceOngoingCount?: number;
3154
+ /** Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field. */
3155
+ subblockInfraMaintenancePendingCount?: number;
3144
3156
  /** Maintenance information on this group of VMs. */
3145
3157
  upcomingGroupMaintenance?: UpcomingMaintenance;
3146
3158
  }
@@ -4505,11 +4517,17 @@ declare namespace gapi.client {
4505
4517
  metadataBasedReadinessSignal?: InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal;
4506
4518
  /** 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): MIG uses the same action configured for instanceLifecyclePolicy.defaultActionOnFailure field. - REPAIR: MIG automatically repairs an unhealthy VM by recreating it. - DO_NOTHING: MIG doesn't repair an unhealthy VM. For more information, see About repairing VMs in a MIG. */
4507
4519
  onFailedHealthCheck?: string;
4520
+ /** Configuration for VM repairs in the MIG. */
4521
+ onRepair?: InstanceGroupManagerInstanceLifecyclePolicyOnRepair;
4508
4522
  }
4509
4523
  interface InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal {
4510
4524
  /** The number of seconds to wait for a readiness signal during initialization before timing out. */
4511
4525
  timeoutSec?: number;
4512
4526
  }
4527
+ interface InstanceGroupManagerInstanceLifecyclePolicyOnRepair {
4528
+ /** Specifies whether the MIG can change a VM's zone during repair. */
4529
+ allowChangingZone?: string;
4530
+ }
4513
4531
  interface InstanceGroupManagerList {
4514
4532
  /** [Output Only] Unique identifier for the resource; defined by the server. */
4515
4533
  id?: string;
@@ -5652,7 +5670,7 @@ declare namespace gapi.client {
5652
5670
  labelFingerprint?: string;
5653
5671
  /** Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. */
5654
5672
  labels?: {[P in string]: string};
5655
- /** Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. */
5673
+ /** Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not specified, the value will default to 1440. */
5656
5674
  mtu?: number;
5657
5675
  /** Whether or not to permit multicast traffic for this attachment. Multicast packets will be dropped if this is not enabled. */
5658
5676
  multicastEnabled?: boolean;
@@ -5845,11 +5863,11 @@ declare namespace gapi.client {
5845
5863
  ipsecInternalAddresses?: string[];
5846
5864
  /** L2 Interconnect Attachment related config. This field is required if the type is L2_DEDICATED. The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad) within L2 packets are mapped to the destination appliances IP addresses. The packet is then encapsulated with the appliance IP address and sent to the edge appliance. */
5847
5865
  l2Forwarding?: InterconnectAttachmentL2Forwarding;
5848
- /** Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. */
5866
+ /** Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, or 8896. If not specified, the value will default to 1440. */
5849
5867
  mtu?: number;
5850
5868
  /** Whether or not to permit multicast traffic for this attachment. Multicast packets will be dropped if this is not enabled. */
5851
5869
  multicastEnabled?: boolean;
5852
- /** 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. */
5870
+ /** Name of the resource. Provided by the client when the resource is created. Must be set on either the template_attachment or on each specific attachment. If set, 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. */
5853
5871
  name?: string;
5854
5872
  /** [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of a PARTNER attachment used to initiate provisioning with a selected partner. Of the form "XXXXX/region/domain" */
5855
5873
  pairingKey?: string;
@@ -6164,7 +6182,7 @@ declare namespace gapi.client {
6164
6182
  interconnectType?: string;
6165
6183
  /** Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4 optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. */
6166
6184
  linkType?: string;
6167
- /** 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. */
6185
+ /** Name of the Interconnects to be created. This must be specified on the template and/or on each individual interconnect. The name, if not empty, must be 1-63 characters long, and comply with RFC1035. Specifically, any nonempty 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. */
6168
6186
  name?: string;
6169
6187
  /** Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation. */
6170
6188
  nocContactEmail?: string;
@@ -6334,6 +6352,8 @@ declare namespace gapi.client {
6334
6352
  interface InterconnectLocationRegionInfo {
6335
6353
  /** Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region. */
6336
6354
  expectedRttMs?: string;
6355
+ /** Identifies whether L2 Interconnect Attachments can be created in this region for interconnects that are in this location. */
6356
+ l2ForwardingEnabled?: boolean;
6337
6357
  /** Identifies the network presence of this location. */
6338
6358
  locationPresence?: string;
6339
6359
  /** URL for the region of this location. */
@@ -7068,7 +7088,7 @@ declare namespace gapi.client {
7068
7088
  provisioningModel?: string;
7069
7089
  }
7070
7090
  interface ManagedInstanceScheduling {
7071
- /** [Output Only] The timestamp when the MIG will automatically terminate the instance. The value is in RFC3339 text format. */
7091
+ /** [Output Only] The timestamp at which the managed instance will be terminated. This is in RFC3339 text format. */
7072
7092
  terminationTimestamp?: string;
7073
7093
  }
7074
7094
  interface ManagedInstanceVersion {
@@ -7868,7 +7888,7 @@ declare namespace gapi.client {
7868
7888
  updateStrategy?: string;
7869
7889
  }
7870
7890
  interface NetworkPeeringConnectionStatus {
7871
- /** The consensus state contains the information about the status of update and delete for a consensus peering connection. */
7891
+ /** The consensus state contains information about the status of update and delete for a consensus peering connection. */
7872
7892
  consensusState?: NetworkPeeringConnectionStatusConsensusState;
7873
7893
  /** The active connectivity settings for the peering connection based on the settings of the network peerings. */
7874
7894
  trafficConfiguration?: NetworkPeeringConnectionStatusTrafficConfiguration;
@@ -7884,11 +7904,11 @@ declare namespace gapi.client {
7884
7904
  interface NetworkPeeringConnectionStatusTrafficConfiguration {
7885
7905
  /** Whether custom routes are being exported to the peer network. */
7886
7906
  exportCustomRoutesToPeer?: boolean;
7887
- /** Whether subnet routes with public IP range are being exported to the peer network. */
7907
+ /** Whether subnet routes with public IP ranges are being exported to the peer network. */
7888
7908
  exportSubnetRoutesWithPublicIpToPeer?: boolean;
7889
- /** Whether custom routes is being imported from the peer network. */
7909
+ /** Whether custom routes are being imported from the peer network. */
7890
7910
  importCustomRoutesFromPeer?: boolean;
7891
- /** Whether subnet routes with public IP range are being imported from the peer network. */
7911
+ /** Whether subnet routes with public IP ranges are being imported from the peer network. */
7892
7912
  importSubnetRoutesWithPublicIpFromPeer?: boolean;
7893
7913
  /** Which IP version(s) of traffic and routes are being imported or exported between peer networks. */
7894
7914
  stackType?: string;
@@ -9342,7 +9362,7 @@ declare namespace gapi.client {
9342
9362
  selfLink?: string;
9343
9363
  /** [Output Only] Server-defined URL with id for the resource. */
9344
9364
  selfLinkWithId?: string;
9345
- /** [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. */
9365
+ /** [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is announced and ready to use. - `DELETING` The public delegated prefix is being deprovsioned. */
9346
9366
  status?: string;
9347
9367
  }
9348
9368
  interface PublicDelegatedPrefixAggregatedList {
@@ -10129,6 +10149,8 @@ declare namespace gapi.client {
10129
10149
  linkedCommitments?: string[];
10130
10150
  /** 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. */
10131
10151
  name?: string;
10152
+ /** Protection tier for the workload which specifies the workload expectations in the event of infrastructure failures at data center (e.g. power and/or cooling failures). */
10153
+ protectionTier?: string;
10132
10154
  /** [Output only] Indicates the reservation mode of the reservation. */
10133
10155
  reservationMode?: string;
10134
10156
  /** Specify the reservation sharing policy. If unspecified, the reservation will not be shared with Google Cloud managed services. */
@@ -10139,6 +10161,8 @@ declare namespace gapi.client {
10139
10161
  resourceStatus?: AllocationResourceStatus;
10140
10162
  /** [Output Only] Reserved for future use. */
10141
10163
  satisfiesPzs?: boolean;
10164
+ /** The type of maintenance for the reservation. */
10165
+ schedulingType?: string;
10142
10166
  /** [Output Only] Server-defined fully-qualified URL for this resource. */
10143
10167
  selfLink?: string;
10144
10168
  /** [Output Only] Server-defined URL for this resource with the resource id. */
@@ -10328,6 +10352,8 @@ declare namespace gapi.client {
10328
10352
  name?: string;
10329
10353
  /** [Output Only] The physical topology of the reservation subBlock. */
10330
10354
  physicalTopology?: ReservationSubBlockPhysicalTopology;
10355
+ /** Maintenance information for this reservation subBlock. */
10356
+ reservationSubBlockMaintenance?: GroupMaintenanceInfo;
10331
10357
  /** [Output Only] Server-defined fully-qualified URL for this resource. */
10332
10358
  selfLink?: string;
10333
10359
  /** [Output Only] Server-defined URL for this resource with the resource id. */
@@ -10656,8 +10682,20 @@ declare namespace gapi.client {
10656
10682
  version?: string;
10657
10683
  }
10658
10684
  interface ResourceStatusEffectiveInstanceMetadata {
10685
+ /** Effective block-project-ssh-keys value at Instance level. */
10686
+ blockProjectSshKeysMetadataValue?: boolean;
10687
+ /** Effective enable-guest-attributes value at Instance level. */
10688
+ enableGuestAttributesMetadataValue?: boolean;
10689
+ /** Effective enable-osconfig value at Instance level. */
10690
+ enableOsconfigMetadataValue?: boolean;
10691
+ /** Effective enable-os-inventory value at Instance level. */
10692
+ enableOsInventoryMetadataValue?: boolean;
10659
10693
  /** Effective enable-oslogin value at Instance level. */
10660
10694
  enableOsloginMetadataValue?: boolean;
10695
+ /** Effective serial-port-enable value at Instance level. */
10696
+ serialPortEnableMetadataValue?: boolean;
10697
+ /** Effective serial-port-logging-enable value at Instance level. */
10698
+ serialPortLoggingEnableMetadataValue?: boolean;
10661
10699
  /** Effective VM DNS setting at Instance level. */
10662
10700
  vmDnsSettingMetadataValue?: string;
10663
10701
  }
@@ -11627,7 +11665,7 @@ declare namespace gapi.client {
11627
11665
  jsonCustomConfig?: SecurityPolicyAdvancedOptionsConfigJsonCustomConfig;
11628
11666
  jsonParsing?: string;
11629
11667
  logLevel?: string;
11630
- /** The maximum request size chosen by the customer with Waf enabled. Currently only "8KB" and "128KB" are supported. Values are case insensitive. */
11668
+ /** The maximum request size chosen by the customer with Waf enabled. Values supported are "8KB", "16KB, "32KB", "48KB" and "64KB". Values are case insensitive. */
11631
11669
  requestBodyInspectionSize?: string;
11632
11670
  /** An optional list of case-insensitive request header names to use for resolving the callers client IP address. */
11633
11671
  userIpRequestHeaders?: string[];
@@ -11657,6 +11695,9 @@ declare namespace gapi.client {
11657
11695
  enableMl?: boolean;
11658
11696
  }
11659
11697
  interface SecurityPolicyDdosProtectionConfig {
11698
+ ddosAdaptiveProtection?: string;
11699
+ /** Adaptive Protection for Network Load Balancers (and VMs with public IPs) builds DDos mitigations that minimize collateral damage. It quantifies this as the fraction of a non-abuse baseline that's inadvertently blocked. Rules whose collateral damage exceeds ddosAdaptiveImpactedBaselineThreshold will not be deployed. Using a lower value will prioritize keeping collateral damage low, possibly at the cost of its effectiveness in rate limiting some or all of the attack. It should typically be between 0.01 and 0.10. */
11700
+ ddosImpactedBaselineThreshold?: number;
11660
11701
  ddosProtection?: string;
11661
11702
  }
11662
11703
  interface SecurityPolicyList {
@@ -13134,6 +13175,10 @@ declare namespace gapi.client {
13134
13175
  stackType?: string;
13135
13176
  /** [Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY */
13136
13177
  state?: string;
13178
+ /** Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use. */
13179
+ systemReservedExternalIpv6Ranges?: string[];
13180
+ /** Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use. */
13181
+ systemReservedInternalIpv6Ranges?: string[];
13137
13182
  /** Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range. */
13138
13183
  utilizationDetails?: SubnetworkUtilizationDetails;
13139
13184
  /** A repeated field indicating the VLAN IDs supported on this subnetwork. During Subnet creation, specifying vlan is valid only if enable_l2 is true. During Subnet Update, specifying vlan is allowed only for l2 enabled subnets. Restricted to only one VLAN. */
@@ -39576,12 +39621,12 @@ declare namespace gapi.client {
39576
39621
  oauth_token?: string;
39577
39622
  /** Returns response with indentations and line breaks. */
39578
39623
  prettyPrint?: boolean;
39624
+ /** Name of the PreviewFeature for this request. */
39625
+ previewFeature: string;
39579
39626
  /** Project ID for this request. */
39580
39627
  project: string;
39581
39628
  /** 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. */
39582
39629
  quotaUser?: string;
39583
- /** Name of the PreviewFeature for this request. */
39584
- resourceId: string;
39585
39630
  /** Upload protocol for media (e.g. "raw", "multipart"). */
39586
39631
  upload_protocol?: string;
39587
39632
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -39646,14 +39691,14 @@ declare namespace gapi.client {
39646
39691
  oauth_token?: string;
39647
39692
  /** Returns response with indentations and line breaks. */
39648
39693
  prettyPrint?: boolean;
39694
+ /** Name of the PreviewFeature for this request. */
39695
+ previewFeature: string;
39649
39696
  /** Project ID for this request. */
39650
39697
  project: string;
39651
39698
  /** 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. */
39652
39699
  quotaUser?: string;
39653
39700
  /** 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). */
39654
39701
  requestId?: string;
39655
- /** Name of the PreviewFeature for this request. */
39656
- resourceId: string;
39657
39702
  /** Upload protocol for media (e.g. "raw", "multipart"). */
39658
39703
  upload_protocol?: string;
39659
39704
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -39681,14 +39726,14 @@ declare namespace gapi.client {
39681
39726
  oauth_token?: string;
39682
39727
  /** Returns response with indentations and line breaks. */
39683
39728
  prettyPrint?: boolean;
39729
+ /** Name of the PreviewFeature for this request. */
39730
+ previewFeature: string;
39684
39731
  /** Project ID for this request. */
39685
39732
  project: string;
39686
39733
  /** 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. */
39687
39734
  quotaUser?: string;
39688
39735
  /** 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). */
39689
39736
  requestId?: string;
39690
- /** Name of the PreviewFeature for this request. */
39691
- resourceId: string;
39692
39737
  /** Upload protocol for media (e.g. "raw", "multipart"). */
39693
39738
  upload_protocol?: string;
39694
39739
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -54580,6 +54625,43 @@ declare namespace gapi.client {
54580
54625
  /** Name of the zone for this request. Zone name should conform to RFC1035. */
54581
54626
  zone: string;
54582
54627
  }): Request<ReservationSubBlocksListResponse>;
54628
+ /** Allows customers to perform maintenance on a reservation subBlock */
54629
+ performMaintenance(request?: {
54630
+ /** V1 error format. */
54631
+ '$.xgafv'?: string;
54632
+ /** OAuth access token. */
54633
+ access_token?: string;
54634
+ /** Data format for response. */
54635
+ alt?: string;
54636
+ /** JSONP */
54637
+ callback?: string;
54638
+ /** Selector specifying which fields to include in a partial response. */
54639
+ fields?: string;
54640
+ /** 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. */
54641
+ key?: string;
54642
+ /** OAuth 2.0 token for the current user. */
54643
+ oauth_token?: string;
54644
+ /** The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name} */
54645
+ parentName: string;
54646
+ /** Returns response with indentations and line breaks. */
54647
+ prettyPrint?: boolean;
54648
+ /** Project ID for this request. */
54649
+ project: string;
54650
+ /** 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. */
54651
+ quotaUser?: string;
54652
+ /** 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). */
54653
+ requestId?: string;
54654
+ /** The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID. */
54655
+ reservationSubBlock: string;
54656
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
54657
+ upload_protocol?: string;
54658
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
54659
+ uploadType?: string;
54660
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
54661
+ userIp?: string;
54662
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
54663
+ zone: string;
54664
+ }): Request<Operation>;
54583
54665
  }
54584
54666
  interface ResourcePoliciesResource {
54585
54667
  /** Retrieves an aggregated list of resource policies. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20250415",
3
+ "version": "0.0.20250505",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -2618,7 +2618,7 @@ await gapi.client.compute.packetMirrorings.testIamPermissions({ project: "projec
2618
2618
  /*
2619
2619
  Returns the details of the given PreviewFeature.
2620
2620
  */
2621
- await gapi.client.compute.previewFeatures.get({ project: "project", resourceId: "resourceId", });
2621
+ await gapi.client.compute.previewFeatures.get({ previewFeature: "previewFeature", project: "project", });
2622
2622
 
2623
2623
  /*
2624
2624
  Returns the details of the given PreviewFeature.
@@ -2628,7 +2628,7 @@ await gapi.client.compute.previewFeatures.list({ project: "project", });
2628
2628
  /*
2629
2629
  Patches the given PreviewFeature. This method is used to enable or disable a PreviewFeature.
2630
2630
  */
2631
- await gapi.client.compute.previewFeatures.update({ project: "project", resourceId: "resourceId", });
2631
+ await gapi.client.compute.previewFeatures.update({ previewFeature: "previewFeature", project: "project", });
2632
2632
 
2633
2633
  /*
2634
2634
  Disable this project as a shared VPC host project.
@@ -4105,6 +4105,11 @@ Retrieves a list of reservation subBlocks under a single reservation.
4105
4105
  */
4106
4106
  await gapi.client.compute.reservationSubBlocks.list({ parentName: "parentName", project: "project", zone: "zone", });
4107
4107
 
4108
+ /*
4109
+ Allows customers to perform maintenance on a reservation subBlock
4110
+ */
4111
+ await gapi.client.compute.reservationSubBlocks.performMaintenance({ parentName: "parentName", project: "project", reservationSubBlock: "reservationSubBlock", zone: "zone", });
4112
+
4108
4113
  /*
4109
4114
  Retrieves an aggregated list of resource policies. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
4110
4115
  */