@maxim_mazurok/gapi.client.compute-alpha 0.0.20240326 → 0.0.20240407
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 +28 -16
- 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: 20240407
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -815,9 +815,9 @@ 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,
|
|
818
|
+
/** Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using externalManagedMigrationTestingPercentage. 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 TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. */
|
|
819
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, 100]. Session affinity options will slightly affect this routing behavior, for more details, see: Session Affinity. This value
|
|
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, 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. */
|
|
821
821
|
externalManagedMigrationTestingPercentage?: number;
|
|
822
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). */
|
|
823
823
|
failoverPolicy?: BackendServiceFailoverPolicy;
|
|
@@ -851,6 +851,8 @@ declare namespace gapi.client {
|
|
|
851
851
|
name?: string;
|
|
852
852
|
/** 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. */
|
|
853
853
|
network?: string;
|
|
854
|
+
/** Configures traffic steering properties of internal passthrough Network Load Balancers. */
|
|
855
|
+
networkPassThroughLbTrafficPolicy?: BackendServiceNetworkPassThroughLbTrafficPolicy;
|
|
854
856
|
/** 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. */
|
|
855
857
|
outlierDetection?: OutlierDetection;
|
|
856
858
|
/** Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port. */
|
|
@@ -1086,6 +1088,16 @@ declare namespace gapi.client {
|
|
|
1086
1088
|
/** This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0. */
|
|
1087
1089
|
sampleRate?: number;
|
|
1088
1090
|
}
|
|
1091
|
+
interface BackendServiceNetworkPassThroughLbTrafficPolicy {
|
|
1092
|
+
/** When configured, new connections are load balanced across healthy backend endpoints in the local zone. */
|
|
1093
|
+
zonalAffinity?: BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity;
|
|
1094
|
+
}
|
|
1095
|
+
interface BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity {
|
|
1096
|
+
/** This field indicates whether zonal affinity is enabled or not. The possible values are: - ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity is disabled. The load balancer distributes new connections to all healthy backend endpoints across all zones. - ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is enabled. The load balancer distributes new connections to all healthy backend endpoints in the local zone only. If there are no healthy backend endpoints in the local zone, the load balancer distributes new connections to all backend endpoints in the local zone. - ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is enabled. The load balancer distributes new connections to all healthy backend endpoints in the local zone only. If there aren't enough healthy backend endpoints in the local zone, the load balancer distributes new connections to all healthy backend endpoints across all zones. */
|
|
1097
|
+
spillover?: string;
|
|
1098
|
+
/** The value of the field must be in [0, 1]. When the ratio of the count of healthy backend endpoints in a zone to the count of backend endpoints in that same zone is equal to or above this threshold, the load balancer distributes new connections to all healthy endpoints in the local zone only. When the ratio of the count of healthy backend endpoints in a zone to the count of backend endpoints in that same zone is below this threshold, the load balancer distributes all new connections to all healthy endpoints across all zones. */
|
|
1099
|
+
spilloverRatio?: number;
|
|
1100
|
+
}
|
|
1089
1101
|
interface BackendServiceReference {
|
|
1090
1102
|
backendService?: string;
|
|
1091
1103
|
}
|
|
@@ -2334,9 +2346,9 @@ declare namespace gapi.client {
|
|
|
2334
2346
|
creationTimestamp?: string;
|
|
2335
2347
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
2336
2348
|
description?: string;
|
|
2337
|
-
/** Specifies the canary migration state for the backend buckets attached to this forwarding rule. Possible values are PREPARE,
|
|
2349
|
+
/** Specifies the canary migration state for the backend buckets attached to this forwarding rule. Possible values are PREPARE, TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate traffic to backend buckets attached to this forwarding rule by percentage using externalManagedBackendBucketMigrationTestingPercentage. 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 TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL. */
|
|
2338
2350
|
externalManagedBackendBucketMigrationState?: string;
|
|
2339
|
-
/** Determines the fraction of requests to backend buckets that should be processed by the
|
|
2351
|
+
/** Determines the fraction of requests to backend buckets that should be processed by the global external Application Load Balancer. The value of this field must be in the range [0, 100]. 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. */
|
|
2340
2352
|
externalManagedBackendBucketMigrationTestingPercentage?: number;
|
|
2341
2353
|
/** 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 ForwardingRule. Include the fingerprint in patch request to ensure that you do not overwrite changes that were applied from another concurrent request. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule. */
|
|
2342
2354
|
fingerprint?: string;
|
|
@@ -3565,7 +3577,7 @@ declare namespace gapi.client {
|
|
|
3565
3577
|
statusMessage?: string;
|
|
3566
3578
|
/** Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field. */
|
|
3567
3579
|
tags?: Tags;
|
|
3568
|
-
/** [Output Only] Specifies upcoming maintenance for the instance. */
|
|
3580
|
+
/** [Output Only] DEPRECATED: Please use resource_status.upcoming_maintenance instead. Specifies upcoming maintenance for the instance. */
|
|
3569
3581
|
upcomingMaintenance?: UpcomingMaintenance;
|
|
3570
3582
|
/** [Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
|
|
3571
3583
|
zone?: string;
|
|
@@ -4466,6 +4478,8 @@ declare namespace gapi.client {
|
|
|
4466
4478
|
displayName?: string;
|
|
4467
4479
|
/** [Output Only] The name of the firewall policy. */
|
|
4468
4480
|
name?: string;
|
|
4481
|
+
/** [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. */
|
|
4482
|
+
priority?: number;
|
|
4469
4483
|
/** The rules that apply to the network. */
|
|
4470
4484
|
rules?: FirewallPolicyRule[];
|
|
4471
4485
|
/** [Output Only] The short name of the firewall policy. */
|
|
@@ -4842,8 +4856,6 @@ declare namespace gapi.client {
|
|
|
4842
4856
|
}
|
|
4843
4857
|
interface InterconnectApplicationAwareInterconnect {
|
|
4844
4858
|
bandwidthPercentagePolicy?: InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy;
|
|
4845
|
-
/** Enable or disable the AAI feature on this interconnect. */
|
|
4846
|
-
enabled?: boolean;
|
|
4847
4859
|
/** A description for the AAI profile on this interconnect. */
|
|
4848
4860
|
profileDescription?: string;
|
|
4849
4861
|
strictPriorityPolicy?: any;
|
|
@@ -6151,6 +6163,8 @@ declare namespace gapi.client {
|
|
|
6151
6163
|
interface NetworkEndpoint {
|
|
6152
6164
|
/** Metadata defined as annotations on the network endpoint. */
|
|
6153
6165
|
annotations?: {[P in string]: string};
|
|
6166
|
+
/** Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. */
|
|
6167
|
+
clientDestinationPort?: number;
|
|
6154
6168
|
/** Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode. */
|
|
6155
6169
|
clientPort?: number;
|
|
6156
6170
|
/** Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. */
|
|
@@ -6193,7 +6207,7 @@ declare namespace gapi.client {
|
|
|
6193
6207
|
name?: string;
|
|
6194
6208
|
/** The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified. */
|
|
6195
6209
|
network?: string;
|
|
6196
|
-
/** Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. */
|
|
6210
|
+
/** Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP. */
|
|
6197
6211
|
networkEndpointType?: string;
|
|
6198
6212
|
pscData?: NetworkEndpointGroupPscData;
|
|
6199
6213
|
/** The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com */
|
|
@@ -6619,6 +6633,8 @@ declare namespace gapi.client {
|
|
|
6619
6633
|
displayName?: string;
|
|
6620
6634
|
/** [Output Only] The name of the firewall policy. */
|
|
6621
6635
|
name?: string;
|
|
6636
|
+
/** [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. */
|
|
6637
|
+
priority?: number;
|
|
6622
6638
|
/** The rules that apply to the network. */
|
|
6623
6639
|
rules?: FirewallPolicyRule[];
|
|
6624
6640
|
/** [Output Only] The short name of the firewall policy. */
|
|
@@ -7414,7 +7430,7 @@ declare namespace gapi.client {
|
|
|
7414
7430
|
};
|
|
7415
7431
|
}
|
|
7416
7432
|
interface PacketMirroringFilter {
|
|
7417
|
-
/** One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
|
|
7433
|
+
/** One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". */
|
|
7418
7434
|
cidrRanges?: string[];
|
|
7419
7435
|
/** Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. */
|
|
7420
7436
|
direction?: string;
|
|
@@ -8716,16 +8732,12 @@ declare namespace gapi.client {
|
|
|
8716
8732
|
availabilityDomainCount?: number;
|
|
8717
8733
|
/** Specifies network collocation */
|
|
8718
8734
|
collocation?: string;
|
|
8719
|
-
/** Specifies network locality */
|
|
8720
|
-
locality?: string;
|
|
8721
8735
|
/** Specifies the number of max logical switches. */
|
|
8722
8736
|
maxDistance?: number;
|
|
8723
8737
|
/** Scope specifies the availability domain to which the VMs should be spread. */
|
|
8724
8738
|
scope?: string;
|
|
8725
8739
|
/** Specifies the number of slices in a multislice workload. */
|
|
8726
8740
|
sliceCount?: number;
|
|
8727
|
-
/** Specifies instances to hosts placement relationship */
|
|
8728
|
-
style?: string;
|
|
8729
8741
|
/** Specifies the shape of the TPU slice */
|
|
8730
8742
|
tpuTopology?: string;
|
|
8731
8743
|
/** Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs. */
|
|
@@ -10084,9 +10096,9 @@ declare namespace gapi.client {
|
|
|
10084
10096
|
connectedEndpoints?: ServiceAttachmentConnectedEndpoint[];
|
|
10085
10097
|
/** The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. */
|
|
10086
10098
|
connectionPreference?: string;
|
|
10087
|
-
/**
|
|
10099
|
+
/** Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks. */
|
|
10088
10100
|
consumerAcceptLists?: ServiceAttachmentConsumerProjectLimit[];
|
|
10089
|
-
/**
|
|
10101
|
+
/** Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks. */
|
|
10090
10102
|
consumerRejectLists?: string[];
|
|
10091
10103
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
10092
10104
|
creationTimestamp?: string;
|