@maxim_mazurok/gapi.client.compute-alpha 0.0.20230103 → 0.0.20230201
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 +322 -33
- package/package.json +1 -1
- package/readme.md +15 -0
- package/tests.ts +95 -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: 20230201
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -148,8 +148,8 @@ declare namespace gapi.client {
|
|
|
148
148
|
}
|
|
149
149
|
interface AccessConfig {
|
|
150
150
|
/**
|
|
151
|
-
* The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig.
|
|
152
|
-
*
|
|
151
|
+
* The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP
|
|
152
|
+
* address, it must be unused and in the same region as the instance's zone. If not specified, GCP will automatically assign an external IPv6 address from the instance's subnetwork.
|
|
153
153
|
*/
|
|
154
154
|
externalIpv6?: string;
|
|
155
155
|
/** The prefix length of the external IPv6 range. */
|
|
@@ -575,7 +575,10 @@ declare namespace gapi.client {
|
|
|
575
575
|
provisionedIops?: string;
|
|
576
576
|
/** Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124. */
|
|
577
577
|
provisionedThroughput?: string;
|
|
578
|
-
/**
|
|
578
|
+
/**
|
|
579
|
+
* Required for each regional disk associated with the instance. Specify the URLs of the zones where the disk should be replicated to. You must provide exactly two replica zones, and
|
|
580
|
+
* one zone must be the same as the instance zone. You can't use this option with boot disks.
|
|
581
|
+
*/
|
|
579
582
|
replicaZones?: string[];
|
|
580
583
|
/**
|
|
581
584
|
* Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values
|
|
@@ -1240,14 +1243,25 @@ declare namespace gapi.client {
|
|
|
1240
1243
|
iap?: BackendServiceIAP;
|
|
1241
1244
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
1242
1245
|
id?: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* Specifies preference of traffic to the backend (from the proxy and from the client for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends
|
|
1248
|
+
* of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv4 health-checks are used to check
|
|
1249
|
+
* the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there is a healthy
|
|
1250
|
+
* IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from
|
|
1251
|
+
* the client to the proxy. Only IPv6 health-checks are used to check the health of the backends. This field is applicable to either: - Advanced Global External HTTPS Load Balancing
|
|
1252
|
+
* (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), - Regional Internal HTTPS Load
|
|
1253
|
+
* Balancing (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED).
|
|
1254
|
+
*/
|
|
1255
|
+
ipAddressSelectionPolicy?: string;
|
|
1243
1256
|
/** [Output Only] Type of resource. Always compute#backendService for backend services. */
|
|
1244
1257
|
kind?: string;
|
|
1245
1258
|
/** Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. */
|
|
1246
1259
|
loadBalancingScheme?: string;
|
|
1247
1260
|
/**
|
|
1248
|
-
* A list of locality load
|
|
1249
|
-
*
|
|
1250
|
-
*
|
|
1261
|
+
* A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the
|
|
1262
|
+
* localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use
|
|
1263
|
+
* this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't
|
|
1264
|
+
* use backend services that have this configuration.
|
|
1251
1265
|
*/
|
|
1252
1266
|
localityLbPolicies?: BackendServiceLocalityLoadBalancingPolicyConfig[];
|
|
1253
1267
|
/**
|
|
@@ -1581,17 +1595,16 @@ declare namespace gapi.client {
|
|
|
1581
1595
|
/** An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. */
|
|
1582
1596
|
data?: string;
|
|
1583
1597
|
/**
|
|
1584
|
-
* Identifies the custom policy. The value should match the
|
|
1585
|
-
*
|
|
1586
|
-
*
|
|
1598
|
+
* Identifies the custom policy. The value should match the name of a custom implementation registered on the gRPC clients. It should follow protocol buffer message naming conventions
|
|
1599
|
+
* and include the full path (for example, myorg.CustomLbPolicy). The maximum length is 256 characters. Do not specify the same custom policy more than once for a backend. If you do,
|
|
1600
|
+
* the configuration is rejected. For an example of how to use this field, see Use a custom policy.
|
|
1587
1601
|
*/
|
|
1588
1602
|
name?: string;
|
|
1589
1603
|
}
|
|
1590
1604
|
interface BackendServiceLocalityLoadBalancingPolicyConfigPolicy {
|
|
1591
1605
|
/**
|
|
1592
|
-
* The name of a locality load
|
|
1593
|
-
*
|
|
1594
|
-
* configuration and will be rejected.
|
|
1606
|
+
* The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of
|
|
1607
|
+
* localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected.
|
|
1595
1608
|
*/
|
|
1596
1609
|
name?: string;
|
|
1597
1610
|
}
|
|
@@ -1743,14 +1756,14 @@ declare namespace gapi.client {
|
|
|
1743
1756
|
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
1744
1757
|
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
1745
1758
|
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
1746
|
-
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `
|
|
1747
|
-
*
|
|
1748
|
-
* `
|
|
1749
|
-
*
|
|
1750
|
-
*
|
|
1751
|
-
*
|
|
1752
|
-
* `
|
|
1753
|
-
*
|
|
1759
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
|
1760
|
+
* users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has
|
|
1761
|
+
* been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains
|
|
1762
|
+
* the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently
|
|
1763
|
+
* deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and
|
|
1764
|
+
* the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that
|
|
1765
|
+
* has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group
|
|
1766
|
+
* retains the role in the binding.
|
|
1754
1767
|
*/
|
|
1755
1768
|
members?: string[];
|
|
1756
1769
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
@@ -2850,6 +2863,12 @@ declare namespace gapi.client {
|
|
|
2850
2863
|
* it cannot be an IP address from Google Compute Engine.
|
|
2851
2864
|
*/
|
|
2852
2865
|
ipAddress?: string;
|
|
2866
|
+
/**
|
|
2867
|
+
* IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP
|
|
2868
|
+
* address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC
|
|
2869
|
+
* 5952 format (e.g. 2001:db8::2d9:51:0:0).
|
|
2870
|
+
*/
|
|
2871
|
+
ipv6Address?: string;
|
|
2853
2872
|
}
|
|
2854
2873
|
interface ExternalVpnGatewayList {
|
|
2855
2874
|
etag?: string;
|
|
@@ -3197,6 +3216,8 @@ declare namespace gapi.client {
|
|
|
3197
3216
|
targetSecureTags?: FirewallPolicyRuleSecureTag[];
|
|
3198
3217
|
/** A list of service accounts indicating the sets of instances that are applied with this rule. */
|
|
3199
3218
|
targetServiceAccounts?: string[];
|
|
3219
|
+
/** Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions. */
|
|
3220
|
+
tlsInspect?: boolean;
|
|
3200
3221
|
}
|
|
3201
3222
|
interface FirewallPolicyRuleMatcher {
|
|
3202
3223
|
/** Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. */
|
|
@@ -5523,7 +5544,7 @@ declare namespace gapi.client {
|
|
|
5523
5544
|
* could have either valid_until_time or valid_until_duration. ResizeRequest.status.queuing_policy always contains absolute time as calculated by the server when the request is queued.
|
|
5524
5545
|
*/
|
|
5525
5546
|
status?: InstanceGroupManagerResizeRequestStatus;
|
|
5526
|
-
/** [Output Only] The URL of a zone where the resize request is located. */
|
|
5547
|
+
/** [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests. */
|
|
5527
5548
|
zone?: string;
|
|
5528
5549
|
}
|
|
5529
5550
|
interface InstanceGroupManagerResizeRequestsListResponse {
|
|
@@ -6816,7 +6837,7 @@ declare namespace gapi.client {
|
|
|
6816
6837
|
* Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner.
|
|
6817
6838
|
*/
|
|
6818
6839
|
type?: string;
|
|
6819
|
-
/** The IEEE 802.1Q VLAN tag for this attachment, in the range 2-
|
|
6840
|
+
/** The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only specified at creation time. */
|
|
6820
6841
|
vlanTag8021q?: number;
|
|
6821
6842
|
}
|
|
6822
6843
|
interface InterconnectAttachmentAggregatedList {
|
|
@@ -7240,6 +7261,8 @@ declare namespace gapi.client {
|
|
|
7240
7261
|
lacp?: string;
|
|
7241
7262
|
/** [Output Only] The maximum number of 100 Gbps ports supported in a link aggregation group (LAG). When linkType is 100 Gbps, requestedLinkCount cannot exceed max_lag_size_100_gbps. */
|
|
7242
7263
|
maxLagSize100Gbps?: number;
|
|
7264
|
+
/** [Output Only] The maximum number of 10 Gbps ports supported in a link aggregation group (LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed max_lag_size_10_gbps. */
|
|
7265
|
+
maxLagSize10Gbps?: number;
|
|
7243
7266
|
/** [Output Only] Name of the resource. */
|
|
7244
7267
|
name?: string;
|
|
7245
7268
|
/** [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb). */
|
|
@@ -8566,7 +8589,10 @@ declare namespace gapi.client {
|
|
|
8566
8589
|
* IPV4_IPV6.
|
|
8567
8590
|
*/
|
|
8568
8591
|
ipv6AccessType?: string;
|
|
8569
|
-
/**
|
|
8592
|
+
/**
|
|
8593
|
+
* An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified,
|
|
8594
|
+
* GCP will automatically assign an internal IPv6 address from the instance's subnetwork.
|
|
8595
|
+
*/
|
|
8570
8596
|
ipv6Address?: string;
|
|
8571
8597
|
/** [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. */
|
|
8572
8598
|
kind?: string;
|
|
@@ -11037,6 +11063,14 @@ declare namespace gapi.client {
|
|
|
11037
11063
|
message?: string;
|
|
11038
11064
|
};
|
|
11039
11065
|
}
|
|
11066
|
+
interface RegionNetworkEndpointGroupsAttachEndpointsRequest {
|
|
11067
|
+
/** The list of network endpoints to be attached. */
|
|
11068
|
+
networkEndpoints?: NetworkEndpoint[];
|
|
11069
|
+
}
|
|
11070
|
+
interface RegionNetworkEndpointGroupsDetachEndpointsRequest {
|
|
11071
|
+
/** The list of network endpoints to be detached. */
|
|
11072
|
+
networkEndpoints?: NetworkEndpoint[];
|
|
11073
|
+
}
|
|
11040
11074
|
interface RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse {
|
|
11041
11075
|
/** Effective firewalls from firewall policy. */
|
|
11042
11076
|
firewallPolicys?: RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy[];
|
|
@@ -11810,6 +11844,13 @@ declare namespace gapi.client {
|
|
|
11810
11844
|
advertiseMode?: string;
|
|
11811
11845
|
/** BFD configuration for the BGP peering. */
|
|
11812
11846
|
bfd?: RouterBgpPeerBfd;
|
|
11847
|
+
/** User-defined Custom Learned Route IP range list for a BGP session. */
|
|
11848
|
+
customLearnedIpRanges?: RouterBgpPeerCustomLearnedIpRange[];
|
|
11849
|
+
/**
|
|
11850
|
+
* User-defined Custom Learned Route Priority for a BGP session. This will be applied to all Custom Learned Route ranges of the BGP session, if not given, google-managed priority of
|
|
11851
|
+
* 100 is used.
|
|
11852
|
+
*/
|
|
11853
|
+
customLearnedRoutePriority?: number;
|
|
11813
11854
|
/**
|
|
11814
11855
|
* The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer
|
|
11815
11856
|
* connection can be established with routing information. The default is TRUE.
|
|
@@ -11886,6 +11927,13 @@ declare namespace gapi.client {
|
|
|
11886
11927
|
*/
|
|
11887
11928
|
slowTimerInterval?: number;
|
|
11888
11929
|
}
|
|
11930
|
+
interface RouterBgpPeerCustomLearnedIpRange {
|
|
11931
|
+
/**
|
|
11932
|
+
* The Custom Learned Route IP range. Must be a valid CIDR-formatted prefix. If an IP is provided without a subnet mask, it is interpreted as a /32 singular IP range for IPv4, and /128
|
|
11933
|
+
* for IPv6.
|
|
11934
|
+
*/
|
|
11935
|
+
range?: string;
|
|
11936
|
+
}
|
|
11889
11937
|
interface RouterInterface {
|
|
11890
11938
|
/**
|
|
11891
11939
|
* IP address and range of the interface. 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:
|
|
@@ -12491,7 +12539,9 @@ declare namespace gapi.client {
|
|
|
12491
12539
|
* services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests
|
|
12492
12540
|
* targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. -
|
|
12493
12541
|
* CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They
|
|
12494
|
-
* filter requests before the request is served from the application.
|
|
12542
|
+
* filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load
|
|
12543
|
+
* balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the
|
|
12544
|
+
* application. This field can be set only at resource creation time.
|
|
12495
12545
|
*/
|
|
12496
12546
|
type?: string;
|
|
12497
12547
|
/**
|
|
@@ -12594,11 +12644,11 @@ declare namespace gapi.client {
|
|
|
12594
12644
|
}
|
|
12595
12645
|
interface SecurityPolicyRule {
|
|
12596
12646
|
/**
|
|
12597
|
-
* The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP
|
|
12598
|
-
* specified
|
|
12599
|
-
* parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either
|
|
12600
|
-
* or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client
|
|
12601
|
-
* Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
|
|
12647
|
+
* The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP
|
|
12648
|
+
* response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic
|
|
12649
|
+
* exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either
|
|
12650
|
+
* be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client
|
|
12651
|
+
* traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
|
|
12602
12652
|
*/
|
|
12603
12653
|
action?: string;
|
|
12604
12654
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
@@ -12816,7 +12866,7 @@ declare namespace gapi.client {
|
|
|
12816
12866
|
enforceOnKeyName?: string;
|
|
12817
12867
|
/**
|
|
12818
12868
|
* Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid
|
|
12819
|
-
* options are
|
|
12869
|
+
* options are `deny(STATUS)`, where valid values for `STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect parameters come from `exceedRedirectOptions` below.
|
|
12820
12870
|
*/
|
|
12821
12871
|
exceedAction?: string;
|
|
12822
12872
|
/** Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold */
|
|
@@ -15626,6 +15676,8 @@ declare namespace gapi.client {
|
|
|
15626
15676
|
creationTimestamp?: string;
|
|
15627
15677
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
15628
15678
|
description?: string;
|
|
15679
|
+
/** The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used. */
|
|
15680
|
+
gatewayIpVersion?: string;
|
|
15629
15681
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
15630
15682
|
id?: string;
|
|
15631
15683
|
/** [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways. */
|
|
@@ -15633,7 +15685,7 @@ declare namespace gapi.client {
|
|
|
15633
15685
|
/**
|
|
15634
15686
|
* A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by
|
|
15635
15687
|
* Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the
|
|
15636
|
-
* request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve
|
|
15688
|
+
* request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
|
|
15637
15689
|
*/
|
|
15638
15690
|
labelFingerprint?: string;
|
|
15639
15691
|
/** Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. */
|
|
@@ -15791,6 +15843,11 @@ declare namespace gapi.client {
|
|
|
15791
15843
|
* (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
|
|
15792
15844
|
*/
|
|
15793
15845
|
ipAddress?: string;
|
|
15846
|
+
/**
|
|
15847
|
+
* [Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g.
|
|
15848
|
+
* 2001:db8::2d9:51:0:0).
|
|
15849
|
+
*/
|
|
15850
|
+
ipv6Address?: string;
|
|
15794
15851
|
}
|
|
15795
15852
|
interface VpnTunnel {
|
|
15796
15853
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
@@ -15985,6 +16042,8 @@ declare namespace gapi.client {
|
|
|
15985
16042
|
* used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
|
|
15986
16043
|
*/
|
|
15987
16044
|
id?: string;
|
|
16045
|
+
/** The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules. */
|
|
16046
|
+
sensitivity?: number;
|
|
15988
16047
|
}
|
|
15989
16048
|
interface WeightedBackendService {
|
|
15990
16049
|
/**
|
|
@@ -26269,7 +26328,7 @@ declare namespace gapi.client {
|
|
|
26269
26328
|
uploadType?: string;
|
|
26270
26329
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
26271
26330
|
userIp?: string;
|
|
26272
|
-
/**
|
|
26331
|
+
/** Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035. */
|
|
26273
26332
|
zone: string;
|
|
26274
26333
|
}): Request<InstanceGroupManagerResizeRequest>;
|
|
26275
26334
|
/** Creates a new resize request that starts provisioning VMs immediately or queues VM creation. */
|
|
@@ -49316,6 +49375,88 @@ declare namespace gapi.client {
|
|
|
49316
49375
|
body: TestPermissionsRequest): Request<TestPermissionsResponse>;
|
|
49317
49376
|
}
|
|
49318
49377
|
interface RegionNetworkEndpointGroupsResource {
|
|
49378
|
+
/** Attach a list of network endpoints to the specified network endpoint group. */
|
|
49379
|
+
attachNetworkEndpoints(request: {
|
|
49380
|
+
/** V1 error format. */
|
|
49381
|
+
"$.xgafv"?: string;
|
|
49382
|
+
/** OAuth access token. */
|
|
49383
|
+
access_token?: string;
|
|
49384
|
+
/** Data format for response. */
|
|
49385
|
+
alt?: string;
|
|
49386
|
+
/** JSONP */
|
|
49387
|
+
callback?: string;
|
|
49388
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49389
|
+
fields?: string;
|
|
49390
|
+
/** 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. */
|
|
49391
|
+
key?: string;
|
|
49392
|
+
/** The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. */
|
|
49393
|
+
networkEndpointGroup: string;
|
|
49394
|
+
/** OAuth 2.0 token for the current user. */
|
|
49395
|
+
oauth_token?: string;
|
|
49396
|
+
/** Returns response with indentations and line breaks. */
|
|
49397
|
+
prettyPrint?: boolean;
|
|
49398
|
+
/** Project ID for this request. */
|
|
49399
|
+
project: string;
|
|
49400
|
+
/** 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. */
|
|
49401
|
+
quotaUser?: string;
|
|
49402
|
+
/** The name of the region where you want to create the network endpoint group. It should comply with RFC1035. */
|
|
49403
|
+
region: string;
|
|
49404
|
+
/**
|
|
49405
|
+
* 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
|
|
49406
|
+
* 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
|
|
49407
|
+
* 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
|
|
49408
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
49409
|
+
*/
|
|
49410
|
+
requestId?: string;
|
|
49411
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49412
|
+
upload_protocol?: string;
|
|
49413
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49414
|
+
uploadType?: string;
|
|
49415
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49416
|
+
userIp?: string;
|
|
49417
|
+
/** Request body */
|
|
49418
|
+
resource: RegionNetworkEndpointGroupsAttachEndpointsRequest;
|
|
49419
|
+
}): Request<Operation>;
|
|
49420
|
+
attachNetworkEndpoints(request: {
|
|
49421
|
+
/** V1 error format. */
|
|
49422
|
+
"$.xgafv"?: string;
|
|
49423
|
+
/** OAuth access token. */
|
|
49424
|
+
access_token?: string;
|
|
49425
|
+
/** Data format for response. */
|
|
49426
|
+
alt?: string;
|
|
49427
|
+
/** JSONP */
|
|
49428
|
+
callback?: string;
|
|
49429
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49430
|
+
fields?: string;
|
|
49431
|
+
/** 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. */
|
|
49432
|
+
key?: string;
|
|
49433
|
+
/** The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. */
|
|
49434
|
+
networkEndpointGroup: string;
|
|
49435
|
+
/** OAuth 2.0 token for the current user. */
|
|
49436
|
+
oauth_token?: string;
|
|
49437
|
+
/** Returns response with indentations and line breaks. */
|
|
49438
|
+
prettyPrint?: boolean;
|
|
49439
|
+
/** Project ID for this request. */
|
|
49440
|
+
project: string;
|
|
49441
|
+
/** 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. */
|
|
49442
|
+
quotaUser?: string;
|
|
49443
|
+
/** The name of the region where you want to create the network endpoint group. It should comply with RFC1035. */
|
|
49444
|
+
region: string;
|
|
49445
|
+
/**
|
|
49446
|
+
* 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
|
|
49447
|
+
* 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
|
|
49448
|
+
* 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
|
|
49449
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
49450
|
+
*/
|
|
49451
|
+
requestId?: string;
|
|
49452
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49453
|
+
upload_protocol?: string;
|
|
49454
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49455
|
+
uploadType?: string;
|
|
49456
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49457
|
+
userIp?: string;
|
|
49458
|
+
},
|
|
49459
|
+
body: RegionNetworkEndpointGroupsAttachEndpointsRequest): Request<Operation>;
|
|
49319
49460
|
/** Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service. */
|
|
49320
49461
|
delete(request?: {
|
|
49321
49462
|
/** V1 error format. */
|
|
@@ -49356,6 +49497,90 @@ declare namespace gapi.client {
|
|
|
49356
49497
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49357
49498
|
userIp?: string;
|
|
49358
49499
|
}): Request<Operation>;
|
|
49500
|
+
/** Detach the network endpoint from the specified network endpoint group. */
|
|
49501
|
+
detachNetworkEndpoints(request: {
|
|
49502
|
+
/** V1 error format. */
|
|
49503
|
+
"$.xgafv"?: string;
|
|
49504
|
+
/** OAuth access token. */
|
|
49505
|
+
access_token?: string;
|
|
49506
|
+
/** Data format for response. */
|
|
49507
|
+
alt?: string;
|
|
49508
|
+
/** JSONP */
|
|
49509
|
+
callback?: string;
|
|
49510
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49511
|
+
fields?: string;
|
|
49512
|
+
/** 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. */
|
|
49513
|
+
key?: string;
|
|
49514
|
+
/** The name of the network endpoint group you are detaching network endpoints from. It should comply with RFC1035. */
|
|
49515
|
+
networkEndpointGroup: string;
|
|
49516
|
+
/** OAuth 2.0 token for the current user. */
|
|
49517
|
+
oauth_token?: string;
|
|
49518
|
+
/** Returns response with indentations and line breaks. */
|
|
49519
|
+
prettyPrint?: boolean;
|
|
49520
|
+
/** Project ID for this request. */
|
|
49521
|
+
project: string;
|
|
49522
|
+
/** 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. */
|
|
49523
|
+
quotaUser?: string;
|
|
49524
|
+
/** The name of the region where the network endpoint group is located. It should comply with RFC1035. */
|
|
49525
|
+
region: string;
|
|
49526
|
+
/**
|
|
49527
|
+
* 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
|
|
49528
|
+
* 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
|
|
49529
|
+
* 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
|
|
49530
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
|
49531
|
+
* MixerMutationRequestBuilder
|
|
49532
|
+
*/
|
|
49533
|
+
requestId?: string;
|
|
49534
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49535
|
+
upload_protocol?: string;
|
|
49536
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49537
|
+
uploadType?: string;
|
|
49538
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49539
|
+
userIp?: string;
|
|
49540
|
+
/** Request body */
|
|
49541
|
+
resource: RegionNetworkEndpointGroupsDetachEndpointsRequest;
|
|
49542
|
+
}): Request<Operation>;
|
|
49543
|
+
detachNetworkEndpoints(request: {
|
|
49544
|
+
/** V1 error format. */
|
|
49545
|
+
"$.xgafv"?: string;
|
|
49546
|
+
/** OAuth access token. */
|
|
49547
|
+
access_token?: string;
|
|
49548
|
+
/** Data format for response. */
|
|
49549
|
+
alt?: string;
|
|
49550
|
+
/** JSONP */
|
|
49551
|
+
callback?: string;
|
|
49552
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49553
|
+
fields?: string;
|
|
49554
|
+
/** 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. */
|
|
49555
|
+
key?: string;
|
|
49556
|
+
/** The name of the network endpoint group you are detaching network endpoints from. It should comply with RFC1035. */
|
|
49557
|
+
networkEndpointGroup: string;
|
|
49558
|
+
/** OAuth 2.0 token for the current user. */
|
|
49559
|
+
oauth_token?: string;
|
|
49560
|
+
/** Returns response with indentations and line breaks. */
|
|
49561
|
+
prettyPrint?: boolean;
|
|
49562
|
+
/** Project ID for this request. */
|
|
49563
|
+
project: string;
|
|
49564
|
+
/** 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. */
|
|
49565
|
+
quotaUser?: string;
|
|
49566
|
+
/** The name of the region where the network endpoint group is located. It should comply with RFC1035. */
|
|
49567
|
+
region: string;
|
|
49568
|
+
/**
|
|
49569
|
+
* 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
|
|
49570
|
+
* 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
|
|
49571
|
+
* 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
|
|
49572
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
|
49573
|
+
* MixerMutationRequestBuilder
|
|
49574
|
+
*/
|
|
49575
|
+
requestId?: string;
|
|
49576
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49577
|
+
upload_protocol?: string;
|
|
49578
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49579
|
+
uploadType?: string;
|
|
49580
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49581
|
+
userIp?: string;
|
|
49582
|
+
},
|
|
49583
|
+
body: RegionNetworkEndpointGroupsDetachEndpointsRequest): Request<Operation>;
|
|
49359
49584
|
/** Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. */
|
|
49360
49585
|
get(request?: {
|
|
49361
49586
|
/** V1 error format. */
|
|
@@ -49529,6 +49754,70 @@ declare namespace gapi.client {
|
|
|
49529
49754
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49530
49755
|
userIp?: string;
|
|
49531
49756
|
}): Request<NetworkEndpointGroupList>;
|
|
49757
|
+
/** Lists the network endpoints in the specified network endpoint group. */
|
|
49758
|
+
listNetworkEndpoints(request?: {
|
|
49759
|
+
/** V1 error format. */
|
|
49760
|
+
"$.xgafv"?: string;
|
|
49761
|
+
/** OAuth access token. */
|
|
49762
|
+
access_token?: string;
|
|
49763
|
+
/** Data format for response. */
|
|
49764
|
+
alt?: string;
|
|
49765
|
+
/** JSONP */
|
|
49766
|
+
callback?: string;
|
|
49767
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
49768
|
+
fields?: string;
|
|
49769
|
+
/**
|
|
49770
|
+
* A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
|
|
49771
|
+
* and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want
|
|
49772
|
+
* to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering
|
|
49773
|
+
* Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match
|
|
49774
|
+
* substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects
|
|
49775
|
+
* with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
|
|
49776
|
+
* if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each
|
|
49777
|
+
* separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
|
49778
|
+
* expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
|
|
49779
|
+
* (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression
|
|
49780
|
+
* with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
|
|
49781
|
+
* quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value
|
|
49782
|
+
* must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
|
|
49783
|
+
*/
|
|
49784
|
+
filter?: string;
|
|
49785
|
+
/** 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. */
|
|
49786
|
+
key?: string;
|
|
49787
|
+
/**
|
|
49788
|
+
* The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can
|
|
49789
|
+
* be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
49790
|
+
*/
|
|
49791
|
+
maxResults?: number;
|
|
49792
|
+
/** The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035. */
|
|
49793
|
+
networkEndpointGroup: string;
|
|
49794
|
+
/** OAuth 2.0 token for the current user. */
|
|
49795
|
+
oauth_token?: string;
|
|
49796
|
+
/**
|
|
49797
|
+
* Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based
|
|
49798
|
+
* on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
|
|
49799
|
+
* first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
49800
|
+
*/
|
|
49801
|
+
orderBy?: string;
|
|
49802
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
49803
|
+
pageToken?: string;
|
|
49804
|
+
/** Returns response with indentations and line breaks. */
|
|
49805
|
+
prettyPrint?: boolean;
|
|
49806
|
+
/** Project ID for this request. */
|
|
49807
|
+
project: string;
|
|
49808
|
+
/** 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. */
|
|
49809
|
+
quotaUser?: string;
|
|
49810
|
+
/** The name of the region where the network endpoint group is located. It should comply with RFC1035. */
|
|
49811
|
+
region: string;
|
|
49812
|
+
/** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
|
|
49813
|
+
returnPartialSuccess?: boolean;
|
|
49814
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
49815
|
+
upload_protocol?: string;
|
|
49816
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
49817
|
+
uploadType?: string;
|
|
49818
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
49819
|
+
userIp?: string;
|
|
49820
|
+
}): Request<NetworkEndpointGroupsListNetworkEndpoints>;
|
|
49532
49821
|
}
|
|
49533
49822
|
interface RegionNetworkFirewallPoliciesResource {
|
|
49534
49823
|
/** Inserts an association for the specified network firewall policy. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -2951,11 +2951,21 @@ Returns permissions that a caller has on the specified resource.
|
|
|
2951
2951
|
*/
|
|
2952
2952
|
await gapi.client.compute.regionInstantSnapshots.testIamPermissions({ project: "project", region: "region", resource: "resource", });
|
|
2953
2953
|
|
|
2954
|
+
/*
|
|
2955
|
+
Attach a list of network endpoints to the specified network endpoint group.
|
|
2956
|
+
*/
|
|
2957
|
+
await gapi.client.compute.regionNetworkEndpointGroups.attachNetworkEndpoints({ networkEndpointGroup: "networkEndpointGroup", project: "project", region: "region", });
|
|
2958
|
+
|
|
2954
2959
|
/*
|
|
2955
2960
|
Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.
|
|
2956
2961
|
*/
|
|
2957
2962
|
await gapi.client.compute.regionNetworkEndpointGroups.delete({ networkEndpointGroup: "networkEndpointGroup", project: "project", region: "region", });
|
|
2958
2963
|
|
|
2964
|
+
/*
|
|
2965
|
+
Detach the network endpoint from the specified network endpoint group.
|
|
2966
|
+
*/
|
|
2967
|
+
await gapi.client.compute.regionNetworkEndpointGroups.detachNetworkEndpoints({ networkEndpointGroup: "networkEndpointGroup", project: "project", region: "region", });
|
|
2968
|
+
|
|
2959
2969
|
/*
|
|
2960
2970
|
Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.
|
|
2961
2971
|
*/
|
|
@@ -2971,6 +2981,11 @@ Retrieves the list of regional network endpoint groups available to the specifie
|
|
|
2971
2981
|
*/
|
|
2972
2982
|
await gapi.client.compute.regionNetworkEndpointGroups.list({ project: "project", region: "region", });
|
|
2973
2983
|
|
|
2984
|
+
/*
|
|
2985
|
+
Lists the network endpoints in the specified network endpoint group.
|
|
2986
|
+
*/
|
|
2987
|
+
await gapi.client.compute.regionNetworkEndpointGroups.listNetworkEndpoints({ networkEndpointGroup: "networkEndpointGroup", project: "project", region: "region", });
|
|
2988
|
+
|
|
2974
2989
|
/*
|
|
2975
2990
|
Inserts an association for the specified network firewall policy.
|
|
2976
2991
|
*/
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230201
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -948,6 +948,7 @@ gapi.load('client', async () => {
|
|
|
948
948
|
oauth2ClientSecretSha256: "Test string",
|
|
949
949
|
},
|
|
950
950
|
id: "Test string",
|
|
951
|
+
ipAddressSelectionPolicy: "Test string",
|
|
951
952
|
kind: "Test string",
|
|
952
953
|
loadBalancingScheme: "Test string",
|
|
953
954
|
localityLbPolicies: [
|
|
@@ -1382,6 +1383,7 @@ gapi.load('client', async () => {
|
|
|
1382
1383
|
oauth2ClientSecretSha256: "Test string",
|
|
1383
1384
|
},
|
|
1384
1385
|
id: "Test string",
|
|
1386
|
+
ipAddressSelectionPolicy: "Test string",
|
|
1385
1387
|
kind: "Test string",
|
|
1386
1388
|
loadBalancingScheme: "Test string",
|
|
1387
1389
|
localityLbPolicies: [
|
|
@@ -1936,6 +1938,7 @@ gapi.load('client', async () => {
|
|
|
1936
1938
|
oauth2ClientSecretSha256: "Test string",
|
|
1937
1939
|
},
|
|
1938
1940
|
id: "Test string",
|
|
1941
|
+
ipAddressSelectionPolicy: "Test string",
|
|
1939
1942
|
kind: "Test string",
|
|
1940
1943
|
loadBalancingScheme: "Test string",
|
|
1941
1944
|
localityLbPolicies: [
|
|
@@ -2839,6 +2842,7 @@ gapi.load('client', async () => {
|
|
|
2839
2842
|
{
|
|
2840
2843
|
id: 42,
|
|
2841
2844
|
ipAddress: "Test string",
|
|
2845
|
+
ipv6Address: "Test string",
|
|
2842
2846
|
}
|
|
2843
2847
|
],
|
|
2844
2848
|
kind: "Test string",
|
|
@@ -2963,6 +2967,7 @@ gapi.load('client', async () => {
|
|
|
2963
2967
|
targetServiceAccounts: [
|
|
2964
2968
|
"Test string"
|
|
2965
2969
|
],
|
|
2970
|
+
tlsInspect: true,
|
|
2966
2971
|
});
|
|
2967
2972
|
/** Copies rules to the specified firewall policy. */
|
|
2968
2973
|
await gapi.client.compute.firewallPolicies.cloneRules({
|
|
@@ -3087,6 +3092,7 @@ gapi.load('client', async () => {
|
|
|
3087
3092
|
targetServiceAccounts: [
|
|
3088
3093
|
"Test string"
|
|
3089
3094
|
],
|
|
3095
|
+
tlsInspect: true,
|
|
3090
3096
|
}
|
|
3091
3097
|
],
|
|
3092
3098
|
ruleTupleCount: 42,
|
|
@@ -3207,6 +3213,7 @@ gapi.load('client', async () => {
|
|
|
3207
3213
|
targetServiceAccounts: [
|
|
3208
3214
|
"Test string"
|
|
3209
3215
|
],
|
|
3216
|
+
tlsInspect: true,
|
|
3210
3217
|
}
|
|
3211
3218
|
],
|
|
3212
3219
|
ruleTupleCount: 42,
|
|
@@ -3289,6 +3296,7 @@ gapi.load('client', async () => {
|
|
|
3289
3296
|
targetServiceAccounts: [
|
|
3290
3297
|
"Test string"
|
|
3291
3298
|
],
|
|
3299
|
+
tlsInspect: true,
|
|
3292
3300
|
});
|
|
3293
3301
|
/** Removes an association for the specified firewall policy. */
|
|
3294
3302
|
await gapi.client.compute.firewallPolicies.removeAssociation({
|
|
@@ -11806,6 +11814,7 @@ gapi.load('client', async () => {
|
|
|
11806
11814
|
targetServiceAccounts: [
|
|
11807
11815
|
"Test string"
|
|
11808
11816
|
],
|
|
11817
|
+
tlsInspect: true,
|
|
11809
11818
|
});
|
|
11810
11819
|
/** Copies rules to the specified firewall policy. */
|
|
11811
11820
|
await gapi.client.compute.networkFirewallPolicies.cloneRules({
|
|
@@ -11936,6 +11945,7 @@ gapi.load('client', async () => {
|
|
|
11936
11945
|
targetServiceAccounts: [
|
|
11937
11946
|
"Test string"
|
|
11938
11947
|
],
|
|
11948
|
+
tlsInspect: true,
|
|
11939
11949
|
}
|
|
11940
11950
|
],
|
|
11941
11951
|
ruleTupleCount: 42,
|
|
@@ -12047,6 +12057,7 @@ gapi.load('client', async () => {
|
|
|
12047
12057
|
targetServiceAccounts: [
|
|
12048
12058
|
"Test string"
|
|
12049
12059
|
],
|
|
12060
|
+
tlsInspect: true,
|
|
12050
12061
|
}
|
|
12051
12062
|
],
|
|
12052
12063
|
ruleTupleCount: 42,
|
|
@@ -12130,6 +12141,7 @@ gapi.load('client', async () => {
|
|
|
12130
12141
|
targetServiceAccounts: [
|
|
12131
12142
|
"Test string"
|
|
12132
12143
|
],
|
|
12144
|
+
tlsInspect: true,
|
|
12133
12145
|
});
|
|
12134
12146
|
/** Removes an association for the specified firewall policy. */
|
|
12135
12147
|
await gapi.client.compute.networkFirewallPolicies.removeAssociation({
|
|
@@ -14778,6 +14790,7 @@ gapi.load('client', async () => {
|
|
|
14778
14790
|
oauth2ClientSecretSha256: "Test string",
|
|
14779
14791
|
},
|
|
14780
14792
|
id: "Test string",
|
|
14793
|
+
ipAddressSelectionPolicy: "Test string",
|
|
14781
14794
|
kind: "Test string",
|
|
14782
14795
|
loadBalancingScheme: "Test string",
|
|
14783
14796
|
localityLbPolicies: [
|
|
@@ -15214,6 +15227,7 @@ gapi.load('client', async () => {
|
|
|
15214
15227
|
oauth2ClientSecretSha256: "Test string",
|
|
15215
15228
|
},
|
|
15216
15229
|
id: "Test string",
|
|
15230
|
+
ipAddressSelectionPolicy: "Test string",
|
|
15217
15231
|
kind: "Test string",
|
|
15218
15232
|
loadBalancingScheme: "Test string",
|
|
15219
15233
|
localityLbPolicies: [
|
|
@@ -15764,6 +15778,7 @@ gapi.load('client', async () => {
|
|
|
15764
15778
|
oauth2ClientSecretSha256: "Test string",
|
|
15765
15779
|
},
|
|
15766
15780
|
id: "Test string",
|
|
15781
|
+
ipAddressSelectionPolicy: "Test string",
|
|
15767
15782
|
kind: "Test string",
|
|
15768
15783
|
loadBalancingScheme: "Test string",
|
|
15769
15784
|
localityLbPolicies: [
|
|
@@ -19651,6 +19666,25 @@ gapi.load('client', async () => {
|
|
|
19651
19666
|
"Test string"
|
|
19652
19667
|
],
|
|
19653
19668
|
});
|
|
19669
|
+
/** Attach a list of network endpoints to the specified network endpoint group. */
|
|
19670
|
+
await gapi.client.compute.regionNetworkEndpointGroups.attachNetworkEndpoints({
|
|
19671
|
+
networkEndpointGroup: "Test string",
|
|
19672
|
+
project: "Test string",
|
|
19673
|
+
region: "Test string",
|
|
19674
|
+
requestId: "Test string",
|
|
19675
|
+
}, {
|
|
19676
|
+
networkEndpoints: [
|
|
19677
|
+
{
|
|
19678
|
+
annotations: {
|
|
19679
|
+
A: "Test string"
|
|
19680
|
+
},
|
|
19681
|
+
fqdn: "Test string",
|
|
19682
|
+
instance: "Test string",
|
|
19683
|
+
ipAddress: "Test string",
|
|
19684
|
+
port: 42,
|
|
19685
|
+
}
|
|
19686
|
+
],
|
|
19687
|
+
});
|
|
19654
19688
|
/** Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service. */
|
|
19655
19689
|
await gapi.client.compute.regionNetworkEndpointGroups.delete({
|
|
19656
19690
|
networkEndpointGroup: "Test string",
|
|
@@ -19658,6 +19692,25 @@ gapi.load('client', async () => {
|
|
|
19658
19692
|
region: "Test string",
|
|
19659
19693
|
requestId: "Test string",
|
|
19660
19694
|
});
|
|
19695
|
+
/** Detach the network endpoint from the specified network endpoint group. */
|
|
19696
|
+
await gapi.client.compute.regionNetworkEndpointGroups.detachNetworkEndpoints({
|
|
19697
|
+
networkEndpointGroup: "Test string",
|
|
19698
|
+
project: "Test string",
|
|
19699
|
+
region: "Test string",
|
|
19700
|
+
requestId: "Test string",
|
|
19701
|
+
}, {
|
|
19702
|
+
networkEndpoints: [
|
|
19703
|
+
{
|
|
19704
|
+
annotations: {
|
|
19705
|
+
A: "Test string"
|
|
19706
|
+
},
|
|
19707
|
+
fqdn: "Test string",
|
|
19708
|
+
instance: "Test string",
|
|
19709
|
+
ipAddress: "Test string",
|
|
19710
|
+
port: 42,
|
|
19711
|
+
}
|
|
19712
|
+
],
|
|
19713
|
+
});
|
|
19661
19714
|
/** Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. */
|
|
19662
19715
|
await gapi.client.compute.regionNetworkEndpointGroups.get({
|
|
19663
19716
|
networkEndpointGroup: "Test string",
|
|
@@ -19731,6 +19784,17 @@ gapi.load('client', async () => {
|
|
|
19731
19784
|
region: "Test string",
|
|
19732
19785
|
returnPartialSuccess: true,
|
|
19733
19786
|
});
|
|
19787
|
+
/** Lists the network endpoints in the specified network endpoint group. */
|
|
19788
|
+
await gapi.client.compute.regionNetworkEndpointGroups.listNetworkEndpoints({
|
|
19789
|
+
filter: "Test string",
|
|
19790
|
+
maxResults: 42,
|
|
19791
|
+
networkEndpointGroup: "Test string",
|
|
19792
|
+
orderBy: "Test string",
|
|
19793
|
+
pageToken: "Test string",
|
|
19794
|
+
project: "Test string",
|
|
19795
|
+
region: "Test string",
|
|
19796
|
+
returnPartialSuccess: true,
|
|
19797
|
+
});
|
|
19734
19798
|
/** Inserts an association for the specified network firewall policy. */
|
|
19735
19799
|
await gapi.client.compute.regionNetworkFirewallPolicies.addAssociation({
|
|
19736
19800
|
firewallPolicy: "Test string",
|
|
@@ -19822,6 +19886,7 @@ gapi.load('client', async () => {
|
|
|
19822
19886
|
targetServiceAccounts: [
|
|
19823
19887
|
"Test string"
|
|
19824
19888
|
],
|
|
19889
|
+
tlsInspect: true,
|
|
19825
19890
|
});
|
|
19826
19891
|
/** Copies rules to the specified network firewall policy. */
|
|
19827
19892
|
await gapi.client.compute.regionNetworkFirewallPolicies.cloneRules({
|
|
@@ -19965,6 +20030,7 @@ gapi.load('client', async () => {
|
|
|
19965
20030
|
targetServiceAccounts: [
|
|
19966
20031
|
"Test string"
|
|
19967
20032
|
],
|
|
20033
|
+
tlsInspect: true,
|
|
19968
20034
|
}
|
|
19969
20035
|
],
|
|
19970
20036
|
ruleTupleCount: 42,
|
|
@@ -20078,6 +20144,7 @@ gapi.load('client', async () => {
|
|
|
20078
20144
|
targetServiceAccounts: [
|
|
20079
20145
|
"Test string"
|
|
20080
20146
|
],
|
|
20147
|
+
tlsInspect: true,
|
|
20081
20148
|
}
|
|
20082
20149
|
],
|
|
20083
20150
|
ruleTupleCount: 42,
|
|
@@ -20162,6 +20229,7 @@ gapi.load('client', async () => {
|
|
|
20162
20229
|
targetServiceAccounts: [
|
|
20163
20230
|
"Test string"
|
|
20164
20231
|
],
|
|
20232
|
+
tlsInspect: true,
|
|
20165
20233
|
});
|
|
20166
20234
|
/** Removes an association for the specified network firewall policy. */
|
|
20167
20235
|
await gapi.client.compute.regionNetworkFirewallPolicies.removeAssociation({
|
|
@@ -25110,6 +25178,12 @@ gapi.load('client', async () => {
|
|
|
25110
25178
|
sessionInitializationMode: "Test string",
|
|
25111
25179
|
slowTimerInterval: 42,
|
|
25112
25180
|
},
|
|
25181
|
+
customLearnedIpRanges: [
|
|
25182
|
+
{
|
|
25183
|
+
range: "Test string",
|
|
25184
|
+
}
|
|
25185
|
+
],
|
|
25186
|
+
customLearnedRoutePriority: 42,
|
|
25113
25187
|
enable: "Test string",
|
|
25114
25188
|
enableIpv6: true,
|
|
25115
25189
|
interfaceName: "Test string",
|
|
@@ -25269,6 +25343,12 @@ gapi.load('client', async () => {
|
|
|
25269
25343
|
sessionInitializationMode: "Test string",
|
|
25270
25344
|
slowTimerInterval: 42,
|
|
25271
25345
|
},
|
|
25346
|
+
customLearnedIpRanges: [
|
|
25347
|
+
{
|
|
25348
|
+
range: "Test string",
|
|
25349
|
+
}
|
|
25350
|
+
],
|
|
25351
|
+
customLearnedRoutePriority: 42,
|
|
25272
25352
|
enable: "Test string",
|
|
25273
25353
|
enableIpv6: true,
|
|
25274
25354
|
interfaceName: "Test string",
|
|
@@ -25417,6 +25497,12 @@ gapi.load('client', async () => {
|
|
|
25417
25497
|
sessionInitializationMode: "Test string",
|
|
25418
25498
|
slowTimerInterval: 42,
|
|
25419
25499
|
},
|
|
25500
|
+
customLearnedIpRanges: [
|
|
25501
|
+
{
|
|
25502
|
+
range: "Test string",
|
|
25503
|
+
}
|
|
25504
|
+
],
|
|
25505
|
+
customLearnedRoutePriority: 42,
|
|
25420
25506
|
enable: "Test string",
|
|
25421
25507
|
enableIpv6: true,
|
|
25422
25508
|
interfaceName: "Test string",
|
|
@@ -25579,6 +25665,12 @@ gapi.load('client', async () => {
|
|
|
25579
25665
|
sessionInitializationMode: "Test string",
|
|
25580
25666
|
slowTimerInterval: 42,
|
|
25581
25667
|
},
|
|
25668
|
+
customLearnedIpRanges: [
|
|
25669
|
+
{
|
|
25670
|
+
range: "Test string",
|
|
25671
|
+
}
|
|
25672
|
+
],
|
|
25673
|
+
customLearnedRoutePriority: 42,
|
|
25582
25674
|
enable: "Test string",
|
|
25583
25675
|
enableIpv6: true,
|
|
25584
25676
|
interfaceName: "Test string",
|
|
@@ -31044,6 +31136,7 @@ gapi.load('client', async () => {
|
|
|
31044
31136
|
}, {
|
|
31045
31137
|
creationTimestamp: "Test string",
|
|
31046
31138
|
description: "Test string",
|
|
31139
|
+
gatewayIpVersion: "Test string",
|
|
31047
31140
|
id: "Test string",
|
|
31048
31141
|
kind: "Test string",
|
|
31049
31142
|
labelFingerprint: "Test string",
|
|
@@ -31060,6 +31153,7 @@ gapi.load('client', async () => {
|
|
|
31060
31153
|
id: 42,
|
|
31061
31154
|
interconnectAttachment: "Test string",
|
|
31062
31155
|
ipAddress: "Test string",
|
|
31156
|
+
ipv6Address: "Test string",
|
|
31063
31157
|
}
|
|
31064
31158
|
],
|
|
31065
31159
|
});
|