@maxim_mazurok/gapi.client.compute-alpha 0.0.20220918 → 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 +214 -28
- package/package.json +1 -1
- package/readme.md +13 -3
- package/tests.ts +65 -57
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221011
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -411,7 +411,7 @@ declare namespace gapi.client {
|
|
|
411
411
|
machineType?: string;
|
|
412
412
|
/** Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance. */
|
|
413
413
|
maintenanceFreezeDurationHours?: number;
|
|
414
|
-
/**
|
|
414
|
+
/** Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`. */
|
|
415
415
|
maintenanceInterval?: string;
|
|
416
416
|
/** Minimum cpu platform the reservation. */
|
|
417
417
|
minCpuPlatform?: string;
|
|
@@ -1239,9 +1239,8 @@ declare namespace gapi.client {
|
|
|
1239
1239
|
network?: string;
|
|
1240
1240
|
/**
|
|
1241
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
|
|
1242
|
-
* to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or
|
|
1243
|
-
* the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
|
|
1244
|
-
* 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.
|
|
1245
1244
|
*/
|
|
1246
1245
|
outlierDetection?: OutlierDetection;
|
|
1247
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. */
|
|
@@ -1709,6 +1708,14 @@ declare namespace gapi.client {
|
|
|
1709
1708
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
1710
1709
|
role?: string;
|
|
1711
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
|
+
}
|
|
1712
1719
|
interface BulkInsertInstanceResource {
|
|
1713
1720
|
/** The maximum number of instances to create. */
|
|
1714
1721
|
count?: string;
|
|
@@ -4531,6 +4538,12 @@ declare namespace gapi.client {
|
|
|
4531
4538
|
* to true.
|
|
4532
4539
|
*/
|
|
4533
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;
|
|
4534
4547
|
/**
|
|
4535
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.
|
|
4536
4549
|
* Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
|
|
@@ -9438,21 +9451,25 @@ declare namespace gapi.client {
|
|
|
9438
9451
|
* or 30s.
|
|
9439
9452
|
*/
|
|
9440
9453
|
baseEjectionTime?: Duration;
|
|
9441
|
-
/**
|
|
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
|
+
*/
|
|
9442
9458
|
consecutiveErrors?: number;
|
|
9443
9459
|
/**
|
|
9444
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
|
|
9445
|
-
* 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.
|
|
9446
9462
|
*/
|
|
9447
9463
|
consecutiveGatewayFailure?: number;
|
|
9448
9464
|
/**
|
|
9449
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
|
|
9450
|
-
* 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.
|
|
9451
9467
|
*/
|
|
9452
9468
|
enforcingConsecutiveErrors?: number;
|
|
9453
9469
|
/**
|
|
9454
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
|
|
9455
|
-
* 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.
|
|
9456
9473
|
*/
|
|
9457
9474
|
enforcingConsecutiveGatewayFailure?: number;
|
|
9458
9475
|
/**
|
|
@@ -9949,6 +9966,8 @@ declare namespace gapi.client {
|
|
|
9949
9966
|
selfLink?: string;
|
|
9950
9967
|
/** The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored. */
|
|
9951
9968
|
usageExportLocation?: UsageExportLocation;
|
|
9969
|
+
/** [Output Only] Default internal DNS setting used by VMs running in this project. */
|
|
9970
|
+
vmDnsSetting?: string;
|
|
9952
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. */
|
|
9953
9972
|
xpnProjectStatus?: string;
|
|
9954
9973
|
}
|
|
@@ -10272,7 +10291,6 @@ declare namespace gapi.client {
|
|
|
10272
10291
|
zone?: string;
|
|
10273
10292
|
}
|
|
10274
10293
|
interface QueuedResourceList {
|
|
10275
|
-
etag?: string;
|
|
10276
10294
|
/** Unique identifier for the resource; defined by the server. */
|
|
10277
10295
|
id?: string;
|
|
10278
10296
|
/** A list of QueuedResource resources. */
|
|
@@ -12084,7 +12102,6 @@ declare namespace gapi.client {
|
|
|
12084
12102
|
currentCpus?: number;
|
|
12085
12103
|
/** Current amount of memory (in MB) available for VM. 0 or unset means default amount of memory of the current machine type. */
|
|
12086
12104
|
currentMemoryMb?: string;
|
|
12087
|
-
dynamicResizeProperties?: SchedulingDynamicResizeProperties;
|
|
12088
12105
|
/**
|
|
12089
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
|
|
12090
12107
|
* will be used.
|
|
@@ -12101,7 +12118,7 @@ declare namespace gapi.client {
|
|
|
12101
12118
|
locationHint?: string;
|
|
12102
12119
|
/** Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance. */
|
|
12103
12120
|
maintenanceFreezeDurationHours?: number;
|
|
12104
|
-
/**
|
|
12121
|
+
/** Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`. */
|
|
12105
12122
|
maintenanceInterval?: string;
|
|
12106
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. */
|
|
12107
12124
|
maxRunDuration?: Duration;
|
|
@@ -12124,12 +12141,6 @@ declare namespace gapi.client {
|
|
|
12124
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. */
|
|
12125
12142
|
terminationTime?: string;
|
|
12126
12143
|
}
|
|
12127
|
-
interface SchedulingDynamicResizeProperties {
|
|
12128
|
-
/** Set to true if this VM is supporting HotStandby modes (b/235044648). */
|
|
12129
|
-
enableHotStandby?: boolean;
|
|
12130
|
-
/** Current Hot Standby state of VM. */
|
|
12131
|
-
hotStandbyState?: string;
|
|
12132
|
-
}
|
|
12133
12144
|
interface SchedulingNodeAffinity {
|
|
12134
12145
|
/** Corresponds to the label key of Node resource. */
|
|
12135
12146
|
key?: string;
|
|
@@ -12260,8 +12271,9 @@ declare namespace gapi.client {
|
|
|
12260
12271
|
/** [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies. */
|
|
12261
12272
|
region?: string;
|
|
12262
12273
|
/**
|
|
12263
|
-
* A list of rules that belong to this policy. There must always be a default rule
|
|
12264
|
-
*
|
|
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.
|
|
12265
12277
|
*/
|
|
12266
12278
|
rules?: SecurityPolicyRule[];
|
|
12267
12279
|
/** [Output Only] Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples. */
|
|
@@ -12406,9 +12418,10 @@ declare namespace gapi.client {
|
|
|
12406
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
|
|
12407
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
|
|
12408
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
|
|
12409
|
-
* is considered to match it, and it's not required to be present. For a packet to match a rule, all specified match fields
|
|
12410
|
-
* packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name:
|
|
12411
|
-
* 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.
|
|
12412
12425
|
*/
|
|
12413
12426
|
networkMatch?: SecurityPolicyRuleNetworkMatcher;
|
|
12414
12427
|
/**
|
|
@@ -12583,7 +12596,8 @@ declare namespace gapi.client {
|
|
|
12583
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
|
|
12584
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
|
|
12585
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
|
|
12586
|
-
* 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.
|
|
12587
12601
|
*/
|
|
12588
12602
|
enforceOnKey?: string;
|
|
12589
12603
|
/**
|
|
@@ -15186,6 +15200,15 @@ declare namespace gapi.client {
|
|
|
15186
15200
|
* characters.
|
|
15187
15201
|
*/
|
|
15188
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;
|
|
15189
15212
|
}
|
|
15190
15213
|
interface UsableSubnetwork {
|
|
15191
15214
|
/** [Output Only] The external IPv6 address range that is assigned to this subnetwork. */
|
|
@@ -18601,6 +18624,84 @@ declare namespace gapi.client {
|
|
|
18601
18624
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
18602
18625
|
userIp?: string;
|
|
18603
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>;
|
|
18604
18705
|
/**
|
|
18605
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
|
|
18606
18707
|
* snapshots in a project different from the source disk project.
|
|
@@ -43856,6 +43957,84 @@ declare namespace gapi.client {
|
|
|
43856
43957
|
userIp?: string;
|
|
43857
43958
|
},
|
|
43858
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>;
|
|
43859
44038
|
/**
|
|
43860
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
|
|
43861
44040
|
* snapshots in a project different from the source disk project.
|
|
@@ -50838,7 +51017,10 @@ declare namespace gapi.client {
|
|
|
50838
51017
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
50839
51018
|
userIp?: string;
|
|
50840
51019
|
}): Request<SecurityPolicyList>;
|
|
50841
|
-
/**
|
|
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
|
+
*/
|
|
50842
51024
|
patch(request: {
|
|
50843
51025
|
/** V1 error format. */
|
|
50844
51026
|
"$.xgafv"?: string;
|
|
@@ -50926,7 +51108,7 @@ declare namespace gapi.client {
|
|
|
50926
51108
|
userIp?: string;
|
|
50927
51109
|
},
|
|
50928
51110
|
body: SecurityPolicy): Request<Operation>;
|
|
50929
|
-
/** 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. */
|
|
50930
51112
|
patchRule(request: {
|
|
50931
51113
|
/** V1 error format. */
|
|
50932
51114
|
"$.xgafv"?: string;
|
|
@@ -50954,6 +51136,8 @@ declare namespace gapi.client {
|
|
|
50954
51136
|
region: string;
|
|
50955
51137
|
/** Name of the security policy to update. */
|
|
50956
51138
|
securityPolicy: string;
|
|
51139
|
+
/** Indicates fields to be cleared as part of this request. */
|
|
51140
|
+
updateMask?: string;
|
|
50957
51141
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
50958
51142
|
upload_protocol?: string;
|
|
50959
51143
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -50992,6 +51176,8 @@ declare namespace gapi.client {
|
|
|
50992
51176
|
region: string;
|
|
50993
51177
|
/** Name of the security policy to update. */
|
|
50994
51178
|
securityPolicy: string;
|
|
51179
|
+
/** Indicates fields to be cleared as part of this request. */
|
|
51180
|
+
updateMask?: string;
|
|
50995
51181
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
50996
51182
|
upload_protocol?: string;
|
|
50997
51183
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -55539,8 +55725,8 @@ declare namespace gapi.client {
|
|
|
55539
55725
|
userIp?: string;
|
|
55540
55726
|
}): Request<SecurityPoliciesListPreconfiguredExpressionSetsResponse>;
|
|
55541
55727
|
/**
|
|
55542
|
-
* Patches the specified policy with the data included in the request.
|
|
55543
|
-
* 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.
|
|
55544
55730
|
*/
|
|
55545
55731
|
patch(request: {
|
|
55546
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
|
{
|
|
@@ -25732,8 +25728,8 @@ gapi.load('client', async () => {
|
|
|
25732
25728
|
returnPartialSuccess: true,
|
|
25733
25729
|
});
|
|
25734
25730
|
/**
|
|
25735
|
-
* Patches the specified policy with the data included in the request.
|
|
25736
|
-
* 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.
|
|
25737
25733
|
*/
|
|
25738
25734
|
await gapi.client.compute.securityPolicies.patch({
|
|
25739
25735
|
paths: "Test string",
|
|
@@ -28067,6 +28063,7 @@ gapi.load('client', async () => {
|
|
|
28067
28063
|
urlRewrite: {
|
|
28068
28064
|
hostRewrite: "Test string",
|
|
28069
28065
|
pathPrefixRewrite: "Test string",
|
|
28066
|
+
pathTemplateRewrite: "Test string",
|
|
28070
28067
|
},
|
|
28071
28068
|
weightedBackendServices: [
|
|
28072
28069
|
{
|
|
@@ -28214,6 +28211,7 @@ gapi.load('client', async () => {
|
|
|
28214
28211
|
urlRewrite: {
|
|
28215
28212
|
hostRewrite: "Test string",
|
|
28216
28213
|
pathPrefixRewrite: "Test string",
|
|
28214
|
+
pathTemplateRewrite: "Test string",
|
|
28217
28215
|
},
|
|
28218
28216
|
weightedBackendServices: [
|
|
28219
28217
|
{
|
|
@@ -28352,6 +28350,7 @@ gapi.load('client', async () => {
|
|
|
28352
28350
|
urlRewrite: {
|
|
28353
28351
|
hostRewrite: "Test string",
|
|
28354
28352
|
pathPrefixRewrite: "Test string",
|
|
28353
|
+
pathTemplateRewrite: "Test string",
|
|
28355
28354
|
},
|
|
28356
28355
|
weightedBackendServices: [
|
|
28357
28356
|
{
|
|
@@ -28474,6 +28473,7 @@ gapi.load('client', async () => {
|
|
|
28474
28473
|
filterMatchCriteria: "Test string",
|
|
28475
28474
|
}
|
|
28476
28475
|
],
|
|
28476
|
+
pathTemplateMatch: "Test string",
|
|
28477
28477
|
prefixMatch: "Test string",
|
|
28478
28478
|
queryParameterMatches: [
|
|
28479
28479
|
{
|
|
@@ -28545,6 +28545,7 @@ gapi.load('client', async () => {
|
|
|
28545
28545
|
urlRewrite: {
|
|
28546
28546
|
hostRewrite: "Test string",
|
|
28547
28547
|
pathPrefixRewrite: "Test string",
|
|
28548
|
+
pathTemplateRewrite: "Test string",
|
|
28548
28549
|
},
|
|
28549
28550
|
weightedBackendServices: [
|
|
28550
28551
|
{
|
|
@@ -28707,6 +28708,7 @@ gapi.load('client', async () => {
|
|
|
28707
28708
|
urlRewrite: {
|
|
28708
28709
|
hostRewrite: "Test string",
|
|
28709
28710
|
pathPrefixRewrite: "Test string",
|
|
28711
|
+
pathTemplateRewrite: "Test string",
|
|
28710
28712
|
},
|
|
28711
28713
|
weightedBackendServices: [
|
|
28712
28714
|
{
|
|
@@ -28854,6 +28856,7 @@ gapi.load('client', async () => {
|
|
|
28854
28856
|
urlRewrite: {
|
|
28855
28857
|
hostRewrite: "Test string",
|
|
28856
28858
|
pathPrefixRewrite: "Test string",
|
|
28859
|
+
pathTemplateRewrite: "Test string",
|
|
28857
28860
|
},
|
|
28858
28861
|
weightedBackendServices: [
|
|
28859
28862
|
{
|
|
@@ -28992,6 +28995,7 @@ gapi.load('client', async () => {
|
|
|
28992
28995
|
urlRewrite: {
|
|
28993
28996
|
hostRewrite: "Test string",
|
|
28994
28997
|
pathPrefixRewrite: "Test string",
|
|
28998
|
+
pathTemplateRewrite: "Test string",
|
|
28995
28999
|
},
|
|
28996
29000
|
weightedBackendServices: [
|
|
28997
29001
|
{
|
|
@@ -29114,6 +29118,7 @@ gapi.load('client', async () => {
|
|
|
29114
29118
|
filterMatchCriteria: "Test string",
|
|
29115
29119
|
}
|
|
29116
29120
|
],
|
|
29121
|
+
pathTemplateMatch: "Test string",
|
|
29117
29122
|
prefixMatch: "Test string",
|
|
29118
29123
|
queryParameterMatches: [
|
|
29119
29124
|
{
|
|
@@ -29185,6 +29190,7 @@ gapi.load('client', async () => {
|
|
|
29185
29190
|
urlRewrite: {
|
|
29186
29191
|
hostRewrite: "Test string",
|
|
29187
29192
|
pathPrefixRewrite: "Test string",
|
|
29193
|
+
pathTemplateRewrite: "Test string",
|
|
29188
29194
|
},
|
|
29189
29195
|
weightedBackendServices: [
|
|
29190
29196
|
{
|
|
@@ -29335,6 +29341,7 @@ gapi.load('client', async () => {
|
|
|
29335
29341
|
urlRewrite: {
|
|
29336
29342
|
hostRewrite: "Test string",
|
|
29337
29343
|
pathPrefixRewrite: "Test string",
|
|
29344
|
+
pathTemplateRewrite: "Test string",
|
|
29338
29345
|
},
|
|
29339
29346
|
weightedBackendServices: [
|
|
29340
29347
|
{
|
|
@@ -29482,6 +29489,7 @@ gapi.load('client', async () => {
|
|
|
29482
29489
|
urlRewrite: {
|
|
29483
29490
|
hostRewrite: "Test string",
|
|
29484
29491
|
pathPrefixRewrite: "Test string",
|
|
29492
|
+
pathTemplateRewrite: "Test string",
|
|
29485
29493
|
},
|
|
29486
29494
|
weightedBackendServices: [
|
|
29487
29495
|
{
|
|
@@ -29620,6 +29628,7 @@ gapi.load('client', async () => {
|
|
|
29620
29628
|
urlRewrite: {
|
|
29621
29629
|
hostRewrite: "Test string",
|
|
29622
29630
|
pathPrefixRewrite: "Test string",
|
|
29631
|
+
pathTemplateRewrite: "Test string",
|
|
29623
29632
|
},
|
|
29624
29633
|
weightedBackendServices: [
|
|
29625
29634
|
{
|
|
@@ -29742,6 +29751,7 @@ gapi.load('client', async () => {
|
|
|
29742
29751
|
filterMatchCriteria: "Test string",
|
|
29743
29752
|
}
|
|
29744
29753
|
],
|
|
29754
|
+
pathTemplateMatch: "Test string",
|
|
29745
29755
|
prefixMatch: "Test string",
|
|
29746
29756
|
queryParameterMatches: [
|
|
29747
29757
|
{
|
|
@@ -29813,6 +29823,7 @@ gapi.load('client', async () => {
|
|
|
29813
29823
|
urlRewrite: {
|
|
29814
29824
|
hostRewrite: "Test string",
|
|
29815
29825
|
pathPrefixRewrite: "Test string",
|
|
29826
|
+
pathTemplateRewrite: "Test string",
|
|
29816
29827
|
},
|
|
29817
29828
|
weightedBackendServices: [
|
|
29818
29829
|
{
|
|
@@ -29957,6 +29968,7 @@ gapi.load('client', async () => {
|
|
|
29957
29968
|
urlRewrite: {
|
|
29958
29969
|
hostRewrite: "Test string",
|
|
29959
29970
|
pathPrefixRewrite: "Test string",
|
|
29971
|
+
pathTemplateRewrite: "Test string",
|
|
29960
29972
|
},
|
|
29961
29973
|
weightedBackendServices: [
|
|
29962
29974
|
{
|
|
@@ -30104,6 +30116,7 @@ gapi.load('client', async () => {
|
|
|
30104
30116
|
urlRewrite: {
|
|
30105
30117
|
hostRewrite: "Test string",
|
|
30106
30118
|
pathPrefixRewrite: "Test string",
|
|
30119
|
+
pathTemplateRewrite: "Test string",
|
|
30107
30120
|
},
|
|
30108
30121
|
weightedBackendServices: [
|
|
30109
30122
|
{
|
|
@@ -30242,6 +30255,7 @@ gapi.load('client', async () => {
|
|
|
30242
30255
|
urlRewrite: {
|
|
30243
30256
|
hostRewrite: "Test string",
|
|
30244
30257
|
pathPrefixRewrite: "Test string",
|
|
30258
|
+
pathTemplateRewrite: "Test string",
|
|
30245
30259
|
},
|
|
30246
30260
|
weightedBackendServices: [
|
|
30247
30261
|
{
|
|
@@ -30364,6 +30378,7 @@ gapi.load('client', async () => {
|
|
|
30364
30378
|
filterMatchCriteria: "Test string",
|
|
30365
30379
|
}
|
|
30366
30380
|
],
|
|
30381
|
+
pathTemplateMatch: "Test string",
|
|
30367
30382
|
prefixMatch: "Test string",
|
|
30368
30383
|
queryParameterMatches: [
|
|
30369
30384
|
{
|
|
@@ -30435,6 +30450,7 @@ gapi.load('client', async () => {
|
|
|
30435
30450
|
urlRewrite: {
|
|
30436
30451
|
hostRewrite: "Test string",
|
|
30437
30452
|
pathPrefixRewrite: "Test string",
|
|
30453
|
+
pathTemplateRewrite: "Test string",
|
|
30438
30454
|
},
|
|
30439
30455
|
weightedBackendServices: [
|
|
30440
30456
|
{
|
|
@@ -31015,10 +31031,6 @@ gapi.load('client', async () => {
|
|
|
31015
31031
|
availabilityDomain: 42,
|
|
31016
31032
|
currentCpus: 42,
|
|
31017
31033
|
currentMemoryMb: "Test string",
|
|
31018
|
-
dynamicResizeProperties: {
|
|
31019
|
-
enableHotStandby: true,
|
|
31020
|
-
hotStandbyState: "Test string",
|
|
31021
|
-
},
|
|
31022
31034
|
hostErrorTimeoutSeconds: 42,
|
|
31023
31035
|
instanceTerminationAction: "Test string",
|
|
31024
31036
|
latencyTolerant: true,
|
|
@@ -31339,10 +31351,6 @@ gapi.load('client', async () => {
|
|
|
31339
31351
|
availabilityDomain: 42,
|
|
31340
31352
|
currentCpus: 42,
|
|
31341
31353
|
currentMemoryMb: "Test string",
|
|
31342
|
-
dynamicResizeProperties: {
|
|
31343
|
-
enableHotStandby: true,
|
|
31344
|
-
hotStandbyState: "Test string",
|
|
31345
|
-
},
|
|
31346
31354
|
hostErrorTimeoutSeconds: 42,
|
|
31347
31355
|
instanceTerminationAction: "Test string",
|
|
31348
31356
|
latencyTolerant: true,
|