@maxim_mazurok/gapi.client.compute-alpha 0.0.20220913 → 0.0.20221011
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 +228 -32
- package/package.json +1 -1
- package/readme.md +13 -3
- package/tests.ts +69 -57
package/index.d.ts
CHANGED
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
6
6
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
-
// TypeScript Version: 2.8
|
|
8
7
|
|
|
9
8
|
// IMPORTANT
|
|
10
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
11
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
13
|
-
// Revision:
|
|
12
|
+
// Revision: 20221011
|
|
14
13
|
|
|
15
14
|
/// <reference types="gapi.client" />
|
|
16
15
|
|
|
@@ -200,7 +199,10 @@ declare namespace gapi.client {
|
|
|
200
199
|
description?: string;
|
|
201
200
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
202
201
|
id?: string;
|
|
203
|
-
/**
|
|
202
|
+
/**
|
|
203
|
+
* The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address
|
|
204
|
+
* reservation.
|
|
205
|
+
*/
|
|
204
206
|
ipv6EndpointType?: string;
|
|
205
207
|
/** The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. */
|
|
206
208
|
ipVersion?: string;
|
|
@@ -409,7 +411,7 @@ declare namespace gapi.client {
|
|
|
409
411
|
machineType?: string;
|
|
410
412
|
/** Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance. */
|
|
411
413
|
maintenanceFreezeDurationHours?: number;
|
|
412
|
-
/**
|
|
414
|
+
/** Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`. */
|
|
413
415
|
maintenanceInterval?: string;
|
|
414
416
|
/** Minimum cpu platform the reservation. */
|
|
415
417
|
minCpuPlatform?: string;
|
|
@@ -1237,9 +1239,8 @@ declare namespace gapi.client {
|
|
|
1237
1239
|
network?: string;
|
|
1238
1240
|
/**
|
|
1239
1241
|
* Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable
|
|
1240
|
-
* to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or
|
|
1241
|
-
* the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
|
|
1242
|
-
* validateForProxyless field set to true.
|
|
1242
|
+
* to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2, or GRPC, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service
|
|
1243
|
+
* with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
|
|
1243
1244
|
*/
|
|
1244
1245
|
outlierDetection?: OutlierDetection;
|
|
1245
1246
|
/** Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port. */
|
|
@@ -1707,6 +1708,14 @@ declare namespace gapi.client {
|
|
|
1707
1708
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
1708
1709
|
role?: string;
|
|
1709
1710
|
}
|
|
1711
|
+
interface BulkInsertDiskResource {
|
|
1712
|
+
/**
|
|
1713
|
+
* The URL of the DiskConsistencyGroupPolicy for the group of disks to clone. This may be a full or partial URL, such as: -
|
|
1714
|
+
* https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy -
|
|
1715
|
+
* regions/region/resourcePolicies/resourcePolicy
|
|
1716
|
+
*/
|
|
1717
|
+
sourceConsistencyGroupPolicy?: string;
|
|
1718
|
+
}
|
|
1710
1719
|
interface BulkInsertInstanceResource {
|
|
1711
1720
|
/** The maximum number of instances to create. */
|
|
1712
1721
|
count?: string;
|
|
@@ -3146,7 +3155,7 @@ declare namespace gapi.client {
|
|
|
3146
3155
|
interface FirewallPolicyRuleMatcher {
|
|
3147
3156
|
/** Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. */
|
|
3148
3157
|
destAddressGroups?: string[];
|
|
3149
|
-
/** Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is
|
|
3158
|
+
/** Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100. */
|
|
3150
3159
|
destFqdns?: string[];
|
|
3151
3160
|
/** CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000. */
|
|
3152
3161
|
destIpRanges?: string[];
|
|
@@ -3161,7 +3170,7 @@ declare namespace gapi.client {
|
|
|
3161
3170
|
layer4Configs?: FirewallPolicyRuleMatcherLayer4Config[];
|
|
3162
3171
|
/** Address groups which should be matched against the traffic source. Maximum number of source address groups is 10. */
|
|
3163
3172
|
srcAddressGroups?: string[];
|
|
3164
|
-
/** Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is
|
|
3173
|
+
/** Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100. */
|
|
3165
3174
|
srcFqdns?: string[];
|
|
3166
3175
|
/** CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000. */
|
|
3167
3176
|
srcIpRanges?: string[];
|
|
@@ -3355,6 +3364,12 @@ declare namespace gapi.client {
|
|
|
3355
3364
|
* forwarding rule with IPv6.
|
|
3356
3365
|
*/
|
|
3357
3366
|
subnetwork?: string;
|
|
3367
|
+
/**
|
|
3368
|
+
* The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding
|
|
3369
|
+
* rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. For more information, see the "Target" column
|
|
3370
|
+
* in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). For Private Service Connect forwarding rules that forward
|
|
3371
|
+
* traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs.
|
|
3372
|
+
*/
|
|
3358
3373
|
target?: string;
|
|
3359
3374
|
}
|
|
3360
3375
|
interface ForwardingRuleAggregatedList {
|
|
@@ -4523,6 +4538,12 @@ declare namespace gapi.client {
|
|
|
4523
4538
|
* to true.
|
|
4524
4539
|
*/
|
|
4525
4540
|
metadataFilters?: MetadataFilter[];
|
|
4541
|
+
/**
|
|
4542
|
+
* If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be
|
|
4543
|
+
* between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match,
|
|
4544
|
+
* regex_match or path_template_match must be set.
|
|
4545
|
+
*/
|
|
4546
|
+
pathTemplateMatch?: string;
|
|
4526
4547
|
/**
|
|
4527
4548
|
* For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters.
|
|
4528
4549
|
* Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
|
|
@@ -9430,21 +9451,25 @@ declare namespace gapi.client {
|
|
|
9430
9451
|
* or 30s.
|
|
9431
9452
|
*/
|
|
9432
9453
|
baseEjectionTime?: Duration;
|
|
9433
|
-
/**
|
|
9454
|
+
/**
|
|
9455
|
+
* Number of errors before a host is ejected from the connection pool. When the backend host is accessed over HTTP, a 5xx return code qualifies as an error. Defaults to 5. Not
|
|
9456
|
+
* supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
|
|
9457
|
+
*/
|
|
9434
9458
|
consecutiveErrors?: number;
|
|
9435
9459
|
/**
|
|
9436
9460
|
* The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection
|
|
9437
|
-
* occurs. Defaults to 3.
|
|
9461
|
+
* occurs. Defaults to 3. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
|
|
9438
9462
|
*/
|
|
9439
9463
|
consecutiveGatewayFailure?: number;
|
|
9440
9464
|
/**
|
|
9441
9465
|
* The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up
|
|
9442
|
-
* slowly. Defaults to 0.
|
|
9466
|
+
* slowly. Defaults to 0. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
|
|
9443
9467
|
*/
|
|
9444
9468
|
enforcingConsecutiveErrors?: number;
|
|
9445
9469
|
/**
|
|
9446
9470
|
* The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or
|
|
9447
|
-
* to ramp it up slowly. Defaults to 100.
|
|
9471
|
+
* to ramp it up slowly. Defaults to 100. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set
|
|
9472
|
+
* to true.
|
|
9448
9473
|
*/
|
|
9449
9474
|
enforcingConsecutiveGatewayFailure?: number;
|
|
9450
9475
|
/**
|
|
@@ -9941,6 +9966,8 @@ declare namespace gapi.client {
|
|
|
9941
9966
|
selfLink?: string;
|
|
9942
9967
|
/** The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored. */
|
|
9943
9968
|
usageExportLocation?: UsageExportLocation;
|
|
9969
|
+
/** [Output Only] Default internal DNS setting used by VMs running in this project. */
|
|
9970
|
+
vmDnsSetting?: string;
|
|
9944
9971
|
/** [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. */
|
|
9945
9972
|
xpnProjectStatus?: string;
|
|
9946
9973
|
}
|
|
@@ -10264,7 +10291,6 @@ declare namespace gapi.client {
|
|
|
10264
10291
|
zone?: string;
|
|
10265
10292
|
}
|
|
10266
10293
|
interface QueuedResourceList {
|
|
10267
|
-
etag?: string;
|
|
10268
10294
|
/** Unique identifier for the resource; defined by the server. */
|
|
10269
10295
|
id?: string;
|
|
10270
10296
|
/** A list of QueuedResource resources. */
|
|
@@ -11746,6 +11772,8 @@ declare namespace gapi.client {
|
|
|
11746
11772
|
name?: string;
|
|
11747
11773
|
}
|
|
11748
11774
|
interface RouterNat {
|
|
11775
|
+
/** The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. */
|
|
11776
|
+
autoNetworkTier?: string;
|
|
11749
11777
|
/**
|
|
11750
11778
|
* A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a
|
|
11751
11779
|
* NAT only.
|
|
@@ -12074,7 +12102,6 @@ declare namespace gapi.client {
|
|
|
12074
12102
|
currentCpus?: number;
|
|
12075
12103
|
/** Current amount of memory (in MB) available for VM. 0 or unset means default amount of memory of the current machine type. */
|
|
12076
12104
|
currentMemoryMb?: string;
|
|
12077
|
-
dynamicResizeProperties?: SchedulingDynamicResizeProperties;
|
|
12078
12105
|
/**
|
|
12079
12106
|
* Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery
|
|
12080
12107
|
* will be used.
|
|
@@ -12091,7 +12118,7 @@ declare namespace gapi.client {
|
|
|
12091
12118
|
locationHint?: string;
|
|
12092
12119
|
/** Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance. */
|
|
12093
12120
|
maintenanceFreezeDurationHours?: number;
|
|
12094
|
-
/**
|
|
12121
|
+
/** Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`. */
|
|
12095
12122
|
maintenanceInterval?: string;
|
|
12096
12123
|
/** Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration. */
|
|
12097
12124
|
maxRunDuration?: Duration;
|
|
@@ -12114,12 +12141,6 @@ declare namespace gapi.client {
|
|
|
12114
12141
|
/** Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. */
|
|
12115
12142
|
terminationTime?: string;
|
|
12116
12143
|
}
|
|
12117
|
-
interface SchedulingDynamicResizeProperties {
|
|
12118
|
-
/** Set to true if this VM is supporting HotStandby modes (b/235044648). */
|
|
12119
|
-
enableHotStandby?: boolean;
|
|
12120
|
-
/** Current Hot Standby state of VM. */
|
|
12121
|
-
hotStandbyState?: string;
|
|
12122
|
-
}
|
|
12123
12144
|
interface SchedulingNodeAffinity {
|
|
12124
12145
|
/** Corresponds to the label key of Node resource. */
|
|
12125
12146
|
key?: string;
|
|
@@ -12250,8 +12271,9 @@ declare namespace gapi.client {
|
|
|
12250
12271
|
/** [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies. */
|
|
12251
12272
|
region?: string;
|
|
12252
12273
|
/**
|
|
12253
|
-
* A list of rules that belong to this policy. There must always be a default rule
|
|
12254
|
-
*
|
|
12274
|
+
* A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means
|
|
12275
|
+
* match "*" for srcIpRanges and for the networkMatch condition every field must be either match "*" or not set). If no rules are provided when creating a security policy, a default
|
|
12276
|
+
* rule with action "allow" will be added.
|
|
12255
12277
|
*/
|
|
12256
12278
|
rules?: SecurityPolicyRule[];
|
|
12257
12279
|
/** [Output Only] Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples. */
|
|
@@ -12396,9 +12418,10 @@ declare namespace gapi.client {
|
|
|
12396
12418
|
* 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
12419
|
* 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
12420
|
* 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
|
|
12400
|
-
* packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name:
|
|
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
|
|
12421
|
+
* is considered to match it, and it's not required to be present. For strings specifying '*' is also equivalent to match all. For a packet to match a rule, all specified match fields
|
|
12422
|
+
* must match the corresponding field values derived from the packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name:
|
|
12423
|
+
* "ipv4_fragment_offset" values: - "1-0x1fff" The above match condition matches packets with a source IP in 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named
|
|
12424
|
+
* "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
|
|
12402
12425
|
*/
|
|
12403
12426
|
networkMatch?: SecurityPolicyRuleNetworkMatcher;
|
|
12404
12427
|
/**
|
|
@@ -12573,7 +12596,8 @@ declare namespace gapi.client {
|
|
|
12573
12596
|
* the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If
|
|
12574
12597
|
* no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie
|
|
12575
12598
|
* whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key
|
|
12576
|
-
* type defaults to ALL.
|
|
12599
|
+
* type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS
|
|
12600
|
+
* request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
|
|
12577
12601
|
*/
|
|
12578
12602
|
enforceOnKey?: string;
|
|
12579
12603
|
/**
|
|
@@ -15176,6 +15200,15 @@ declare namespace gapi.client {
|
|
|
15176
15200
|
* characters.
|
|
15177
15201
|
*/
|
|
15178
15202
|
pathPrefixRewrite?: string;
|
|
15203
|
+
/**
|
|
15204
|
+
* If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template
|
|
15205
|
+
* variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL -
|
|
15206
|
+
* The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**}
|
|
15207
|
+
* could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten
|
|
15208
|
+
* as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite
|
|
15209
|
+
* may be specified.
|
|
15210
|
+
*/
|
|
15211
|
+
pathTemplateRewrite?: string;
|
|
15179
15212
|
}
|
|
15180
15213
|
interface UsableSubnetwork {
|
|
15181
15214
|
/** [Output Only] The external IPv6 address range that is assigned to this subnetwork. */
|
|
@@ -18591,6 +18624,84 @@ declare namespace gapi.client {
|
|
|
18591
18624
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
18592
18625
|
userIp?: string;
|
|
18593
18626
|
}): Request<DiskAggregatedList>;
|
|
18627
|
+
/** Bulk create a set of disks. */
|
|
18628
|
+
bulkInsert(request: {
|
|
18629
|
+
/** V1 error format. */
|
|
18630
|
+
"$.xgafv"?: string;
|
|
18631
|
+
/** OAuth access token. */
|
|
18632
|
+
access_token?: string;
|
|
18633
|
+
/** Data format for response. */
|
|
18634
|
+
alt?: string;
|
|
18635
|
+
/** JSONP */
|
|
18636
|
+
callback?: string;
|
|
18637
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
18638
|
+
fields?: string;
|
|
18639
|
+
/** 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. */
|
|
18640
|
+
key?: string;
|
|
18641
|
+
/** OAuth 2.0 token for the current user. */
|
|
18642
|
+
oauth_token?: string;
|
|
18643
|
+
/** Returns response with indentations and line breaks. */
|
|
18644
|
+
prettyPrint?: boolean;
|
|
18645
|
+
/** Project ID for this request. */
|
|
18646
|
+
project: string;
|
|
18647
|
+
/** 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. */
|
|
18648
|
+
quotaUser?: string;
|
|
18649
|
+
/**
|
|
18650
|
+
* 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
|
|
18651
|
+
* 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
|
|
18652
|
+
* 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
|
|
18653
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
18654
|
+
*/
|
|
18655
|
+
requestId?: string;
|
|
18656
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
18657
|
+
upload_protocol?: string;
|
|
18658
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
18659
|
+
uploadType?: string;
|
|
18660
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
18661
|
+
userIp?: string;
|
|
18662
|
+
/** The name of the zone for this request. */
|
|
18663
|
+
zone: string;
|
|
18664
|
+
/** Request body */
|
|
18665
|
+
resource: BulkInsertDiskResource;
|
|
18666
|
+
}): Request<Operation>;
|
|
18667
|
+
bulkInsert(request: {
|
|
18668
|
+
/** V1 error format. */
|
|
18669
|
+
"$.xgafv"?: string;
|
|
18670
|
+
/** OAuth access token. */
|
|
18671
|
+
access_token?: string;
|
|
18672
|
+
/** Data format for response. */
|
|
18673
|
+
alt?: string;
|
|
18674
|
+
/** JSONP */
|
|
18675
|
+
callback?: string;
|
|
18676
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
18677
|
+
fields?: string;
|
|
18678
|
+
/** 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. */
|
|
18679
|
+
key?: string;
|
|
18680
|
+
/** OAuth 2.0 token for the current user. */
|
|
18681
|
+
oauth_token?: string;
|
|
18682
|
+
/** Returns response with indentations and line breaks. */
|
|
18683
|
+
prettyPrint?: boolean;
|
|
18684
|
+
/** Project ID for this request. */
|
|
18685
|
+
project: string;
|
|
18686
|
+
/** 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. */
|
|
18687
|
+
quotaUser?: string;
|
|
18688
|
+
/**
|
|
18689
|
+
* 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
|
|
18690
|
+
* 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
|
|
18691
|
+
* 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
|
|
18692
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
18693
|
+
*/
|
|
18694
|
+
requestId?: string;
|
|
18695
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
18696
|
+
upload_protocol?: string;
|
|
18697
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
18698
|
+
uploadType?: string;
|
|
18699
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
18700
|
+
userIp?: string;
|
|
18701
|
+
/** The name of the zone for this request. */
|
|
18702
|
+
zone: string;
|
|
18703
|
+
},
|
|
18704
|
+
body: BulkInsertDiskResource): Request<Operation>;
|
|
18594
18705
|
/**
|
|
18595
18706
|
* Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating
|
|
18596
18707
|
* snapshots in a project different from the source disk project.
|
|
@@ -43846,6 +43957,84 @@ declare namespace gapi.client {
|
|
|
43846
43957
|
userIp?: string;
|
|
43847
43958
|
},
|
|
43848
43959
|
body: RegionDisksAddResourcePoliciesRequest): Request<Operation>;
|
|
43960
|
+
/** Bulk create a set of disks. */
|
|
43961
|
+
bulkInsert(request: {
|
|
43962
|
+
/** V1 error format. */
|
|
43963
|
+
"$.xgafv"?: string;
|
|
43964
|
+
/** OAuth access token. */
|
|
43965
|
+
access_token?: string;
|
|
43966
|
+
/** Data format for response. */
|
|
43967
|
+
alt?: string;
|
|
43968
|
+
/** JSONP */
|
|
43969
|
+
callback?: string;
|
|
43970
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
43971
|
+
fields?: string;
|
|
43972
|
+
/** 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. */
|
|
43973
|
+
key?: string;
|
|
43974
|
+
/** OAuth 2.0 token for the current user. */
|
|
43975
|
+
oauth_token?: string;
|
|
43976
|
+
/** Returns response with indentations and line breaks. */
|
|
43977
|
+
prettyPrint?: boolean;
|
|
43978
|
+
/** Project ID for this request. */
|
|
43979
|
+
project: string;
|
|
43980
|
+
/** 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. */
|
|
43981
|
+
quotaUser?: string;
|
|
43982
|
+
/** The name of the region for this request. */
|
|
43983
|
+
region: string;
|
|
43984
|
+
/**
|
|
43985
|
+
* 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
|
|
43986
|
+
* 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
|
|
43987
|
+
* 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
|
|
43988
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
43989
|
+
*/
|
|
43990
|
+
requestId?: string;
|
|
43991
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43992
|
+
upload_protocol?: string;
|
|
43993
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43994
|
+
uploadType?: string;
|
|
43995
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
43996
|
+
userIp?: string;
|
|
43997
|
+
/** Request body */
|
|
43998
|
+
resource: BulkInsertDiskResource;
|
|
43999
|
+
}): Request<Operation>;
|
|
44000
|
+
bulkInsert(request: {
|
|
44001
|
+
/** V1 error format. */
|
|
44002
|
+
"$.xgafv"?: string;
|
|
44003
|
+
/** OAuth access token. */
|
|
44004
|
+
access_token?: string;
|
|
44005
|
+
/** Data format for response. */
|
|
44006
|
+
alt?: string;
|
|
44007
|
+
/** JSONP */
|
|
44008
|
+
callback?: string;
|
|
44009
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
44010
|
+
fields?: string;
|
|
44011
|
+
/** 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. */
|
|
44012
|
+
key?: string;
|
|
44013
|
+
/** OAuth 2.0 token for the current user. */
|
|
44014
|
+
oauth_token?: string;
|
|
44015
|
+
/** Returns response with indentations and line breaks. */
|
|
44016
|
+
prettyPrint?: boolean;
|
|
44017
|
+
/** Project ID for this request. */
|
|
44018
|
+
project: string;
|
|
44019
|
+
/** 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. */
|
|
44020
|
+
quotaUser?: string;
|
|
44021
|
+
/** The name of the region for this request. */
|
|
44022
|
+
region: string;
|
|
44023
|
+
/**
|
|
44024
|
+
* 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
|
|
44025
|
+
* 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
|
|
44026
|
+
* 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
|
|
44027
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
44028
|
+
*/
|
|
44029
|
+
requestId?: string;
|
|
44030
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
44031
|
+
upload_protocol?: string;
|
|
44032
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
44033
|
+
uploadType?: string;
|
|
44034
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
44035
|
+
userIp?: string;
|
|
44036
|
+
},
|
|
44037
|
+
body: BulkInsertDiskResource): Request<Operation>;
|
|
43849
44038
|
/**
|
|
43850
44039
|
* Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating
|
|
43851
44040
|
* snapshots in a project different from the source disk project.
|
|
@@ -50828,7 +51017,10 @@ declare namespace gapi.client {
|
|
|
50828
51017
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
50829
51018
|
userIp?: string;
|
|
50830
51019
|
}): Request<SecurityPolicyList>;
|
|
50831
|
-
/**
|
|
51020
|
+
/**
|
|
51021
|
+
* Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
|
|
51022
|
+
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
|
|
51023
|
+
*/
|
|
50832
51024
|
patch(request: {
|
|
50833
51025
|
/** V1 error format. */
|
|
50834
51026
|
"$.xgafv"?: string;
|
|
@@ -50916,7 +51108,7 @@ declare namespace gapi.client {
|
|
|
50916
51108
|
userIp?: string;
|
|
50917
51109
|
},
|
|
50918
51110
|
body: SecurityPolicy): Request<Operation>;
|
|
50919
|
-
/** Patches a rule at the specified priority. */
|
|
51111
|
+
/** Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. */
|
|
50920
51112
|
patchRule(request: {
|
|
50921
51113
|
/** V1 error format. */
|
|
50922
51114
|
"$.xgafv"?: string;
|
|
@@ -50944,6 +51136,8 @@ declare namespace gapi.client {
|
|
|
50944
51136
|
region: string;
|
|
50945
51137
|
/** Name of the security policy to update. */
|
|
50946
51138
|
securityPolicy: string;
|
|
51139
|
+
/** Indicates fields to be cleared as part of this request. */
|
|
51140
|
+
updateMask?: string;
|
|
50947
51141
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
50948
51142
|
upload_protocol?: string;
|
|
50949
51143
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -50982,6 +51176,8 @@ declare namespace gapi.client {
|
|
|
50982
51176
|
region: string;
|
|
50983
51177
|
/** Name of the security policy to update. */
|
|
50984
51178
|
securityPolicy: string;
|
|
51179
|
+
/** Indicates fields to be cleared as part of this request. */
|
|
51180
|
+
updateMask?: string;
|
|
50985
51181
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
50986
51182
|
upload_protocol?: string;
|
|
50987
51183
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -55529,8 +55725,8 @@ declare namespace gapi.client {
|
|
|
55529
55725
|
userIp?: string;
|
|
55530
55726
|
}): Request<SecurityPoliciesListPreconfiguredExpressionSetsResponse>;
|
|
55531
55727
|
/**
|
|
55532
|
-
* Patches the specified policy with the data included in the request.
|
|
55533
|
-
* patchRule, and removeRule instead.
|
|
55728
|
+
* Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
|
|
55729
|
+
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
|
|
55534
55730
|
*/
|
|
55535
55731
|
patch(request: {
|
|
55536
55732
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -321,6 +321,11 @@ Retrieves an aggregated list of persistent disks.
|
|
|
321
321
|
*/
|
|
322
322
|
await gapi.client.compute.disks.aggregatedList({ project: "project", });
|
|
323
323
|
|
|
324
|
+
/*
|
|
325
|
+
Bulk create a set of disks.
|
|
326
|
+
*/
|
|
327
|
+
await gapi.client.compute.disks.bulkInsert({ project: "project", zone: "zone", });
|
|
328
|
+
|
|
324
329
|
/*
|
|
325
330
|
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.
|
|
326
331
|
*/
|
|
@@ -2551,6 +2556,11 @@ Adds existing resource policies to a regional disk. You can only add one policy
|
|
|
2551
2556
|
*/
|
|
2552
2557
|
await gapi.client.compute.regionDisks.addResourcePolicies({ disk: "disk", project: "project", region: "region", });
|
|
2553
2558
|
|
|
2559
|
+
/*
|
|
2560
|
+
Bulk create a set of disks.
|
|
2561
|
+
*/
|
|
2562
|
+
await gapi.client.compute.regionDisks.bulkInsert({ project: "project", region: "region", });
|
|
2563
|
+
|
|
2554
2564
|
/*
|
|
2555
2565
|
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.
|
|
2556
2566
|
*/
|
|
@@ -3132,12 +3142,12 @@ List all the policies that have been configured for the specified project and re
|
|
|
3132
3142
|
await gapi.client.compute.regionSecurityPolicies.list({ project: "project", region: "region", });
|
|
3133
3143
|
|
|
3134
3144
|
/*
|
|
3135
|
-
Patches the specified policy with the data included in the request.
|
|
3145
|
+
Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
|
|
3136
3146
|
*/
|
|
3137
3147
|
await gapi.client.compute.regionSecurityPolicies.patch({ project: "project", region: "region", securityPolicy: "securityPolicy", });
|
|
3138
3148
|
|
|
3139
3149
|
/*
|
|
3140
|
-
Patches a rule at the specified priority.
|
|
3150
|
+
Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask.
|
|
3141
3151
|
*/
|
|
3142
3152
|
await gapi.client.compute.regionSecurityPolicies.patchRule({ project: "project", region: "region", securityPolicy: "securityPolicy", });
|
|
3143
3153
|
|
|
@@ -3557,7 +3567,7 @@ Gets the current list of preconfigured Web Application Firewall (WAF) expression
|
|
|
3557
3567
|
await gapi.client.compute.securityPolicies.listPreconfiguredExpressionSets({ project: "project", });
|
|
3558
3568
|
|
|
3559
3569
|
/*
|
|
3560
|
-
Patches the specified policy with the data included in the request. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
|
|
3570
|
+
Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
|
|
3561
3571
|
*/
|
|
3562
3572
|
await gapi.client.compute.securityPolicies.patch({ project: "project", securityPolicy: "securityPolicy", });
|
|
3563
3573
|
|
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: 20221011
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -2230,6 +2230,14 @@ gapi.load('client', async () => {
|
|
|
2230
2230
|
project: "Test string",
|
|
2231
2231
|
returnPartialSuccess: true,
|
|
2232
2232
|
});
|
|
2233
|
+
/** Bulk create a set of disks. */
|
|
2234
|
+
await gapi.client.compute.disks.bulkInsert({
|
|
2235
|
+
project: "Test string",
|
|
2236
|
+
requestId: "Test string",
|
|
2237
|
+
zone: "Test string",
|
|
2238
|
+
}, {
|
|
2239
|
+
sourceConsistencyGroupPolicy: "Test string",
|
|
2240
|
+
});
|
|
2233
2241
|
/**
|
|
2234
2242
|
* Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating
|
|
2235
2243
|
* snapshots in a project different from the source disk project.
|
|
@@ -7041,10 +7049,6 @@ gapi.load('client', async () => {
|
|
|
7041
7049
|
availabilityDomain: 42,
|
|
7042
7050
|
currentCpus: 42,
|
|
7043
7051
|
currentMemoryMb: "Test string",
|
|
7044
|
-
dynamicResizeProperties: {
|
|
7045
|
-
enableHotStandby: true,
|
|
7046
|
-
hotStandbyState: "Test string",
|
|
7047
|
-
},
|
|
7048
7052
|
hostErrorTimeoutSeconds: 42,
|
|
7049
7053
|
instanceTerminationAction: "Test string",
|
|
7050
7054
|
latencyTolerant: true,
|
|
@@ -7365,10 +7369,6 @@ gapi.load('client', async () => {
|
|
|
7365
7369
|
availabilityDomain: 42,
|
|
7366
7370
|
currentCpus: 42,
|
|
7367
7371
|
currentMemoryMb: "Test string",
|
|
7368
|
-
dynamicResizeProperties: {
|
|
7369
|
-
enableHotStandby: true,
|
|
7370
|
-
hotStandbyState: "Test string",
|
|
7371
|
-
},
|
|
7372
7372
|
hostErrorTimeoutSeconds: 42,
|
|
7373
7373
|
instanceTerminationAction: "Test string",
|
|
7374
7374
|
latencyTolerant: true,
|
|
@@ -7798,10 +7798,6 @@ gapi.load('client', async () => {
|
|
|
7798
7798
|
availabilityDomain: 42,
|
|
7799
7799
|
currentCpus: 42,
|
|
7800
7800
|
currentMemoryMb: "Test string",
|
|
7801
|
-
dynamicResizeProperties: {
|
|
7802
|
-
enableHotStandby: true,
|
|
7803
|
-
hotStandbyState: "Test string",
|
|
7804
|
-
},
|
|
7805
7801
|
hostErrorTimeoutSeconds: 42,
|
|
7806
7802
|
instanceTerminationAction: "Test string",
|
|
7807
7803
|
latencyTolerant: true,
|
|
@@ -8176,10 +8172,6 @@ gapi.load('client', async () => {
|
|
|
8176
8172
|
availabilityDomain: 42,
|
|
8177
8173
|
currentCpus: 42,
|
|
8178
8174
|
currentMemoryMb: "Test string",
|
|
8179
|
-
dynamicResizeProperties: {
|
|
8180
|
-
enableHotStandby: true,
|
|
8181
|
-
hotStandbyState: "Test string",
|
|
8182
|
-
},
|
|
8183
8175
|
hostErrorTimeoutSeconds: 42,
|
|
8184
8176
|
instanceTerminationAction: "Test string",
|
|
8185
8177
|
latencyTolerant: true,
|
|
@@ -8611,10 +8603,6 @@ gapi.load('client', async () => {
|
|
|
8611
8603
|
availabilityDomain: 42,
|
|
8612
8604
|
currentCpus: 42,
|
|
8613
8605
|
currentMemoryMb: "Test string",
|
|
8614
|
-
dynamicResizeProperties: {
|
|
8615
|
-
enableHotStandby: true,
|
|
8616
|
-
hotStandbyState: "Test string",
|
|
8617
|
-
},
|
|
8618
8606
|
hostErrorTimeoutSeconds: 42,
|
|
8619
8607
|
instanceTerminationAction: "Test string",
|
|
8620
8608
|
latencyTolerant: true,
|
|
@@ -9102,10 +9090,6 @@ gapi.load('client', async () => {
|
|
|
9102
9090
|
availabilityDomain: 42,
|
|
9103
9091
|
currentCpus: 42,
|
|
9104
9092
|
currentMemoryMb: "Test string",
|
|
9105
|
-
dynamicResizeProperties: {
|
|
9106
|
-
enableHotStandby: true,
|
|
9107
|
-
hotStandbyState: "Test string",
|
|
9108
|
-
},
|
|
9109
9093
|
hostErrorTimeoutSeconds: 42,
|
|
9110
9094
|
instanceTerminationAction: "Test string",
|
|
9111
9095
|
latencyTolerant: true,
|
|
@@ -10754,10 +10738,6 @@ gapi.load('client', async () => {
|
|
|
10754
10738
|
availabilityDomain: 42,
|
|
10755
10739
|
currentCpus: 42,
|
|
10756
10740
|
currentMemoryMb: "Test string",
|
|
10757
|
-
dynamicResizeProperties: {
|
|
10758
|
-
enableHotStandby: true,
|
|
10759
|
-
hotStandbyState: "Test string",
|
|
10760
|
-
},
|
|
10761
10741
|
hostErrorTimeoutSeconds: 42,
|
|
10762
10742
|
instanceTerminationAction: "Test string",
|
|
10763
10743
|
latencyTolerant: true,
|
|
@@ -10971,10 +10951,6 @@ gapi.load('client', async () => {
|
|
|
10971
10951
|
availabilityDomain: 42,
|
|
10972
10952
|
currentCpus: 42,
|
|
10973
10953
|
currentMemoryMb: "Test string",
|
|
10974
|
-
dynamicResizeProperties: {
|
|
10975
|
-
enableHotStandby: true,
|
|
10976
|
-
hotStandbyState: "Test string",
|
|
10977
|
-
},
|
|
10978
10954
|
hostErrorTimeoutSeconds: 42,
|
|
10979
10955
|
instanceTerminationAction: "Test string",
|
|
10980
10956
|
latencyTolerant: true,
|
|
@@ -16226,6 +16202,14 @@ gapi.load('client', async () => {
|
|
|
16226
16202
|
"Test string"
|
|
16227
16203
|
],
|
|
16228
16204
|
});
|
|
16205
|
+
/** Bulk create a set of disks. */
|
|
16206
|
+
await gapi.client.compute.regionDisks.bulkInsert({
|
|
16207
|
+
project: "Test string",
|
|
16208
|
+
region: "Test string",
|
|
16209
|
+
requestId: "Test string",
|
|
16210
|
+
}, {
|
|
16211
|
+
sourceConsistencyGroupPolicy: "Test string",
|
|
16212
|
+
});
|
|
16229
16213
|
/**
|
|
16230
16214
|
* Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating
|
|
16231
16215
|
* snapshots in a project different from the source disk project.
|
|
@@ -18417,10 +18401,6 @@ gapi.load('client', async () => {
|
|
|
18417
18401
|
availabilityDomain: 42,
|
|
18418
18402
|
currentCpus: 42,
|
|
18419
18403
|
currentMemoryMb: "Test string",
|
|
18420
|
-
dynamicResizeProperties: {
|
|
18421
|
-
enableHotStandby: true,
|
|
18422
|
-
hotStandbyState: "Test string",
|
|
18423
|
-
},
|
|
18424
18404
|
hostErrorTimeoutSeconds: 42,
|
|
18425
18405
|
instanceTerminationAction: "Test string",
|
|
18426
18406
|
latencyTolerant: true,
|
|
@@ -18741,10 +18721,6 @@ gapi.load('client', async () => {
|
|
|
18741
18721
|
availabilityDomain: 42,
|
|
18742
18722
|
currentCpus: 42,
|
|
18743
18723
|
currentMemoryMb: "Test string",
|
|
18744
|
-
dynamicResizeProperties: {
|
|
18745
|
-
enableHotStandby: true,
|
|
18746
|
-
hotStandbyState: "Test string",
|
|
18747
|
-
},
|
|
18748
18724
|
hostErrorTimeoutSeconds: 42,
|
|
18749
18725
|
instanceTerminationAction: "Test string",
|
|
18750
18726
|
latencyTolerant: true,
|
|
@@ -19079,10 +19055,6 @@ gapi.load('client', async () => {
|
|
|
19079
19055
|
availabilityDomain: 42,
|
|
19080
19056
|
currentCpus: 42,
|
|
19081
19057
|
currentMemoryMb: "Test string",
|
|
19082
|
-
dynamicResizeProperties: {
|
|
19083
|
-
enableHotStandby: true,
|
|
19084
|
-
hotStandbyState: "Test string",
|
|
19085
|
-
},
|
|
19086
19058
|
hostErrorTimeoutSeconds: 42,
|
|
19087
19059
|
instanceTerminationAction: "Test string",
|
|
19088
19060
|
latencyTolerant: true,
|
|
@@ -20559,7 +20531,10 @@ gapi.load('client', async () => {
|
|
|
20559
20531
|
region: "Test string",
|
|
20560
20532
|
returnPartialSuccess: true,
|
|
20561
20533
|
});
|
|
20562
|
-
/**
|
|
20534
|
+
/**
|
|
20535
|
+
* Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
|
|
20536
|
+
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
|
|
20537
|
+
*/
|
|
20563
20538
|
await gapi.client.compute.regionSecurityPolicies.patch({
|
|
20564
20539
|
paths: "Test string",
|
|
20565
20540
|
project: "Test string",
|
|
@@ -20787,12 +20762,13 @@ gapi.load('client', async () => {
|
|
|
20787
20762
|
}
|
|
20788
20763
|
],
|
|
20789
20764
|
});
|
|
20790
|
-
/** Patches a rule at the specified priority. */
|
|
20765
|
+
/** Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. */
|
|
20791
20766
|
await gapi.client.compute.regionSecurityPolicies.patchRule({
|
|
20792
20767
|
priority: 42,
|
|
20793
20768
|
project: "Test string",
|
|
20794
20769
|
region: "Test string",
|
|
20795
20770
|
securityPolicy: "Test string",
|
|
20771
|
+
updateMask: "Test string",
|
|
20796
20772
|
validateOnly: true,
|
|
20797
20773
|
}, {
|
|
20798
20774
|
action: "Test string",
|
|
@@ -21573,6 +21549,7 @@ gapi.load('client', async () => {
|
|
|
21573
21549
|
urlRewrite: {
|
|
21574
21550
|
hostRewrite: "Test string",
|
|
21575
21551
|
pathPrefixRewrite: "Test string",
|
|
21552
|
+
pathTemplateRewrite: "Test string",
|
|
21576
21553
|
},
|
|
21577
21554
|
weightedBackendServices: [
|
|
21578
21555
|
{
|
|
@@ -21720,6 +21697,7 @@ gapi.load('client', async () => {
|
|
|
21720
21697
|
urlRewrite: {
|
|
21721
21698
|
hostRewrite: "Test string",
|
|
21722
21699
|
pathPrefixRewrite: "Test string",
|
|
21700
|
+
pathTemplateRewrite: "Test string",
|
|
21723
21701
|
},
|
|
21724
21702
|
weightedBackendServices: [
|
|
21725
21703
|
{
|
|
@@ -21858,6 +21836,7 @@ gapi.load('client', async () => {
|
|
|
21858
21836
|
urlRewrite: {
|
|
21859
21837
|
hostRewrite: "Test string",
|
|
21860
21838
|
pathPrefixRewrite: "Test string",
|
|
21839
|
+
pathTemplateRewrite: "Test string",
|
|
21861
21840
|
},
|
|
21862
21841
|
weightedBackendServices: [
|
|
21863
21842
|
{
|
|
@@ -21980,6 +21959,7 @@ gapi.load('client', async () => {
|
|
|
21980
21959
|
filterMatchCriteria: "Test string",
|
|
21981
21960
|
}
|
|
21982
21961
|
],
|
|
21962
|
+
pathTemplateMatch: "Test string",
|
|
21983
21963
|
prefixMatch: "Test string",
|
|
21984
21964
|
queryParameterMatches: [
|
|
21985
21965
|
{
|
|
@@ -22051,6 +22031,7 @@ gapi.load('client', async () => {
|
|
|
22051
22031
|
urlRewrite: {
|
|
22052
22032
|
hostRewrite: "Test string",
|
|
22053
22033
|
pathPrefixRewrite: "Test string",
|
|
22034
|
+
pathTemplateRewrite: "Test string",
|
|
22054
22035
|
},
|
|
22055
22036
|
weightedBackendServices: [
|
|
22056
22037
|
{
|
|
@@ -22216,6 +22197,7 @@ gapi.load('client', async () => {
|
|
|
22216
22197
|
urlRewrite: {
|
|
22217
22198
|
hostRewrite: "Test string",
|
|
22218
22199
|
pathPrefixRewrite: "Test string",
|
|
22200
|
+
pathTemplateRewrite: "Test string",
|
|
22219
22201
|
},
|
|
22220
22202
|
weightedBackendServices: [
|
|
22221
22203
|
{
|
|
@@ -22363,6 +22345,7 @@ gapi.load('client', async () => {
|
|
|
22363
22345
|
urlRewrite: {
|
|
22364
22346
|
hostRewrite: "Test string",
|
|
22365
22347
|
pathPrefixRewrite: "Test string",
|
|
22348
|
+
pathTemplateRewrite: "Test string",
|
|
22366
22349
|
},
|
|
22367
22350
|
weightedBackendServices: [
|
|
22368
22351
|
{
|
|
@@ -22501,6 +22484,7 @@ gapi.load('client', async () => {
|
|
|
22501
22484
|
urlRewrite: {
|
|
22502
22485
|
hostRewrite: "Test string",
|
|
22503
22486
|
pathPrefixRewrite: "Test string",
|
|
22487
|
+
pathTemplateRewrite: "Test string",
|
|
22504
22488
|
},
|
|
22505
22489
|
weightedBackendServices: [
|
|
22506
22490
|
{
|
|
@@ -22623,6 +22607,7 @@ gapi.load('client', async () => {
|
|
|
22623
22607
|
filterMatchCriteria: "Test string",
|
|
22624
22608
|
}
|
|
22625
22609
|
],
|
|
22610
|
+
pathTemplateMatch: "Test string",
|
|
22626
22611
|
prefixMatch: "Test string",
|
|
22627
22612
|
queryParameterMatches: [
|
|
22628
22613
|
{
|
|
@@ -22694,6 +22679,7 @@ gapi.load('client', async () => {
|
|
|
22694
22679
|
urlRewrite: {
|
|
22695
22680
|
hostRewrite: "Test string",
|
|
22696
22681
|
pathPrefixRewrite: "Test string",
|
|
22682
|
+
pathTemplateRewrite: "Test string",
|
|
22697
22683
|
},
|
|
22698
22684
|
weightedBackendServices: [
|
|
22699
22685
|
{
|
|
@@ -22846,6 +22832,7 @@ gapi.load('client', async () => {
|
|
|
22846
22832
|
urlRewrite: {
|
|
22847
22833
|
hostRewrite: "Test string",
|
|
22848
22834
|
pathPrefixRewrite: "Test string",
|
|
22835
|
+
pathTemplateRewrite: "Test string",
|
|
22849
22836
|
},
|
|
22850
22837
|
weightedBackendServices: [
|
|
22851
22838
|
{
|
|
@@ -22993,6 +22980,7 @@ gapi.load('client', async () => {
|
|
|
22993
22980
|
urlRewrite: {
|
|
22994
22981
|
hostRewrite: "Test string",
|
|
22995
22982
|
pathPrefixRewrite: "Test string",
|
|
22983
|
+
pathTemplateRewrite: "Test string",
|
|
22996
22984
|
},
|
|
22997
22985
|
weightedBackendServices: [
|
|
22998
22986
|
{
|
|
@@ -23131,6 +23119,7 @@ gapi.load('client', async () => {
|
|
|
23131
23119
|
urlRewrite: {
|
|
23132
23120
|
hostRewrite: "Test string",
|
|
23133
23121
|
pathPrefixRewrite: "Test string",
|
|
23122
|
+
pathTemplateRewrite: "Test string",
|
|
23134
23123
|
},
|
|
23135
23124
|
weightedBackendServices: [
|
|
23136
23125
|
{
|
|
@@ -23253,6 +23242,7 @@ gapi.load('client', async () => {
|
|
|
23253
23242
|
filterMatchCriteria: "Test string",
|
|
23254
23243
|
}
|
|
23255
23244
|
],
|
|
23245
|
+
pathTemplateMatch: "Test string",
|
|
23256
23246
|
prefixMatch: "Test string",
|
|
23257
23247
|
queryParameterMatches: [
|
|
23258
23248
|
{
|
|
@@ -23324,6 +23314,7 @@ gapi.load('client', async () => {
|
|
|
23324
23314
|
urlRewrite: {
|
|
23325
23315
|
hostRewrite: "Test string",
|
|
23326
23316
|
pathPrefixRewrite: "Test string",
|
|
23317
|
+
pathTemplateRewrite: "Test string",
|
|
23327
23318
|
},
|
|
23328
23319
|
weightedBackendServices: [
|
|
23329
23320
|
{
|
|
@@ -23466,6 +23457,7 @@ gapi.load('client', async () => {
|
|
|
23466
23457
|
urlRewrite: {
|
|
23467
23458
|
hostRewrite: "Test string",
|
|
23468
23459
|
pathPrefixRewrite: "Test string",
|
|
23460
|
+
pathTemplateRewrite: "Test string",
|
|
23469
23461
|
},
|
|
23470
23462
|
weightedBackendServices: [
|
|
23471
23463
|
{
|
|
@@ -23613,6 +23605,7 @@ gapi.load('client', async () => {
|
|
|
23613
23605
|
urlRewrite: {
|
|
23614
23606
|
hostRewrite: "Test string",
|
|
23615
23607
|
pathPrefixRewrite: "Test string",
|
|
23608
|
+
pathTemplateRewrite: "Test string",
|
|
23616
23609
|
},
|
|
23617
23610
|
weightedBackendServices: [
|
|
23618
23611
|
{
|
|
@@ -23751,6 +23744,7 @@ gapi.load('client', async () => {
|
|
|
23751
23744
|
urlRewrite: {
|
|
23752
23745
|
hostRewrite: "Test string",
|
|
23753
23746
|
pathPrefixRewrite: "Test string",
|
|
23747
|
+
pathTemplateRewrite: "Test string",
|
|
23754
23748
|
},
|
|
23755
23749
|
weightedBackendServices: [
|
|
23756
23750
|
{
|
|
@@ -23873,6 +23867,7 @@ gapi.load('client', async () => {
|
|
|
23873
23867
|
filterMatchCriteria: "Test string",
|
|
23874
23868
|
}
|
|
23875
23869
|
],
|
|
23870
|
+
pathTemplateMatch: "Test string",
|
|
23876
23871
|
prefixMatch: "Test string",
|
|
23877
23872
|
queryParameterMatches: [
|
|
23878
23873
|
{
|
|
@@ -23944,6 +23939,7 @@ gapi.load('client', async () => {
|
|
|
23944
23939
|
urlRewrite: {
|
|
23945
23940
|
hostRewrite: "Test string",
|
|
23946
23941
|
pathPrefixRewrite: "Test string",
|
|
23942
|
+
pathTemplateRewrite: "Test string",
|
|
23947
23943
|
},
|
|
23948
23944
|
weightedBackendServices: [
|
|
23949
23945
|
{
|
|
@@ -24689,6 +24685,7 @@ gapi.load('client', async () => {
|
|
|
24689
24685
|
name: "Test string",
|
|
24690
24686
|
nats: [
|
|
24691
24687
|
{
|
|
24688
|
+
autoNetworkTier: "Test string",
|
|
24692
24689
|
drainNatIps: [
|
|
24693
24690
|
"Test string"
|
|
24694
24691
|
],
|
|
@@ -24847,6 +24844,7 @@ gapi.load('client', async () => {
|
|
|
24847
24844
|
name: "Test string",
|
|
24848
24845
|
nats: [
|
|
24849
24846
|
{
|
|
24847
|
+
autoNetworkTier: "Test string",
|
|
24850
24848
|
drainNatIps: [
|
|
24851
24849
|
"Test string"
|
|
24852
24850
|
],
|
|
@@ -24994,6 +24992,7 @@ gapi.load('client', async () => {
|
|
|
24994
24992
|
name: "Test string",
|
|
24995
24993
|
nats: [
|
|
24996
24994
|
{
|
|
24995
|
+
autoNetworkTier: "Test string",
|
|
24997
24996
|
drainNatIps: [
|
|
24998
24997
|
"Test string"
|
|
24999
24998
|
],
|
|
@@ -25155,6 +25154,7 @@ gapi.load('client', async () => {
|
|
|
25155
25154
|
name: "Test string",
|
|
25156
25155
|
nats: [
|
|
25157
25156
|
{
|
|
25157
|
+
autoNetworkTier: "Test string",
|
|
25158
25158
|
drainNatIps: [
|
|
25159
25159
|
"Test string"
|
|
25160
25160
|
],
|
|
@@ -25728,8 +25728,8 @@ gapi.load('client', async () => {
|
|
|
25728
25728
|
returnPartialSuccess: true,
|
|
25729
25729
|
});
|
|
25730
25730
|
/**
|
|
25731
|
-
* Patches the specified policy with the data included in the request.
|
|
25732
|
-
* and removeRule instead.
|
|
25731
|
+
* Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
|
|
25732
|
+
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
|
|
25733
25733
|
*/
|
|
25734
25734
|
await gapi.client.compute.securityPolicies.patch({
|
|
25735
25735
|
paths: "Test string",
|
|
@@ -28063,6 +28063,7 @@ gapi.load('client', async () => {
|
|
|
28063
28063
|
urlRewrite: {
|
|
28064
28064
|
hostRewrite: "Test string",
|
|
28065
28065
|
pathPrefixRewrite: "Test string",
|
|
28066
|
+
pathTemplateRewrite: "Test string",
|
|
28066
28067
|
},
|
|
28067
28068
|
weightedBackendServices: [
|
|
28068
28069
|
{
|
|
@@ -28210,6 +28211,7 @@ gapi.load('client', async () => {
|
|
|
28210
28211
|
urlRewrite: {
|
|
28211
28212
|
hostRewrite: "Test string",
|
|
28212
28213
|
pathPrefixRewrite: "Test string",
|
|
28214
|
+
pathTemplateRewrite: "Test string",
|
|
28213
28215
|
},
|
|
28214
28216
|
weightedBackendServices: [
|
|
28215
28217
|
{
|
|
@@ -28348,6 +28350,7 @@ gapi.load('client', async () => {
|
|
|
28348
28350
|
urlRewrite: {
|
|
28349
28351
|
hostRewrite: "Test string",
|
|
28350
28352
|
pathPrefixRewrite: "Test string",
|
|
28353
|
+
pathTemplateRewrite: "Test string",
|
|
28351
28354
|
},
|
|
28352
28355
|
weightedBackendServices: [
|
|
28353
28356
|
{
|
|
@@ -28470,6 +28473,7 @@ gapi.load('client', async () => {
|
|
|
28470
28473
|
filterMatchCriteria: "Test string",
|
|
28471
28474
|
}
|
|
28472
28475
|
],
|
|
28476
|
+
pathTemplateMatch: "Test string",
|
|
28473
28477
|
prefixMatch: "Test string",
|
|
28474
28478
|
queryParameterMatches: [
|
|
28475
28479
|
{
|
|
@@ -28541,6 +28545,7 @@ gapi.load('client', async () => {
|
|
|
28541
28545
|
urlRewrite: {
|
|
28542
28546
|
hostRewrite: "Test string",
|
|
28543
28547
|
pathPrefixRewrite: "Test string",
|
|
28548
|
+
pathTemplateRewrite: "Test string",
|
|
28544
28549
|
},
|
|
28545
28550
|
weightedBackendServices: [
|
|
28546
28551
|
{
|
|
@@ -28703,6 +28708,7 @@ gapi.load('client', async () => {
|
|
|
28703
28708
|
urlRewrite: {
|
|
28704
28709
|
hostRewrite: "Test string",
|
|
28705
28710
|
pathPrefixRewrite: "Test string",
|
|
28711
|
+
pathTemplateRewrite: "Test string",
|
|
28706
28712
|
},
|
|
28707
28713
|
weightedBackendServices: [
|
|
28708
28714
|
{
|
|
@@ -28850,6 +28856,7 @@ gapi.load('client', async () => {
|
|
|
28850
28856
|
urlRewrite: {
|
|
28851
28857
|
hostRewrite: "Test string",
|
|
28852
28858
|
pathPrefixRewrite: "Test string",
|
|
28859
|
+
pathTemplateRewrite: "Test string",
|
|
28853
28860
|
},
|
|
28854
28861
|
weightedBackendServices: [
|
|
28855
28862
|
{
|
|
@@ -28988,6 +28995,7 @@ gapi.load('client', async () => {
|
|
|
28988
28995
|
urlRewrite: {
|
|
28989
28996
|
hostRewrite: "Test string",
|
|
28990
28997
|
pathPrefixRewrite: "Test string",
|
|
28998
|
+
pathTemplateRewrite: "Test string",
|
|
28991
28999
|
},
|
|
28992
29000
|
weightedBackendServices: [
|
|
28993
29001
|
{
|
|
@@ -29110,6 +29118,7 @@ gapi.load('client', async () => {
|
|
|
29110
29118
|
filterMatchCriteria: "Test string",
|
|
29111
29119
|
}
|
|
29112
29120
|
],
|
|
29121
|
+
pathTemplateMatch: "Test string",
|
|
29113
29122
|
prefixMatch: "Test string",
|
|
29114
29123
|
queryParameterMatches: [
|
|
29115
29124
|
{
|
|
@@ -29181,6 +29190,7 @@ gapi.load('client', async () => {
|
|
|
29181
29190
|
urlRewrite: {
|
|
29182
29191
|
hostRewrite: "Test string",
|
|
29183
29192
|
pathPrefixRewrite: "Test string",
|
|
29193
|
+
pathTemplateRewrite: "Test string",
|
|
29184
29194
|
},
|
|
29185
29195
|
weightedBackendServices: [
|
|
29186
29196
|
{
|
|
@@ -29331,6 +29341,7 @@ gapi.load('client', async () => {
|
|
|
29331
29341
|
urlRewrite: {
|
|
29332
29342
|
hostRewrite: "Test string",
|
|
29333
29343
|
pathPrefixRewrite: "Test string",
|
|
29344
|
+
pathTemplateRewrite: "Test string",
|
|
29334
29345
|
},
|
|
29335
29346
|
weightedBackendServices: [
|
|
29336
29347
|
{
|
|
@@ -29478,6 +29489,7 @@ gapi.load('client', async () => {
|
|
|
29478
29489
|
urlRewrite: {
|
|
29479
29490
|
hostRewrite: "Test string",
|
|
29480
29491
|
pathPrefixRewrite: "Test string",
|
|
29492
|
+
pathTemplateRewrite: "Test string",
|
|
29481
29493
|
},
|
|
29482
29494
|
weightedBackendServices: [
|
|
29483
29495
|
{
|
|
@@ -29616,6 +29628,7 @@ gapi.load('client', async () => {
|
|
|
29616
29628
|
urlRewrite: {
|
|
29617
29629
|
hostRewrite: "Test string",
|
|
29618
29630
|
pathPrefixRewrite: "Test string",
|
|
29631
|
+
pathTemplateRewrite: "Test string",
|
|
29619
29632
|
},
|
|
29620
29633
|
weightedBackendServices: [
|
|
29621
29634
|
{
|
|
@@ -29738,6 +29751,7 @@ gapi.load('client', async () => {
|
|
|
29738
29751
|
filterMatchCriteria: "Test string",
|
|
29739
29752
|
}
|
|
29740
29753
|
],
|
|
29754
|
+
pathTemplateMatch: "Test string",
|
|
29741
29755
|
prefixMatch: "Test string",
|
|
29742
29756
|
queryParameterMatches: [
|
|
29743
29757
|
{
|
|
@@ -29809,6 +29823,7 @@ gapi.load('client', async () => {
|
|
|
29809
29823
|
urlRewrite: {
|
|
29810
29824
|
hostRewrite: "Test string",
|
|
29811
29825
|
pathPrefixRewrite: "Test string",
|
|
29826
|
+
pathTemplateRewrite: "Test string",
|
|
29812
29827
|
},
|
|
29813
29828
|
weightedBackendServices: [
|
|
29814
29829
|
{
|
|
@@ -29953,6 +29968,7 @@ gapi.load('client', async () => {
|
|
|
29953
29968
|
urlRewrite: {
|
|
29954
29969
|
hostRewrite: "Test string",
|
|
29955
29970
|
pathPrefixRewrite: "Test string",
|
|
29971
|
+
pathTemplateRewrite: "Test string",
|
|
29956
29972
|
},
|
|
29957
29973
|
weightedBackendServices: [
|
|
29958
29974
|
{
|
|
@@ -30100,6 +30116,7 @@ gapi.load('client', async () => {
|
|
|
30100
30116
|
urlRewrite: {
|
|
30101
30117
|
hostRewrite: "Test string",
|
|
30102
30118
|
pathPrefixRewrite: "Test string",
|
|
30119
|
+
pathTemplateRewrite: "Test string",
|
|
30103
30120
|
},
|
|
30104
30121
|
weightedBackendServices: [
|
|
30105
30122
|
{
|
|
@@ -30238,6 +30255,7 @@ gapi.load('client', async () => {
|
|
|
30238
30255
|
urlRewrite: {
|
|
30239
30256
|
hostRewrite: "Test string",
|
|
30240
30257
|
pathPrefixRewrite: "Test string",
|
|
30258
|
+
pathTemplateRewrite: "Test string",
|
|
30241
30259
|
},
|
|
30242
30260
|
weightedBackendServices: [
|
|
30243
30261
|
{
|
|
@@ -30360,6 +30378,7 @@ gapi.load('client', async () => {
|
|
|
30360
30378
|
filterMatchCriteria: "Test string",
|
|
30361
30379
|
}
|
|
30362
30380
|
],
|
|
30381
|
+
pathTemplateMatch: "Test string",
|
|
30363
30382
|
prefixMatch: "Test string",
|
|
30364
30383
|
queryParameterMatches: [
|
|
30365
30384
|
{
|
|
@@ -30431,6 +30450,7 @@ gapi.load('client', async () => {
|
|
|
30431
30450
|
urlRewrite: {
|
|
30432
30451
|
hostRewrite: "Test string",
|
|
30433
30452
|
pathPrefixRewrite: "Test string",
|
|
30453
|
+
pathTemplateRewrite: "Test string",
|
|
30434
30454
|
},
|
|
30435
30455
|
weightedBackendServices: [
|
|
30436
30456
|
{
|
|
@@ -31011,10 +31031,6 @@ gapi.load('client', async () => {
|
|
|
31011
31031
|
availabilityDomain: 42,
|
|
31012
31032
|
currentCpus: 42,
|
|
31013
31033
|
currentMemoryMb: "Test string",
|
|
31014
|
-
dynamicResizeProperties: {
|
|
31015
|
-
enableHotStandby: true,
|
|
31016
|
-
hotStandbyState: "Test string",
|
|
31017
|
-
},
|
|
31018
31034
|
hostErrorTimeoutSeconds: 42,
|
|
31019
31035
|
instanceTerminationAction: "Test string",
|
|
31020
31036
|
latencyTolerant: true,
|
|
@@ -31335,10 +31351,6 @@ gapi.load('client', async () => {
|
|
|
31335
31351
|
availabilityDomain: 42,
|
|
31336
31352
|
currentCpus: 42,
|
|
31337
31353
|
currentMemoryMb: "Test string",
|
|
31338
|
-
dynamicResizeProperties: {
|
|
31339
|
-
enableHotStandby: true,
|
|
31340
|
-
hotStandbyState: "Test string",
|
|
31341
|
-
},
|
|
31342
31354
|
hostErrorTimeoutSeconds: 42,
|
|
31343
31355
|
instanceTerminationAction: "Test string",
|
|
31344
31356
|
latencyTolerant: true,
|