@maxim_mazurok/gapi.client.compute-alpha 0.0.20220831 → 0.0.20220913
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 +320 -50
- package/package.json +1 -1
- package/readme.md +5 -0
- package/tests.ts +507 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220913
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -177,6 +177,8 @@ declare namespace gapi.client {
|
|
|
177
177
|
* a default PTR record will be createc for first IP in associated external IPv6 range.
|
|
178
178
|
*/
|
|
179
179
|
publicPtrDomainName?: string;
|
|
180
|
+
/** [Output Only] The resource URL for the security policy associated with this access config. */
|
|
181
|
+
securityPolicy?: string;
|
|
180
182
|
/** Specifies whether a public DNS 'A' record should be created for the external IP address of this access configuration. */
|
|
181
183
|
setPublicDns?: boolean;
|
|
182
184
|
/**
|
|
@@ -1741,6 +1743,12 @@ declare namespace gapi.client {
|
|
|
1741
1743
|
/** This field is only temporary. It will be removed. Do not use it. */
|
|
1742
1744
|
name?: string;
|
|
1743
1745
|
}
|
|
1746
|
+
interface BundledLocalSsds {
|
|
1747
|
+
/** The default disk interface if the interface is not specified. */
|
|
1748
|
+
defaultInterface?: string;
|
|
1749
|
+
/** The number of partitions. */
|
|
1750
|
+
partitionCount?: number;
|
|
1751
|
+
}
|
|
1744
1752
|
interface CacheInvalidationRule {
|
|
1745
1753
|
/** If set, this invalidation rule will only apply to requests with a Host header matching host. */
|
|
1746
1754
|
host?: string;
|
|
@@ -3680,17 +3688,19 @@ declare namespace gapi.client {
|
|
|
3680
3688
|
* ASCII.
|
|
3681
3689
|
*/
|
|
3682
3690
|
grpcServiceName?: string;
|
|
3683
|
-
/**
|
|
3684
|
-
* The port number for the health check request. Must be specified if port_name and port_specification are not set or if port_specification is USE_FIXED_PORT. Valid values are 1
|
|
3685
|
-
* through 65535.
|
|
3686
|
-
*/
|
|
3691
|
+
/** The TCP port number to which the health check prober sends packets. Valid values are 1 through 65535. */
|
|
3687
3692
|
port?: number;
|
|
3688
|
-
/**
|
|
3693
|
+
/** Not supported. */
|
|
3689
3694
|
portName?: string;
|
|
3690
3695
|
/**
|
|
3691
|
-
* Specifies how port is selected for health checking
|
|
3692
|
-
*
|
|
3693
|
-
*
|
|
3696
|
+
* Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health
|
|
3697
|
+
* check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all
|
|
3698
|
+
* backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and
|
|
3699
|
+
* instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only
|
|
3700
|
+
* supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that
|
|
3701
|
+
* can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
|
|
3702
|
+
* port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend
|
|
3703
|
+
* service's named port in the instance group's list of named ports.
|
|
3694
3704
|
*/
|
|
3695
3705
|
portSpecification?: string;
|
|
3696
3706
|
}
|
|
@@ -4081,23 +4091,35 @@ declare namespace gapi.client {
|
|
|
4081
4091
|
pathMatcher?: string;
|
|
4082
4092
|
}
|
|
4083
4093
|
interface HTTP2HealthCheck {
|
|
4084
|
-
/**
|
|
4094
|
+
/**
|
|
4095
|
+
* The value of the host header in the HTTP/2 health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets
|
|
4096
|
+
* are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest
|
|
4097
|
+
*/
|
|
4085
4098
|
host?: string;
|
|
4086
|
-
/** The TCP port number
|
|
4099
|
+
/** The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535. */
|
|
4087
4100
|
port?: number;
|
|
4088
|
-
/**
|
|
4101
|
+
/** Not supported. */
|
|
4089
4102
|
portName?: string;
|
|
4090
4103
|
/**
|
|
4091
|
-
* Specifies how port is selected for health checking
|
|
4092
|
-
*
|
|
4093
|
-
*
|
|
4104
|
+
* Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health
|
|
4105
|
+
* check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all
|
|
4106
|
+
* backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and
|
|
4107
|
+
* instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only
|
|
4108
|
+
* supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that
|
|
4109
|
+
* can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
|
|
4110
|
+
* port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend
|
|
4111
|
+
* service's named port in the instance group's list of named ports.
|
|
4094
4112
|
*/
|
|
4095
4113
|
portSpecification?: string;
|
|
4096
4114
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
4097
4115
|
proxyHeader?: string;
|
|
4098
4116
|
/** The request path of the HTTP/2 health check request. The default value is /. */
|
|
4099
4117
|
requestPath?: string;
|
|
4100
|
-
/**
|
|
4118
|
+
/**
|
|
4119
|
+
* Creates a content-based HTTP/2 health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this
|
|
4120
|
+
* specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see:
|
|
4121
|
+
* https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
|
|
4122
|
+
*/
|
|
4101
4123
|
response?: string;
|
|
4102
4124
|
/** Weight report mode. used for weighted Load Balancing. */
|
|
4103
4125
|
weightReportMode?: string;
|
|
@@ -4228,23 +4250,35 @@ declare namespace gapi.client {
|
|
|
4228
4250
|
unhealthyThreshold?: number;
|
|
4229
4251
|
}
|
|
4230
4252
|
interface HTTPHealthCheck {
|
|
4231
|
-
/**
|
|
4253
|
+
/**
|
|
4254
|
+
* The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are
|
|
4255
|
+
* sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest
|
|
4256
|
+
*/
|
|
4232
4257
|
host?: string;
|
|
4233
|
-
/** The TCP port number
|
|
4258
|
+
/** The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535. */
|
|
4234
4259
|
port?: number;
|
|
4235
|
-
/**
|
|
4260
|
+
/** Not supported. */
|
|
4236
4261
|
portName?: string;
|
|
4237
4262
|
/**
|
|
4238
|
-
* Specifies how port is selected for health checking
|
|
4239
|
-
*
|
|
4240
|
-
*
|
|
4263
|
+
* Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health
|
|
4264
|
+
* check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The
|
|
4265
|
+
* health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT
|
|
4266
|
+
* network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring
|
|
4267
|
+
* to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load
|
|
4268
|
+
* balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint
|
|
4269
|
+
* group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number
|
|
4270
|
+
* determined by looking up the backend service's named port in the instance group's list of named ports.
|
|
4241
4271
|
*/
|
|
4242
4272
|
portSpecification?: string;
|
|
4243
4273
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
4244
4274
|
proxyHeader?: string;
|
|
4245
4275
|
/** The request path of the HTTP health check request. The default value is /. */
|
|
4246
4276
|
requestPath?: string;
|
|
4247
|
-
/**
|
|
4277
|
+
/**
|
|
4278
|
+
* Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this
|
|
4279
|
+
* specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see:
|
|
4280
|
+
* https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
|
|
4281
|
+
*/
|
|
4248
4282
|
response?: string;
|
|
4249
4283
|
/** Weight report mode. used for weighted Load Balancing. */
|
|
4250
4284
|
weightReportMode?: string;
|
|
@@ -4541,23 +4575,35 @@ declare namespace gapi.client {
|
|
|
4541
4575
|
unhealthyThreshold?: number;
|
|
4542
4576
|
}
|
|
4543
4577
|
interface HTTPSHealthCheck {
|
|
4544
|
-
/**
|
|
4578
|
+
/**
|
|
4579
|
+
* The value of the host header in the HTTPS health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are
|
|
4580
|
+
* sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest
|
|
4581
|
+
*/
|
|
4545
4582
|
host?: string;
|
|
4546
|
-
/** The TCP port number
|
|
4583
|
+
/** The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535. */
|
|
4547
4584
|
port?: number;
|
|
4548
|
-
/**
|
|
4585
|
+
/** Not supported. */
|
|
4549
4586
|
portName?: string;
|
|
4550
4587
|
/**
|
|
4551
|
-
* Specifies how port is selected for health checking
|
|
4552
|
-
*
|
|
4553
|
-
*
|
|
4588
|
+
* Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health
|
|
4589
|
+
* check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all
|
|
4590
|
+
* backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and
|
|
4591
|
+
* instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only
|
|
4592
|
+
* supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that
|
|
4593
|
+
* can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
|
|
4594
|
+
* port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend
|
|
4595
|
+
* service's named port in the instance group's list of named ports.
|
|
4554
4596
|
*/
|
|
4555
4597
|
portSpecification?: string;
|
|
4556
4598
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
4557
4599
|
proxyHeader?: string;
|
|
4558
4600
|
/** The request path of the HTTPS health check request. The default value is /. */
|
|
4559
4601
|
requestPath?: string;
|
|
4560
|
-
/**
|
|
4602
|
+
/**
|
|
4603
|
+
* Creates a content-based HTTPS health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this
|
|
4604
|
+
* specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see:
|
|
4605
|
+
* https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
|
|
4606
|
+
*/
|
|
4561
4607
|
response?: string;
|
|
4562
4608
|
/** Weight report mode. used for weighted Load Balancing. */
|
|
4563
4609
|
weightReportMode?: string;
|
|
@@ -5424,6 +5470,28 @@ declare namespace gapi.client {
|
|
|
5424
5470
|
};
|
|
5425
5471
|
}
|
|
5426
5472
|
interface InstanceGroupManagerResizeRequestStatus {
|
|
5473
|
+
/** Errors encountered during the queueing or provisioning phases of the ResizeRequest. */
|
|
5474
|
+
error?: {
|
|
5475
|
+
/** [Output Only] The array of errors encountered while processing this operation. */
|
|
5476
|
+
errors?: Array<{
|
|
5477
|
+
/** [Output Only] The error type identifier for this error. */
|
|
5478
|
+
code?: string;
|
|
5479
|
+
/**
|
|
5480
|
+
* [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the
|
|
5481
|
+
* error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
|
|
5482
|
+
*/
|
|
5483
|
+
errorDetails?: Array<{
|
|
5484
|
+
errorInfo?: ErrorInfo;
|
|
5485
|
+
help?: Help;
|
|
5486
|
+
localizedMessage?: LocalizedMessage;
|
|
5487
|
+
quotaInfo?: QuotaExceededInfo;
|
|
5488
|
+
}>;
|
|
5489
|
+
/** [Output Only] Indicates the field in the request that caused the error. This property is optional. */
|
|
5490
|
+
location?: string;
|
|
5491
|
+
/** [Output Only] An optional, human-readable error message. */
|
|
5492
|
+
message?: string;
|
|
5493
|
+
}>;
|
|
5494
|
+
};
|
|
5427
5495
|
/** Constraints for the time when the instances start provisioning. Always exposed as absolute time. */
|
|
5428
5496
|
queuingPolicy?: QueuingPolicy;
|
|
5429
5497
|
}
|
|
@@ -7477,6 +7545,8 @@ declare namespace gapi.client {
|
|
|
7477
7545
|
}>;
|
|
7478
7546
|
/** [Output Only] The architecture of the machine type. */
|
|
7479
7547
|
architecture?: string;
|
|
7548
|
+
/** [Output Only] The configuration of bundled local SSD for the machine type. */
|
|
7549
|
+
bundledLocalSsds?: BundledLocalSsds;
|
|
7480
7550
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
7481
7551
|
creationTimestamp?: string;
|
|
7482
7552
|
/** [Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable. */
|
|
@@ -12198,6 +12268,12 @@ declare namespace gapi.client {
|
|
|
12198
12268
|
* filter requests before the request is served from the application. This field can be set only at resource creation time.
|
|
12199
12269
|
*/
|
|
12200
12270
|
type?: string;
|
|
12271
|
+
/**
|
|
12272
|
+
* Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the
|
|
12273
|
+
* IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name:
|
|
12274
|
+
* "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
|
|
12275
|
+
*/
|
|
12276
|
+
userDefinedFields?: SecurityPolicyUserDefinedField[];
|
|
12201
12277
|
}
|
|
12202
12278
|
interface SecurityPolicyAdaptiveProtectionConfig {
|
|
12203
12279
|
autoDeployConfig?: SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig;
|
|
@@ -12314,6 +12390,17 @@ declare namespace gapi.client {
|
|
|
12314
12390
|
kind?: string;
|
|
12315
12391
|
/** A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. */
|
|
12316
12392
|
match?: SecurityPolicyRuleMatcher;
|
|
12393
|
+
/**
|
|
12394
|
+
* A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced. The match criteria
|
|
12395
|
+
* for a rule consists of built-in match fields (like 'srcIpRanges') and potentially multiple user-defined match fields ('userDefinedFields'). Field values may be extracted directly
|
|
12396
|
+
* from the packet or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in every packet (e.g. 'srcPorts'). A user-defined field is only present if the base header
|
|
12397
|
+
* is found in the packet and the entire field is in bounds. Each match field may specify which values can match it, listing one or more ranges, prefixes, or exact values that are
|
|
12398
|
+
* considered a match for the field. A field value must be present in order to match a specified match field. If no match values are specified for a match field, then any field value
|
|
12399
|
+
* is considered to match it, and it's not required to be present. For a packet to match a rule, all specified match fields must match the corresponding field values derived from the
|
|
12400
|
+
* packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-0x1fff" The above match condition
|
|
12401
|
+
* matches packets with a source IP in 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
|
|
12402
|
+
*/
|
|
12403
|
+
networkMatch?: SecurityPolicyRuleNetworkMatcher;
|
|
12317
12404
|
/**
|
|
12318
12405
|
* Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will
|
|
12319
12406
|
* have no effect.
|
|
@@ -12409,6 +12496,33 @@ declare namespace gapi.client {
|
|
|
12409
12496
|
*/
|
|
12410
12497
|
ports?: string[];
|
|
12411
12498
|
}
|
|
12499
|
+
interface SecurityPolicyRuleNetworkMatcher {
|
|
12500
|
+
/** Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format. */
|
|
12501
|
+
destIpRanges?: string[];
|
|
12502
|
+
/** Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023"). */
|
|
12503
|
+
destPorts?: string[];
|
|
12504
|
+
/**
|
|
12505
|
+
* IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol
|
|
12506
|
+
* names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
|
|
12507
|
+
*/
|
|
12508
|
+
ipProtocols?: string[];
|
|
12509
|
+
/** BGP Autonomous System Number associated with the source IP address. */
|
|
12510
|
+
srcAsns?: number[];
|
|
12511
|
+
/** Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format. */
|
|
12512
|
+
srcIpRanges?: string[];
|
|
12513
|
+
/** Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023"). */
|
|
12514
|
+
srcPorts?: string[];
|
|
12515
|
+
/** Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address. */
|
|
12516
|
+
srcRegionCodes?: string[];
|
|
12517
|
+
/** User-defined fields. Each element names a defined field and lists the matching values for that field. */
|
|
12518
|
+
userDefinedFields?: SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch[];
|
|
12519
|
+
}
|
|
12520
|
+
interface SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch {
|
|
12521
|
+
/** Name of the user-defined field, as given in the definition. */
|
|
12522
|
+
name?: string;
|
|
12523
|
+
/** Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff"). */
|
|
12524
|
+
values?: string[];
|
|
12525
|
+
}
|
|
12412
12526
|
interface SecurityPolicyRulePreconfiguredWafConfig {
|
|
12413
12527
|
/** A list of exclusions to apply during preconfigured WAF evaluation. */
|
|
12414
12528
|
exclusions?: SecurityPolicyRulePreconfiguredWafConfigExclusion[];
|
|
@@ -12497,6 +12611,25 @@ declare namespace gapi.client {
|
|
|
12497
12611
|
/** Type of the redirect action. */
|
|
12498
12612
|
type?: string;
|
|
12499
12613
|
}
|
|
12614
|
+
interface SecurityPolicyUserDefinedField {
|
|
12615
|
+
/**
|
|
12616
|
+
* The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP:
|
|
12617
|
+
* Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP
|
|
12618
|
+
* header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required
|
|
12619
|
+
*/
|
|
12620
|
+
base?: string;
|
|
12621
|
+
/**
|
|
12622
|
+
* If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network
|
|
12623
|
+
* byte order) corresponds to the least significant byte of the mask.
|
|
12624
|
+
*/
|
|
12625
|
+
mask?: string;
|
|
12626
|
+
/** The name of this field. Must be unique within the policy. */
|
|
12627
|
+
name?: string;
|
|
12628
|
+
/** Offset of the first byte of the field (in network byte order) relative to 'base'. */
|
|
12629
|
+
offset?: number;
|
|
12630
|
+
/** Size of the field in bytes. Valid values: 1-4. */
|
|
12631
|
+
size?: number;
|
|
12632
|
+
}
|
|
12500
12633
|
interface SecuritySettings {
|
|
12501
12634
|
/** [Deprecated] Use clientTlsPolicy instead. */
|
|
12502
12635
|
authentication?: string;
|
|
@@ -13164,24 +13297,29 @@ declare namespace gapi.client {
|
|
|
13164
13297
|
};
|
|
13165
13298
|
}
|
|
13166
13299
|
interface SSLHealthCheck {
|
|
13167
|
-
/** The TCP port number
|
|
13300
|
+
/** The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535. */
|
|
13168
13301
|
port?: number;
|
|
13169
|
-
/**
|
|
13302
|
+
/** Not supported. */
|
|
13170
13303
|
portName?: string;
|
|
13171
13304
|
/**
|
|
13172
|
-
* Specifies how port is selected for health checking
|
|
13173
|
-
*
|
|
13174
|
-
*
|
|
13305
|
+
* Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health
|
|
13306
|
+
* check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all
|
|
13307
|
+
* backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and
|
|
13308
|
+
* instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only
|
|
13309
|
+
* supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that
|
|
13310
|
+
* can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
|
|
13311
|
+
* port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend
|
|
13312
|
+
* service's named port in the instance group's list of named ports.
|
|
13175
13313
|
*/
|
|
13176
13314
|
portSpecification?: string;
|
|
13177
13315
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
13178
13316
|
proxyHeader?: string;
|
|
13317
|
+
/** Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection and SSL handshake. */
|
|
13318
|
+
request?: string;
|
|
13179
13319
|
/**
|
|
13180
|
-
*
|
|
13181
|
-
*
|
|
13320
|
+
* Creates a content-based SSL health check. In addition to establishing a TCP connection and the TLS handshake, you can configure the health check to pass only when the backend sends
|
|
13321
|
+
* this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp
|
|
13182
13322
|
*/
|
|
13183
|
-
request?: string;
|
|
13184
|
-
/** The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII. */
|
|
13185
13323
|
response?: string;
|
|
13186
13324
|
}
|
|
13187
13325
|
interface SslPoliciesAggregatedList {
|
|
@@ -14073,6 +14211,8 @@ declare namespace gapi.client {
|
|
|
14073
14211
|
natPolicy?: string;
|
|
14074
14212
|
/** The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to. */
|
|
14075
14213
|
network?: string;
|
|
14214
|
+
/** [Output Only] The resource URL for the security policy associated with this target instance. */
|
|
14215
|
+
securityPolicy?: string;
|
|
14076
14216
|
/** [Output Only] Server-defined URL for the resource. */
|
|
14077
14217
|
selfLink?: string;
|
|
14078
14218
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
@@ -14210,6 +14350,8 @@ declare namespace gapi.client {
|
|
|
14210
14350
|
name?: string;
|
|
14211
14351
|
/** [Output Only] URL of the region where the target pool resides. */
|
|
14212
14352
|
region?: string;
|
|
14353
|
+
/** [Output Only] The resource URL for the security policy associated with this target pool. */
|
|
14354
|
+
securityPolicy?: string;
|
|
14213
14355
|
/** [Output Only] Server-defined URL for the resource. */
|
|
14214
14356
|
selfLink?: string;
|
|
14215
14357
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
@@ -14428,6 +14570,28 @@ declare namespace gapi.client {
|
|
|
14428
14570
|
message?: string;
|
|
14429
14571
|
};
|
|
14430
14572
|
}
|
|
14573
|
+
interface TargetTcpProxiesScopedList {
|
|
14574
|
+
/** A list of TargetTcpProxies contained in this scope. */
|
|
14575
|
+
targetTcpProxies?: TargetTcpProxy[];
|
|
14576
|
+
/** Informational warning which replaces the list of backend services when the list is empty. */
|
|
14577
|
+
warning?: {
|
|
14578
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
14579
|
+
code?: string;
|
|
14580
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
14581
|
+
data?: Array<{
|
|
14582
|
+
/**
|
|
14583
|
+
* [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone,
|
|
14584
|
+
* this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning
|
|
14585
|
+
* about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
|
|
14586
|
+
*/
|
|
14587
|
+
key?: string;
|
|
14588
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
14589
|
+
value?: string;
|
|
14590
|
+
}>;
|
|
14591
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
14592
|
+
message?: string;
|
|
14593
|
+
};
|
|
14594
|
+
}
|
|
14431
14595
|
interface TargetTcpProxiesSetBackendServiceRequest {
|
|
14432
14596
|
/** The URL of the new BackendService resource for the targetTcpProxy. */
|
|
14433
14597
|
service?: string;
|
|
@@ -14467,6 +14631,41 @@ declare namespace gapi.client {
|
|
|
14467
14631
|
/** URL to the BackendService resource. */
|
|
14468
14632
|
service?: string;
|
|
14469
14633
|
}
|
|
14634
|
+
interface TargetTcpProxyAggregatedList {
|
|
14635
|
+
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
14636
|
+
id?: string;
|
|
14637
|
+
/** A list of TargetTcpProxiesScopedList resources. */
|
|
14638
|
+
items?: { [P in string]: TargetTcpProxiesScopedList };
|
|
14639
|
+
/** [Output Only] Type of resource. Always compute#targetTcpProxyAggregatedList for lists of Target TCP Proxies. */
|
|
14640
|
+
kind?: string;
|
|
14641
|
+
/**
|
|
14642
|
+
* [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the
|
|
14643
|
+
* query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
|
|
14644
|
+
*/
|
|
14645
|
+
nextPageToken?: string;
|
|
14646
|
+
/** [Output Only] Server-defined URL for this resource. */
|
|
14647
|
+
selfLink?: string;
|
|
14648
|
+
/** [Output Only] Unreachable resources. */
|
|
14649
|
+
unreachables?: string[];
|
|
14650
|
+
/** [Output Only] Informational warning message. */
|
|
14651
|
+
warning?: {
|
|
14652
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
14653
|
+
code?: string;
|
|
14654
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
14655
|
+
data?: Array<{
|
|
14656
|
+
/**
|
|
14657
|
+
* [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone,
|
|
14658
|
+
* this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning
|
|
14659
|
+
* about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
|
|
14660
|
+
*/
|
|
14661
|
+
key?: string;
|
|
14662
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
14663
|
+
value?: string;
|
|
14664
|
+
}>;
|
|
14665
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
14666
|
+
message?: string;
|
|
14667
|
+
};
|
|
14668
|
+
}
|
|
14470
14669
|
interface TargetTcpProxyList {
|
|
14471
14670
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
14472
14671
|
id?: string;
|
|
@@ -14627,24 +14826,29 @@ declare namespace gapi.client {
|
|
|
14627
14826
|
};
|
|
14628
14827
|
}
|
|
14629
14828
|
interface TCPHealthCheck {
|
|
14630
|
-
/** The TCP port number
|
|
14829
|
+
/** The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535. */
|
|
14631
14830
|
port?: number;
|
|
14632
|
-
/**
|
|
14831
|
+
/** Not supported. */
|
|
14633
14832
|
portName?: string;
|
|
14634
14833
|
/**
|
|
14635
|
-
* Specifies how port is selected for health checking
|
|
14636
|
-
*
|
|
14637
|
-
*
|
|
14834
|
+
* Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health
|
|
14835
|
+
* check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all
|
|
14836
|
+
* backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and
|
|
14837
|
+
* instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only
|
|
14838
|
+
* supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that
|
|
14839
|
+
* can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
|
|
14840
|
+
* port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend
|
|
14841
|
+
* service's named port in the instance group's list of named ports.
|
|
14638
14842
|
*/
|
|
14639
14843
|
portSpecification?: string;
|
|
14640
14844
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
14641
14845
|
proxyHeader?: string;
|
|
14846
|
+
/** Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection. */
|
|
14847
|
+
request?: string;
|
|
14642
14848
|
/**
|
|
14643
|
-
*
|
|
14644
|
-
*
|
|
14849
|
+
* Creates a content-based TCP health check. In addition to establishing a TCP connection, you can configure the health check to pass only when the backend sends this exact response
|
|
14850
|
+
* ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp
|
|
14645
14851
|
*/
|
|
14646
|
-
request?: string;
|
|
14647
|
-
/** The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII. */
|
|
14648
14852
|
response?: string;
|
|
14649
14853
|
}
|
|
14650
14854
|
interface TestFailure {
|
|
@@ -14707,9 +14911,9 @@ declare namespace gapi.client {
|
|
|
14707
14911
|
validationSource?: string;
|
|
14708
14912
|
}
|
|
14709
14913
|
interface UDPHealthCheck {
|
|
14710
|
-
/** The UDP port number
|
|
14914
|
+
/** The UDP port number to which the health check prober sends packets. Valid values are 1 through 65535. */
|
|
14711
14915
|
port?: number;
|
|
14712
|
-
/**
|
|
14916
|
+
/** Not supported. */
|
|
14713
14917
|
portName?: string;
|
|
14714
14918
|
/** Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII. */
|
|
14715
14919
|
request?: string;
|
|
@@ -61132,6 +61336,72 @@ declare namespace gapi.client {
|
|
|
61132
61336
|
body: TestPermissionsRequest): Request<TestPermissionsResponse>;
|
|
61133
61337
|
}
|
|
61134
61338
|
interface TargetTcpProxiesResource {
|
|
61339
|
+
/** Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project. */
|
|
61340
|
+
aggregatedList(request?: {
|
|
61341
|
+
/** V1 error format. */
|
|
61342
|
+
"$.xgafv"?: string;
|
|
61343
|
+
/** OAuth access token. */
|
|
61344
|
+
access_token?: string;
|
|
61345
|
+
/** Data format for response. */
|
|
61346
|
+
alt?: string;
|
|
61347
|
+
/** JSONP */
|
|
61348
|
+
callback?: string;
|
|
61349
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
61350
|
+
fields?: string;
|
|
61351
|
+
/**
|
|
61352
|
+
* A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
|
|
61353
|
+
* 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
|
|
61354
|
+
* 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
|
|
61355
|
+
* 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
|
|
61356
|
+
* 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
|
|
61357
|
+
* with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
|
|
61358
|
+
* 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
|
|
61359
|
+
* separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
|
61360
|
+
* expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
|
|
61361
|
+
* (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
|
|
61362
|
+
* with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
|
|
61363
|
+
* 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
|
|
61364
|
+
* must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
|
|
61365
|
+
*/
|
|
61366
|
+
filter?: string;
|
|
61367
|
+
/**
|
|
61368
|
+
* Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has
|
|
61369
|
+
* no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or
|
|
61370
|
+
* false, only scopes of the scope types where the resource type is expected to be found will be included.
|
|
61371
|
+
*/
|
|
61372
|
+
includeAllScopes?: boolean;
|
|
61373
|
+
/** 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. */
|
|
61374
|
+
key?: string;
|
|
61375
|
+
/**
|
|
61376
|
+
* 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
|
|
61377
|
+
* be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
61378
|
+
*/
|
|
61379
|
+
maxResults?: number;
|
|
61380
|
+
/** OAuth 2.0 token for the current user. */
|
|
61381
|
+
oauth_token?: string;
|
|
61382
|
+
/**
|
|
61383
|
+
* 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
|
|
61384
|
+
* on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
|
|
61385
|
+
* 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.
|
|
61386
|
+
*/
|
|
61387
|
+
orderBy?: string;
|
|
61388
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
61389
|
+
pageToken?: string;
|
|
61390
|
+
/** Returns response with indentations and line breaks. */
|
|
61391
|
+
prettyPrint?: boolean;
|
|
61392
|
+
/** Name of the project scoping this request. */
|
|
61393
|
+
project: string;
|
|
61394
|
+
/** 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. */
|
|
61395
|
+
quotaUser?: string;
|
|
61396
|
+
/** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
|
|
61397
|
+
returnPartialSuccess?: boolean;
|
|
61398
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
61399
|
+
upload_protocol?: string;
|
|
61400
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
61401
|
+
uploadType?: string;
|
|
61402
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
61403
|
+
userIp?: string;
|
|
61404
|
+
}): Request<TargetTcpProxyAggregatedList>;
|
|
61135
61405
|
/** Deletes the specified TargetTcpProxy resource. */
|
|
61136
61406
|
delete(request?: {
|
|
61137
61407
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -4066,6 +4066,11 @@ Returns permissions that a caller has on the specified resource.
|
|
|
4066
4066
|
*/
|
|
4067
4067
|
await gapi.client.compute.targetSslProxies.testIamPermissions({ project: "project", resource: "resource", });
|
|
4068
4068
|
|
|
4069
|
+
/*
|
|
4070
|
+
Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project.
|
|
4071
|
+
*/
|
|
4072
|
+
await gapi.client.compute.targetTcpProxies.aggregatedList({ project: "project", });
|
|
4073
|
+
|
|
4069
4074
|
/*
|
|
4070
4075
|
Deletes the specified TargetTcpProxy resource.
|
|
4071
4076
|
*/
|