@maxim_mazurok/gapi.client.compute-alpha 0.0.20250304 → 0.0.20250320

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 +544 -17
  2. package/package.json +1 -1
  3. package/readme.md +50 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
12
- // Revision: 20250304
12
+ // Revision: 20250320
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -689,7 +689,7 @@ declare namespace gapi.client {
689
689
  description?: string;
690
690
  /** This field designates whether this is a failover backend. More than one failover backend can be configured for a given BackendService. */
691
691
  failover?: boolean;
692
- /** The fully-qualified URL of an instance group or network endpoint group (NEG) resource. To determine what types of backends a load balancer supports, see the [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service#backends). You must use the *fully-qualified* URL (starting with https://www.googleapis.com/) to specify the instance group or NEG. Partial URLs are not supported. */
692
+ /** The fully-qualified URL of an instance group or network endpoint group (NEG) resource. To determine what types of backends a load balancer supports, see the [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service#backends). You must use the *fully-qualified* URL (starting with https://www.googleapis.com/) to specify the instance group or NEG. Partial URLs are not supported. If haPolicy is specified, backends must refer to NEG resources of type GCE_VM_IP. */
693
693
  group?: string;
694
694
  /** Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE. */
695
695
  maxConnections?: number;
@@ -856,8 +856,9 @@ declare namespace gapi.client {
856
856
  circuitBreakers?: CircuitBreakers;
857
857
  /** Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. */
858
858
  compressionMode?: string;
859
+ /** connectionDraining cannot be specified with haPolicy. */
859
860
  connectionDraining?: ConnectionDraining;
860
- /** 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. */
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. */
861
862
  connectionTrackingPolicy?: BackendServiceConnectionTrackingPolicy;
862
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
864
  consistentHash?: ConsistentHashLoadBalancerSettings;
@@ -881,13 +882,13 @@ declare namespace gapi.client {
881
882
  externalManagedMigrationState?: string;
882
883
  /** Determines the fraction of requests that should be processed by the Global external Application Load Balancer. The value of this field must be in the range [0, 100]. Session affinity options will slightly affect this routing behavior, for more details, see: Session Affinity. This value can only be set if the loadBalancingScheme in the BackendService is set to EXTERNAL (when using the classic Application Load Balancer) and the migration state is TEST_BY_PERCENTAGE. */
883
884
  externalManagedMigrationTestingPercentage?: number;
884
- /** Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). */
885
+ /** Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). failoverPolicy cannot be specified with haPolicy. */
885
886
  failoverPolicy?: BackendServiceFailoverPolicy;
886
887
  /** Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. */
887
888
  fingerprint?: string;
888
- /** Configuring haPolicy is not supported. */
889
+ /** Configures self-managed High Availability (HA) for External and Internal Protocol Forwarding. The backends of this regional backend service must only specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy is set for an Internal Passthrough Network Load Balancer, the regional backend service must set the network field. All zonal NEGs must belong to the same network. However, individual NEGs can belong to different subnetworks of that network. When haPolicy is specified, the set of attached network endpoints across all backends comprise an High Availability domain from which one endpoint is selected as the active endpoint (the leader) that receives all traffic. haPolicy can be added only at backend service creation time. Once set up, it cannot be deleted. Note that haPolicy is not for load balancing, and therefore cannot be specified with sessionAffinity, connectionTrackingPolicy, and failoverPolicy. haPolicy requires customers to be responsible for tracking backend endpoint health and electing a leader among the healthy endpoints. Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only be specified for External Passthrough Network Load Balancers and Internal Passthrough Network Load Balancers. */
889
890
  haPolicy?: BackendServiceHAPolicy;
890
- /** The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check. */
891
+ /** The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check unless haPolicy is specified. Backend services with internet or serverless NEG backends must not have a health check. healthChecks[] cannot be specified with haPolicy. */
891
892
  healthChecks?: string[];
892
893
  /** The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers. */
893
894
  iap?: BackendServiceIAP;
@@ -901,7 +902,7 @@ declare namespace gapi.client {
901
902
  loadBalancingScheme?: string;
902
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. */
903
904
  localityLbPolicies?: BackendServiceLocalityLoadBalancingPolicyConfig[];
904
- /** 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. */
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
906
  localityLbPolicy?: string;
906
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. */
907
908
  logConfig?: BackendServiceLogConfig;
@@ -911,9 +912,9 @@ declare namespace gapi.client {
911
912
  metadatas?: {[P in string]: string};
912
913
  /** 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. */
913
914
  name?: string;
914
- /** The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL. */
915
+ /** The URL of the network to which this backend service belongs. This field must be set for Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only be specified when the load balancing scheme is set to INTERNAL. */
915
916
  network?: string;
916
- /** Configures traffic steering properties of internal passthrough Network Load Balancers. */
917
+ /** Configures traffic steering properties of internal passthrough Network Load Balancers. networkPassThroughLbTrafficPolicy cannot be specified with haPolicy. */
917
918
  networkPassThroughLbTrafficPolicy?: BackendServiceNetworkPassThroughLbTrafficPolicy;
918
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
920
  outlierDetection?: OutlierDetection;
@@ -937,10 +938,11 @@ declare namespace gapi.client {
937
938
  serviceBindings?: string[];
938
939
  /** URL to networkservices.ServiceLbPolicy resource. Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global. */
939
940
  serviceLbPolicy?: string;
940
- /** Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD 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. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). */
941
+ /** Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD 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. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). sessionAffinity cannot be specified with haPolicy. */
941
942
  sessionAffinity?: string;
942
943
  /** Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY. */
943
944
  strongSessionAffinityCookie?: BackendServiceHttpCookie;
945
+ /** subsetting cannot be specified with haPolicy. */
944
946
  subsetting?: Subsetting;
945
947
  /** The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration. */
946
948
  timeoutSec?: number;
@@ -1056,19 +1058,19 @@ declare namespace gapi.client {
1056
1058
  kind?: string;
1057
1059
  }
1058
1060
  interface BackendServiceHAPolicy {
1059
- /** Enabling fastIPMove is not supported. */
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 C3 machines. - 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. */
1060
1062
  fastIPMove?: string;
1061
- /** Setting a leader is not supported. */
1063
+ /** 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. */
1062
1064
  leader?: BackendServiceHAPolicyLeader;
1063
1065
  }
1064
1066
  interface BackendServiceHAPolicyLeader {
1065
- /** Setting backendGroup is not supported. */
1067
+ /** A fully-qualified URL (starting with https://www.googleapis.com/) of the zonal Network Endpoint Group (NEG) with `GCE_VM_IP` endpoints that the leader is attached to. The leader's backendGroup must already be specified as a backend of this backend service. Removing a backend that is designated as the leader's backendGroup is not permitted. */
1066
1068
  backendGroup?: string;
1067
- /** Setting a network endpoint as leader is not supported. */
1069
+ /** The network endpoint within the leader.backendGroup that is designated as the leader. This network endpoint cannot be detached from the NEG specified in the haPolicy.leader.backendGroup until the leader is updated with another network endpoint, or the leader is removed from the haPolicy. */
1068
1070
  networkEndpoint?: BackendServiceHAPolicyLeaderNetworkEndpoint;
1069
1071
  }
1070
1072
  interface BackendServiceHAPolicyLeaderNetworkEndpoint {
1071
- /** Specifying the instance name of a leader is not supported. */
1073
+ /** The name of the VM instance of the leader network endpoint. The instance must already be attached to the NEG specified in the haPolicy.leader.backendGroup. The name must be 1-63 characters long, and comply with RFC1035. Authorization requires the following IAM permission on the specified resource instance: compute.instances.use */
1072
1074
  instance?: string;
1073
1075
  }
1074
1076
  interface BackendServiceHttpCookie {
@@ -5507,7 +5509,7 @@ declare namespace gapi.client {
5507
5509
  labelFingerprint?: string;
5508
5510
  /** 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. */
5509
5511
  labels?: {[P in string]: string};
5510
- /** 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. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. */
5512
+ /** 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. */
5511
5513
  linkType?: string;
5512
5514
  /** URL of the InterconnectLocation object that represents where this connection is to be provisioned. */
5513
5515
  location?: string;
@@ -6130,7 +6132,7 @@ declare namespace gapi.client {
6130
6132
  facility?: string;
6131
6133
  /** Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. */
6132
6134
  interconnectType?: string;
6133
- /** 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. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. */
6135
+ /** 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. */
6134
6136
  linkType?: string;
6135
6137
  /** 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. */
6136
6138
  name?: string;
@@ -6692,6 +6694,35 @@ declare namespace gapi.client {
6692
6694
  message?: string;
6693
6695
  };
6694
6696
  }
6697
+ interface ListSnapshotGroups {
6698
+ etag?: string;
6699
+ /** [Output Only] Unique identifier for the resource; defined by the server. */
6700
+ id?: string;
6701
+ /** A list of SnapshotGroup resources. */
6702
+ items?: SnapshotGroup[];
6703
+ /** Type of resource. */
6704
+ kind?: string;
6705
+ /** [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. */
6706
+ nextPageToken?: string;
6707
+ /** [Output Only] Server-defined URL for this resource. */
6708
+ selfLink?: string;
6709
+ /** [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder */
6710
+ unreachables?: string[];
6711
+ /** [Output Only] Informational warning message. */
6712
+ warning?: {
6713
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
6714
+ code?: string;
6715
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
6716
+ data?: Array<{
6717
+ /** [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). */
6718
+ key?: string;
6719
+ /** [Output Only] A warning data value corresponding to the key. */
6720
+ value?: string;
6721
+ }>;
6722
+ /** [Output Only] A human-readable description of the warning code. */
6723
+ message?: string;
6724
+ };
6725
+ }
6695
6726
  interface LocalDisk {
6696
6727
  /** Specifies the number of such disks. */
6697
6728
  diskCount?: number;
@@ -6737,6 +6768,10 @@ declare namespace gapi.client {
6737
6768
  instanceProperties?: InstanceProperties;
6738
6769
  /** [Output Only] The resource type, which is always compute#machineImage for machine image. */
6739
6770
  kind?: string;
6771
+ /** A fingerprint for the labels being applied to this machine image, 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. To see the latest fingerprint, make get() request to the machine image. */
6772
+ labelFingerprint?: string;
6773
+ /** Labels to apply to this machine image. These can be later modified by the setLabels method. */
6774
+ labels?: {[P in string]: string};
6740
6775
  /** Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later. */
6741
6776
  machineImageEncryptionKey?: CustomerEncryptionKey;
6742
6777
  /** 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. */
@@ -9826,6 +9861,53 @@ declare namespace gapi.client {
9826
9861
  interface RegionWaitForReplicationCatchUpRequest {
9827
9862
  maxWaitDuration?: string;
9828
9863
  }
9864
+ interface ReliabilityRisk {
9865
+ /** [Output Only] Creation timestamp in RFC3339 text format. */
9866
+ creationTimestamp?: string;
9867
+ /** An optional textual description of the resource; provided when the resource is created. */
9868
+ description?: string;
9869
+ /** [Output Only] Details of the reliability risk resource */
9870
+ details?: RiskDetails;
9871
+ /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
9872
+ id?: string;
9873
+ /** [Output Only] Type of resource. Always compute#reliabilityRisk for reliability risks. */
9874
+ kind?: string;
9875
+ /** Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */
9876
+ name?: string;
9877
+ /** The recommendations to mitigate the risk. */
9878
+ recommendation?: RiskRecommendation;
9879
+ /** [Output Only] Server-defined URL for the resource. */
9880
+ selfLink?: string;
9881
+ /** [Output Only] Server-defined URL for this resource with the resource id. */
9882
+ selfLinkWithId?: string;
9883
+ }
9884
+ interface ReliabilityRisksListResponse {
9885
+ etag?: string;
9886
+ /** [Output Only] Unique identifier for the resource; defined by the server. */
9887
+ id?: string;
9888
+ /** A list of ReliabilityRisk resources. */
9889
+ items?: ReliabilityRisk[];
9890
+ /** [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. */
9891
+ nextPageToken?: string;
9892
+ /** [Output Only] Server-defined URL for this resource. */
9893
+ selfLink?: string;
9894
+ /** [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder */
9895
+ unreachables?: string[];
9896
+ /** [Output Only] Informational warning message. */
9897
+ warning?: {
9898
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
9899
+ code?: string;
9900
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
9901
+ data?: Array<{
9902
+ /** [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). */
9903
+ key?: string;
9904
+ /** [Output Only] A warning data value corresponding to the key. */
9905
+ value?: string;
9906
+ }>;
9907
+ /** [Output Only] A human-readable description of the warning code. */
9908
+ message?: string;
9909
+ };
9910
+ }
9829
9911
  interface ReplicationDetails {
9830
9912
  /** The last sync time of the device pair. */
9831
9913
  lastReplicationTime?: string;
@@ -10371,6 +10453,33 @@ declare namespace gapi.client {
10371
10453
  /** Target instance state. */
10372
10454
  targetState?: string;
10373
10455
  }
10456
+ interface RiskDetails {
10457
+ /** The duration of the risk since it was detected. */
10458
+ duration?: string;
10459
+ globalDnsInsight?: RiskDetailsGlobalDnsInsight;
10460
+ /** The last time the risk was updated. */
10461
+ lastUpdateTimestamp?: string;
10462
+ /** The severity of the risk. */
10463
+ severity?: string;
10464
+ /** The type of risk. */
10465
+ type?: string;
10466
+ }
10467
+ interface RiskDetailsGlobalDnsInsight {
10468
+ /** Whether the project default DNS setting is global or not. */
10469
+ projectDefaultIsGlobalDns?: boolean;
10470
+ /** The observation window for the query counts. */
10471
+ queryObservationWindow?: string;
10472
+ /** The number of queries that are risky. This will always be less than total_query_count. */
10473
+ riskyQueryCount?: string;
10474
+ /** The total number of queries in the observation window. */
10475
+ totalQueryCount?: string;
10476
+ }
10477
+ interface RiskRecommendation {
10478
+ /** Mitigation guide for the risk. */
10479
+ content?: string;
10480
+ /** URL referencing a more detailed mitigation guide. */
10481
+ referenceUrl?: string;
10482
+ }
10374
10483
  interface RolloutPolicy {
10375
10484
  /** An optional RFC3339 timestamp on or after which the update is considered rolled out to any zone that is not explicitly stated. */
10376
10485
  defaultRolloutTime?: string;
@@ -11872,6 +11981,10 @@ declare namespace gapi.client {
11872
11981
  selfLinkWithId?: string;
11873
11982
  /** 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. */
11874
11983
  snapshotEncryptionKey?: CustomerEncryptionKey;
11984
+ /** [Output Only] The unique ID of the snapshot group that this snapshot belongs to. */
11985
+ snapshotGroupId?: string;
11986
+ /** [Output only] The snapshot group that this snapshot belongs to. */
11987
+ snapshotGroupName?: string;
11875
11988
  /** Indicates the type of the snapshot. */
11876
11989
  snapshotType?: string;
11877
11990
  /** The source disk used to create this snapshot. */
@@ -11932,6 +12045,38 @@ declare namespace gapi.client {
11932
12045
  message?: string;
11933
12046
  };
11934
12047
  }
12048
+ interface SnapshotGroup {
12049
+ /** [Output Only] Creation timestamp in RFC3339 text format. */
12050
+ creationTimestamp?: string;
12051
+ /** Optional. An optional description of this resource. Provide this property when you create the resource. */
12052
+ description?: string;
12053
+ /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
12054
+ id?: string;
12055
+ /** [Output Only] Type of the resource. Always compute#snapshotGroup for SnapshotGroup resources. */
12056
+ kind?: string;
12057
+ /** Identifier. 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. */
12058
+ name?: string;
12059
+ /** [Output Only] Server-defined URL for the resource. */
12060
+ selfLink?: string;
12061
+ /** [Output Only] Server-defined URL for this resource's resource id. */
12062
+ selfLinkWithId?: string;
12063
+ /** [Output Only] */
12064
+ sourceInfo?: SnapshotGroupSourceInfo;
12065
+ /** Input field for the source instant snapshot group. */
12066
+ sourceInstantSnapshotGroup?: string;
12067
+ /** [Output Only] */
12068
+ sourceInstantSnapshotGroupInfo?: SnapshotGroupSourceInstantSnapshotGroupInfo;
12069
+ /** [Output Only] */
12070
+ status?: string;
12071
+ }
12072
+ interface SnapshotGroupSourceInfo {
12073
+ consistencyGroup?: string;
12074
+ consistencyGroupId?: string;
12075
+ }
12076
+ interface SnapshotGroupSourceInstantSnapshotGroupInfo {
12077
+ instantSnapshotGroup?: string;
12078
+ instantSnapshotGroupId?: string;
12079
+ }
11935
12080
  interface SnapshotList {
11936
12081
  /** [Output Only] Unique identifier for the resource; defined by the server. */
11937
12082
  id?: string;
@@ -33614,6 +33759,40 @@ declare namespace gapi.client {
33614
33759
  },
33615
33760
  body: GlobalSetPolicyRequest,
33616
33761
  ): Request<Policy>;
33762
+ /** Sets the labels on a machine image. To learn more about labels, read the Labeling Resources documentation. */
33763
+ setLabels(
33764
+ request: {
33765
+ /** V1 error format. */
33766
+ '$.xgafv'?: string;
33767
+ /** OAuth access token. */
33768
+ access_token?: string;
33769
+ /** Data format for response. */
33770
+ alt?: string;
33771
+ /** JSONP */
33772
+ callback?: string;
33773
+ /** Selector specifying which fields to include in a partial response. */
33774
+ fields?: string;
33775
+ /** 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. */
33776
+ key?: string;
33777
+ /** OAuth 2.0 token for the current user. */
33778
+ oauth_token?: string;
33779
+ /** Returns response with indentations and line breaks. */
33780
+ prettyPrint?: boolean;
33781
+ /** Project ID for this request. */
33782
+ project: string;
33783
+ /** 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. */
33784
+ quotaUser?: string;
33785
+ /** Name or id of the resource for this request. */
33786
+ resource: string;
33787
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33788
+ upload_protocol?: string;
33789
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33790
+ uploadType?: string;
33791
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
33792
+ userIp?: string;
33793
+ },
33794
+ body: GlobalSetLabelsRequest,
33795
+ ): Request<Operation>;
33617
33796
  /** Returns permissions that a caller has on the specified resource. */
33618
33797
  testIamPermissions(
33619
33798
  request: {
@@ -53096,6 +53275,78 @@ declare namespace gapi.client {
53096
53275
  userIp?: string;
53097
53276
  }): Request<ZoneList>;
53098
53277
  }
53278
+ interface ReliabilityRisksResource {
53279
+ /** Returns the specified ReliabilityRisk resource. */
53280
+ get(request?: {
53281
+ /** V1 error format. */
53282
+ '$.xgafv'?: string;
53283
+ /** OAuth access token. */
53284
+ access_token?: string;
53285
+ /** Data format for response. */
53286
+ alt?: string;
53287
+ /** JSONP */
53288
+ callback?: string;
53289
+ /** Selector specifying which fields to include in a partial response. */
53290
+ fields?: string;
53291
+ /** 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. */
53292
+ key?: string;
53293
+ /** OAuth 2.0 token for the current user. */
53294
+ oauth_token?: string;
53295
+ /** Returns response with indentations and line breaks. */
53296
+ prettyPrint?: boolean;
53297
+ /** Project ID for this request. */
53298
+ project: string;
53299
+ /** 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. */
53300
+ quotaUser?: string;
53301
+ /** Name of the ReliabilityRisk resource to return. */
53302
+ reliabilityRisk: string;
53303
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
53304
+ upload_protocol?: string;
53305
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
53306
+ uploadType?: string;
53307
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
53308
+ userIp?: string;
53309
+ }): Request<ReliabilityRisk>;
53310
+ /** Retrieves the list of reliabilityRisks available in the specified project. */
53311
+ list(request?: {
53312
+ /** V1 error format. */
53313
+ '$.xgafv'?: string;
53314
+ /** OAuth access token. */
53315
+ access_token?: string;
53316
+ /** Data format for response. */
53317
+ alt?: string;
53318
+ /** JSONP */
53319
+ callback?: string;
53320
+ /** Selector specifying which fields to include in a partial response. */
53321
+ fields?: string;
53322
+ /** 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. */
53323
+ filter?: string;
53324
+ /** 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. */
53325
+ key?: string;
53326
+ /** 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`) */
53327
+ maxResults?: number;
53328
+ /** OAuth 2.0 token for the current user. */
53329
+ oauth_token?: string;
53330
+ /** 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. */
53331
+ orderBy?: string;
53332
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
53333
+ pageToken?: string;
53334
+ /** Returns response with indentations and line breaks. */
53335
+ prettyPrint?: boolean;
53336
+ /** Project ID for this request. */
53337
+ project: string;
53338
+ /** 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. */
53339
+ quotaUser?: string;
53340
+ /** 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. */
53341
+ returnPartialSuccess?: boolean;
53342
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
53343
+ upload_protocol?: string;
53344
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
53345
+ uploadType?: string;
53346
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
53347
+ userIp?: string;
53348
+ }): Request<ReliabilityRisksListResponse>;
53349
+ }
53099
53350
  interface ReservationBlocksResource {
53100
53351
  /** Retrieves information about the specified reservation block. */
53101
53352
  get(request?: {
@@ -56619,6 +56870,278 @@ declare namespace gapi.client {
56619
56870
  body: TestPermissionsRequest,
56620
56871
  ): Request<TestPermissionsResponse>;
56621
56872
  }
56873
+ interface SnapshotGroupsResource {
56874
+ /** Deletes the specified SnapshotGroup resource */
56875
+ delete(request?: {
56876
+ /** V1 error format. */
56877
+ '$.xgafv'?: string;
56878
+ /** OAuth access token. */
56879
+ access_token?: string;
56880
+ /** Data format for response. */
56881
+ alt?: string;
56882
+ /** JSONP */
56883
+ callback?: string;
56884
+ /** Selector specifying which fields to include in a partial response. */
56885
+ fields?: string;
56886
+ /** 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. */
56887
+ key?: string;
56888
+ /** OAuth 2.0 token for the current user. */
56889
+ oauth_token?: string;
56890
+ /** Returns response with indentations and line breaks. */
56891
+ prettyPrint?: boolean;
56892
+ /** Project ID for this request. */
56893
+ project: string;
56894
+ /** 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. */
56895
+ quotaUser?: string;
56896
+ /** 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). */
56897
+ requestId?: string;
56898
+ /** Name of the SnapshotGroup resource to delete. */
56899
+ snapshotGroup: string;
56900
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
56901
+ upload_protocol?: string;
56902
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
56903
+ uploadType?: string;
56904
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
56905
+ userIp?: string;
56906
+ }): Request<Operation>;
56907
+ /** returns the specified SnapshotGroup resource. */
56908
+ get(request?: {
56909
+ /** V1 error format. */
56910
+ '$.xgafv'?: string;
56911
+ /** OAuth access token. */
56912
+ access_token?: string;
56913
+ /** Data format for response. */
56914
+ alt?: string;
56915
+ /** JSONP */
56916
+ callback?: string;
56917
+ /** Selector specifying which fields to include in a partial response. */
56918
+ fields?: string;
56919
+ /** 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. */
56920
+ key?: string;
56921
+ /** OAuth 2.0 token for the current user. */
56922
+ oauth_token?: string;
56923
+ /** Returns response with indentations and line breaks. */
56924
+ prettyPrint?: boolean;
56925
+ /** Project ID for this request. */
56926
+ project: string;
56927
+ /** 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. */
56928
+ quotaUser?: string;
56929
+ /** Name of the SnapshotGroup resource to return. */
56930
+ snapshotGroup: string;
56931
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
56932
+ upload_protocol?: string;
56933
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
56934
+ uploadType?: string;
56935
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
56936
+ userIp?: string;
56937
+ }): Request<SnapshotGroup>;
56938
+ /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */
56939
+ getIamPolicy(request?: {
56940
+ /** V1 error format. */
56941
+ '$.xgafv'?: string;
56942
+ /** OAuth access token. */
56943
+ access_token?: string;
56944
+ /** Data format for response. */
56945
+ alt?: string;
56946
+ /** JSONP */
56947
+ callback?: string;
56948
+ /** Selector specifying which fields to include in a partial response. */
56949
+ fields?: string;
56950
+ /** 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. */
56951
+ key?: string;
56952
+ /** OAuth 2.0 token for the current user. */
56953
+ oauth_token?: string;
56954
+ /** Requested IAM Policy version. */
56955
+ optionsRequestedPolicyVersion?: number;
56956
+ /** Returns response with indentations and line breaks. */
56957
+ prettyPrint?: boolean;
56958
+ /** Project ID for this request. */
56959
+ project: string;
56960
+ /** 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. */
56961
+ quotaUser?: string;
56962
+ /** Name or id of the resource for this request. */
56963
+ resource: string;
56964
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
56965
+ upload_protocol?: string;
56966
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
56967
+ uploadType?: string;
56968
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
56969
+ userIp?: string;
56970
+ }): Request<Policy>;
56971
+ /** Creates a snapshot group in the specified project using the data included in the request. */
56972
+ insert(request: {
56973
+ /** V1 error format. */
56974
+ '$.xgafv'?: string;
56975
+ /** OAuth access token. */
56976
+ access_token?: string;
56977
+ /** Data format for response. */
56978
+ alt?: string;
56979
+ /** JSONP */
56980
+ callback?: string;
56981
+ /** Selector specifying which fields to include in a partial response. */
56982
+ fields?: string;
56983
+ /** 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. */
56984
+ key?: string;
56985
+ /** OAuth 2.0 token for the current user. */
56986
+ oauth_token?: string;
56987
+ /** Returns response with indentations and line breaks. */
56988
+ prettyPrint?: boolean;
56989
+ /** Project ID for this request. */
56990
+ project: string;
56991
+ /** 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. */
56992
+ quotaUser?: string;
56993
+ /** 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). */
56994
+ requestId?: string;
56995
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
56996
+ upload_protocol?: string;
56997
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
56998
+ uploadType?: string;
56999
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
57000
+ userIp?: string;
57001
+ /** Request body */
57002
+ resource: SnapshotGroup;
57003
+ }): Request<Operation>;
57004
+ insert(
57005
+ request: {
57006
+ /** V1 error format. */
57007
+ '$.xgafv'?: string;
57008
+ /** OAuth access token. */
57009
+ access_token?: string;
57010
+ /** Data format for response. */
57011
+ alt?: string;
57012
+ /** JSONP */
57013
+ callback?: string;
57014
+ /** Selector specifying which fields to include in a partial response. */
57015
+ fields?: string;
57016
+ /** 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. */
57017
+ key?: string;
57018
+ /** OAuth 2.0 token for the current user. */
57019
+ oauth_token?: string;
57020
+ /** Returns response with indentations and line breaks. */
57021
+ prettyPrint?: boolean;
57022
+ /** Project ID for this request. */
57023
+ project: string;
57024
+ /** 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. */
57025
+ quotaUser?: string;
57026
+ /** 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). */
57027
+ requestId?: string;
57028
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
57029
+ upload_protocol?: string;
57030
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
57031
+ uploadType?: string;
57032
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
57033
+ userIp?: string;
57034
+ },
57035
+ body: SnapshotGroup,
57036
+ ): Request<Operation>;
57037
+ /** retrieves the list of SnapshotGroup resources contained within the specified project. */
57038
+ list(request?: {
57039
+ /** V1 error format. */
57040
+ '$.xgafv'?: string;
57041
+ /** OAuth access token. */
57042
+ access_token?: string;
57043
+ /** Data format for response. */
57044
+ alt?: string;
57045
+ /** JSONP */
57046
+ callback?: string;
57047
+ /** Selector specifying which fields to include in a partial response. */
57048
+ fields?: string;
57049
+ /** 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. */
57050
+ filter?: string;
57051
+ /** 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. */
57052
+ key?: string;
57053
+ /** 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`) */
57054
+ maxResults?: number;
57055
+ /** OAuth 2.0 token for the current user. */
57056
+ oauth_token?: string;
57057
+ /** 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. */
57058
+ orderBy?: string;
57059
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
57060
+ pageToken?: string;
57061
+ /** Returns response with indentations and line breaks. */
57062
+ prettyPrint?: boolean;
57063
+ /** Project ID for this request. */
57064
+ project: string;
57065
+ /** 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. */
57066
+ quotaUser?: string;
57067
+ /** 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. */
57068
+ returnPartialSuccess?: boolean;
57069
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
57070
+ upload_protocol?: string;
57071
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
57072
+ uploadType?: string;
57073
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
57074
+ userIp?: string;
57075
+ }): Request<ListSnapshotGroups>;
57076
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. */
57077
+ setIamPolicy(
57078
+ request: {
57079
+ /** V1 error format. */
57080
+ '$.xgafv'?: string;
57081
+ /** OAuth access token. */
57082
+ access_token?: string;
57083
+ /** Data format for response. */
57084
+ alt?: string;
57085
+ /** JSONP */
57086
+ callback?: string;
57087
+ /** Selector specifying which fields to include in a partial response. */
57088
+ fields?: string;
57089
+ /** 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. */
57090
+ key?: string;
57091
+ /** OAuth 2.0 token for the current user. */
57092
+ oauth_token?: string;
57093
+ /** Returns response with indentations and line breaks. */
57094
+ prettyPrint?: boolean;
57095
+ /** Project ID for this request. */
57096
+ project: string;
57097
+ /** 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. */
57098
+ quotaUser?: string;
57099
+ /** Name or id of the resource for this request. */
57100
+ resource: string;
57101
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
57102
+ upload_protocol?: string;
57103
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
57104
+ uploadType?: string;
57105
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
57106
+ userIp?: string;
57107
+ },
57108
+ body: GlobalSetPolicyRequest,
57109
+ ): Request<Policy>;
57110
+ /** Returns permissions that a caller has on the specified resource. */
57111
+ testIamPermissions(
57112
+ request: {
57113
+ /** V1 error format. */
57114
+ '$.xgafv'?: string;
57115
+ /** OAuth access token. */
57116
+ access_token?: string;
57117
+ /** Data format for response. */
57118
+ alt?: string;
57119
+ /** JSONP */
57120
+ callback?: string;
57121
+ /** Selector specifying which fields to include in a partial response. */
57122
+ fields?: string;
57123
+ /** 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. */
57124
+ key?: string;
57125
+ /** OAuth 2.0 token for the current user. */
57126
+ oauth_token?: string;
57127
+ /** Returns response with indentations and line breaks. */
57128
+ prettyPrint?: boolean;
57129
+ /** Project ID for this request. */
57130
+ project: string;
57131
+ /** 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. */
57132
+ quotaUser?: string;
57133
+ /** Name or id of the resource for this request. */
57134
+ resource: string;
57135
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
57136
+ upload_protocol?: string;
57137
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
57138
+ uploadType?: string;
57139
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
57140
+ userIp?: string;
57141
+ },
57142
+ body: TestPermissionsRequest,
57143
+ ): Request<TestPermissionsResponse>;
57144
+ }
56622
57145
  interface SnapshotsResource {
56623
57146
  /** Retrieves an aggregated list of all of the snapshots in your project across all regions and global scope. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. */
56624
57147
  aggregatedList(request?: {
@@ -64638,6 +65161,8 @@ declare namespace gapi.client {
64638
65161
 
64639
65162
  const regions: RegionsResource;
64640
65163
 
65164
+ const reliabilityRisks: ReliabilityRisksResource;
65165
+
64641
65166
  const reservationBlocks: ReservationBlocksResource;
64642
65167
 
64643
65168
  const reservations: ReservationsResource;
@@ -64652,6 +65177,8 @@ declare namespace gapi.client {
64652
65177
 
64653
65178
  const serviceAttachments: ServiceAttachmentsResource;
64654
65179
 
65180
+ const snapshotGroups: SnapshotGroupsResource;
65181
+
64655
65182
  const snapshotSettings: SnapshotSettingsResource;
64656
65183
 
64657
65184
  const snapshots: SnapshotsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20250304",
3
+ "version": "0.0.20250320",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -2045,6 +2045,11 @@ Sets the access control policy on the specified resource. Replaces any existing
2045
2045
  */
2046
2046
  await gapi.client.compute.machineImages.setIamPolicy({ project: "project", resource: "resource", });
2047
2047
 
2048
+ /*
2049
+ Sets the labels on a machine image. To learn more about labels, read the Labeling Resources documentation.
2050
+ */
2051
+ await gapi.client.compute.machineImages.setLabels({ project: "project", resource: "resource", });
2052
+
2048
2053
  /*
2049
2054
  Returns permissions that a caller has on the specified resource.
2050
2055
  */
@@ -4000,6 +4005,16 @@ Retrieves the list of Zone resources under the specific region available to the
4000
4005
  */
4001
4006
  await gapi.client.compute.regionZones.list({ project: "project", region: "region", });
4002
4007
 
4008
+ /*
4009
+ Returns the specified ReliabilityRisk resource.
4010
+ */
4011
+ await gapi.client.compute.reliabilityRisks.get({ project: "project", reliabilityRisk: "reliabilityRisk", });
4012
+
4013
+ /*
4014
+ Retrieves the list of reliabilityRisks available in the specified project.
4015
+ */
4016
+ await gapi.client.compute.reliabilityRisks.list({ project: "project", });
4017
+
4003
4018
  /*
4004
4019
  Retrieves information about the specified reservation block.
4005
4020
  */
@@ -4365,6 +4380,41 @@ Returns permissions that a caller has on the specified resource.
4365
4380
  */
4366
4381
  await gapi.client.compute.serviceAttachments.testIamPermissions({ project: "project", region: "region", resource: "resource", });
4367
4382
 
4383
+ /*
4384
+ Deletes the specified SnapshotGroup resource
4385
+ */
4386
+ await gapi.client.compute.snapshotGroups.delete({ project: "project", snapshotGroup: "snapshotGroup", });
4387
+
4388
+ /*
4389
+ returns the specified SnapshotGroup resource.
4390
+ */
4391
+ await gapi.client.compute.snapshotGroups.get({ project: "project", snapshotGroup: "snapshotGroup", });
4392
+
4393
+ /*
4394
+ Gets the access control policy for a resource. May be empty if no such policy or resource exists.
4395
+ */
4396
+ await gapi.client.compute.snapshotGroups.getIamPolicy({ project: "project", resource: "resource", });
4397
+
4398
+ /*
4399
+ Creates a snapshot group in the specified project using the data included in the request.
4400
+ */
4401
+ await gapi.client.compute.snapshotGroups.insert({ project: "project", });
4402
+
4403
+ /*
4404
+ retrieves the list of SnapshotGroup resources contained within the specified project.
4405
+ */
4406
+ await gapi.client.compute.snapshotGroups.list({ project: "project", });
4407
+
4408
+ /*
4409
+ Sets the access control policy on the specified resource. Replaces any existing policy.
4410
+ */
4411
+ await gapi.client.compute.snapshotGroups.setIamPolicy({ project: "project", resource: "resource", });
4412
+
4413
+ /*
4414
+ Returns permissions that a caller has on the specified resource.
4415
+ */
4416
+ await gapi.client.compute.snapshotGroups.testIamPermissions({ project: "project", resource: "resource", });
4417
+
4368
4418
  /*
4369
4419
  Retrieves an aggregated list of all of the snapshots in your project across all regions and global scope. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
4370
4420
  */