@maxim_mazurok/gapi.client.compute-alpha 0.0.20240220 → 0.0.20240305

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 (2) hide show
  1. package/index.d.ts +58 -11
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
12
- // Revision: 20240220
12
+ // Revision: 20240305
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1199,8 +1199,6 @@ declare namespace gapi.client {
1199
1199
  type?: string;
1200
1200
  }
1201
1201
  interface BgpRouteNetworkLayerReachabilityInformation {
1202
- /** Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. Deprecated in favor of prefix. */
1203
- destination?: string;
1204
1202
  /** If the BGP session supports multiple paths (RFC 7911), the path identifier for this route. */
1205
1203
  pathId?: number;
1206
1204
  /** Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. */
@@ -1500,11 +1498,11 @@ declare namespace gapi.client {
1500
1498
  allowHeaders?: string[];
1501
1499
  /** Specifies the content for the Access-Control-Allow-Methods header. */
1502
1500
  allowMethods?: string[];
1503
- /** Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. */
1501
+ /** Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. */
1504
1502
  allowOriginRegexes?: string[];
1505
1503
  /** Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. */
1506
1504
  allowOrigins?: string[];
1507
- /** If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect. */
1505
+ /** If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect. */
1508
1506
  disabled?: boolean;
1509
1507
  /** Specifies the content for the Access-Control-Expose-Headers header. */
1510
1508
  exposeHeaders?: string[];
@@ -2695,6 +2693,14 @@ declare namespace gapi.client {
2695
2693
  /** The target URI of the SDS server. */
2696
2694
  targetUri?: string;
2697
2695
  }
2696
+ interface GRPCTLSHealthCheck {
2697
+ /** The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII. */
2698
+ grpcServiceName?: string;
2699
+ /** The TCP port number to which the health check prober sends packets. Valid values are 1 through 65535. */
2700
+ port?: number;
2701
+ /** Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. */
2702
+ portSpecification?: string;
2703
+ }
2698
2704
  interface GuestAttributes {
2699
2705
  /** [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry. */
2700
2706
  kind?: string;
@@ -2721,7 +2727,7 @@ declare namespace gapi.client {
2721
2727
  items?: GuestAttributesEntry[];
2722
2728
  }
2723
2729
  interface GuestOsFeature {
2724
- /** The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features. */
2730
+ /** The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features. */
2725
2731
  type?: string;
2726
2732
  }
2727
2733
  interface HealthCheck {
@@ -2732,6 +2738,7 @@ declare namespace gapi.client {
2732
2738
  /** An optional description of this resource. Provide this property when you create the resource. */
2733
2739
  description?: string;
2734
2740
  grpcHealthCheck?: GRPCHealthCheck;
2741
+ grpcTlsHealthCheck?: GRPCTLSHealthCheck;
2735
2742
  /** A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. */
2736
2743
  healthyThreshold?: number;
2737
2744
  http2HealthCheck?: HTTP2HealthCheck;
@@ -3896,7 +3903,7 @@ declare namespace gapi.client {
3896
3903
  resourceManagerTags?: {[P in string]: string};
3897
3904
  }
3898
3905
  interface InstanceGroupManagerResizeRequest {
3899
- /** The count of instances to create as part of this resize request. */
3906
+ /** This field is deprecated, please use resize_by instead. The count of instances to create as part of this resize request. */
3900
3907
  count?: number;
3901
3908
  /** [Output Only] The creation timestamp for this resize request in RFC3339 text format. */
3902
3909
  creationTimestamp?: string;
@@ -3908,7 +3915,7 @@ declare namespace gapi.client {
3908
3915
  kind?: string;
3909
3916
  /** The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035. */
3910
3917
  name?: string;
3911
- /** When set, defines queing parameters for the requested deferred capacity. When unset, the request starts provisioning immediately, or fails if immediate provisioning is not possible. */
3918
+ /** This field is deprecated, ResizeRequests would not be provisioned immediately and would stay in the queue until explicitly cancelled. When set, defines queing parameters for the requested deferred capacity. When unset, the request starts provisioning immediately, or fails if immediate provisioning is not possible. */
3912
3919
  queuingPolicy?: QueuingPolicy;
3913
3920
  /** Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. */
3914
3921
  requestedRunDuration?: Duration;
@@ -3973,7 +3980,7 @@ declare namespace gapi.client {
3973
3980
  };
3974
3981
  /** [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only. */
3975
3982
  lastAttempt?: InstanceGroupManagerResizeRequestStatusLastAttempt;
3976
- /** Constraints for the time when the instances start provisioning. Always exposed as absolute time. */
3983
+ /** This field is deprecated, setting queueing policy is no longer supported. Constraints for the time when the instances start provisioning. Always exposed as absolute time. */
3977
3984
  queuingPolicy?: QueuingPolicy;
3978
3985
  }
3979
3986
  interface InstanceGroupManagerResizeRequestStatusLastAttempt {
@@ -5253,7 +5260,7 @@ declare namespace gapi.client {
5253
5260
  status?: string;
5254
5261
  }
5255
5262
  interface InterconnectRemoteLocationConstraints {
5256
- /** [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location. */
5263
+ /** [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location. */
5257
5264
  portPairRemoteLocation?: string;
5258
5265
  /** [Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN */
5259
5266
  portPairVlan?: string;
@@ -5911,6 +5918,8 @@ declare namespace gapi.client {
5911
5918
  name?: string;
5912
5919
  /** The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. */
5913
5920
  networkFirewallPolicyEnforcementOrder?: string;
5921
+ /** A full or partial URL of the network placement to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/alpha/projects/{project_id}/global/networkPlacements/{network_placement_name} - projects/{project_id}/global/networkPlacements/{network_placement_name} */
5922
+ networkPlacement?: string;
5914
5923
  /** [Output Only] A list of network peerings for the resource. */
5915
5924
  peerings?: NetworkPeering[];
5916
5925
  /** [Output Only] URL of the region where the regional network resides. This field is not applicable to global network. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
@@ -6264,6 +6273,8 @@ declare namespace gapi.client {
6264
6273
  interface NetworkEndpointGroupPscData {
6265
6274
  /** [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB. */
6266
6275
  consumerPscAddress?: string;
6276
+ /** The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type */
6277
+ producerPort?: number;
6267
6278
  /** [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer. */
6268
6279
  pscConnectionId?: string;
6269
6280
  /** [Output Only] The connection status of the PSC Forwarding Rule. */
@@ -7976,6 +7987,20 @@ declare namespace gapi.client {
7976
7987
  name?: string;
7977
7988
  /** [Output Only] Quotas assigned to this region. */
7978
7989
  quotas?: Quota[];
7990
+ /** [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails. */
7991
+ quotaStatusWarning?: {
7992
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
7993
+ code?: string;
7994
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
7995
+ data?: Array<{
7996
+ /** [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). */
7997
+ key?: string;
7998
+ /** [Output Only] A warning data value corresponding to the key. */
7999
+ value?: string;
8000
+ }>;
8001
+ /** [Output Only] A human-readable description of the warning code. */
8002
+ message?: string;
8003
+ };
7979
8004
  /** [Output Only] Server-defined URL for the resource. */
7980
8005
  selfLink?: string;
7981
8006
  /** [Output Only] Server-defined URL for this resource with the resource id. */
@@ -8317,7 +8342,7 @@ declare namespace gapi.client {
8317
8342
  name?: string;
8318
8343
  /** The rules that apply to the network. */
8319
8344
  rules?: FirewallPolicyRule[];
8320
- /** [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. */
8345
+ /** [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. */
8321
8346
  type?: string;
8322
8347
  }
8323
8348
  interface RegionSetLabelsRequest {
@@ -11182,6 +11207,24 @@ declare namespace gapi.client {
11182
11207
  message?: string;
11183
11208
  };
11184
11209
  }
11210
+ interface SubnetworksScopedWarning {
11211
+ /** Name of the scope containing this set of Subnetworks. */
11212
+ scopeName?: string;
11213
+ /** An informational warning about unreachable scope */
11214
+ warning?: {
11215
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
11216
+ code?: string;
11217
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
11218
+ data?: Array<{
11219
+ /** [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). */
11220
+ key?: string;
11221
+ /** [Output Only] A warning data value corresponding to the key. */
11222
+ value?: string;
11223
+ }>;
11224
+ /** [Output Only] A human-readable description of the warning code. */
11225
+ message?: string;
11226
+ };
11227
+ }
11185
11228
  interface SubnetworksSetPrivateIpGoogleAccessRequest {
11186
11229
  privateIpGoogleAccess?: boolean;
11187
11230
  }
@@ -12264,8 +12307,12 @@ declare namespace gapi.client {
12264
12307
  kind?: string;
12265
12308
  /** [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. In special cases listUsable may return 0 subnetworks and nextPageToken which still should be used to get the next page of results. */
12266
12309
  nextPageToken?: string;
12310
+ /** [Output Only] Informational warning messages for failures encountered from scopes. */
12311
+ scoped_warnings?: SubnetworksScopedWarning[];
12267
12312
  /** [Output Only] Server-defined URL for this resource. */
12268
12313
  selfLink?: string;
12314
+ /** [Output Only] Unreachable resources. */
12315
+ unreachables?: string[];
12269
12316
  /** [Output Only] Informational warning message. */
12270
12317
  warning?: {
12271
12318
  /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20240220",
3
+ "version": "0.0.20240305",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",