@maxim_mazurok/gapi.client.compute-alpha 0.0.20240326 → 0.0.20240421
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 +187 -25
- package/package.json +1 -1
- package/readme.md +10 -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:
|
|
12
|
+
// Revision: 20240421
|
|
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. */
|
|
@@ -4775,6 +4789,8 @@ declare namespace gapi.client {
|
|
|
4775
4789
|
rangeStart?: string;
|
|
4776
4790
|
}
|
|
4777
4791
|
interface Interconnect {
|
|
4792
|
+
/** Enable or disable the Application Aware Interconnect(AAI) feature on this interconnect. */
|
|
4793
|
+
aaiEnabled?: boolean;
|
|
4778
4794
|
/** Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. */
|
|
4779
4795
|
adminEnabled?: boolean;
|
|
4780
4796
|
/** Configuration for enabling Application Aware Interconnect (AAI) on this Cloud Interconnect connection between Google and your on-premises router. */
|
|
@@ -4842,8 +4858,6 @@ declare namespace gapi.client {
|
|
|
4842
4858
|
}
|
|
4843
4859
|
interface InterconnectApplicationAwareInterconnect {
|
|
4844
4860
|
bandwidthPercentagePolicy?: InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy;
|
|
4845
|
-
/** Enable or disable the AAI feature on this interconnect. */
|
|
4846
|
-
enabled?: boolean;
|
|
4847
4861
|
/** A description for the AAI profile on this interconnect. */
|
|
4848
4862
|
profileDescription?: string;
|
|
4849
4863
|
strictPriorityPolicy?: any;
|
|
@@ -6151,6 +6165,8 @@ declare namespace gapi.client {
|
|
|
6151
6165
|
interface NetworkEndpoint {
|
|
6152
6166
|
/** Metadata defined as annotations on the network endpoint. */
|
|
6153
6167
|
annotations?: {[P in string]: string};
|
|
6168
|
+
/** Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. */
|
|
6169
|
+
clientDestinationPort?: number;
|
|
6154
6170
|
/** 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
6171
|
clientPort?: number;
|
|
6156
6172
|
/** 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 +6209,7 @@ declare namespace gapi.client {
|
|
|
6193
6209
|
name?: string;
|
|
6194
6210
|
/** The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified. */
|
|
6195
6211
|
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. */
|
|
6212
|
+
/** 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
6213
|
networkEndpointType?: string;
|
|
6198
6214
|
pscData?: NetworkEndpointGroupPscData;
|
|
6199
6215
|
/** 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 +6635,8 @@ declare namespace gapi.client {
|
|
|
6619
6635
|
displayName?: string;
|
|
6620
6636
|
/** [Output Only] The name of the firewall policy. */
|
|
6621
6637
|
name?: string;
|
|
6638
|
+
/** [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. */
|
|
6639
|
+
priority?: number;
|
|
6622
6640
|
/** The rules that apply to the network. */
|
|
6623
6641
|
rules?: FirewallPolicyRule[];
|
|
6624
6642
|
/** [Output Only] The short name of the firewall policy. */
|
|
@@ -7364,7 +7382,7 @@ declare namespace gapi.client {
|
|
|
7364
7382
|
description?: string;
|
|
7365
7383
|
/** Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. */
|
|
7366
7384
|
enable?: string;
|
|
7367
|
-
/** Filter for mirrored traffic. If unspecified, all traffic is mirrored. */
|
|
7385
|
+
/** Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored. */
|
|
7368
7386
|
filter?: PacketMirroringFilter;
|
|
7369
7387
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
7370
7388
|
id?: string;
|
|
@@ -7414,7 +7432,7 @@ declare namespace gapi.client {
|
|
|
7414
7432
|
};
|
|
7415
7433
|
}
|
|
7416
7434
|
interface PacketMirroringFilter {
|
|
7417
|
-
/** One or more IPv4 or IPv6 CIDR ranges that apply as
|
|
7435
|
+
/** One or more IPv4 or IPv6 CIDR ranges that apply as filters 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
7436
|
cidrRanges?: string[];
|
|
7419
7437
|
/** Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. */
|
|
7420
7438
|
direction?: string;
|
|
@@ -8716,16 +8734,12 @@ declare namespace gapi.client {
|
|
|
8716
8734
|
availabilityDomainCount?: number;
|
|
8717
8735
|
/** Specifies network collocation */
|
|
8718
8736
|
collocation?: string;
|
|
8719
|
-
/** Specifies network locality */
|
|
8720
|
-
locality?: string;
|
|
8721
8737
|
/** Specifies the number of max logical switches. */
|
|
8722
8738
|
maxDistance?: number;
|
|
8723
8739
|
/** Scope specifies the availability domain to which the VMs should be spread. */
|
|
8724
8740
|
scope?: string;
|
|
8725
8741
|
/** Specifies the number of slices in a multislice workload. */
|
|
8726
8742
|
sliceCount?: number;
|
|
8727
|
-
/** Specifies instances to hosts placement relationship */
|
|
8728
|
-
style?: string;
|
|
8729
8743
|
/** Specifies the shape of the TPU slice */
|
|
8730
8744
|
tpuTopology?: string;
|
|
8731
8745
|
/** 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. */
|
|
@@ -9114,15 +9128,15 @@ declare namespace gapi.client {
|
|
|
9114
9128
|
enable?: string;
|
|
9115
9129
|
/** Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. */
|
|
9116
9130
|
enableIpv4?: boolean;
|
|
9117
|
-
/** Enable IPv6 traffic over BGP Peer.
|
|
9131
|
+
/** Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6. */
|
|
9118
9132
|
enableIpv6?: boolean;
|
|
9119
|
-
/** List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. */
|
|
9133
|
+
/** List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies. */
|
|
9120
9134
|
exportPolicies?: string[];
|
|
9121
|
-
/** List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. */
|
|
9135
|
+
/** List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies. */
|
|
9122
9136
|
importPolicies?: string[];
|
|
9123
9137
|
/** Name of the interface the BGP peer is associated with. */
|
|
9124
9138
|
interfaceName?: string;
|
|
9125
|
-
/** IP address of the interface inside Google Cloud Platform.
|
|
9139
|
+
/** IP address of the interface inside Google Cloud Platform. */
|
|
9126
9140
|
ipAddress?: string;
|
|
9127
9141
|
/** IPv4 address of the interface inside Google Cloud Platform. */
|
|
9128
9142
|
ipv4NexthopAddress?: string;
|
|
@@ -9136,7 +9150,7 @@ declare namespace gapi.client {
|
|
|
9136
9150
|
name?: string;
|
|
9137
9151
|
/** Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value. */
|
|
9138
9152
|
peerAsn?: number;
|
|
9139
|
-
/** IP address of the BGP interface outside Google Cloud Platform.
|
|
9153
|
+
/** IP address of the BGP interface outside Google Cloud Platform. */
|
|
9140
9154
|
peerIpAddress?: string;
|
|
9141
9155
|
/** IPv4 address of the BGP interface outside Google Cloud Platform. */
|
|
9142
9156
|
peerIpv4NexthopAddress?: string;
|
|
@@ -9166,7 +9180,7 @@ declare namespace gapi.client {
|
|
|
9166
9180
|
range?: string;
|
|
9167
9181
|
}
|
|
9168
9182
|
interface RouterInterface {
|
|
9169
|
-
/** IP address and range of the interface.
|
|
9183
|
+
/** IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose. */
|
|
9170
9184
|
ipRange?: string;
|
|
9171
9185
|
/** IP version of this interface. */
|
|
9172
9186
|
ipVersion?: string;
|
|
@@ -9427,7 +9441,7 @@ declare namespace gapi.client {
|
|
|
9427
9441
|
bfdStatus?: BfdStatus;
|
|
9428
9442
|
/** Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. */
|
|
9429
9443
|
enableIpv4?: boolean;
|
|
9430
|
-
/** Enable IPv6 traffic over BGP Peer.
|
|
9444
|
+
/** Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6. */
|
|
9431
9445
|
enableIpv6?: boolean;
|
|
9432
9446
|
/** IP address of the local BGP interface. */
|
|
9433
9447
|
ipAddress?: string;
|
|
@@ -10084,9 +10098,9 @@ declare namespace gapi.client {
|
|
|
10084
10098
|
connectedEndpoints?: ServiceAttachmentConnectedEndpoint[];
|
|
10085
10099
|
/** 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
10100
|
connectionPreference?: string;
|
|
10087
|
-
/**
|
|
10101
|
+
/** 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
10102
|
consumerAcceptLists?: ServiceAttachmentConsumerProjectLimit[];
|
|
10089
|
-
/**
|
|
10103
|
+
/** 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
10104
|
consumerRejectLists?: string[];
|
|
10091
10105
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
10092
10106
|
creationTimestamp?: string;
|
|
@@ -11550,7 +11564,7 @@ declare namespace gapi.client {
|
|
|
11550
11564
|
description?: string;
|
|
11551
11565
|
/** 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 TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy. */
|
|
11552
11566
|
fingerprint?: string;
|
|
11553
|
-
/** URLs to networkservices.HttpFilter resources enabled for xDS clients using this configuration. For example, https://networkservices.googleapis.com/beta/projects/project/locations/
|
|
11567
|
+
/** URLs to networkservices.HttpFilter resources enabled for xDS clients using this configuration. For example, https://networkservices.googleapis.com/beta/projects/project/locations/ location/httpFilters/httpFilter Only filters that handle outbound connection and stream events may be specified. These filters work in conjunction with a default set of HTTP filters that may already be configured by Traffic Director. Traffic Director will determine the final location of these filters within xDS configuration based on the name of the HTTP filter. If Traffic Director positions multiple filters at the same location, those filters will be in the same order as specified in this list. httpFilters only applies for loadbalancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. */
|
|
11554
11568
|
httpFilters?: string[];
|
|
11555
11569
|
/** Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported. */
|
|
11556
11570
|
httpKeepAliveTimeoutSec?: number;
|
|
@@ -49215,6 +49229,154 @@ declare namespace gapi.client {
|
|
|
49215
49229
|
},
|
|
49216
49230
|
body: Router
|
|
49217
49231
|
): Request<Operation>;
|
|
49232
|
+
/** Patches Named Set */
|
|
49233
|
+
patchNamedSet(request: {
|
|
49234
|
+
/** V1 error format. */
|
|
49235
|
+
'$.xgafv'?: string;
|
|
49236
|
+
/** OAuth access token. */
|
|
49237
|
+
access_token?: string;
|
|
49238
|
+
/** Data format for response. */
|
|
49239
|
+
alt?: string;
|
|
49240
|
+
/** JSONP */
|
|
49241
|
+
callback?: string;
|
|
49242
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49243
|
+
fields?: string;
|
|
49244
|
+
/** 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. */
|
|
49245
|
+
key?: string;
|
|
49246
|
+
/** OAuth 2.0 token for the current user. */
|
|
49247
|
+
oauth_token?: string;
|
|
49248
|
+
/** Returns response with indentations and line breaks. */
|
|
49249
|
+
prettyPrint?: boolean;
|
|
49250
|
+
/** Project ID for this request. */
|
|
49251
|
+
project: string;
|
|
49252
|
+
/** 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. */
|
|
49253
|
+
quotaUser?: string;
|
|
49254
|
+
/** Name of the region for this request. */
|
|
49255
|
+
region: string;
|
|
49256
|
+
/** 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). */
|
|
49257
|
+
requestId?: string;
|
|
49258
|
+
/** Name of the Router resource where Named Set is defined. */
|
|
49259
|
+
router: string;
|
|
49260
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49261
|
+
upload_protocol?: string;
|
|
49262
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49263
|
+
uploadType?: string;
|
|
49264
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49265
|
+
userIp?: string;
|
|
49266
|
+
/** Request body */
|
|
49267
|
+
resource: NamedSet;
|
|
49268
|
+
}): Request<Operation>;
|
|
49269
|
+
patchNamedSet(
|
|
49270
|
+
request: {
|
|
49271
|
+
/** V1 error format. */
|
|
49272
|
+
'$.xgafv'?: string;
|
|
49273
|
+
/** OAuth access token. */
|
|
49274
|
+
access_token?: string;
|
|
49275
|
+
/** Data format for response. */
|
|
49276
|
+
alt?: string;
|
|
49277
|
+
/** JSONP */
|
|
49278
|
+
callback?: string;
|
|
49279
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49280
|
+
fields?: string;
|
|
49281
|
+
/** 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. */
|
|
49282
|
+
key?: string;
|
|
49283
|
+
/** OAuth 2.0 token for the current user. */
|
|
49284
|
+
oauth_token?: string;
|
|
49285
|
+
/** Returns response with indentations and line breaks. */
|
|
49286
|
+
prettyPrint?: boolean;
|
|
49287
|
+
/** Project ID for this request. */
|
|
49288
|
+
project: string;
|
|
49289
|
+
/** 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. */
|
|
49290
|
+
quotaUser?: string;
|
|
49291
|
+
/** Name of the region for this request. */
|
|
49292
|
+
region: string;
|
|
49293
|
+
/** 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). */
|
|
49294
|
+
requestId?: string;
|
|
49295
|
+
/** Name of the Router resource where Named Set is defined. */
|
|
49296
|
+
router: string;
|
|
49297
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49298
|
+
upload_protocol?: string;
|
|
49299
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49300
|
+
uploadType?: string;
|
|
49301
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49302
|
+
userIp?: string;
|
|
49303
|
+
},
|
|
49304
|
+
body: NamedSet
|
|
49305
|
+
): Request<Operation>;
|
|
49306
|
+
/** Patches Route Policy */
|
|
49307
|
+
patchRoutePolicy(request: {
|
|
49308
|
+
/** V1 error format. */
|
|
49309
|
+
'$.xgafv'?: string;
|
|
49310
|
+
/** OAuth access token. */
|
|
49311
|
+
access_token?: string;
|
|
49312
|
+
/** Data format for response. */
|
|
49313
|
+
alt?: string;
|
|
49314
|
+
/** JSONP */
|
|
49315
|
+
callback?: string;
|
|
49316
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49317
|
+
fields?: string;
|
|
49318
|
+
/** 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. */
|
|
49319
|
+
key?: string;
|
|
49320
|
+
/** OAuth 2.0 token for the current user. */
|
|
49321
|
+
oauth_token?: string;
|
|
49322
|
+
/** Returns response with indentations and line breaks. */
|
|
49323
|
+
prettyPrint?: boolean;
|
|
49324
|
+
/** Project ID for this request. */
|
|
49325
|
+
project: string;
|
|
49326
|
+
/** 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. */
|
|
49327
|
+
quotaUser?: string;
|
|
49328
|
+
/** Name of the region for this request. */
|
|
49329
|
+
region: string;
|
|
49330
|
+
/** 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). */
|
|
49331
|
+
requestId?: string;
|
|
49332
|
+
/** Name of the Router resource where Route Policy is defined. */
|
|
49333
|
+
router: string;
|
|
49334
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49335
|
+
upload_protocol?: string;
|
|
49336
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49337
|
+
uploadType?: string;
|
|
49338
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49339
|
+
userIp?: string;
|
|
49340
|
+
/** Request body */
|
|
49341
|
+
resource: RoutePolicy;
|
|
49342
|
+
}): Request<Operation>;
|
|
49343
|
+
patchRoutePolicy(
|
|
49344
|
+
request: {
|
|
49345
|
+
/** V1 error format. */
|
|
49346
|
+
'$.xgafv'?: string;
|
|
49347
|
+
/** OAuth access token. */
|
|
49348
|
+
access_token?: string;
|
|
49349
|
+
/** Data format for response. */
|
|
49350
|
+
alt?: string;
|
|
49351
|
+
/** JSONP */
|
|
49352
|
+
callback?: string;
|
|
49353
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49354
|
+
fields?: string;
|
|
49355
|
+
/** 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. */
|
|
49356
|
+
key?: string;
|
|
49357
|
+
/** OAuth 2.0 token for the current user. */
|
|
49358
|
+
oauth_token?: string;
|
|
49359
|
+
/** Returns response with indentations and line breaks. */
|
|
49360
|
+
prettyPrint?: boolean;
|
|
49361
|
+
/** Project ID for this request. */
|
|
49362
|
+
project: string;
|
|
49363
|
+
/** 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. */
|
|
49364
|
+
quotaUser?: string;
|
|
49365
|
+
/** Name of the region for this request. */
|
|
49366
|
+
region: string;
|
|
49367
|
+
/** 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). */
|
|
49368
|
+
requestId?: string;
|
|
49369
|
+
/** Name of the Router resource where Route Policy is defined. */
|
|
49370
|
+
router: string;
|
|
49371
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49372
|
+
upload_protocol?: string;
|
|
49373
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49374
|
+
uploadType?: string;
|
|
49375
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49376
|
+
userIp?: string;
|
|
49377
|
+
},
|
|
49378
|
+
body: RoutePolicy
|
|
49379
|
+
): Request<Operation>;
|
|
49218
49380
|
/** Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router. */
|
|
49219
49381
|
preview(request: {
|
|
49220
49382
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -3760,6 +3760,16 @@ Patches the specified Router resource with the data included in the request. Thi
|
|
|
3760
3760
|
*/
|
|
3761
3761
|
await gapi.client.compute.routers.patch({ project: "project", region: "region", router: "router", });
|
|
3762
3762
|
|
|
3763
|
+
/*
|
|
3764
|
+
Patches Named Set
|
|
3765
|
+
*/
|
|
3766
|
+
await gapi.client.compute.routers.patchNamedSet({ project: "project", region: "region", router: "router", });
|
|
3767
|
+
|
|
3768
|
+
/*
|
|
3769
|
+
Patches Route Policy
|
|
3770
|
+
*/
|
|
3771
|
+
await gapi.client.compute.routers.patchRoutePolicy({ project: "project", region: "region", router: "router", });
|
|
3772
|
+
|
|
3763
3773
|
/*
|
|
3764
3774
|
Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.
|
|
3765
3775
|
*/
|