@maxim_mazurok/gapi.client.compute-alpha 0.0.20220918 → 0.0.20221018

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.
Files changed (4) hide show
  1. package/index.d.ts +227 -41
  2. package/package.json +1 -1
  3. package/readme.md +13 -3
  4. package/tests.ts +74 -58
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: 20220918
12
+ // Revision: 20221018
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
- /** For more information about maintenance intervals, see Setting maintenance intervals. */
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 HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with
1243
- * the load_balancing_scheme set to INTERNAL_SELF_MANAGED. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has
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;
@@ -2047,7 +2054,7 @@ declare namespace gapi.client {
2047
2054
  allowMethods?: string[];
2048
2055
  /**
2049
2056
  * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item
2050
- * in allowOrigins or an item in allowOriginRegexes.
2057
+ * in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
2051
2058
  */
2052
2059
  allowOriginRegexes?: string[];
2053
2060
  /** Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. */
@@ -4205,7 +4212,7 @@ declare namespace gapi.client {
4205
4212
  /**
4206
4213
  * The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port
4207
4214
  * specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of
4208
- * exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch only applies to load balancers that have loadBalancingScheme set to
4215
+ * exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to
4209
4216
  * INTERNAL_SELF_MANAGED.
4210
4217
  */
4211
4218
  regexMatch?: string;
@@ -4336,7 +4343,7 @@ declare namespace gapi.client {
4336
4343
  presentMatch?: boolean;
4337
4344
  /**
4338
4345
  * The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see
4339
- * Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
4346
+ * Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
4340
4347
  */
4341
4348
  regexMatch?: string;
4342
4349
  }
@@ -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.
@@ -4543,8 +4556,8 @@ declare namespace gapi.client {
4543
4556
  queryParameterMatches?: HttpQueryParameterMatch[];
4544
4557
  /**
4545
4558
  * For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied
4546
- * with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. regexMatch only
4547
- * applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.
4559
+ * with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions
4560
+ * can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
4548
4561
  */
4549
4562
  regexMatch?: string;
4550
4563
  }
@@ -7421,6 +7434,8 @@ declare namespace gapi.client {
7421
7434
  interface LocationPolicyLocation {
7422
7435
  /** Constraints that the caller requires on the result distribution in this zone. */
7423
7436
  constraints?: LocationPolicyLocationConstraints;
7437
+ /** Names of resources to be put in the location. Must contain unique, correct resource names. If used, targetShape must be left unset. */
7438
+ names?: string[];
7424
7439
  /** Preference for a given location. Set to either ALLOW or DENY. */
7425
7440
  preference?: string;
7426
7441
  }
@@ -9438,21 +9453,25 @@ declare namespace gapi.client {
9438
9453
  * or 30s.
9439
9454
  */
9440
9455
  baseEjectionTime?: Duration;
9441
- /** 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. */
9456
+ /**
9457
+ * 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
9458
+ * 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.
9459
+ */
9442
9460
  consecutiveErrors?: number;
9443
9461
  /**
9444
9462
  * 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.
9463
+ * 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
9464
  */
9447
9465
  consecutiveGatewayFailure?: number;
9448
9466
  /**
9449
9467
  * 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.
9468
+ * 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
9469
  */
9452
9470
  enforcingConsecutiveErrors?: number;
9453
9471
  /**
9454
9472
  * 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.
9473
+ * 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
9474
+ * to true.
9456
9475
  */
9457
9476
  enforcingConsecutiveGatewayFailure?: number;
9458
9477
  /**
@@ -9949,6 +9968,8 @@ declare namespace gapi.client {
9949
9968
  selfLink?: string;
9950
9969
  /** The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored. */
9951
9970
  usageExportLocation?: UsageExportLocation;
9971
+ /** [Output Only] Default internal DNS setting used by VMs running in this project. */
9972
+ vmDnsSetting?: string;
9952
9973
  /** [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
9974
  xpnProjectStatus?: string;
9954
9975
  }
@@ -10252,11 +10273,6 @@ declare namespace gapi.client {
10252
10273
  name?: string;
10253
10274
  /** Queuing parameters for the requested capacity. */
10254
10275
  queuingPolicy?: QueuingPolicy;
10255
- /**
10256
- * [Output Only] URL of the region where the resource resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable
10257
- * as a field in the request body.
10258
- */
10259
- region?: string;
10260
10276
  /** [Output only] Server-defined URL for the resource. */
10261
10277
  selfLink?: string;
10262
10278
  /** [Output Only] Server-defined URL for this resource with the resource id. */
@@ -10272,7 +10288,6 @@ declare namespace gapi.client {
10272
10288
  zone?: string;
10273
10289
  }
10274
10290
  interface QueuedResourceList {
10275
- etag?: string;
10276
10291
  /** Unique identifier for the resource; defined by the server. */
10277
10292
  id?: string;
10278
10293
  /** A list of QueuedResource resources. */
@@ -12084,7 +12099,6 @@ declare namespace gapi.client {
12084
12099
  currentCpus?: number;
12085
12100
  /** Current amount of memory (in MB) available for VM. 0 or unset means default amount of memory of the current machine type. */
12086
12101
  currentMemoryMb?: string;
12087
- dynamicResizeProperties?: SchedulingDynamicResizeProperties;
12088
12102
  /**
12089
12103
  * 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
12104
  * will be used.
@@ -12101,7 +12115,7 @@ declare namespace gapi.client {
12101
12115
  locationHint?: string;
12102
12116
  /** Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance. */
12103
12117
  maintenanceFreezeDurationHours?: number;
12104
- /** For more information about maintenance intervals, see Setting maintenance intervals. */
12118
+ /** Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`. */
12105
12119
  maintenanceInterval?: string;
12106
12120
  /** 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
12121
  maxRunDuration?: Duration;
@@ -12124,12 +12138,6 @@ declare namespace gapi.client {
12124
12138
  /** 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
12139
  terminationTime?: string;
12126
12140
  }
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
12141
  interface SchedulingNodeAffinity {
12134
12142
  /** Corresponds to the label key of Node resource. */
12135
12143
  key?: string;
@@ -12260,8 +12268,9 @@ declare namespace gapi.client {
12260
12268
  /** [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies. */
12261
12269
  region?: string;
12262
12270
  /**
12263
- * A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security
12264
- * policy, a default rule with action "allow" will be added.
12271
+ * 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
12272
+ * 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
12273
+ * rule with action "allow" will be added.
12265
12274
  */
12266
12275
  rules?: SecurityPolicyRule[];
12267
12276
  /** [Output Only] Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples. */
@@ -12406,9 +12415,10 @@ declare namespace gapi.client {
12406
12415
  * 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
12416
  * 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
12417
  * 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 must match the corresponding field values derived from the
12410
- * packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-0x1fff" The above match condition
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 "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
12418
+ * 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
12419
+ * 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:
12420
+ * "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
12421
+ * "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
12412
12422
  */
12413
12423
  networkMatch?: SecurityPolicyRuleNetworkMatcher;
12414
12424
  /**
@@ -12583,7 +12593,8 @@ declare namespace gapi.client {
12583
12593
  * 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
12594
  * 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
12595
  * 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.
12596
+ * 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
12597
+ * 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
12598
  */
12588
12599
  enforceOnKey?: string;
12589
12600
  /**
@@ -15186,6 +15197,15 @@ declare namespace gapi.client {
15186
15197
  * characters.
15187
15198
  */
15188
15199
  pathPrefixRewrite?: string;
15200
+ /**
15201
+ * 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
15202
+ * 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 -
15203
+ * 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=**}
15204
+ * 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
15205
+ * 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
15206
+ * may be specified.
15207
+ */
15208
+ pathTemplateRewrite?: string;
15189
15209
  }
15190
15210
  interface UsableSubnetwork {
15191
15211
  /** [Output Only] The external IPv6 address range that is assigned to this subnetwork. */
@@ -15383,7 +15403,7 @@ declare namespace gapi.client {
15383
15403
  region?: string;
15384
15404
  /** [Output Only] Server-defined URL for the resource. */
15385
15405
  selfLink?: string;
15386
- /** The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used. */
15406
+ /** The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. */
15387
15407
  stackType?: string;
15388
15408
  /** The list of VPN interfaces associated with this VPN gateway. */
15389
15409
  vpnInterfaces?: VpnGatewayVpnGatewayInterface[];
@@ -15562,7 +15582,10 @@ declare namespace gapi.client {
15562
15582
  * peerGcpGateway.
15563
15583
  */
15564
15584
  peerExternalGateway?: string;
15565
- /** The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. */
15585
+ /**
15586
+ * The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`.
15587
+ * The number of IDs in use depends on the external VPN gateway redundancy type.
15588
+ */
15566
15589
  peerExternalGatewayInterface?: number;
15567
15590
  /**
15568
15591
  * URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly
@@ -15605,7 +15628,7 @@ declare namespace gapi.client {
15605
15628
  * Availability VPN gateway resource is created.
15606
15629
  */
15607
15630
  vpnGateway?: string;
15608
- /** The interface ID of the VPN gateway with which this VPN tunnel is associated. */
15631
+ /** The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`. */
15609
15632
  vpnGatewayInterface?: number;
15610
15633
  }
15611
15634
  interface VpnTunnelAggregatedList {
@@ -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
- /** Patches the specified policy with the data included in the request. */
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. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20220918",
3
+ "version": "0.0.20221018",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20220918
6
+ // Revision: 20221018
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,
@@ -7428,6 +7428,9 @@ gapi.load('client', async () => {
7428
7428
  constraints: {
7429
7429
  maxCount: 42,
7430
7430
  },
7431
+ names: [
7432
+ "Test string"
7433
+ ],
7431
7434
  preference: "Test string",
7432
7435
  }
7433
7436
  },
@@ -7798,10 +7801,6 @@ gapi.load('client', async () => {
7798
7801
  availabilityDomain: 42,
7799
7802
  currentCpus: 42,
7800
7803
  currentMemoryMb: "Test string",
7801
- dynamicResizeProperties: {
7802
- enableHotStandby: true,
7803
- hotStandbyState: "Test string",
7804
- },
7805
7804
  hostErrorTimeoutSeconds: 42,
7806
7805
  instanceTerminationAction: "Test string",
7807
7806
  latencyTolerant: true,
@@ -8176,10 +8175,6 @@ gapi.load('client', async () => {
8176
8175
  availabilityDomain: 42,
8177
8176
  currentCpus: 42,
8178
8177
  currentMemoryMb: "Test string",
8179
- dynamicResizeProperties: {
8180
- enableHotStandby: true,
8181
- hotStandbyState: "Test string",
8182
- },
8183
8178
  hostErrorTimeoutSeconds: 42,
8184
8179
  instanceTerminationAction: "Test string",
8185
8180
  latencyTolerant: true,
@@ -8611,10 +8606,6 @@ gapi.load('client', async () => {
8611
8606
  availabilityDomain: 42,
8612
8607
  currentCpus: 42,
8613
8608
  currentMemoryMb: "Test string",
8614
- dynamicResizeProperties: {
8615
- enableHotStandby: true,
8616
- hotStandbyState: "Test string",
8617
- },
8618
8609
  hostErrorTimeoutSeconds: 42,
8619
8610
  instanceTerminationAction: "Test string",
8620
8611
  latencyTolerant: true,
@@ -9102,10 +9093,6 @@ gapi.load('client', async () => {
9102
9093
  availabilityDomain: 42,
9103
9094
  currentCpus: 42,
9104
9095
  currentMemoryMb: "Test string",
9105
- dynamicResizeProperties: {
9106
- enableHotStandby: true,
9107
- hotStandbyState: "Test string",
9108
- },
9109
9096
  hostErrorTimeoutSeconds: 42,
9110
9097
  instanceTerminationAction: "Test string",
9111
9098
  latencyTolerant: true,
@@ -10754,10 +10741,6 @@ gapi.load('client', async () => {
10754
10741
  availabilityDomain: 42,
10755
10742
  currentCpus: 42,
10756
10743
  currentMemoryMb: "Test string",
10757
- dynamicResizeProperties: {
10758
- enableHotStandby: true,
10759
- hotStandbyState: "Test string",
10760
- },
10761
10744
  hostErrorTimeoutSeconds: 42,
10762
10745
  instanceTerminationAction: "Test string",
10763
10746
  latencyTolerant: true,
@@ -10971,10 +10954,6 @@ gapi.load('client', async () => {
10971
10954
  availabilityDomain: 42,
10972
10955
  currentCpus: 42,
10973
10956
  currentMemoryMb: "Test string",
10974
- dynamicResizeProperties: {
10975
- enableHotStandby: true,
10976
- hotStandbyState: "Test string",
10977
- },
10978
10957
  hostErrorTimeoutSeconds: 42,
10979
10958
  instanceTerminationAction: "Test string",
10980
10959
  latencyTolerant: true,
@@ -16226,6 +16205,14 @@ gapi.load('client', async () => {
16226
16205
  "Test string"
16227
16206
  ],
16228
16207
  });
16208
+ /** Bulk create a set of disks. */
16209
+ await gapi.client.compute.regionDisks.bulkInsert({
16210
+ project: "Test string",
16211
+ region: "Test string",
16212
+ requestId: "Test string",
16213
+ }, {
16214
+ sourceConsistencyGroupPolicy: "Test string",
16215
+ });
16229
16216
  /**
16230
16217
  * 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
16218
  * snapshots in a project different from the source disk project.
@@ -18417,10 +18404,6 @@ gapi.load('client', async () => {
18417
18404
  availabilityDomain: 42,
18418
18405
  currentCpus: 42,
18419
18406
  currentMemoryMb: "Test string",
18420
- dynamicResizeProperties: {
18421
- enableHotStandby: true,
18422
- hotStandbyState: "Test string",
18423
- },
18424
18407
  hostErrorTimeoutSeconds: 42,
18425
18408
  instanceTerminationAction: "Test string",
18426
18409
  latencyTolerant: true,
@@ -18741,10 +18724,6 @@ gapi.load('client', async () => {
18741
18724
  availabilityDomain: 42,
18742
18725
  currentCpus: 42,
18743
18726
  currentMemoryMb: "Test string",
18744
- dynamicResizeProperties: {
18745
- enableHotStandby: true,
18746
- hotStandbyState: "Test string",
18747
- },
18748
18727
  hostErrorTimeoutSeconds: 42,
18749
18728
  instanceTerminationAction: "Test string",
18750
18729
  latencyTolerant: true,
@@ -18804,6 +18783,9 @@ gapi.load('client', async () => {
18804
18783
  constraints: {
18805
18784
  maxCount: 42,
18806
18785
  },
18786
+ names: [
18787
+ "Test string"
18788
+ ],
18807
18789
  preference: "Test string",
18808
18790
  }
18809
18791
  },
@@ -19079,10 +19061,6 @@ gapi.load('client', async () => {
19079
19061
  availabilityDomain: 42,
19080
19062
  currentCpus: 42,
19081
19063
  currentMemoryMb: "Test string",
19082
- dynamicResizeProperties: {
19083
- enableHotStandby: true,
19084
- hotStandbyState: "Test string",
19085
- },
19086
19064
  hostErrorTimeoutSeconds: 42,
19087
19065
  instanceTerminationAction: "Test string",
19088
19066
  latencyTolerant: true,
@@ -20559,7 +20537,10 @@ gapi.load('client', async () => {
20559
20537
  region: "Test string",
20560
20538
  returnPartialSuccess: true,
20561
20539
  });
20562
- /** Patches the specified policy with the data included in the request. */
20540
+ /**
20541
+ * 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
20542
+ * update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
20543
+ */
20563
20544
  await gapi.client.compute.regionSecurityPolicies.patch({
20564
20545
  paths: "Test string",
20565
20546
  project: "Test string",
@@ -20787,12 +20768,13 @@ gapi.load('client', async () => {
20787
20768
  }
20788
20769
  ],
20789
20770
  });
20790
- /** Patches a rule at the specified priority. */
20771
+ /** Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. */
20791
20772
  await gapi.client.compute.regionSecurityPolicies.patchRule({
20792
20773
  priority: 42,
20793
20774
  project: "Test string",
20794
20775
  region: "Test string",
20795
20776
  securityPolicy: "Test string",
20777
+ updateMask: "Test string",
20796
20778
  validateOnly: true,
20797
20779
  }, {
20798
20780
  action: "Test string",
@@ -21573,6 +21555,7 @@ gapi.load('client', async () => {
21573
21555
  urlRewrite: {
21574
21556
  hostRewrite: "Test string",
21575
21557
  pathPrefixRewrite: "Test string",
21558
+ pathTemplateRewrite: "Test string",
21576
21559
  },
21577
21560
  weightedBackendServices: [
21578
21561
  {
@@ -21720,6 +21703,7 @@ gapi.load('client', async () => {
21720
21703
  urlRewrite: {
21721
21704
  hostRewrite: "Test string",
21722
21705
  pathPrefixRewrite: "Test string",
21706
+ pathTemplateRewrite: "Test string",
21723
21707
  },
21724
21708
  weightedBackendServices: [
21725
21709
  {
@@ -21858,6 +21842,7 @@ gapi.load('client', async () => {
21858
21842
  urlRewrite: {
21859
21843
  hostRewrite: "Test string",
21860
21844
  pathPrefixRewrite: "Test string",
21845
+ pathTemplateRewrite: "Test string",
21861
21846
  },
21862
21847
  weightedBackendServices: [
21863
21848
  {
@@ -21980,6 +21965,7 @@ gapi.load('client', async () => {
21980
21965
  filterMatchCriteria: "Test string",
21981
21966
  }
21982
21967
  ],
21968
+ pathTemplateMatch: "Test string",
21983
21969
  prefixMatch: "Test string",
21984
21970
  queryParameterMatches: [
21985
21971
  {
@@ -22051,6 +22037,7 @@ gapi.load('client', async () => {
22051
22037
  urlRewrite: {
22052
22038
  hostRewrite: "Test string",
22053
22039
  pathPrefixRewrite: "Test string",
22040
+ pathTemplateRewrite: "Test string",
22054
22041
  },
22055
22042
  weightedBackendServices: [
22056
22043
  {
@@ -22216,6 +22203,7 @@ gapi.load('client', async () => {
22216
22203
  urlRewrite: {
22217
22204
  hostRewrite: "Test string",
22218
22205
  pathPrefixRewrite: "Test string",
22206
+ pathTemplateRewrite: "Test string",
22219
22207
  },
22220
22208
  weightedBackendServices: [
22221
22209
  {
@@ -22363,6 +22351,7 @@ gapi.load('client', async () => {
22363
22351
  urlRewrite: {
22364
22352
  hostRewrite: "Test string",
22365
22353
  pathPrefixRewrite: "Test string",
22354
+ pathTemplateRewrite: "Test string",
22366
22355
  },
22367
22356
  weightedBackendServices: [
22368
22357
  {
@@ -22501,6 +22490,7 @@ gapi.load('client', async () => {
22501
22490
  urlRewrite: {
22502
22491
  hostRewrite: "Test string",
22503
22492
  pathPrefixRewrite: "Test string",
22493
+ pathTemplateRewrite: "Test string",
22504
22494
  },
22505
22495
  weightedBackendServices: [
22506
22496
  {
@@ -22623,6 +22613,7 @@ gapi.load('client', async () => {
22623
22613
  filterMatchCriteria: "Test string",
22624
22614
  }
22625
22615
  ],
22616
+ pathTemplateMatch: "Test string",
22626
22617
  prefixMatch: "Test string",
22627
22618
  queryParameterMatches: [
22628
22619
  {
@@ -22694,6 +22685,7 @@ gapi.load('client', async () => {
22694
22685
  urlRewrite: {
22695
22686
  hostRewrite: "Test string",
22696
22687
  pathPrefixRewrite: "Test string",
22688
+ pathTemplateRewrite: "Test string",
22697
22689
  },
22698
22690
  weightedBackendServices: [
22699
22691
  {
@@ -22846,6 +22838,7 @@ gapi.load('client', async () => {
22846
22838
  urlRewrite: {
22847
22839
  hostRewrite: "Test string",
22848
22840
  pathPrefixRewrite: "Test string",
22841
+ pathTemplateRewrite: "Test string",
22849
22842
  },
22850
22843
  weightedBackendServices: [
22851
22844
  {
@@ -22993,6 +22986,7 @@ gapi.load('client', async () => {
22993
22986
  urlRewrite: {
22994
22987
  hostRewrite: "Test string",
22995
22988
  pathPrefixRewrite: "Test string",
22989
+ pathTemplateRewrite: "Test string",
22996
22990
  },
22997
22991
  weightedBackendServices: [
22998
22992
  {
@@ -23131,6 +23125,7 @@ gapi.load('client', async () => {
23131
23125
  urlRewrite: {
23132
23126
  hostRewrite: "Test string",
23133
23127
  pathPrefixRewrite: "Test string",
23128
+ pathTemplateRewrite: "Test string",
23134
23129
  },
23135
23130
  weightedBackendServices: [
23136
23131
  {
@@ -23253,6 +23248,7 @@ gapi.load('client', async () => {
23253
23248
  filterMatchCriteria: "Test string",
23254
23249
  }
23255
23250
  ],
23251
+ pathTemplateMatch: "Test string",
23256
23252
  prefixMatch: "Test string",
23257
23253
  queryParameterMatches: [
23258
23254
  {
@@ -23324,6 +23320,7 @@ gapi.load('client', async () => {
23324
23320
  urlRewrite: {
23325
23321
  hostRewrite: "Test string",
23326
23322
  pathPrefixRewrite: "Test string",
23323
+ pathTemplateRewrite: "Test string",
23327
23324
  },
23328
23325
  weightedBackendServices: [
23329
23326
  {
@@ -23466,6 +23463,7 @@ gapi.load('client', async () => {
23466
23463
  urlRewrite: {
23467
23464
  hostRewrite: "Test string",
23468
23465
  pathPrefixRewrite: "Test string",
23466
+ pathTemplateRewrite: "Test string",
23469
23467
  },
23470
23468
  weightedBackendServices: [
23471
23469
  {
@@ -23613,6 +23611,7 @@ gapi.load('client', async () => {
23613
23611
  urlRewrite: {
23614
23612
  hostRewrite: "Test string",
23615
23613
  pathPrefixRewrite: "Test string",
23614
+ pathTemplateRewrite: "Test string",
23616
23615
  },
23617
23616
  weightedBackendServices: [
23618
23617
  {
@@ -23751,6 +23750,7 @@ gapi.load('client', async () => {
23751
23750
  urlRewrite: {
23752
23751
  hostRewrite: "Test string",
23753
23752
  pathPrefixRewrite: "Test string",
23753
+ pathTemplateRewrite: "Test string",
23754
23754
  },
23755
23755
  weightedBackendServices: [
23756
23756
  {
@@ -23873,6 +23873,7 @@ gapi.load('client', async () => {
23873
23873
  filterMatchCriteria: "Test string",
23874
23874
  }
23875
23875
  ],
23876
+ pathTemplateMatch: "Test string",
23876
23877
  prefixMatch: "Test string",
23877
23878
  queryParameterMatches: [
23878
23879
  {
@@ -23944,6 +23945,7 @@ gapi.load('client', async () => {
23944
23945
  urlRewrite: {
23945
23946
  hostRewrite: "Test string",
23946
23947
  pathPrefixRewrite: "Test string",
23948
+ pathTemplateRewrite: "Test string",
23947
23949
  },
23948
23950
  weightedBackendServices: [
23949
23951
  {
@@ -25732,8 +25734,8 @@ gapi.load('client', async () => {
25732
25734
  returnPartialSuccess: true,
25733
25735
  });
25734
25736
  /**
25735
- * 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,
25736
- * and removeRule instead.
25737
+ * 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
25738
+ * update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
25737
25739
  */
25738
25740
  await gapi.client.compute.securityPolicies.patch({
25739
25741
  paths: "Test string",
@@ -28067,6 +28069,7 @@ gapi.load('client', async () => {
28067
28069
  urlRewrite: {
28068
28070
  hostRewrite: "Test string",
28069
28071
  pathPrefixRewrite: "Test string",
28072
+ pathTemplateRewrite: "Test string",
28070
28073
  },
28071
28074
  weightedBackendServices: [
28072
28075
  {
@@ -28214,6 +28217,7 @@ gapi.load('client', async () => {
28214
28217
  urlRewrite: {
28215
28218
  hostRewrite: "Test string",
28216
28219
  pathPrefixRewrite: "Test string",
28220
+ pathTemplateRewrite: "Test string",
28217
28221
  },
28218
28222
  weightedBackendServices: [
28219
28223
  {
@@ -28352,6 +28356,7 @@ gapi.load('client', async () => {
28352
28356
  urlRewrite: {
28353
28357
  hostRewrite: "Test string",
28354
28358
  pathPrefixRewrite: "Test string",
28359
+ pathTemplateRewrite: "Test string",
28355
28360
  },
28356
28361
  weightedBackendServices: [
28357
28362
  {
@@ -28474,6 +28479,7 @@ gapi.load('client', async () => {
28474
28479
  filterMatchCriteria: "Test string",
28475
28480
  }
28476
28481
  ],
28482
+ pathTemplateMatch: "Test string",
28477
28483
  prefixMatch: "Test string",
28478
28484
  queryParameterMatches: [
28479
28485
  {
@@ -28545,6 +28551,7 @@ gapi.load('client', async () => {
28545
28551
  urlRewrite: {
28546
28552
  hostRewrite: "Test string",
28547
28553
  pathPrefixRewrite: "Test string",
28554
+ pathTemplateRewrite: "Test string",
28548
28555
  },
28549
28556
  weightedBackendServices: [
28550
28557
  {
@@ -28707,6 +28714,7 @@ gapi.load('client', async () => {
28707
28714
  urlRewrite: {
28708
28715
  hostRewrite: "Test string",
28709
28716
  pathPrefixRewrite: "Test string",
28717
+ pathTemplateRewrite: "Test string",
28710
28718
  },
28711
28719
  weightedBackendServices: [
28712
28720
  {
@@ -28854,6 +28862,7 @@ gapi.load('client', async () => {
28854
28862
  urlRewrite: {
28855
28863
  hostRewrite: "Test string",
28856
28864
  pathPrefixRewrite: "Test string",
28865
+ pathTemplateRewrite: "Test string",
28857
28866
  },
28858
28867
  weightedBackendServices: [
28859
28868
  {
@@ -28992,6 +29001,7 @@ gapi.load('client', async () => {
28992
29001
  urlRewrite: {
28993
29002
  hostRewrite: "Test string",
28994
29003
  pathPrefixRewrite: "Test string",
29004
+ pathTemplateRewrite: "Test string",
28995
29005
  },
28996
29006
  weightedBackendServices: [
28997
29007
  {
@@ -29114,6 +29124,7 @@ gapi.load('client', async () => {
29114
29124
  filterMatchCriteria: "Test string",
29115
29125
  }
29116
29126
  ],
29127
+ pathTemplateMatch: "Test string",
29117
29128
  prefixMatch: "Test string",
29118
29129
  queryParameterMatches: [
29119
29130
  {
@@ -29185,6 +29196,7 @@ gapi.load('client', async () => {
29185
29196
  urlRewrite: {
29186
29197
  hostRewrite: "Test string",
29187
29198
  pathPrefixRewrite: "Test string",
29199
+ pathTemplateRewrite: "Test string",
29188
29200
  },
29189
29201
  weightedBackendServices: [
29190
29202
  {
@@ -29335,6 +29347,7 @@ gapi.load('client', async () => {
29335
29347
  urlRewrite: {
29336
29348
  hostRewrite: "Test string",
29337
29349
  pathPrefixRewrite: "Test string",
29350
+ pathTemplateRewrite: "Test string",
29338
29351
  },
29339
29352
  weightedBackendServices: [
29340
29353
  {
@@ -29482,6 +29495,7 @@ gapi.load('client', async () => {
29482
29495
  urlRewrite: {
29483
29496
  hostRewrite: "Test string",
29484
29497
  pathPrefixRewrite: "Test string",
29498
+ pathTemplateRewrite: "Test string",
29485
29499
  },
29486
29500
  weightedBackendServices: [
29487
29501
  {
@@ -29620,6 +29634,7 @@ gapi.load('client', async () => {
29620
29634
  urlRewrite: {
29621
29635
  hostRewrite: "Test string",
29622
29636
  pathPrefixRewrite: "Test string",
29637
+ pathTemplateRewrite: "Test string",
29623
29638
  },
29624
29639
  weightedBackendServices: [
29625
29640
  {
@@ -29742,6 +29757,7 @@ gapi.load('client', async () => {
29742
29757
  filterMatchCriteria: "Test string",
29743
29758
  }
29744
29759
  ],
29760
+ pathTemplateMatch: "Test string",
29745
29761
  prefixMatch: "Test string",
29746
29762
  queryParameterMatches: [
29747
29763
  {
@@ -29813,6 +29829,7 @@ gapi.load('client', async () => {
29813
29829
  urlRewrite: {
29814
29830
  hostRewrite: "Test string",
29815
29831
  pathPrefixRewrite: "Test string",
29832
+ pathTemplateRewrite: "Test string",
29816
29833
  },
29817
29834
  weightedBackendServices: [
29818
29835
  {
@@ -29957,6 +29974,7 @@ gapi.load('client', async () => {
29957
29974
  urlRewrite: {
29958
29975
  hostRewrite: "Test string",
29959
29976
  pathPrefixRewrite: "Test string",
29977
+ pathTemplateRewrite: "Test string",
29960
29978
  },
29961
29979
  weightedBackendServices: [
29962
29980
  {
@@ -30104,6 +30122,7 @@ gapi.load('client', async () => {
30104
30122
  urlRewrite: {
30105
30123
  hostRewrite: "Test string",
30106
30124
  pathPrefixRewrite: "Test string",
30125
+ pathTemplateRewrite: "Test string",
30107
30126
  },
30108
30127
  weightedBackendServices: [
30109
30128
  {
@@ -30242,6 +30261,7 @@ gapi.load('client', async () => {
30242
30261
  urlRewrite: {
30243
30262
  hostRewrite: "Test string",
30244
30263
  pathPrefixRewrite: "Test string",
30264
+ pathTemplateRewrite: "Test string",
30245
30265
  },
30246
30266
  weightedBackendServices: [
30247
30267
  {
@@ -30364,6 +30384,7 @@ gapi.load('client', async () => {
30364
30384
  filterMatchCriteria: "Test string",
30365
30385
  }
30366
30386
  ],
30387
+ pathTemplateMatch: "Test string",
30367
30388
  prefixMatch: "Test string",
30368
30389
  queryParameterMatches: [
30369
30390
  {
@@ -30435,6 +30456,7 @@ gapi.load('client', async () => {
30435
30456
  urlRewrite: {
30436
30457
  hostRewrite: "Test string",
30437
30458
  pathPrefixRewrite: "Test string",
30459
+ pathTemplateRewrite: "Test string",
30438
30460
  },
30439
30461
  weightedBackendServices: [
30440
30462
  {
@@ -31015,10 +31037,6 @@ gapi.load('client', async () => {
31015
31037
  availabilityDomain: 42,
31016
31038
  currentCpus: 42,
31017
31039
  currentMemoryMb: "Test string",
31018
- dynamicResizeProperties: {
31019
- enableHotStandby: true,
31020
- hotStandbyState: "Test string",
31021
- },
31022
31040
  hostErrorTimeoutSeconds: 42,
31023
31041
  instanceTerminationAction: "Test string",
31024
31042
  latencyTolerant: true,
@@ -31339,10 +31357,6 @@ gapi.load('client', async () => {
31339
31357
  availabilityDomain: 42,
31340
31358
  currentCpus: 42,
31341
31359
  currentMemoryMb: "Test string",
31342
- dynamicResizeProperties: {
31343
- enableHotStandby: true,
31344
- hotStandbyState: "Test string",
31345
- },
31346
31360
  hostErrorTimeoutSeconds: 42,
31347
31361
  instanceTerminationAction: "Test string",
31348
31362
  latencyTolerant: true,
@@ -31402,6 +31416,9 @@ gapi.load('client', async () => {
31402
31416
  constraints: {
31403
31417
  maxCount: 42,
31404
31418
  },
31419
+ names: [
31420
+ "Test string"
31421
+ ],
31405
31422
  preference: "Test string",
31406
31423
  }
31407
31424
  },
@@ -31428,7 +31445,6 @@ gapi.load('client', async () => {
31428
31445
  },
31429
31446
  validUntilTime: "Test string",
31430
31447
  },
31431
- region: "Test string",
31432
31448
  selfLink: "Test string",
31433
31449
  selfLinkWithId: "Test string",
31434
31450
  state: "Test string",