@maxim_mazurok/gapi.client.compute-alpha 0.0.20221101 → 0.0.20221126

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 +299 -52
  2. package/package.json +1 -1
  3. package/readme.md +17 -7
  4. package/tests.ts +204 -10
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: 20221101
12
+ // Revision: 20221126
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -551,7 +551,7 @@ declare namespace gapi.client {
551
551
  provisionedIops?: string;
552
552
  /** Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124. */
553
553
  provisionedThroughput?: string;
554
- /** URLs of the zones where the disk should be replicated to. Only applicable for regional resources. */
554
+ /** URLs of the zones where the disk should be replicated to. Only applicable for regional resources. Replica zones must have 1 zone same as the instance zone. */
555
555
  replicaZones?: string[];
556
556
  /**
557
557
  * Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values
@@ -953,7 +953,8 @@ declare namespace gapi.client {
953
953
  /**
954
954
  * A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on
955
955
  * balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and [0.1,1.0]. You cannot configure a setting
956
- * larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service.
956
+ * larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service. Not available with backends that don't
957
+ * support using a balancingMode. This includes backends such as global internet NEGs, regional serverless NEGs, and PSC NEGs.
957
958
  */
958
959
  capacityScaler?: number;
959
960
  /** An optional description of this resource. Provide this property when you create the resource. */
@@ -1574,15 +1575,20 @@ declare namespace gapi.client {
1574
1575
  /** Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. */
1575
1576
  enable?: boolean;
1576
1577
  /**
1577
- * This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs.
1578
- * One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
1578
+ * Deprecated in favor of optionalMode. This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields
1579
+ * should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
1579
1580
  */
1580
1581
  optional?: string;
1581
1582
  /**
1582
- * This field can only be specified if logging is enabled for this backend service and "logConfig.optional" was set to CUSTOM. Contains a list of optional fields you want to include in
1583
- * the logs. For example: serverInstance, serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace
1583
+ * This field can only be specified if logging is enabled for this backend service and "logConfig.optionalMode" was set to CUSTOM. Contains a list of optional fields you want to
1584
+ * include in the logs. For example: serverInstance, serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace
1584
1585
  */
1585
1586
  optionalFields?: string[];
1587
+ /**
1588
+ * This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs.
1589
+ * One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
1590
+ */
1591
+ optionalMode?: string;
1586
1592
  /**
1587
1593
  * This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load
1588
1594
  * balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
@@ -2541,10 +2547,8 @@ declare namespace gapi.client {
2541
2547
  }
2542
2548
  interface DisksStopAsyncReplicationRequest {
2543
2549
  /**
2544
- * The secondary disk to stop asynchronous replication to. Supplied if and only if the target disk is a primary disk in an asynchronously replicated pair. You can provide this as a
2545
- * partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk -
2546
- * https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk -
2547
- * zones/zone/disks/disk - regions/region/disks/disk
2550
+ * [Deprecated] The secondary disk to stop asynchronous replication to. This field will not be included in the beta or v1 APIs and will be removed from the alpha API in the near
2551
+ * future.
2548
2552
  */
2549
2553
  asyncSecondaryDisk?: string;
2550
2554
  }
@@ -2716,7 +2720,7 @@ declare namespace gapi.client {
2716
2720
  metadatas?: { [P in string]: string };
2717
2721
  /**
2718
2722
  * The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at
2719
- * most 63 characters and match /[A-Z0-9_]+/.
2723
+ * most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
2720
2724
  */
2721
2725
  reason?: string;
2722
2726
  }
@@ -3042,7 +3046,7 @@ declare namespace gapi.client {
3042
3046
  id?: string;
3043
3047
  /** [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies */
3044
3048
  kind?: string;
3045
- /** Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by GCP which uniquely identifies the Organization Firewall Policy. */
3049
+ /** Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy. */
3046
3050
  name?: string;
3047
3051
  /** [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies. */
3048
3052
  parent?: string;
@@ -3244,9 +3248,9 @@ declare namespace gapi.client {
3244
3248
  /** This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region. */
3245
3249
  allowPscGlobalAccess?: boolean;
3246
3250
  /**
3247
- * This field is used along with the backend_service field for Internal TCP/UDP Load Balancing or Network Load Balancing, or with the target field for internal and external
3248
- * TargetInstance. You can only use one of ports and port_range, or allPorts. The three are mutually exclusive. For TCP, UDP and SCTP traffic, packets addressed to any ports will be
3249
- * forwarded to the target or backendService.
3251
+ * This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and
3252
+ * external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the
3253
+ * first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive.
3250
3254
  */
3251
3255
  allPorts?: boolean;
3252
3256
  /**
@@ -3254,6 +3258,11 @@ declare namespace gapi.client {
3254
3258
  * load balancer types.
3255
3259
  */
3256
3260
  backendService?: string;
3261
+ /**
3262
+ * [Output Only] The URL for the corresponding base Forwarding Rule. By base Forwarding Rule, we mean the Forwarding Rule that has the same IP address, protocol, and port settings with
3263
+ * the current Forwarding Rule, but without sourceIPRanges specified. Always empty if the current Forwarding Rule does not have sourceIPRanges specified.
3264
+ */
3265
+ baseForwardingRule?: string;
3257
3266
  /** [Output Only] Creation timestamp in RFC3339 text format. */
3258
3267
  creationTimestamp?: string;
3259
3268
  /** An optional description of this resource. Provide this property when you create the resource. */
@@ -3334,17 +3343,20 @@ declare namespace gapi.client {
3334
3343
  /** This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field. */
3335
3344
  noAutomateDnsZone?: boolean;
3336
3345
  /**
3337
- * This field can be used only if: - Load balancing scheme is one of EXTERNAL, INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or SCTP. Packets addressed to
3338
- * ports in the specified range will be forwarded to target or backend_service. You can only use one of ports, port_range, or allPorts. The three are mutually exclusive. Forwarding
3339
- * rules with the same [IPAddress, IPProtocol] pair must have disjoint ports. Some types of forwarding target have constraints on the acceptable ports. For more information, see [Port
3340
- * specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#port_specifications). @pattern: \\d+(?:-\\d+)?
3346
+ * This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By backend service-based network load balancers, target pool-based network load balancers, internal proxy
3347
+ * load balancers, external proxy load balancers, Traffic Director, external protocol forwarding, and Classic VPN. Some products have restrictions on what ports can be used. See port
3348
+ * specifications for details. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The ports, port_range, and
3349
+ * allPorts fields are mutually exclusive. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping
3350
+ * portRanges. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping
3351
+ * portRanges. @pattern: \\d+(?:-\\d+)?
3341
3352
  */
3342
3353
  portRange?: string;
3343
3354
  /**
3344
- * The ports field is only supported when the forwarding rule references a backend_service directly. Only packets addressed to the [specified list of
3345
- * ports]((https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#port_specifications)) are forwarded to backends. You can only use one of ports and port_range, or
3346
- * allPorts. The three are mutually exclusive. You can specify a list of up to five ports, which can be non-contiguous. Forwarding rules with the same [IPAddress, IPProtocol] pair must
3347
- * have disjoint ports. @pattern: \\d+(?:-\\d+)?
3355
+ * This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal protocol
3356
+ * forwarding. You can specify a list of up to five ports by number, separated by commas. The ports can be contiguous or discontiguous. Only packets addressed to these ports will be
3357
+ * forwarded to the backends configured with this forwarding rule. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and
3358
+ * cannot share any values defined in ports. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair,
3359
+ * and cannot share any values defined in ports. The ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\d+(?:-\\d+)?
3348
3360
  */
3349
3361
  ports?: string[];
3350
3362
  /** [Output Only] The PSC connection id of the PSC Forwarding Rule. */
@@ -3908,16 +3920,18 @@ declare namespace gapi.client {
3908
3920
  */
3909
3921
  fingerprint?: string;
3910
3922
  /**
3911
- * A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10. HealthCheck resources must have portSpecification=USE_SERVING_PORT or
3912
- * portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be
3913
- * global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region
3914
- * as zones of NEGs.
3923
+ * A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global
3924
+ * HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be
3925
+ * regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks
3926
+ * must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT
3927
+ * NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT
3928
+ * NetworkEndpointGroups.
3915
3929
  */
3916
3930
  healthChecks?: string[];
3917
3931
  /**
3918
3932
  * Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth
3919
3933
  * message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all
3920
- * health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. .
3934
+ * health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService.
3921
3935
  */
3922
3936
  healthStatusAggregationPolicy?: string;
3923
3937
  /**
@@ -3936,7 +3950,10 @@ declare namespace gapi.client {
3936
3950
  * character, which cannot be a dash.
3937
3951
  */
3938
3952
  name?: string;
3939
- /** A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. */
3953
+ /**
3954
+ * A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService.
3955
+ * For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
3956
+ */
3940
3957
  networkEndpointGroups?: string[];
3941
3958
  /**
3942
3959
  * A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional
@@ -4908,11 +4925,9 @@ declare namespace gapi.client {
4908
4925
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
4909
4926
  id?: string;
4910
4927
  /**
4911
- * Encrypts or decrypts data for an instance with a customer-supplied encryption key. If you are creating a new instance, this field encrypts the local SSD and in-memory contents of
4912
- * the instance using a key that you provide. If you are restarting an instance protected with a customer-supplied encryption key, you must provide the correct key in order to
4913
- * successfully restart the instance. If you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an
4914
- * automatically generated key and you do not need to provide a key to start the instance later. Instance templates do not store customer-supplied encryption keys, so you cannot use
4915
- * your own keys to encrypt local SSDs and in-memory content in a managed instance group.
4928
+ * Encrypts suspended data for an instance with a customer-managed encryption key. If you are creating a new instance, this field will encrypt the local SSD and in-memory contents of
4929
+ * the instance during the suspend operation. If you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an
4930
+ * automatically generated key during the suspend operation.
4916
4931
  */
4917
4932
  instanceEncryptionKey?: CustomerEncryptionKey;
4918
4933
  /** KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. */
@@ -5395,6 +5410,8 @@ declare namespace gapi.client {
5395
5410
  onHealthCheck?: string;
5396
5411
  }
5397
5412
  interface InstanceGroupManagerInstanceLifecyclePolicy {
5413
+ /** Defines behaviour for all instance or failures */
5414
+ defaultActionOnFailure?: string;
5398
5415
  /**
5399
5416
  * A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they
5400
5417
  * are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are
@@ -6759,8 +6776,6 @@ declare namespace gapi.client {
6759
6776
  * are the ranges that we recommend.
6760
6777
  */
6761
6778
  bgpPeerAsnRanges?: InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange[];
6762
- /** [Output Only] Network Connectivity Center constraints, which can take one of the following values: NCC_UNCONSTRAINED, NCC_SPOKE_REQUIRED */
6763
- networkConnectivityCenter?: string;
6764
6779
  }
6765
6780
  interface InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange {
6766
6781
  max?: number;
@@ -9214,7 +9229,7 @@ declare namespace gapi.client {
9214
9229
  payloadName?: string;
9215
9230
  /**
9216
9231
  * Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range
9217
- * between 600 seconds to 3600 seconds. Nanos are disallowed.
9232
+ * between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
9218
9233
  */
9219
9234
  resendInterval?: Duration;
9220
9235
  /** How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number. */
@@ -10345,6 +10360,63 @@ declare namespace gapi.client {
10345
10360
  message?: string;
10346
10361
  };
10347
10362
  }
10363
+ interface QueuedResourcesAggregatedList {
10364
+ /** [Output Only] Unique identifier for the resource; defined by the server. */
10365
+ id?: string;
10366
+ /** A list of QueuedResourcesScopedList resources. */
10367
+ items?: { [P in string]: QueuedResourcesScopedList };
10368
+ /** [Output Only] Type of resource. Always compute#queuedResourcesAggregatedList for lists of QueuedResource. */
10369
+ kind?: string;
10370
+ /**
10371
+ * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the
10372
+ * query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
10373
+ */
10374
+ nextPageToken?: string;
10375
+ /** [Output Only] Server-defined URL for this resource. */
10376
+ selfLink?: string;
10377
+ /** [Output Only] Unreachable resources. */
10378
+ unreachables?: string[];
10379
+ /** [Output Only] Informational warning message. */
10380
+ warning?: {
10381
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
10382
+ code?: string;
10383
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
10384
+ data?: Array<{
10385
+ /**
10386
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone,
10387
+ * this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning
10388
+ * about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
10389
+ */
10390
+ key?: string;
10391
+ /** [Output Only] A warning data value corresponding to the key. */
10392
+ value?: string;
10393
+ }>;
10394
+ /** [Output Only] A human-readable description of the warning code. */
10395
+ message?: string;
10396
+ };
10397
+ }
10398
+ interface QueuedResourcesScopedList {
10399
+ /** List of QueuedResources contained in this scope. */
10400
+ queuedResources?: QueuedResource[];
10401
+ /** Informational warning which replaces the list of backend services when the list is empty. */
10402
+ warning?: {
10403
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
10404
+ code?: string;
10405
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
10406
+ data?: Array<{
10407
+ /**
10408
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone,
10409
+ * this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning
10410
+ * about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
10411
+ */
10412
+ key?: string;
10413
+ /** [Output Only] A warning data value corresponding to the key. */
10414
+ value?: string;
10415
+ }>;
10416
+ /** [Output Only] A human-readable description of the warning code. */
10417
+ message?: string;
10418
+ };
10419
+ }
10348
10420
  interface QueuedResourceStatus {
10349
10421
  /** Additional status detail for the FAILED state. */
10350
10422
  failedData?: QueuedResourceStatusFailedData;
@@ -10519,10 +10591,8 @@ declare namespace gapi.client {
10519
10591
  }
10520
10592
  interface RegionDisksStopAsyncReplicationRequest {
10521
10593
  /**
10522
- * The secondary disk to stop asynchronous replication to. Supplied if and only if the target disk is a primary disk in an asynchronously replicated pair. You can provide this as a
10523
- * partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk -
10524
- * https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk -
10525
- * zones/zone/disks/disk - regions/region/disks/disk
10594
+ * [Deprecated] The secondary disk to stop asynchronous replication to. This field will not be included in the beta or v1 APIs and will be removed from the alpha API in the near
10595
+ * future.
10526
10596
  */
10527
10597
  asyncSecondaryDisk?: string;
10528
10598
  }
@@ -11088,7 +11158,7 @@ declare namespace gapi.client {
11088
11158
  * multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
11089
11159
  */
11090
11160
  amount?: string;
11091
- /** Type of resource for which this commitment applies. Possible values are VCPU and MEMORY */
11161
+ /** Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR. */
11092
11162
  type?: string;
11093
11163
  }
11094
11164
  interface ResourceGroupReference {
@@ -12627,6 +12697,11 @@ declare namespace gapi.client {
12627
12697
  * 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.
12628
12698
  */
12629
12699
  enforceOnKey?: string;
12700
+ /**
12701
+ * If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3
12702
+ * enforce_on_key_configs. If enforce_on_key_configs is specified, enforce_on_key must not be specified.
12703
+ */
12704
+ enforceOnKeyConfigs?: SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig[];
12630
12705
  /**
12631
12706
  * Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie
12632
12707
  * whose value is taken as the key value.
@@ -12644,6 +12719,24 @@ declare namespace gapi.client {
12644
12719
  /** Threshold at which to begin ratelimiting. */
12645
12720
  rateLimitThreshold?: SecurityPolicyRuleRateLimitOptionsThreshold;
12646
12721
  }
12722
+ interface SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig {
12723
+ /**
12724
+ * Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie
12725
+ * whose value is taken as the key value.
12726
+ */
12727
+ enforceOnKeyName?: string;
12728
+ /**
12729
+ * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the
12730
+ * default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value
12731
+ * of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the
12732
+ * 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 no
12733
+ * 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 whose
12734
+ * name is configured under "enforceOnKeyName". 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 type
12735
+ * 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
12736
+ * 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.
12737
+ */
12738
+ enforceOnKeyType?: string;
12739
+ }
12647
12740
  interface SecurityPolicyRuleRateLimitOptionsRpcStatus {
12648
12741
  /** The status code, which should be an enum value of google.rpc.Code. */
12649
12742
  code?: number;
@@ -31405,6 +31498,8 @@ declare namespace gapi.client {
31405
31498
  uploadType?: string;
31406
31499
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
31407
31500
  userIp?: string;
31501
+ /** Determines whether the customers receive notifications before migration. Only applicable to SF vms. */
31502
+ withExtendedNotifications?: boolean;
31408
31503
  /** The name of the zone for this request. */
31409
31504
  zone: string;
31410
31505
  }): Request<Operation>;
@@ -31544,7 +31639,7 @@ declare namespace gapi.client {
31544
31639
  alt?: string;
31545
31640
  /** JSONP */
31546
31641
  callback?: string;
31547
- /** If true, discard the contents of any attached localSSD partitions. Default value is false (== preserve localSSD data). */
31642
+ /** If true, discard the contents of any attached localSSD partitions. Default value is false. */
31548
31643
  discardLocalSsd?: boolean;
31549
31644
  /** Selector specifying which fields to include in a partial response. */
31550
31645
  fields?: string;
@@ -31590,7 +31685,7 @@ declare namespace gapi.client {
31590
31685
  alt?: string;
31591
31686
  /** JSONP */
31592
31687
  callback?: string;
31593
- /** If true, discard the contents of any attached localSSD partitions. Default value is false (== preserve localSSD data). */
31688
+ /** If true, discard the contents of any attached localSSD partitions. Default value is false. */
31594
31689
  discardLocalSsd?: boolean;
31595
31690
  /** Selector specifying which fields to include in a partial response. */
31596
31691
  fields?: string;
@@ -33780,7 +33875,7 @@ declare namespace gapi.client {
33780
33875
  body: TestPermissionsRequest): Request<TestPermissionsResponse>;
33781
33876
  }
33782
33877
  interface InterconnectsResource {
33783
- /** Deletes the specified interconnect. */
33878
+ /** Deletes the specified Interconnect. */
33784
33879
  delete(request?: {
33785
33880
  /** V1 error format. */
33786
33881
  "$.xgafv"?: string;
@@ -33818,7 +33913,7 @@ declare namespace gapi.client {
33818
33913
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
33819
33914
  userIp?: string;
33820
33915
  }): Request<Operation>;
33821
- /** Returns the specified interconnect. Get a list of available interconnects by making a list() request. */
33916
+ /** Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. */
33822
33917
  get(request?: {
33823
33918
  /** V1 error format. */
33824
33919
  "$.xgafv"?: string;
@@ -33849,7 +33944,7 @@ declare namespace gapi.client {
33849
33944
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
33850
33945
  userIp?: string;
33851
33946
  }): Request<Interconnect>;
33852
- /** Returns the interconnectDiagnostics for the specified interconnect. */
33947
+ /** Returns the interconnectDiagnostics for the specified Interconnect. */
33853
33948
  getDiagnostics(request?: {
33854
33949
  /** V1 error format. */
33855
33950
  "$.xgafv"?: string;
@@ -33913,7 +34008,7 @@ declare namespace gapi.client {
33913
34008
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
33914
34009
  userIp?: string;
33915
34010
  }): Request<Policy>;
33916
- /** Returns the interconnectMacsecConfig for the specified interconnect. */
34011
+ /** Returns the interconnectMacsecConfig for the specified Interconnect. */
33917
34012
  getMacsecConfig(request?: {
33918
34013
  /** V1 error format. */
33919
34014
  "$.xgafv"?: string;
@@ -33944,7 +34039,7 @@ declare namespace gapi.client {
33944
34039
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
33945
34040
  userIp?: string;
33946
34041
  }): Request<InterconnectsGetMacsecConfigResponse>;
33947
- /** Creates a Interconnect in the specified project using the data included in the request. */
34042
+ /** Creates an Interconnect in the specified project using the data included in the request. */
33948
34043
  insert(request: {
33949
34044
  /** V1 error format. */
33950
34045
  "$.xgafv"?: string;
@@ -34018,7 +34113,7 @@ declare namespace gapi.client {
34018
34113
  userIp?: string;
34019
34114
  },
34020
34115
  body: Interconnect): Request<Operation>;
34021
- /** Retrieves the list of interconnect available to the specified project. */
34116
+ /** Retrieves the list of Interconnects available to the specified project. */
34022
34117
  list(request?: {
34023
34118
  /** V1 error format. */
34024
34119
  "$.xgafv"?: string;
@@ -34078,7 +34173,7 @@ declare namespace gapi.client {
34078
34173
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
34079
34174
  userIp?: string;
34080
34175
  }): Request<InterconnectList>;
34081
- /** Updates the specified interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. */
34176
+ /** Updates the specified Interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. */
34082
34177
  patch(request: {
34083
34178
  /** V1 error format. */
34084
34179
  "$.xgafv"?: string;
@@ -54371,6 +54466,92 @@ declare namespace gapi.client {
54371
54466
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
54372
54467
  userIp?: string;
54373
54468
  }): Request<ResourcePolicyList>;
54469
+ /** Modify the specified resource policy. */
54470
+ patch(request: {
54471
+ /** V1 error format. */
54472
+ "$.xgafv"?: string;
54473
+ /** OAuth access token. */
54474
+ access_token?: string;
54475
+ /** Data format for response. */
54476
+ alt?: string;
54477
+ /** JSONP */
54478
+ callback?: string;
54479
+ /** Selector specifying which fields to include in a partial response. */
54480
+ fields?: string;
54481
+ /** 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. */
54482
+ key?: string;
54483
+ /** OAuth 2.0 token for the current user. */
54484
+ oauth_token?: string;
54485
+ /** Returns response with indentations and line breaks. */
54486
+ prettyPrint?: boolean;
54487
+ /** Project ID for this request. */
54488
+ project: string;
54489
+ /** 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. */
54490
+ quotaUser?: string;
54491
+ /** Name of the region for this request. */
54492
+ region: string;
54493
+ /**
54494
+ * 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
54495
+ * 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
54496
+ * 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
54497
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
54498
+ */
54499
+ requestId?: string;
54500
+ /** Id of the resource policy to patch. */
54501
+ resourcePolicy: string;
54502
+ /** update_mask indicates fields to be updated as part of this request. */
54503
+ updateMask?: string;
54504
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
54505
+ upload_protocol?: string;
54506
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
54507
+ uploadType?: string;
54508
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
54509
+ userIp?: string;
54510
+ /** Request body */
54511
+ resource: ResourcePolicy;
54512
+ }): Request<Operation>;
54513
+ patch(request: {
54514
+ /** V1 error format. */
54515
+ "$.xgafv"?: string;
54516
+ /** OAuth access token. */
54517
+ access_token?: string;
54518
+ /** Data format for response. */
54519
+ alt?: string;
54520
+ /** JSONP */
54521
+ callback?: string;
54522
+ /** Selector specifying which fields to include in a partial response. */
54523
+ fields?: string;
54524
+ /** 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. */
54525
+ key?: string;
54526
+ /** OAuth 2.0 token for the current user. */
54527
+ oauth_token?: string;
54528
+ /** Returns response with indentations and line breaks. */
54529
+ prettyPrint?: boolean;
54530
+ /** Project ID for this request. */
54531
+ project: string;
54532
+ /** 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. */
54533
+ quotaUser?: string;
54534
+ /** Name of the region for this request. */
54535
+ region: string;
54536
+ /**
54537
+ * 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
54538
+ * 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
54539
+ * 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
54540
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
54541
+ */
54542
+ requestId?: string;
54543
+ /** Id of the resource policy to patch. */
54544
+ resourcePolicy: string;
54545
+ /** update_mask indicates fields to be updated as part of this request. */
54546
+ updateMask?: string;
54547
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
54548
+ upload_protocol?: string;
54549
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
54550
+ uploadType?: string;
54551
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
54552
+ userIp?: string;
54553
+ },
54554
+ body: ResourcePolicy): Request<Operation>;
54374
54555
  /** Sets the access control policy on the specified resource. Replaces any existing policy. */
54375
54556
  setIamPolicy(request: {
54376
54557
  /** V1 error format. */
@@ -63901,6 +64082,72 @@ declare namespace gapi.client {
63901
64082
  }): Request<Operation>;
63902
64083
  }
63903
64084
  interface ZoneQueuedResourcesResource {
64085
+ /** Retrieves an aggregated list of all of the queued resources in a project across all zones. */
64086
+ aggregatedList(request?: {
64087
+ /** V1 error format. */
64088
+ "$.xgafv"?: string;
64089
+ /** OAuth access token. */
64090
+ access_token?: string;
64091
+ /** Data format for response. */
64092
+ alt?: string;
64093
+ /** JSONP */
64094
+ callback?: string;
64095
+ /** Selector specifying which fields to include in a partial response. */
64096
+ fields?: string;
64097
+ /**
64098
+ * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
64099
+ * and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want
64100
+ * to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering
64101
+ * Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match
64102
+ * substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects
64103
+ * with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
64104
+ * if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each
64105
+ * separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
64106
+ * expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
64107
+ * (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression
64108
+ * with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
64109
+ * quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value
64110
+ * must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
64111
+ */
64112
+ filter?: string;
64113
+ /**
64114
+ * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has
64115
+ * no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or
64116
+ * false, only scopes of the scope types where the resource type is expected to be found will be included.
64117
+ */
64118
+ includeAllScopes?: boolean;
64119
+ /** 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. */
64120
+ key?: string;
64121
+ /**
64122
+ * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can
64123
+ * be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
64124
+ */
64125
+ maxResults?: number;
64126
+ /** OAuth 2.0 token for the current user. */
64127
+ oauth_token?: string;
64128
+ /**
64129
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based
64130
+ * on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
64131
+ * first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
64132
+ */
64133
+ orderBy?: string;
64134
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
64135
+ pageToken?: string;
64136
+ /** Returns response with indentations and line breaks. */
64137
+ prettyPrint?: boolean;
64138
+ /** Project ID for this request. */
64139
+ project: string;
64140
+ /** 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. */
64141
+ quotaUser?: string;
64142
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
64143
+ returnPartialSuccess?: boolean;
64144
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
64145
+ upload_protocol?: string;
64146
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
64147
+ uploadType?: string;
64148
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
64149
+ userIp?: string;
64150
+ }): Request<QueuedResourcesAggregatedList>;
63904
64151
  /** Cancels a QueuedResource. Only a resource in ACCEPTED state may be cancelled. */
63905
64152
  cancel(request?: {
63906
64153
  /** 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.20221101",
3
+ "version": "0.0.20221126",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -1627,17 +1627,17 @@ Returns permissions that a caller has on the specified resource.
1627
1627
  await gapi.client.compute.interconnectRemoteLocations.testIamPermissions({ project: "project", resource: "resource", });
1628
1628
 
1629
1629
  /*
1630
- Deletes the specified interconnect.
1630
+ Deletes the specified Interconnect.
1631
1631
  */
1632
1632
  await gapi.client.compute.interconnects.delete({ interconnect: "interconnect", project: "project", });
1633
1633
 
1634
1634
  /*
1635
- Returns the specified interconnect. Get a list of available interconnects by making a list() request.
1635
+ Returns the specified Interconnect. Get a list of available Interconnects by making a list() request.
1636
1636
  */
1637
1637
  await gapi.client.compute.interconnects.get({ interconnect: "interconnect", project: "project", });
1638
1638
 
1639
1639
  /*
1640
- Returns the interconnectDiagnostics for the specified interconnect.
1640
+ Returns the interconnectDiagnostics for the specified Interconnect.
1641
1641
  */
1642
1642
  await gapi.client.compute.interconnects.getDiagnostics({ interconnect: "interconnect", project: "project", });
1643
1643
 
@@ -1647,22 +1647,22 @@ Gets the access control policy for a resource. May be empty if no such policy or
1647
1647
  await gapi.client.compute.interconnects.getIamPolicy({ project: "project", resource: "resource", });
1648
1648
 
1649
1649
  /*
1650
- Returns the interconnectMacsecConfig for the specified interconnect.
1650
+ Returns the interconnectMacsecConfig for the specified Interconnect.
1651
1651
  */
1652
1652
  await gapi.client.compute.interconnects.getMacsecConfig({ interconnect: "interconnect", project: "project", });
1653
1653
 
1654
1654
  /*
1655
- Creates a Interconnect in the specified project using the data included in the request.
1655
+ Creates an Interconnect in the specified project using the data included in the request.
1656
1656
  */
1657
1657
  await gapi.client.compute.interconnects.insert({ project: "project", });
1658
1658
 
1659
1659
  /*
1660
- Retrieves the list of interconnect available to the specified project.
1660
+ Retrieves the list of Interconnects available to the specified project.
1661
1661
  */
1662
1662
  await gapi.client.compute.interconnects.list({ project: "project", });
1663
1663
 
1664
1664
  /*
1665
- Updates the specified interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
1665
+ Updates the specified Interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
1666
1666
  */
1667
1667
  await gapi.client.compute.interconnects.patch({ interconnect: "interconnect", project: "project", });
1668
1668
 
@@ -3436,6 +3436,11 @@ A list all the resource policies that have been configured for the specified pro
3436
3436
  */
3437
3437
  await gapi.client.compute.resourcePolicies.list({ project: "project", region: "region", });
3438
3438
 
3439
+ /*
3440
+ Modify the specified resource policy.
3441
+ */
3442
+ await gapi.client.compute.resourcePolicies.patch({ project: "project", region: "region", resourcePolicy: "resourcePolicy", });
3443
+
3439
3444
  /*
3440
3445
  Sets the access control policy on the specified resource. Replaces any existing policy.
3441
3446
  */
@@ -4296,6 +4301,11 @@ Waits for the specified Operation resource to return as `DONE` or for the reques
4296
4301
  */
4297
4302
  await gapi.client.compute.zoneOperations.wait({ operation: "operation", project: "project", zone: "zone", });
4298
4303
 
4304
+ /*
4305
+ Retrieves an aggregated list of all of the queued resources in a project across all zones.
4306
+ */
4307
+ await gapi.client.compute.zoneQueuedResources.aggregatedList({ project: "project", });
4308
+
4299
4309
  /*
4300
4310
  Cancels a QueuedResource. Only a resource in ACCEPTED state may be cancelled.
4301
4311
  */
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: 20221101
6
+ // Revision: 20221126
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -968,6 +968,7 @@ gapi.load('client', async () => {
968
968
  optionalFields: [
969
969
  "Test string"
970
970
  ],
971
+ optionalMode: "Test string",
971
972
  sampleRate: 42,
972
973
  },
973
974
  maxStreamDuration: {
@@ -1401,6 +1402,7 @@ gapi.load('client', async () => {
1401
1402
  optionalFields: [
1402
1403
  "Test string"
1403
1404
  ],
1405
+ optionalMode: "Test string",
1404
1406
  sampleRate: 42,
1405
1407
  },
1406
1408
  maxStreamDuration: {
@@ -1954,6 +1956,7 @@ gapi.load('client', async () => {
1954
1956
  optionalFields: [
1955
1957
  "Test string"
1956
1958
  ],
1959
+ optionalMode: "Test string",
1957
1960
  sampleRate: 42,
1958
1961
  },
1959
1962
  maxStreamDuration: {
@@ -3648,6 +3651,7 @@ gapi.load('client', async () => {
3648
3651
  allowPscGlobalAccess: true,
3649
3652
  allPorts: true,
3650
3653
  backendService: "Test string",
3654
+ baseForwardingRule: "Test string",
3651
3655
  creationTimestamp: "Test string",
3652
3656
  description: "Test string",
3653
3657
  fingerprint: "Test string",
@@ -3725,6 +3729,7 @@ gapi.load('client', async () => {
3725
3729
  allowPscGlobalAccess: true,
3726
3730
  allPorts: true,
3727
3731
  backendService: "Test string",
3732
+ baseForwardingRule: "Test string",
3728
3733
  creationTimestamp: "Test string",
3729
3734
  description: "Test string",
3730
3735
  fingerprint: "Test string",
@@ -4106,6 +4111,7 @@ gapi.load('client', async () => {
4106
4111
  allowPscGlobalAccess: true,
4107
4112
  allPorts: true,
4108
4113
  backendService: "Test string",
4114
+ baseForwardingRule: "Test string",
4109
4115
  creationTimestamp: "Test string",
4110
4116
  description: "Test string",
4111
4117
  fingerprint: "Test string",
@@ -4181,6 +4187,7 @@ gapi.load('client', async () => {
4181
4187
  allowPscGlobalAccess: true,
4182
4188
  allPorts: true,
4183
4189
  backendService: "Test string",
4190
+ baseForwardingRule: "Test string",
4184
4191
  creationTimestamp: "Test string",
4185
4192
  description: "Test string",
4186
4193
  fingerprint: "Test string",
@@ -5736,6 +5743,7 @@ gapi.load('client', async () => {
5736
5743
  id: "Test string",
5737
5744
  instanceGroup: "Test string",
5738
5745
  instanceLifecyclePolicy: {
5746
+ defaultActionOnFailure: "Test string",
5739
5747
  forceUpdateOnRepair: "Test string",
5740
5748
  metadataBasedReadinessSignal: {
5741
5749
  timeoutSec: 42,
@@ -5950,6 +5958,7 @@ gapi.load('client', async () => {
5950
5958
  id: "Test string",
5951
5959
  instanceGroup: "Test string",
5952
5960
  instanceLifecyclePolicy: {
5961
+ defaultActionOnFailure: "Test string",
5953
5962
  forceUpdateOnRepair: "Test string",
5954
5963
  metadataBasedReadinessSignal: {
5955
5964
  timeoutSec: 42,
@@ -6344,6 +6353,7 @@ gapi.load('client', async () => {
6344
6353
  id: "Test string",
6345
6354
  instanceGroup: "Test string",
6346
6355
  instanceLifecyclePolicy: {
6356
+ defaultActionOnFailure: "Test string",
6347
6357
  forceUpdateOnRepair: "Test string",
6348
6358
  metadataBasedReadinessSignal: {
6349
6359
  timeoutSec: 42,
@@ -8274,6 +8284,7 @@ gapi.load('client', async () => {
8274
8284
  instance: "Test string",
8275
8285
  project: "Test string",
8276
8286
  requestId: "Test string",
8287
+ withExtendedNotifications: true,
8277
8288
  zone: "Test string",
8278
8289
  });
8279
8290
  /** Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance. */
@@ -9591,7 +9602,6 @@ gapi.load('client', async () => {
9591
9602
  min: 42,
9592
9603
  }
9593
9604
  ],
9594
- networkConnectivityCenter: "Test string",
9595
9605
  },
9596
9606
  creationTimestamp: "Test string",
9597
9607
  customerRouterIpAddress: "Test string",
@@ -9673,7 +9683,6 @@ gapi.load('client', async () => {
9673
9683
  min: 42,
9674
9684
  }
9675
9685
  ],
9676
- networkConnectivityCenter: "Test string",
9677
9686
  },
9678
9687
  creationTimestamp: "Test string",
9679
9688
  customerRouterIpAddress: "Test string",
@@ -9895,18 +9904,18 @@ gapi.load('client', async () => {
9895
9904
  "Test string"
9896
9905
  ],
9897
9906
  });
9898
- /** Deletes the specified interconnect. */
9907
+ /** Deletes the specified Interconnect. */
9899
9908
  await gapi.client.compute.interconnects.delete({
9900
9909
  interconnect: "Test string",
9901
9910
  project: "Test string",
9902
9911
  requestId: "Test string",
9903
9912
  });
9904
- /** Returns the specified interconnect. Get a list of available interconnects by making a list() request. */
9913
+ /** Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. */
9905
9914
  await gapi.client.compute.interconnects.get({
9906
9915
  interconnect: "Test string",
9907
9916
  project: "Test string",
9908
9917
  });
9909
- /** Returns the interconnectDiagnostics for the specified interconnect. */
9918
+ /** Returns the interconnectDiagnostics for the specified Interconnect. */
9910
9919
  await gapi.client.compute.interconnects.getDiagnostics({
9911
9920
  interconnect: "Test string",
9912
9921
  project: "Test string",
@@ -9917,12 +9926,12 @@ gapi.load('client', async () => {
9917
9926
  project: "Test string",
9918
9927
  resource: "Test string",
9919
9928
  });
9920
- /** Returns the interconnectMacsecConfig for the specified interconnect. */
9929
+ /** Returns the interconnectMacsecConfig for the specified Interconnect. */
9921
9930
  await gapi.client.compute.interconnects.getMacsecConfig({
9922
9931
  interconnect: "Test string",
9923
9932
  project: "Test string",
9924
9933
  });
9925
- /** Creates a Interconnect in the specified project using the data included in the request. */
9934
+ /** Creates an Interconnect in the specified project using the data included in the request. */
9926
9935
  await gapi.client.compute.interconnects.insert({
9927
9936
  project: "Test string",
9928
9937
  requestId: "Test string",
@@ -9988,7 +9997,7 @@ gapi.load('client', async () => {
9988
9997
  selfLinkWithId: "Test string",
9989
9998
  state: "Test string",
9990
9999
  });
9991
- /** Retrieves the list of interconnect available to the specified project. */
10000
+ /** Retrieves the list of Interconnects available to the specified project. */
9992
10001
  await gapi.client.compute.interconnects.list({
9993
10002
  filter: "Test string",
9994
10003
  maxResults: 42,
@@ -9997,7 +10006,7 @@ gapi.load('client', async () => {
9997
10006
  project: "Test string",
9998
10007
  returnPartialSuccess: true,
9999
10008
  });
10000
- /** Updates the specified interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. */
10009
+ /** Updates the specified Interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. */
10001
10010
  await gapi.client.compute.interconnects.patch({
10002
10011
  interconnect: "Test string",
10003
10012
  project: "Test string",
@@ -13050,6 +13059,12 @@ gapi.load('client', async () => {
13050
13059
  },
13051
13060
  conformAction: "Test string",
13052
13061
  enforceOnKey: "Test string",
13062
+ enforceOnKeyConfigs: [
13063
+ {
13064
+ enforceOnKeyName: "Test string",
13065
+ enforceOnKeyType: "Test string",
13066
+ }
13067
+ ],
13053
13068
  enforceOnKeyName: "Test string",
13054
13069
  exceedAction: "Test string",
13055
13070
  exceedActionRpcStatus: {
@@ -13284,6 +13299,12 @@ gapi.load('client', async () => {
13284
13299
  },
13285
13300
  conformAction: "Test string",
13286
13301
  enforceOnKey: "Test string",
13302
+ enforceOnKeyConfigs: [
13303
+ {
13304
+ enforceOnKeyName: "Test string",
13305
+ enforceOnKeyType: "Test string",
13306
+ }
13307
+ ],
13287
13308
  enforceOnKeyName: "Test string",
13288
13309
  exceedAction: "Test string",
13289
13310
  exceedActionRpcStatus: {
@@ -13527,6 +13548,12 @@ gapi.load('client', async () => {
13527
13548
  },
13528
13549
  conformAction: "Test string",
13529
13550
  enforceOnKey: "Test string",
13551
+ enforceOnKeyConfigs: [
13552
+ {
13553
+ enforceOnKeyName: "Test string",
13554
+ enforceOnKeyType: "Test string",
13555
+ }
13556
+ ],
13530
13557
  enforceOnKeyName: "Test string",
13531
13558
  exceedAction: "Test string",
13532
13559
  exceedActionRpcStatus: {
@@ -13699,6 +13726,12 @@ gapi.load('client', async () => {
13699
13726
  },
13700
13727
  conformAction: "Test string",
13701
13728
  enforceOnKey: "Test string",
13729
+ enforceOnKeyConfigs: [
13730
+ {
13731
+ enforceOnKeyName: "Test string",
13732
+ enforceOnKeyType: "Test string",
13733
+ }
13734
+ ],
13702
13735
  enforceOnKeyName: "Test string",
13703
13736
  exceedAction: "Test string",
13704
13737
  exceedActionRpcStatus: {
@@ -14658,6 +14691,7 @@ gapi.load('client', async () => {
14658
14691
  optionalFields: [
14659
14692
  "Test string"
14660
14693
  ],
14694
+ optionalMode: "Test string",
14661
14695
  sampleRate: 42,
14662
14696
  },
14663
14697
  maxStreamDuration: {
@@ -15093,6 +15127,7 @@ gapi.load('client', async () => {
15093
15127
  optionalFields: [
15094
15128
  "Test string"
15095
15129
  ],
15130
+ optionalMode: "Test string",
15096
15131
  sampleRate: 42,
15097
15132
  },
15098
15133
  maxStreamDuration: {
@@ -15642,6 +15677,7 @@ gapi.load('client', async () => {
15642
15677
  optionalFields: [
15643
15678
  "Test string"
15644
15679
  ],
15680
+ optionalMode: "Test string",
15645
15681
  sampleRate: 42,
15646
15682
  },
15647
15683
  maxStreamDuration: {
@@ -17372,6 +17408,7 @@ gapi.load('client', async () => {
17372
17408
  id: "Test string",
17373
17409
  instanceGroup: "Test string",
17374
17410
  instanceLifecyclePolicy: {
17411
+ defaultActionOnFailure: "Test string",
17375
17412
  forceUpdateOnRepair: "Test string",
17376
17413
  metadataBasedReadinessSignal: {
17377
17414
  timeoutSec: 42,
@@ -17585,6 +17622,7 @@ gapi.load('client', async () => {
17585
17622
  id: "Test string",
17586
17623
  instanceGroup: "Test string",
17587
17624
  instanceLifecyclePolicy: {
17625
+ defaultActionOnFailure: "Test string",
17588
17626
  forceUpdateOnRepair: "Test string",
17589
17627
  metadataBasedReadinessSignal: {
17590
17628
  timeoutSec: 42,
@@ -17970,6 +18008,7 @@ gapi.load('client', async () => {
17970
18008
  id: "Test string",
17971
18009
  instanceGroup: "Test string",
17972
18010
  instanceLifecyclePolicy: {
18011
+ defaultActionOnFailure: "Test string",
17973
18012
  forceUpdateOnRepair: "Test string",
17974
18013
  metadataBasedReadinessSignal: {
17975
18014
  timeoutSec: 42,
@@ -20298,6 +20337,12 @@ gapi.load('client', async () => {
20298
20337
  },
20299
20338
  conformAction: "Test string",
20300
20339
  enforceOnKey: "Test string",
20340
+ enforceOnKeyConfigs: [
20341
+ {
20342
+ enforceOnKeyName: "Test string",
20343
+ enforceOnKeyType: "Test string",
20344
+ }
20345
+ ],
20301
20346
  enforceOnKeyName: "Test string",
20302
20347
  exceedAction: "Test string",
20303
20348
  exceedActionRpcStatus: {
@@ -20529,6 +20574,12 @@ gapi.load('client', async () => {
20529
20574
  },
20530
20575
  conformAction: "Test string",
20531
20576
  enforceOnKey: "Test string",
20577
+ enforceOnKeyConfigs: [
20578
+ {
20579
+ enforceOnKeyName: "Test string",
20580
+ enforceOnKeyType: "Test string",
20581
+ }
20582
+ ],
20532
20583
  enforceOnKeyName: "Test string",
20533
20584
  exceedAction: "Test string",
20534
20585
  exceedActionRpcStatus: {
@@ -20770,6 +20821,12 @@ gapi.load('client', async () => {
20770
20821
  },
20771
20822
  conformAction: "Test string",
20772
20823
  enforceOnKey: "Test string",
20824
+ enforceOnKeyConfigs: [
20825
+ {
20826
+ enforceOnKeyName: "Test string",
20827
+ enforceOnKeyType: "Test string",
20828
+ }
20829
+ ],
20773
20830
  enforceOnKeyName: "Test string",
20774
20831
  exceedAction: "Test string",
20775
20832
  exceedActionRpcStatus: {
@@ -20945,6 +21002,12 @@ gapi.load('client', async () => {
20945
21002
  },
20946
21003
  conformAction: "Test string",
20947
21004
  enforceOnKey: "Test string",
21005
+ enforceOnKeyConfigs: [
21006
+ {
21007
+ enforceOnKeyName: "Test string",
21008
+ enforceOnKeyType: "Test string",
21009
+ }
21010
+ ],
20948
21011
  enforceOnKeyName: "Test string",
20949
21012
  exceedAction: "Test string",
20950
21013
  exceedActionRpcStatus: {
@@ -24499,6 +24562,103 @@ gapi.load('client', async () => {
24499
24562
  region: "Test string",
24500
24563
  returnPartialSuccess: true,
24501
24564
  });
24565
+ /** Modify the specified resource policy. */
24566
+ await gapi.client.compute.resourcePolicies.patch({
24567
+ project: "Test string",
24568
+ region: "Test string",
24569
+ requestId: "Test string",
24570
+ resourcePolicy: "Test string",
24571
+ updateMask: "Test string",
24572
+ }, {
24573
+ creationTimestamp: "Test string",
24574
+ description: "Test string",
24575
+ diskConsistencyGroupPolicy: {
24576
+ },
24577
+ groupPlacementPolicy: {
24578
+ availabilityDomainCount: 42,
24579
+ collocation: "Test string",
24580
+ locality: "Test string",
24581
+ maxDistance: 42,
24582
+ scope: "Test string",
24583
+ style: "Test string",
24584
+ tpuTopology: "Test string",
24585
+ vmCount: 42,
24586
+ },
24587
+ id: "Test string",
24588
+ instanceSchedulePolicy: {
24589
+ expirationTime: "Test string",
24590
+ startTime: "Test string",
24591
+ timeZone: "Test string",
24592
+ vmStartSchedule: {
24593
+ schedule: "Test string",
24594
+ },
24595
+ vmStopSchedule: {
24596
+ schedule: "Test string",
24597
+ },
24598
+ },
24599
+ kind: "Test string",
24600
+ name: "Test string",
24601
+ region: "Test string",
24602
+ resourceStatus: {
24603
+ instanceSchedulePolicy: {
24604
+ lastRunStartTime: "Test string",
24605
+ nextRunStartTime: "Test string",
24606
+ },
24607
+ },
24608
+ selfLink: "Test string",
24609
+ selfLinkWithId: "Test string",
24610
+ snapshotSchedulePolicy: {
24611
+ retentionPolicy: {
24612
+ maxRetentionDays: 42,
24613
+ onPolicySwitch: "Test string",
24614
+ onSourceDiskDelete: "Test string",
24615
+ },
24616
+ schedule: {
24617
+ dailySchedule: {
24618
+ daysInCycle: 42,
24619
+ duration: "Test string",
24620
+ startTime: "Test string",
24621
+ },
24622
+ hourlySchedule: {
24623
+ duration: "Test string",
24624
+ hoursInCycle: 42,
24625
+ startTime: "Test string",
24626
+ },
24627
+ weeklySchedule: {
24628
+ dayOfWeeks: [
24629
+ {
24630
+ day: "Test string",
24631
+ duration: "Test string",
24632
+ startTime: "Test string",
24633
+ }
24634
+ ],
24635
+ },
24636
+ },
24637
+ snapshotProperties: {
24638
+ chainName: "Test string",
24639
+ guestFlush: true,
24640
+ labels: {
24641
+ A: "Test string"
24642
+ },
24643
+ storageLocations: [
24644
+ "Test string"
24645
+ ],
24646
+ },
24647
+ },
24648
+ status: "Test string",
24649
+ vmMaintenancePolicy: {
24650
+ concurrencyControlGroup: {
24651
+ concurrencyLimit: 42,
24652
+ },
24653
+ maintenanceWindow: {
24654
+ dailyMaintenanceWindow: {
24655
+ daysInCycle: 42,
24656
+ duration: "Test string",
24657
+ startTime: "Test string",
24658
+ },
24659
+ },
24660
+ },
24661
+ });
24502
24662
  /** Sets the access control policy on the specified resource. Replaces any existing policy. */
24503
24663
  await gapi.client.compute.resourcePolicies.setIamPolicy({
24504
24664
  project: "Test string",
@@ -25482,6 +25642,12 @@ gapi.load('client', async () => {
25482
25642
  },
25483
25643
  conformAction: "Test string",
25484
25644
  enforceOnKey: "Test string",
25645
+ enforceOnKeyConfigs: [
25646
+ {
25647
+ enforceOnKeyName: "Test string",
25648
+ enforceOnKeyType: "Test string",
25649
+ }
25650
+ ],
25485
25651
  enforceOnKeyName: "Test string",
25486
25652
  exceedAction: "Test string",
25487
25653
  exceedActionRpcStatus: {
@@ -25719,6 +25885,12 @@ gapi.load('client', async () => {
25719
25885
  },
25720
25886
  conformAction: "Test string",
25721
25887
  enforceOnKey: "Test string",
25888
+ enforceOnKeyConfigs: [
25889
+ {
25890
+ enforceOnKeyName: "Test string",
25891
+ enforceOnKeyType: "Test string",
25892
+ }
25893
+ ],
25722
25894
  enforceOnKeyName: "Test string",
25723
25895
  exceedAction: "Test string",
25724
25896
  exceedActionRpcStatus: {
@@ -25967,6 +26139,12 @@ gapi.load('client', async () => {
25967
26139
  },
25968
26140
  conformAction: "Test string",
25969
26141
  enforceOnKey: "Test string",
26142
+ enforceOnKeyConfigs: [
26143
+ {
26144
+ enforceOnKeyName: "Test string",
26145
+ enforceOnKeyType: "Test string",
26146
+ }
26147
+ ],
25970
26148
  enforceOnKeyName: "Test string",
25971
26149
  exceedAction: "Test string",
25972
26150
  exceedActionRpcStatus: {
@@ -26140,6 +26318,12 @@ gapi.load('client', async () => {
26140
26318
  },
26141
26319
  conformAction: "Test string",
26142
26320
  enforceOnKey: "Test string",
26321
+ enforceOnKeyConfigs: [
26322
+ {
26323
+ enforceOnKeyName: "Test string",
26324
+ enforceOnKeyType: "Test string",
26325
+ }
26326
+ ],
26143
26327
  enforceOnKeyName: "Test string",
26144
26328
  exceedAction: "Test string",
26145
26329
  exceedActionRpcStatus: {
@@ -30786,6 +30970,16 @@ gapi.load('client', async () => {
30786
30970
  project: "Test string",
30787
30971
  zone: "Test string",
30788
30972
  });
30973
+ /** Retrieves an aggregated list of all of the queued resources in a project across all zones. */
30974
+ await gapi.client.compute.zoneQueuedResources.aggregatedList({
30975
+ filter: "Test string",
30976
+ includeAllScopes: true,
30977
+ maxResults: 42,
30978
+ orderBy: "Test string",
30979
+ pageToken: "Test string",
30980
+ project: "Test string",
30981
+ returnPartialSuccess: true,
30982
+ });
30789
30983
  /** Cancels a QueuedResource. Only a resource in ACCEPTED state may be cancelled. */
30790
30984
  await gapi.client.compute.zoneQueuedResources.cancel({
30791
30985
  project: "Test string",