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

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 +31 -5
  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: 20240227
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -815,6 +815,10 @@ declare namespace gapi.client {
815
815
  edgeSecurityPolicy?: string;
816
816
  /** If true, enables Cloud CDN for the backend service of a global external Application Load Balancer. */
817
817
  enableCDN?: boolean;
818
+ /** Specifies the canary migration state. Possible values are PREPARE, TEST, and FINALIZE. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to FINALIZE before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST state can be used to migrate traffic by percentage using externalManagedMigrationTestingRate. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to FINALIZE at the same time. Optionally, the TEST state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. */
819
+ externalManagedMigrationState?: string;
820
+ /** 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, 1]. For example: - A value of 0 will send all requests through the Classic ALB for the given resource. - A value of .001 will send .1% of requests through the Global external ALB for the given resource. - A value of .01 will send 1% of requests through the Global external ALB for the given resource. - A value of 1 will send all requests through the Global external ALB for the given resource. Session affinity options will slightly affect this routing behavior, for more details, see: Session Affinity. This value is only used if the loadBalancingScheme in the BackendService is set to EXTERNAL when using the classic Application Load Balancer. */
821
+ externalManagedMigrationTestingRate?: number;
818
822
  /** 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). */
819
823
  failoverPolicy?: BackendServiceFailoverPolicy;
820
824
  /** 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. */
@@ -1199,8 +1203,6 @@ declare namespace gapi.client {
1199
1203
  type?: string;
1200
1204
  }
1201
1205
  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
1206
  /** If the BGP session supports multiple paths (RFC 7911), the path identifier for this route. */
1205
1207
  pathId?: number;
1206
1208
  /** Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. */
@@ -2721,7 +2723,7 @@ declare namespace gapi.client {
2721
2723
  items?: GuestAttributesEntry[];
2722
2724
  }
2723
2725
  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. */
2726
+ /** 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
2727
  type?: string;
2726
2728
  }
2727
2729
  interface HealthCheck {
@@ -5253,7 +5255,7 @@ declare namespace gapi.client {
5253
5255
  status?: string;
5254
5256
  }
5255
5257
  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. */
5258
+ /** [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
5259
  portPairRemoteLocation?: string;
5258
5260
  /** [Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN */
5259
5261
  portPairVlan?: string;
@@ -6264,6 +6266,8 @@ declare namespace gapi.client {
6264
6266
  interface NetworkEndpointGroupPscData {
6265
6267
  /** [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
6268
  consumerPscAddress?: string;
6269
+ /** 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 */
6270
+ producerPort?: number;
6267
6271
  /** [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer. */
6268
6272
  pscConnectionId?: string;
6269
6273
  /** [Output Only] The connection status of the PSC Forwarding Rule. */
@@ -11182,6 +11186,24 @@ declare namespace gapi.client {
11182
11186
  message?: string;
11183
11187
  };
11184
11188
  }
11189
+ interface SubnetworksScopedWarning {
11190
+ /** Name of the scope containing this set of Subnetworks. */
11191
+ scopeName?: string;
11192
+ /** An informational warning about unreachable scope */
11193
+ warning?: {
11194
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
11195
+ code?: string;
11196
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
11197
+ data?: Array<{
11198
+ /** [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). */
11199
+ key?: string;
11200
+ /** [Output Only] A warning data value corresponding to the key. */
11201
+ value?: string;
11202
+ }>;
11203
+ /** [Output Only] A human-readable description of the warning code. */
11204
+ message?: string;
11205
+ };
11206
+ }
11185
11207
  interface SubnetworksSetPrivateIpGoogleAccessRequest {
11186
11208
  privateIpGoogleAccess?: boolean;
11187
11209
  }
@@ -12264,8 +12286,12 @@ declare namespace gapi.client {
12264
12286
  kind?: string;
12265
12287
  /** [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
12288
  nextPageToken?: string;
12289
+ /** [Output Only] Informational warning messages for failures encountered from scopes. */
12290
+ scoped_warnings?: SubnetworksScopedWarning[];
12267
12291
  /** [Output Only] Server-defined URL for this resource. */
12268
12292
  selfLink?: string;
12293
+ /** [Output Only] Unreachable resources. */
12294
+ unreachables?: string[];
12269
12295
  /** [Output Only] Informational warning message. */
12270
12296
  warning?: {
12271
12297
  /** [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.20240227",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",