@maxim_mazurok/gapi.client.compute-alpha 0.0.20240227 → 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.
- package/index.d.ts +32 -11
- 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:
|
|
12
|
+
// Revision: 20240305
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -815,10 +815,6 @@ 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;
|
|
822
818
|
/** 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). */
|
|
823
819
|
failoverPolicy?: BackendServiceFailoverPolicy;
|
|
824
820
|
/** 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. */
|
|
@@ -1502,11 +1498,11 @@ declare namespace gapi.client {
|
|
|
1502
1498
|
allowHeaders?: string[];
|
|
1503
1499
|
/** Specifies the content for the Access-Control-Allow-Methods header. */
|
|
1504
1500
|
allowMethods?: string[];
|
|
1505
|
-
/** Specifies a regular expression that matches allowed origins. For more information
|
|
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. */
|
|
1506
1502
|
allowOriginRegexes?: string[];
|
|
1507
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. */
|
|
1508
1504
|
allowOrigins?: string[];
|
|
1509
|
-
/** If true,
|
|
1505
|
+
/** If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect. */
|
|
1510
1506
|
disabled?: boolean;
|
|
1511
1507
|
/** Specifies the content for the Access-Control-Expose-Headers header. */
|
|
1512
1508
|
exposeHeaders?: string[];
|
|
@@ -2697,6 +2693,14 @@ declare namespace gapi.client {
|
|
|
2697
2693
|
/** The target URI of the SDS server. */
|
|
2698
2694
|
targetUri?: string;
|
|
2699
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
|
+
}
|
|
2700
2704
|
interface GuestAttributes {
|
|
2701
2705
|
/** [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry. */
|
|
2702
2706
|
kind?: string;
|
|
@@ -2734,6 +2738,7 @@ declare namespace gapi.client {
|
|
|
2734
2738
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
2735
2739
|
description?: string;
|
|
2736
2740
|
grpcHealthCheck?: GRPCHealthCheck;
|
|
2741
|
+
grpcTlsHealthCheck?: GRPCTLSHealthCheck;
|
|
2737
2742
|
/** A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. */
|
|
2738
2743
|
healthyThreshold?: number;
|
|
2739
2744
|
http2HealthCheck?: HTTP2HealthCheck;
|
|
@@ -3898,7 +3903,7 @@ declare namespace gapi.client {
|
|
|
3898
3903
|
resourceManagerTags?: {[P in string]: string};
|
|
3899
3904
|
}
|
|
3900
3905
|
interface InstanceGroupManagerResizeRequest {
|
|
3901
|
-
/** 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. */
|
|
3902
3907
|
count?: number;
|
|
3903
3908
|
/** [Output Only] The creation timestamp for this resize request in RFC3339 text format. */
|
|
3904
3909
|
creationTimestamp?: string;
|
|
@@ -3910,7 +3915,7 @@ declare namespace gapi.client {
|
|
|
3910
3915
|
kind?: string;
|
|
3911
3916
|
/** The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035. */
|
|
3912
3917
|
name?: string;
|
|
3913
|
-
/** 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. */
|
|
3914
3919
|
queuingPolicy?: QueuingPolicy;
|
|
3915
3920
|
/** Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. */
|
|
3916
3921
|
requestedRunDuration?: Duration;
|
|
@@ -3975,7 +3980,7 @@ declare namespace gapi.client {
|
|
|
3975
3980
|
};
|
|
3976
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. */
|
|
3977
3982
|
lastAttempt?: InstanceGroupManagerResizeRequestStatusLastAttempt;
|
|
3978
|
-
/** 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. */
|
|
3979
3984
|
queuingPolicy?: QueuingPolicy;
|
|
3980
3985
|
}
|
|
3981
3986
|
interface InstanceGroupManagerResizeRequestStatusLastAttempt {
|
|
@@ -5913,6 +5918,8 @@ declare namespace gapi.client {
|
|
|
5913
5918
|
name?: string;
|
|
5914
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. */
|
|
5915
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;
|
|
5916
5923
|
/** [Output Only] A list of network peerings for the resource. */
|
|
5917
5924
|
peerings?: NetworkPeering[];
|
|
5918
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. */
|
|
@@ -7980,6 +7987,20 @@ declare namespace gapi.client {
|
|
|
7980
7987
|
name?: string;
|
|
7981
7988
|
/** [Output Only] Quotas assigned to this region. */
|
|
7982
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
|
+
};
|
|
7983
8004
|
/** [Output Only] Server-defined URL for the resource. */
|
|
7984
8005
|
selfLink?: string;
|
|
7985
8006
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
@@ -8321,7 +8342,7 @@ declare namespace gapi.client {
|
|
|
8321
8342
|
name?: string;
|
|
8322
8343
|
/** The rules that apply to the network. */
|
|
8323
8344
|
rules?: FirewallPolicyRule[];
|
|
8324
|
-
/** [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. */
|
|
8325
8346
|
type?: string;
|
|
8326
8347
|
}
|
|
8327
8348
|
interface RegionSetLabelsRequest {
|