@maxim_mazurok/gapi.client.compute-alpha 0.1.20260113 → 0.1.20260122

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 (3) hide show
  1. package/index.d.ts +1179 -33
  2. package/package.json +1 -1
  3. package/readme.md +61 -0
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: 20260113
12
+ // Revision: 20260122
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3013,6 +3013,19 @@ declare namespace gapi.client {
3013
3013
  tlsSettings?: BackendServiceTlsSettings;
3014
3014
  /** Output only. [Output Only] List of resources referencing given backend service. */
3015
3015
  usedBy?: BackendServiceUsedBy[];
3016
+ /**
3017
+ * The network scope of the backends that can be added to the backend
3018
+ * service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK.
3019
+ *
3020
+ * A backend service with the VPC scope set to GLOBAL_VPC_NETWORK
3021
+ * is only allowed to have backends in global VPC networks.
3022
+ *
3023
+ * When the VPC scope is set to REGIONAL_VPC_NETWORK the backend
3024
+ * service is only allowed to have backends in regional networks in the same
3025
+ * scope as the backend service.
3026
+ * Note: if not specified then GLOBAL_VPC_NETWORK will be used.
3027
+ */
3028
+ vpcNetworkScope?: string;
3016
3029
  }
3017
3030
  interface BackendServiceAggregatedList {
3018
3031
  /** [Output Only] Unique identifier for the resource; defined by the server. */
@@ -3309,9 +3322,17 @@ declare namespace gapi.client {
3309
3322
  name?: string;
3310
3323
  }
3311
3324
  interface BackendServiceDynamicForwarding {
3325
+ /** Dynamic Forwarding Proxy configuration. */
3326
+ forwardProxy?: BackendServiceDynamicForwardingForwardProxy;
3312
3327
  /** IP:PORT based dynamic forwarding configuration. */
3313
3328
  ipPortSelection?: BackendServiceDynamicForwardingIpPortSelection;
3314
3329
  }
3330
+ interface BackendServiceDynamicForwardingForwardProxy {
3331
+ /** A boolean flag enabling dynamic forwarding proxy. */
3332
+ enabled?: boolean;
3333
+ /** Determines the dynamic forwarding proxy mode. */
3334
+ proxyMode?: string;
3335
+ }
3315
3336
  interface BackendServiceDynamicForwardingIpPortSelection {
3316
3337
  /** A boolean flag enabling IP:PORT based dynamic forwarding. */
3317
3338
  enabled?: boolean;
@@ -4336,6 +4357,15 @@ declare namespace gapi.client {
4336
4357
  partitionCount?: number;
4337
4358
  }
4338
4359
  interface CacheInvalidationRule {
4360
+ /**
4361
+ * If set, this invalidation rule will only apply to requests routed to the
4362
+ * given backend service or backend bucket.
4363
+ * For example, for a backend bucket `bb1` in the same scope as the URL map,
4364
+ * the path would be `projects/my-project/global/backendBuckets/bb1`; and
4365
+ * for a backend service `bs1` in the same scope as the URL map, the path
4366
+ * would be `projects/my-project/global/backendServices/bs1`.
4367
+ */
4368
+ backendService?: string;
4339
4369
  /**
4340
4370
  * A list of cache tags used to identify cached objects.
4341
4371
  *
@@ -4351,11 +4381,22 @@ declare namespace gapi.client {
4351
4381
  * Up to 10 tags can be specified in a single invalidation request.
4352
4382
  */
4353
4383
  cacheTags?: string[];
4384
+ /**
4385
+ * If set, this invalidation rule will only apply to responses with the given
4386
+ * content-type. Parameters are not allowed and are ignored from the response
4387
+ * when matching. Wildcards are not allowed.
4388
+ */
4389
+ contentType?: string;
4354
4390
  /**
4355
4391
  * If set, this invalidation rule will only apply to requests with a Host
4356
4392
  * header matching host.
4357
4393
  */
4358
4394
  host?: string;
4395
+ /**
4396
+ * If set, this invalidation rule will only apply to responses with the
4397
+ * given HTTP status. Valid range is 200-599.
4398
+ */
4399
+ httpStatus?: number;
4359
4400
  path?: string;
4360
4401
  }
4361
4402
  interface CacheKeyPolicy {
@@ -4637,7 +4678,7 @@ declare namespace gapi.client {
4637
4678
  interface CapacityAdviceRequestDistributionPolicy {
4638
4679
  /**
4639
4680
  * The distribution shape to which the group converges.
4640
- * You can only specify the following values: ANY,ANY_SINGLE_ZONE.
4681
+ * You can only specify the following values: ANY,ANY_SINGLE_ZONE,BALANCED.
4641
4682
  */
4642
4683
  targetShape?: string;
4643
4684
  /** Zones where Capacity Advisor looks for capacity. */
@@ -8083,17 +8124,6 @@ declare namespace gapi.client {
8083
8124
  * endpoint can be accessed from another region.
8084
8125
  */
8085
8126
  allowPscGlobalAccess?: boolean;
8086
- /**
8087
- * This is used in PSC consumer ForwardingRule to control whether the producer
8088
- * is allowed to inject packets into the consumer's network. If set to true,
8089
- * the target service attachment must have tunneling enabled and
8090
- * TunnelingConfig.RoutingMode set to PACKET_INJECTION
8091
- * Non-PSC forwarding rules should not use this field.
8092
- *
8093
- * This field was never released to any customers and is deprecated and
8094
- * will be removed in the future.
8095
- */
8096
- allowPscPacketInjection?: boolean;
8097
8127
  /**
8098
8128
  * The ports, portRange, and allPorts
8099
8129
  * fields are mutually exclusive. Only packets addressed to ports in the
@@ -8113,6 +8143,8 @@ declare namespace gapi.client {
8113
8143
  * this forwarding rule. The L3_DEFAULT protocol requiresallPorts be set to true.
8114
8144
  */
8115
8145
  allPorts?: boolean;
8146
+ /** Output only. [Output Only]. The extensions that are attached to this ForwardingRule. */
8147
+ attachedExtensions?: ForwardingRuleAttachedExtension[];
8116
8148
  /**
8117
8149
  * [Output Only] Specifies the availability group of the forwarding rule. This
8118
8150
  * field is for use by global external passthrough load balancers (load
@@ -8572,6 +8604,10 @@ declare namespace gapi.client {
8572
8604
  message?: string;
8573
8605
  };
8574
8606
  }
8607
+ interface ForwardingRuleAttachedExtension {
8608
+ /** Output only. The resource name. */
8609
+ reference?: string;
8610
+ }
8575
8611
  interface ForwardingRuleList {
8576
8612
  /** [Output Only] Unique identifier for the resource; defined by the server. */
8577
8613
  id?: string;
@@ -9226,6 +9262,71 @@ declare namespace gapi.client {
9226
9262
  */
9227
9263
  destinationAddress?: string;
9228
9264
  }
9265
+ interface GlobalListVmExtensionsResponse {
9266
+ /**
9267
+ * Output only. Fingerprint of this resource. A hash of the contents stored
9268
+ * in this object. This field is used in optimistic locking. This field will
9269
+ * be ignored when inserting a VmExtensionPolicy. An up-to-date
9270
+ * fingerprint must be provided in order to update the VmExtensionPolicy.
9271
+ *
9272
+ * To see the latest value of the fingerprint, make a get() request to
9273
+ * retrieve a VmExtensionPolicy.
9274
+ */
9275
+ etag?: string;
9276
+ /** Output only. Unique identifier for the resource; defined by the server. */
9277
+ id?: string;
9278
+ /** Output only. A list of VM extensions. */
9279
+ items?: GlobalVmExtension[];
9280
+ /** Output only. Type of resource. */
9281
+ kind?: string;
9282
+ /**
9283
+ * Output only. This token allows you to get the next page of results for
9284
+ * list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
9285
+ * the query parameter pageToken in the next list request.
9286
+ * Subsequent list requests will have their own nextPageToken to
9287
+ * continue paging through the results.
9288
+ */
9289
+ nextPageToken?: string;
9290
+ /** Output only. Server-defined URL for this resource. */
9291
+ selfLink?: string;
9292
+ /** Output only. Unreachable resources. */
9293
+ unreachables?: string[];
9294
+ /** Output only. Informational warning message. */
9295
+ warning?: {
9296
+ /**
9297
+ * [Output Only] A warning code, if applicable. For example, Compute
9298
+ * Engine returns NO_RESULTS_ON_PAGE if there
9299
+ * are no results in the response.
9300
+ */
9301
+ code?: string;
9302
+ /**
9303
+ * [Output Only] Metadata about this warning in key:
9304
+ * value format. For example:
9305
+ *
9306
+ * "data": [
9307
+ * {
9308
+ * "key": "scope",
9309
+ * "value": "zones/us-east1-d"
9310
+ * }
9311
+ */
9312
+ data?: Array<{
9313
+ /**
9314
+ * [Output Only] A key that provides more detail on the warning being
9315
+ * returned. For example, for warnings where there are no results in a list
9316
+ * request for a particular zone, this key might be scope and
9317
+ * the key value might be the zone name. Other examples might be a key
9318
+ * indicating a deprecated resource and a suggested replacement, or a
9319
+ * warning about invalid network settings (for example, if an instance
9320
+ * attempts to perform IP forwarding but is not enabled for IP forwarding).
9321
+ */
9322
+ key?: string;
9323
+ /** [Output Only] A warning data value corresponding to the key. */
9324
+ value?: string;
9325
+ }>;
9326
+ /** [Output Only] A human-readable description of the warning code. */
9327
+ message?: string;
9328
+ };
9329
+ }
9229
9330
  interface GlobalNetworkEndpointGroupsAttachEndpointsRequest {
9230
9331
  /** The list of network endpoints to be attached. */
9231
9332
  networkEndpoints?: NetworkEndpoint[];
@@ -9288,6 +9389,10 @@ declare namespace gapi.client {
9288
9389
  */
9289
9390
  policy?: Policy;
9290
9391
  }
9392
+ interface GlobalVmExtension {
9393
+ name?: string;
9394
+ versions?: string[];
9395
+ }
9291
9396
  interface GlobalVmExtensionPolicy {
9292
9397
  /**
9293
9398
  * Output only. [Output Only] Creation timestamp inRFC3339
@@ -15923,6 +16028,11 @@ declare namespace gapi.client {
15923
16028
  * be a dash.
15924
16029
  */
15925
16030
  name?: string;
16031
+ /**
16032
+ * Input only. Additional params passed with the request, but not persisted
16033
+ * as part of resource payload.
16034
+ */
16035
+ params?: InstantSnapshotParams;
15926
16036
  /**
15927
16037
  * Output only. [Output Only] URL of the region where the instant snapshot resides.
15928
16038
  * You must specify this field as part of the HTTP request URL. It is
@@ -16179,6 +16289,18 @@ declare namespace gapi.client {
16179
16289
  message?: string;
16180
16290
  };
16181
16291
  }
16292
+ interface InstantSnapshotParams {
16293
+ /**
16294
+ * Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and
16295
+ * values have the same definition as resource
16296
+ * manager tags. Keys and values can be either in numeric format,
16297
+ * such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
16298
+ * namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
16299
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
16300
+ * PATCH) when empty.
16301
+ */
16302
+ resourceManagerTags?: {[P in string]: string};
16303
+ }
16182
16304
  interface InstantSnapshotResourceStatus {
16183
16305
  /** [Output Only] The storage size of this instant snapshot. */
16184
16306
  storageSizeBytes?: string;
@@ -16284,6 +16406,12 @@ declare namespace gapi.client {
16284
16406
  * create the resource.
16285
16407
  */
16286
16408
  description?: string;
16409
+ /**
16410
+ * Output only. [Output Only] URL of the InterconnectLocation object that represents where
16411
+ * this connection is to be provisioned. By default it will be the same as the
16412
+ * location field.
16413
+ */
16414
+ effectiveLocation?: string;
16287
16415
  /** Output only. [Output Only] A list of outages expected for this Interconnect. */
16288
16416
  expectedOutages?: InterconnectOutageNotification[];
16289
16417
  /**
@@ -19325,6 +19453,136 @@ declare namespace gapi.client {
19325
19453
  message?: string;
19326
19454
  };
19327
19455
  }
19456
+ interface ListVmExtensionsResponse {
19457
+ /**
19458
+ * Output only. Fingerprint of this resource. A hash of the contents stored
19459
+ * in this object. This field is used in optimistic locking. This field will
19460
+ * be ignored when inserting a VmExtensionPolicy. An up-to-date
19461
+ * fingerprint must be provided in order to update the VmExtensionPolicy.
19462
+ *
19463
+ * To see the latest value of the fingerprint, make a get() request to
19464
+ * retrieve a VmExtensionPolicy.
19465
+ */
19466
+ etag?: string;
19467
+ /** Output only. Unique identifier for the resource; defined by the server. */
19468
+ id?: string;
19469
+ /** Output only. A list of VM extensions. */
19470
+ items?: VmExtension[];
19471
+ /** Output only. Type of resource. */
19472
+ kind?: string;
19473
+ /**
19474
+ * Output only. This token allows you to get the next page of results for
19475
+ * list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
19476
+ * the query parameter pageToken in the next list request.
19477
+ * Subsequent list requests will have their own nextPageToken to
19478
+ * continue paging through the results.
19479
+ */
19480
+ nextPageToken?: string;
19481
+ /** Output only. Server-defined URL for this resource. */
19482
+ selfLink?: string;
19483
+ /** Output only. Unreachable resources. */
19484
+ unreachables?: string[];
19485
+ /** Output only. Informational warning message. */
19486
+ warning?: {
19487
+ /**
19488
+ * [Output Only] A warning code, if applicable. For example, Compute
19489
+ * Engine returns NO_RESULTS_ON_PAGE if there
19490
+ * are no results in the response.
19491
+ */
19492
+ code?: string;
19493
+ /**
19494
+ * [Output Only] Metadata about this warning in key:
19495
+ * value format. For example:
19496
+ *
19497
+ * "data": [
19498
+ * {
19499
+ * "key": "scope",
19500
+ * "value": "zones/us-east1-d"
19501
+ * }
19502
+ */
19503
+ data?: Array<{
19504
+ /**
19505
+ * [Output Only] A key that provides more detail on the warning being
19506
+ * returned. For example, for warnings where there are no results in a list
19507
+ * request for a particular zone, this key might be scope and
19508
+ * the key value might be the zone name. Other examples might be a key
19509
+ * indicating a deprecated resource and a suggested replacement, or a
19510
+ * warning about invalid network settings (for example, if an instance
19511
+ * attempts to perform IP forwarding but is not enabled for IP forwarding).
19512
+ */
19513
+ key?: string;
19514
+ /** [Output Only] A warning data value corresponding to the key. */
19515
+ value?: string;
19516
+ }>;
19517
+ /** [Output Only] A human-readable description of the warning code. */
19518
+ message?: string;
19519
+ };
19520
+ }
19521
+ interface ListVmExtensionStatesResponse {
19522
+ /**
19523
+ * Output only. Fingerprint of this resource. A hash of the contents stored
19524
+ * in this object. This field is used in optimistic locking. This field will
19525
+ * be ignored when inserting a VmExtensionPolicy. An up-to-date
19526
+ * fingerprint must be provided in order to update the VmExtensionPolicy.
19527
+ *
19528
+ * To see the latest value of the fingerprint, make a get() request to
19529
+ * retrieve a VmExtensionPolicy.
19530
+ */
19531
+ etag?: string;
19532
+ /** Output only. Unique identifier for the resource; defined by the server. */
19533
+ id?: string;
19534
+ /** Output only. A list of VM extension policy resources. */
19535
+ items?: VmExtensionState[];
19536
+ /** Output only. Type of resource. */
19537
+ kind?: string;
19538
+ /**
19539
+ * Output only. This token allows you to get the next page of results for
19540
+ * list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
19541
+ * the query parameter pageToken in the next list request.
19542
+ * Subsequent list requests will have their own nextPageToken to
19543
+ * continue paging through the results.
19544
+ */
19545
+ nextPageToken?: string;
19546
+ /** Output only. Server-defined URL for this resource. */
19547
+ selfLink?: string;
19548
+ /** Output only. Unreachable resources. */
19549
+ unreachables?: string[];
19550
+ /** Output only. Informational warning message. */
19551
+ warning?: {
19552
+ /**
19553
+ * [Output Only] A warning code, if applicable. For example, Compute
19554
+ * Engine returns NO_RESULTS_ON_PAGE if there
19555
+ * are no results in the response.
19556
+ */
19557
+ code?: string;
19558
+ /**
19559
+ * [Output Only] Metadata about this warning in key:
19560
+ * value format. For example:
19561
+ *
19562
+ * "data": [
19563
+ * {
19564
+ * "key": "scope",
19565
+ * "value": "zones/us-east1-d"
19566
+ * }
19567
+ */
19568
+ data?: Array<{
19569
+ /**
19570
+ * [Output Only] A key that provides more detail on the warning being
19571
+ * returned. For example, for warnings where there are no results in a list
19572
+ * request for a particular zone, this key might be scope and
19573
+ * the key value might be the zone name. Other examples might be a key
19574
+ * indicating a deprecated resource and a suggested replacement, or a
19575
+ * warning about invalid network settings (for example, if an instance
19576
+ * attempts to perform IP forwarding but is not enabled for IP forwarding).
19577
+ */
19578
+ key?: string;
19579
+ /** [Output Only] A warning data value corresponding to the key. */
19580
+ value?: string;
19581
+ }>;
19582
+ /** [Output Only] A human-readable description of the warning code. */
19583
+ message?: string;
19584
+ };
19585
+ }
19328
19586
  interface LocalDisk {
19329
19587
  /** Specifies the number of such disks. */
19330
19588
  diskCount?: number;
@@ -19577,8 +19835,8 @@ declare namespace gapi.client {
19577
19835
  * Input only. Resource manager tags to be bound to the machine image. Tag keys and values
19578
19836
  * have the same definition as resource
19579
19837
  * manager tags. Keys and values can be either in numeric format,
19580
- * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
19581
- * format such as `{org_id|project_id}/{tag_key_short_name}` and
19838
+ * such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
19839
+ * namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
19582
19840
  * `{tag_value_short_name}`. The field is ignored (both PUT &
19583
19841
  * PATCH) when empty.
19584
19842
  */
@@ -21973,11 +22231,7 @@ declare namespace gapi.client {
21973
22231
  * exported between peer networks. The default value is IPV4_ONLY.
21974
22232
  */
21975
22233
  stackType?: string;
21976
- /**
21977
- * Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The
21978
- * peering is `ACTIVE` when there's a matching configuration in the peer
21979
- * network.
21980
- */
22234
+ /** Output only. [Output Only] State for the peering. */
21981
22235
  state?: string;
21982
22236
  /** Output only. [Output Only] Details about the current state of the peering. */
21983
22237
  stateDetails?: string;
@@ -27525,6 +27779,11 @@ declare namespace gapi.client {
27525
27779
  * be a dash.
27526
27780
  */
27527
27781
  name?: string;
27782
+ /**
27783
+ * Input only. Additional params passed with the request, but not persisted
27784
+ * as part of resource payload.
27785
+ */
27786
+ params?: ReservationParams;
27528
27787
  /**
27529
27788
  * Protection tier for the workload which specifies the workload expectations
27530
27789
  * in the event of infrastructure failures at data center (e.g. power
@@ -27875,6 +28134,18 @@ declare namespace gapi.client {
27875
28134
  message?: string;
27876
28135
  };
27877
28136
  }
28137
+ interface ReservationParams {
28138
+ /**
28139
+ * Input only. Resource manager tags to be bound to the reservation. Tag keys and
28140
+ * values have the same definition as resource
28141
+ * manager tags. Keys and values can be either in numeric format,
28142
+ * such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
28143
+ * namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
28144
+ * `{tag_value_short_name}`. The field is ignored (both PUT &
28145
+ * PATCH) when empty.
28146
+ */
28147
+ resourceManagerTags?: {[P in string]: string};
28148
+ }
27878
28149
  interface ReservationsBlocksPerformMaintenanceRequest {
27879
28150
  /** Specifies if all, running or unused hosts are in scope for this request. */
27880
28151
  maintenanceScope?: string;
@@ -33302,6 +33573,29 @@ declare namespace gapi.client {
33302
33573
  */
33303
33574
  resourceManagerTags?: {[P in string]: string};
33304
33575
  }
33576
+ interface SnapshotRecycleBinPolicy {
33577
+ /**
33578
+ * The rules for the snapshot recycle bin policy. The key is either 'default'
33579
+ * or namespacedName of the TagValue which can be in the format:
33580
+ * `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or
33581
+ * `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or
33582
+ * `{project_number}/{tag_key_short_name}/{tag_value_short_name}`. The default
33583
+ * rule is applied if snapshots do not have any of these tags.
33584
+ * The value is the rule for the key.
33585
+ */
33586
+ rules?: {[P in string]: SnapshotRecycleBinPolicyRule};
33587
+ }
33588
+ interface SnapshotRecycleBinPolicyRule {
33589
+ /** The rule config for standard snapshots. */
33590
+ standardSnapshots?: SnapshotRecycleBinPolicyRuleRuleConfig;
33591
+ }
33592
+ interface SnapshotRecycleBinPolicyRuleRuleConfig {
33593
+ /**
33594
+ * The retention duration for snapshots in the recycle bin after which the
33595
+ * snapshots are automatically deleted from recycle bin.
33596
+ */
33597
+ retentionDurationDays?: string;
33598
+ }
33305
33599
  interface SnapshotResourceStatus {
33306
33600
  /**
33307
33601
  * Output only. [Output only] Scheduled deletion time of the snapshot. The snapshot will
@@ -33355,6 +33649,10 @@ declare namespace gapi.client {
33355
33649
  */
33356
33650
  name?: string;
33357
33651
  }
33652
+ interface SnapshotsGetEffectiveRecycleBinRuleResponse {
33653
+ /** The retention duration of the snapshot in recycle bin. */
33654
+ retentionDurationDays?: string;
33655
+ }
33358
33656
  interface SnapshotsScopedList {
33359
33657
  /** [Output Only] A list of snapshots contained in this scope. */
33360
33658
  snapshots?: Snapshot[];
@@ -34340,11 +34638,11 @@ declare namespace gapi.client {
34340
34638
  usedBytes?: string;
34341
34639
  }
34342
34640
  interface StoragePoolExapoolProvisionedCapacityGb {
34343
- /** Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool */
34641
+ /** Size, in GiB, of provisioned capacity-optimized capacity for this Exapool */
34344
34642
  capacityOptimized?: string;
34345
- /** Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool */
34643
+ /** Size, in GiB, of provisioned read-optimized capacity for this Exapool */
34346
34644
  readOptimized?: string;
34347
- /** Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool */
34645
+ /** Size, in GiB, of provisioned write-optimized capacity for this Exapool */
34348
34646
  writeOptimized?: string;
34349
34647
  }
34350
34648
  interface StoragePoolList {
@@ -34812,9 +35110,9 @@ declare namespace gapi.client {
34812
35110
  */
34813
35111
  aggregationInterval?: string;
34814
35112
  /**
34815
- * Whether this subnetwork's ranges can conflict with existing static routes.
35113
+ * Whether this subnetwork's ranges can conflict with existing custom routes.
34816
35114
  * Setting this to true allows this subnetwork's primary and secondary ranges
34817
- * to overlap with (and contain) static routes that have already been
35115
+ * to overlap with (and contain) custom routes that have already been
34818
35116
  * configured on the corresponding network.
34819
35117
  *
34820
35118
  * For example if a static route has range 10.1.0.0/16, a subnet
@@ -34830,8 +35128,6 @@ declare namespace gapi.client {
34830
35128
  *
34831
35129
  * The default value is false and applies to all existing subnetworks and
34832
35130
  * automatically created subnetworks.
34833
- *
34834
- * This field cannot be set to true at resource creation time.
34835
35131
  */
34836
35132
  allowSubnetCidrRoutesOverlap?: boolean;
34837
35133
  /**
@@ -35022,7 +35318,7 @@ declare namespace gapi.client {
35022
35318
  * An array of configurations for secondary IP ranges for VM instances
35023
35319
  * contained in this subnetwork. The primary IP of such VM must belong to the
35024
35320
  * primary ipCidrRange of the subnetwork. The alias IPs may belong to either
35025
- * primary or secondary ranges. This field can be updated with apatch request.
35321
+ * primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
35026
35322
  */
35027
35323
  secondaryIpRanges?: SubnetworkSecondaryRange[];
35028
35324
  /** [Output Only] Server-defined URL for the resource. */
@@ -35248,19 +35544,32 @@ declare namespace gapi.client {
35248
35544
  * The range of IP addresses belonging to this subnetwork secondary range.
35249
35545
  * Provide this property when you create the subnetwork. Ranges must be
35250
35546
  * unique and non-overlapping with all primary and secondary IP ranges
35251
- * within a network. Only IPv4 is supported. The range can be any range
35252
- * listed in theValid
35547
+ * within a network. Both IPv4 and IPv6 ranges are supported. For IPv4,
35548
+ * the range can be any range listed in theValid
35253
35549
  * ranges list.
35550
+ *
35551
+ * For IPv6:
35552
+ * The range must have a /64 prefix length.
35553
+ * The range must be omitted, for auto-allocation from Google-defined ULA
35554
+ * IPv6 range.
35555
+ * For BYOGUA internal IPv6 secondary range, the range may be specified
35556
+ * along with the `ipCollection` field.
35557
+ * If an `ipCollection` is specified, the requested ip_cidr_range must lie
35558
+ * within the range of the PDP referenced by the `ipCollection` field for
35559
+ * allocation.
35560
+ * If `ipCollection` field is specified, but ip_cidr_range is not,
35561
+ * the range is auto-allocated from the PDP referenced by the `ipCollection`
35562
+ * field.
35254
35563
  */
35255
35564
  ipCidrRange?: string;
35256
35565
  /**
35257
35566
  * The name associated with this subnetwork secondary range, used when adding
35258
- * an alias IP range to a VM instance.
35567
+ * an alias IP/IPv6 range to a VM instance.
35259
35568
  * The name must be 1-63 characters long, and comply withRFC1035.
35260
35569
  * The name must be unique within the subnetwork.
35261
35570
  */
35262
35571
  rangeName?: string;
35263
- /** The URL of the reserved internal range. */
35572
+ /** The URL of the reserved internal range. Only IPv4 is supported. */
35264
35573
  reservedInternalRange?: string;
35265
35574
  }
35266
35575
  interface SubnetworksExpandIpCidrRangeRequest {
@@ -38107,7 +38416,10 @@ declare namespace gapi.client {
38107
38416
  };
38108
38417
  }
38109
38418
  interface UsableSubnetworkSecondaryRange {
38110
- /** The range of IP addresses belonging to this subnetwork secondary range. */
38419
+ /**
38420
+ * The range of IP addresses belonging to this subnetwork secondary range.
38421
+ * Can be Ipv4 or Ipv6 range.
38422
+ */
38111
38423
  ipCidrRange?: string;
38112
38424
  /**
38113
38425
  * The name associated with this subnetwork secondary range, used when adding
@@ -38267,6 +38579,12 @@ declare namespace gapi.client {
38267
38579
  message?: string;
38268
38580
  };
38269
38581
  }
38582
+ interface VmExtension {
38583
+ /** The name of the vm extension. */
38584
+ name?: string;
38585
+ /** The latest 10 versions of the vm extension. */
38586
+ versions?: string[];
38587
+ }
38270
38588
  interface VmExtensionPoliciesScopedList {
38271
38589
  /** List of VmExtensionPolicy resources contained in this scope. */
38272
38590
  vmExtensionPolicies?: VmExtensionPolicy[];
@@ -38525,6 +38843,29 @@ declare namespace gapi.client {
38525
38843
  message?: string;
38526
38844
  };
38527
38845
  }
38846
+ interface VmExtensionState {
38847
+ /** The status message of the extension if the extension fails to enforce. */
38848
+ enforcementMsg?: string;
38849
+ /**
38850
+ * The enforcement state of the extension.
38851
+ * If the extension is not enforced yet, then the health status will not be
38852
+ * specified.
38853
+ */
38854
+ enforcementState?: string;
38855
+ /** The health status of the extension. */
38856
+ healthStatus?: string;
38857
+ /** The name of the extension. */
38858
+ name?: string;
38859
+ /** The id of the policy that is enforced on the extension. */
38860
+ policyId?: string;
38861
+ /**
38862
+ * The status message of the extension if the extension is in unhealthy
38863
+ * state.
38864
+ */
38865
+ unhealthyMsg?: string;
38866
+ /** The version of the extension. */
38867
+ version?: string;
38868
+ }
38528
38869
  interface VpnGateway {
38529
38870
  /**
38530
38871
  * Output only. [Output Only] Creation timestamp inRFC3339
@@ -49396,6 +49737,7 @@ declare namespace gapi.client {
49396
49737
  uploadType?: string;
49397
49738
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
49398
49739
  userIp?: string;
49740
+ view?: string;
49399
49741
  }): Request<ForwardingRule>;
49400
49742
  /**
49401
49743
  * Creates a ForwardingRule resource in the specified project and region using
@@ -51302,6 +51644,7 @@ declare namespace gapi.client {
51302
51644
  uploadType?: string;
51303
51645
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
51304
51646
  userIp?: string;
51647
+ view?: string;
51305
51648
  }): Request<ForwardingRule>;
51306
51649
  /**
51307
51650
  * Creates a GlobalForwardingRule resource in the specified project using
@@ -53754,6 +54097,36 @@ declare namespace gapi.client {
53754
54097
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
53755
54098
  userIp?: string;
53756
54099
  }): Request<GlobalVmExtensionPolicy>;
54100
+ /** Retrieves details of a specific VM extension. */
54101
+ getVmExtension(request?: {
54102
+ /** V1 error format. */
54103
+ '$.xgafv'?: string;
54104
+ /** OAuth access token. */
54105
+ access_token?: string;
54106
+ /** Data format for response. */
54107
+ alt?: string;
54108
+ /** JSONP */
54109
+ callback?: string;
54110
+ extensionName: string;
54111
+ /** Selector specifying which fields to include in a partial response. */
54112
+ fields?: string;
54113
+ /** 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. */
54114
+ key?: string;
54115
+ /** OAuth 2.0 token for the current user. */
54116
+ oauth_token?: string;
54117
+ /** Returns response with indentations and line breaks. */
54118
+ prettyPrint?: boolean;
54119
+ /** Project ID for this request. */
54120
+ project: string;
54121
+ /** 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. */
54122
+ quotaUser?: string;
54123
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
54124
+ upload_protocol?: string;
54125
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
54126
+ uploadType?: string;
54127
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
54128
+ userIp?: string;
54129
+ }): Request<GlobalVmExtension>;
53757
54130
  /** Creates a new project level GlobalVmExtensionPolicy. */
53758
54131
  insert(request: {
53759
54132
  /** V1 error format. */
@@ -53975,6 +54348,136 @@ declare namespace gapi.client {
53975
54348
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
53976
54349
  userIp?: string;
53977
54350
  }): Request<GlobalVmExtensionPolicyList>;
54351
+ /**
54352
+ * Lists all VM extensions within a specific zone for a project.
54353
+ * This is a read-only API.
54354
+ */
54355
+ listVmExtensions(request?: {
54356
+ /** V1 error format. */
54357
+ '$.xgafv'?: string;
54358
+ /** OAuth access token. */
54359
+ access_token?: string;
54360
+ /** Data format for response. */
54361
+ alt?: string;
54362
+ /** JSONP */
54363
+ callback?: string;
54364
+ /** Selector specifying which fields to include in a partial response. */
54365
+ fields?: string;
54366
+ /**
54367
+ * A filter expression that filters resources listed in the response. Most
54368
+ * Compute resources support two types of filter expressions:
54369
+ * expressions that support regular expressions and expressions that follow
54370
+ * API improvement proposal AIP-160.
54371
+ * These two types of filter expressions cannot be mixed in one request.
54372
+ *
54373
+ * If you want to use AIP-160, your expression must specify the field name, an
54374
+ * operator, and the value that you want to use for filtering. The value
54375
+ * must be a string, a number, or a boolean. The operator
54376
+ * must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
54377
+ *
54378
+ * For example, if you are filtering Compute Engine instances, you can
54379
+ * exclude instances named `example-instance` by specifying
54380
+ * `name != example-instance`.
54381
+ *
54382
+ * The `:*` comparison can be used to test whether a key has been defined.
54383
+ * For example, to find all objects with `owner` label use:
54384
+ * ```
54385
+ * labels.owner:*
54386
+ * ```
54387
+ *
54388
+ * You can also filter nested fields. For example, you could specify
54389
+ * `scheduling.automaticRestart = false` to include instances only
54390
+ * if they are not scheduled for automatic restarts. You can use filtering
54391
+ * on nested fields to filter based onresource labels.
54392
+ *
54393
+ * To filter on multiple expressions, provide each separate expression within
54394
+ * parentheses. For example:
54395
+ * ```
54396
+ * (scheduling.automaticRestart = true)
54397
+ * (cpuPlatform = "Intel Skylake")
54398
+ * ```
54399
+ * By default, each expression is an `AND` expression. However, you
54400
+ * can include `AND` and `OR` expressions explicitly.
54401
+ * For example:
54402
+ * ```
54403
+ * (cpuPlatform = "Intel Skylake") OR
54404
+ * (cpuPlatform = "Intel Broadwell") AND
54405
+ * (scheduling.automaticRestart = true)
54406
+ * ```
54407
+ *
54408
+ * If you want to use a regular expression, use the `eq` (equal) or `ne`
54409
+ * (not equal) operator against a single un-parenthesized expression with or
54410
+ * without quotes or against multiple parenthesized expressions. Examples:
54411
+ *
54412
+ * `fieldname eq unquoted literal`
54413
+ * `fieldname eq 'single quoted literal'`
54414
+ * `fieldname eq "double quoted literal"`
54415
+ * `(fieldname1 eq literal) (fieldname2 ne "literal")`
54416
+ *
54417
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
54418
+ * The literal value must match the entire field.
54419
+ *
54420
+ * For example, to filter for instances that do not end with name "instance",
54421
+ * you would use `name ne .*instance`.
54422
+ *
54423
+ * You cannot combine constraints on multiple fields using regular
54424
+ * expressions.
54425
+ */
54426
+ filter?: string;
54427
+ /** 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. */
54428
+ key?: string;
54429
+ /**
54430
+ * The maximum number of results per page that should be returned.
54431
+ * If the number of available results is larger than `maxResults`,
54432
+ * Compute Engine returns a `nextPageToken` that can be used to get
54433
+ * the next page of results in subsequent list requests. Acceptable values are
54434
+ * `0` to `500`, inclusive. (Default: `500`)
54435
+ */
54436
+ maxResults?: number;
54437
+ /** OAuth 2.0 token for the current user. */
54438
+ oauth_token?: string;
54439
+ /**
54440
+ * Sorts list results by a certain order. By default, results
54441
+ * are returned in alphanumerical order based on the resource name.
54442
+ *
54443
+ * You can also sort results in descending order based on the creation
54444
+ * timestamp using `orderBy="creationTimestamp desc"`. This sorts
54445
+ * results based on the `creationTimestamp` field in
54446
+ * reverse chronological order (newest result first). Use this to sort
54447
+ * resources like operations so that the newest operation is returned first.
54448
+ *
54449
+ * Currently, only sorting by `name` or
54450
+ * `creationTimestamp desc` is supported.
54451
+ */
54452
+ orderBy?: string;
54453
+ /**
54454
+ * Specifies a page token to use. Set `pageToken` to the
54455
+ * `nextPageToken` returned by a previous list request to get
54456
+ * the next page of results.
54457
+ */
54458
+ pageToken?: string;
54459
+ /** Returns response with indentations and line breaks. */
54460
+ prettyPrint?: boolean;
54461
+ /** Required. Project ID for this request. */
54462
+ project: string;
54463
+ /** 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. */
54464
+ quotaUser?: string;
54465
+ /**
54466
+ * Opt-in for partial success behavior which provides partial results in case
54467
+ * of failure. The default value is false.
54468
+ *
54469
+ * For example, when partial success behavior is enabled, aggregatedList for a
54470
+ * single zone scope either returns all resources in the zone or no resources,
54471
+ * with an error code.
54472
+ */
54473
+ returnPartialSuccess?: boolean;
54474
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
54475
+ upload_protocol?: string;
54476
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
54477
+ uploadType?: string;
54478
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
54479
+ userIp?: string;
54480
+ }): Request<GlobalListVmExtensionsResponse>;
53978
54481
  /** Updates a global VM extension policy. */
53979
54482
  update(request: {
53980
54483
  /** V1 error format. */
@@ -63235,6 +63738,44 @@ declare namespace gapi.client {
63235
63738
  /** The name of the zone for this request. */
63236
63739
  zone: string;
63237
63740
  }): Request<ShieldedVmIdentity>;
63741
+ /**
63742
+ * Retrieves details of a specific VM extension state.
63743
+ * This is a read-only API.
63744
+ */
63745
+ getVmExtensionState(request?: {
63746
+ /** V1 error format. */
63747
+ '$.xgafv'?: string;
63748
+ /** OAuth access token. */
63749
+ access_token?: string;
63750
+ /** Data format for response. */
63751
+ alt?: string;
63752
+ /** JSONP */
63753
+ callback?: string;
63754
+ /** The name of the extension to get the state for. */
63755
+ extensionName: string;
63756
+ /** Selector specifying which fields to include in a partial response. */
63757
+ fields?: string;
63758
+ /** Name or id of the instance resource. */
63759
+ instance: string;
63760
+ /** 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. */
63761
+ key?: string;
63762
+ /** OAuth 2.0 token for the current user. */
63763
+ oauth_token?: string;
63764
+ /** Returns response with indentations and line breaks. */
63765
+ prettyPrint?: boolean;
63766
+ /** Project ID for this request. */
63767
+ project: string;
63768
+ /** 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. */
63769
+ quotaUser?: string;
63770
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
63771
+ upload_protocol?: string;
63772
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
63773
+ uploadType?: string;
63774
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
63775
+ userIp?: string;
63776
+ /** Name of the zone for this request. */
63777
+ zone: string;
63778
+ }): Request<VmExtensionState>;
63238
63779
  /**
63239
63780
  * Creates an instance resource in the specified project using the data
63240
63781
  * included in the request.
@@ -63658,6 +64199,140 @@ declare namespace gapi.client {
63658
64199
  /** The name of the zone for this request. */
63659
64200
  zone: string;
63660
64201
  }): Request<InstanceListReferrers>;
64202
+ /**
64203
+ * Lists all VM extensions states for a specific instance.
64204
+ * This is a read-only API.
64205
+ */
64206
+ listVmExtensionStates(request?: {
64207
+ /** V1 error format. */
64208
+ '$.xgafv'?: string;
64209
+ /** OAuth access token. */
64210
+ access_token?: string;
64211
+ /** Data format for response. */
64212
+ alt?: string;
64213
+ /** JSONP */
64214
+ callback?: string;
64215
+ /** Selector specifying which fields to include in a partial response. */
64216
+ fields?: string;
64217
+ /**
64218
+ * A filter expression that filters resources listed in the response. Most
64219
+ * Compute resources support two types of filter expressions:
64220
+ * expressions that support regular expressions and expressions that follow
64221
+ * API improvement proposal AIP-160.
64222
+ * These two types of filter expressions cannot be mixed in one request.
64223
+ *
64224
+ * If you want to use AIP-160, your expression must specify the field name, an
64225
+ * operator, and the value that you want to use for filtering. The value
64226
+ * must be a string, a number, or a boolean. The operator
64227
+ * must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
64228
+ *
64229
+ * For example, if you are filtering Compute Engine instances, you can
64230
+ * exclude instances named `example-instance` by specifying
64231
+ * `name != example-instance`.
64232
+ *
64233
+ * The `:*` comparison can be used to test whether a key has been defined.
64234
+ * For example, to find all objects with `owner` label use:
64235
+ * ```
64236
+ * labels.owner:*
64237
+ * ```
64238
+ *
64239
+ * You can also filter nested fields. For example, you could specify
64240
+ * `scheduling.automaticRestart = false` to include instances only
64241
+ * if they are not scheduled for automatic restarts. You can use filtering
64242
+ * on nested fields to filter based onresource labels.
64243
+ *
64244
+ * To filter on multiple expressions, provide each separate expression within
64245
+ * parentheses. For example:
64246
+ * ```
64247
+ * (scheduling.automaticRestart = true)
64248
+ * (cpuPlatform = "Intel Skylake")
64249
+ * ```
64250
+ * By default, each expression is an `AND` expression. However, you
64251
+ * can include `AND` and `OR` expressions explicitly.
64252
+ * For example:
64253
+ * ```
64254
+ * (cpuPlatform = "Intel Skylake") OR
64255
+ * (cpuPlatform = "Intel Broadwell") AND
64256
+ * (scheduling.automaticRestart = true)
64257
+ * ```
64258
+ *
64259
+ * If you want to use a regular expression, use the `eq` (equal) or `ne`
64260
+ * (not equal) operator against a single un-parenthesized expression with or
64261
+ * without quotes or against multiple parenthesized expressions. Examples:
64262
+ *
64263
+ * `fieldname eq unquoted literal`
64264
+ * `fieldname eq 'single quoted literal'`
64265
+ * `fieldname eq "double quoted literal"`
64266
+ * `(fieldname1 eq literal) (fieldname2 ne "literal")`
64267
+ *
64268
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
64269
+ * The literal value must match the entire field.
64270
+ *
64271
+ * For example, to filter for instances that do not end with name "instance",
64272
+ * you would use `name ne .*instance`.
64273
+ *
64274
+ * You cannot combine constraints on multiple fields using regular
64275
+ * expressions.
64276
+ */
64277
+ filter?: string;
64278
+ /** Name of the target instance scoping this request. */
64279
+ instance: string;
64280
+ /** 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. */
64281
+ key?: string;
64282
+ /**
64283
+ * The maximum number of results per page that should be returned.
64284
+ * If the number of available results is larger than `maxResults`,
64285
+ * Compute Engine returns a `nextPageToken` that can be used to get
64286
+ * the next page of results in subsequent list requests. Acceptable values are
64287
+ * `0` to `500`, inclusive. (Default: `500`)
64288
+ */
64289
+ maxResults?: number;
64290
+ /** OAuth 2.0 token for the current user. */
64291
+ oauth_token?: string;
64292
+ /**
64293
+ * Sorts list results by a certain order. By default, results
64294
+ * are returned in alphanumerical order based on the resource name.
64295
+ *
64296
+ * You can also sort results in descending order based on the creation
64297
+ * timestamp using `orderBy="creationTimestamp desc"`. This sorts
64298
+ * results based on the `creationTimestamp` field in
64299
+ * reverse chronological order (newest result first). Use this to sort
64300
+ * resources like operations so that the newest operation is returned first.
64301
+ *
64302
+ * Currently, only sorting by `name` or
64303
+ * `creationTimestamp desc` is supported.
64304
+ */
64305
+ orderBy?: string;
64306
+ /**
64307
+ * Specifies a page token to use. Set `pageToken` to the
64308
+ * `nextPageToken` returned by a previous list request to get
64309
+ * the next page of results.
64310
+ */
64311
+ pageToken?: string;
64312
+ /** Returns response with indentations and line breaks. */
64313
+ prettyPrint?: boolean;
64314
+ /** Project ID for this request. */
64315
+ project: string;
64316
+ /** 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. */
64317
+ quotaUser?: string;
64318
+ /**
64319
+ * Opt-in for partial success behavior which provides partial results in case
64320
+ * of failure. The default value is false.
64321
+ *
64322
+ * For example, when partial success behavior is enabled, aggregatedList for a
64323
+ * single zone scope either returns all resources in the zone or no resources,
64324
+ * with an error code.
64325
+ */
64326
+ returnPartialSuccess?: boolean;
64327
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
64328
+ upload_protocol?: string;
64329
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
64330
+ uploadType?: string;
64331
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
64332
+ userIp?: string;
64333
+ /** Required. Name of the zone for this request. */
64334
+ zone: string;
64335
+ }): Request<ListVmExtensionStatesResponse>;
63661
64336
  /** Patches partner metadata of the specified instance. */
63662
64337
  patchPartnerMetadata(request: {
63663
64338
  /** V1 error format. */
@@ -66025,6 +66700,11 @@ declare namespace gapi.client {
66025
66700
  * This property if set to true will clear secure tags regardless of theresource.secure_tags.
66026
66701
  */
66027
66702
  clearSecureTag?: boolean;
66703
+ /**
66704
+ * Whether to discard local SSDs from the instance during restart
66705
+ * default value is false.
66706
+ */
66707
+ discardLocalSsd?: boolean;
66028
66708
  /** Selector specifying which fields to include in a partial response. */
66029
66709
  fields?: string;
66030
66710
  /** Name of the instance resource to update. */
@@ -66097,6 +66777,11 @@ declare namespace gapi.client {
66097
66777
  * This property if set to true will clear secure tags regardless of theresource.secure_tags.
66098
66778
  */
66099
66779
  clearSecureTag?: boolean;
66780
+ /**
66781
+ * Whether to discard local SSDs from the instance during restart
66782
+ * default value is false.
66783
+ */
66784
+ discardLocalSsd?: boolean;
66100
66785
  /** Selector specifying which fields to include in a partial response. */
66101
66786
  fields?: string;
66102
66787
  /** Name of the instance resource to update. */
@@ -81740,6 +82425,135 @@ declare namespace gapi.client {
81740
82425
  userIp?: string;
81741
82426
  }): Request<Operation>;
81742
82427
  }
82428
+ interface OrganizationSnapshotRecycleBinPolicyResource {
82429
+ /** Returns the specified SnapshotRecycleBinPolicy. */
82430
+ get(request?: {
82431
+ /** V1 error format. */
82432
+ '$.xgafv'?: string;
82433
+ /** OAuth access token. */
82434
+ access_token?: string;
82435
+ /** Data format for response. */
82436
+ alt?: string;
82437
+ /** JSONP */
82438
+ callback?: string;
82439
+ /** Selector specifying which fields to include in a partial response. */
82440
+ fields?: string;
82441
+ /** 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. */
82442
+ key?: string;
82443
+ /** OAuth 2.0 token for the current user. */
82444
+ oauth_token?: string;
82445
+ /** Organization ID for this request. */
82446
+ organization: string;
82447
+ /** Returns response with indentations and line breaks. */
82448
+ prettyPrint?: boolean;
82449
+ /** 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. */
82450
+ quotaUser?: string;
82451
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
82452
+ upload_protocol?: string;
82453
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
82454
+ uploadType?: string;
82455
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
82456
+ userIp?: string;
82457
+ }): Request<SnapshotRecycleBinPolicy>;
82458
+ /** Patches the SnapshotRecycleBinPolicy. */
82459
+ patch(request: {
82460
+ /** V1 error format. */
82461
+ '$.xgafv'?: string;
82462
+ /** OAuth access token. */
82463
+ access_token?: string;
82464
+ /** Data format for response. */
82465
+ alt?: string;
82466
+ /** JSONP */
82467
+ callback?: string;
82468
+ /** Selector specifying which fields to include in a partial response. */
82469
+ fields?: string;
82470
+ /** 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. */
82471
+ key?: string;
82472
+ /** OAuth 2.0 token for the current user. */
82473
+ oauth_token?: string;
82474
+ /** Organization ID for this request. */
82475
+ organization: string;
82476
+ /** Returns response with indentations and line breaks. */
82477
+ prettyPrint?: boolean;
82478
+ /** 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. */
82479
+ quotaUser?: string;
82480
+ /**
82481
+ * An optional request ID to identify requests. Specify a unique request ID so
82482
+ * that if you must retry your request, the server will know to ignore the
82483
+ * request if it has already been completed.
82484
+ *
82485
+ * For example, consider a situation where you make an initial request and
82486
+ * the request times out. If you make the request again with the same
82487
+ * request ID, the server can check if original operation with the same
82488
+ * request ID was received, and if so, will ignore the second request. This
82489
+ * prevents clients from accidentally creating duplicate commitments.
82490
+ *
82491
+ * The request ID must be
82492
+ * a valid UUID with the exception that zero UUID is not supported
82493
+ * (00000000-0000-0000-0000-000000000000).
82494
+ */
82495
+ requestId?: string;
82496
+ /** update_mask indicates fields to be updated as part of this request. */
82497
+ updateMask?: string;
82498
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
82499
+ upload_protocol?: string;
82500
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
82501
+ uploadType?: string;
82502
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
82503
+ userIp?: string;
82504
+ /** Request body */
82505
+ resource: SnapshotRecycleBinPolicy;
82506
+ }): Request<Operation>;
82507
+ patch(
82508
+ request: {
82509
+ /** V1 error format. */
82510
+ '$.xgafv'?: string;
82511
+ /** OAuth access token. */
82512
+ access_token?: string;
82513
+ /** Data format for response. */
82514
+ alt?: string;
82515
+ /** JSONP */
82516
+ callback?: string;
82517
+ /** Selector specifying which fields to include in a partial response. */
82518
+ fields?: string;
82519
+ /** 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. */
82520
+ key?: string;
82521
+ /** OAuth 2.0 token for the current user. */
82522
+ oauth_token?: string;
82523
+ /** Organization ID for this request. */
82524
+ organization: string;
82525
+ /** Returns response with indentations and line breaks. */
82526
+ prettyPrint?: boolean;
82527
+ /** 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. */
82528
+ quotaUser?: string;
82529
+ /**
82530
+ * An optional request ID to identify requests. Specify a unique request ID so
82531
+ * that if you must retry your request, the server will know to ignore the
82532
+ * request if it has already been completed.
82533
+ *
82534
+ * For example, consider a situation where you make an initial request and
82535
+ * the request times out. If you make the request again with the same
82536
+ * request ID, the server can check if original operation with the same
82537
+ * request ID was received, and if so, will ignore the second request. This
82538
+ * prevents clients from accidentally creating duplicate commitments.
82539
+ *
82540
+ * The request ID must be
82541
+ * a valid UUID with the exception that zero UUID is not supported
82542
+ * (00000000-0000-0000-0000-000000000000).
82543
+ */
82544
+ requestId?: string;
82545
+ /** update_mask indicates fields to be updated as part of this request. */
82546
+ updateMask?: string;
82547
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
82548
+ upload_protocol?: string;
82549
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
82550
+ uploadType?: string;
82551
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
82552
+ userIp?: string;
82553
+ },
82554
+ body: SnapshotRecycleBinPolicy,
82555
+ ): Request<Operation>;
82556
+ }
81743
82557
  interface PacketMirroringsResource {
81744
82558
  /**
81745
82559
  * Retrieves an aggregated list of packetMirrorings.
@@ -116138,6 +116952,135 @@ declare namespace gapi.client {
116138
116952
  body: TestPermissionsRequest,
116139
116953
  ): Request<TestPermissionsResponse>;
116140
116954
  }
116955
+ interface SnapshotRecycleBinPolicyResource {
116956
+ /** Returns the specified SnapshotRecycleBinPolicy. */
116957
+ get(request?: {
116958
+ /** V1 error format. */
116959
+ '$.xgafv'?: string;
116960
+ /** OAuth access token. */
116961
+ access_token?: string;
116962
+ /** Data format for response. */
116963
+ alt?: string;
116964
+ /** JSONP */
116965
+ callback?: string;
116966
+ /** Selector specifying which fields to include in a partial response. */
116967
+ fields?: string;
116968
+ /** 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. */
116969
+ key?: string;
116970
+ /** OAuth 2.0 token for the current user. */
116971
+ oauth_token?: string;
116972
+ /** Returns response with indentations and line breaks. */
116973
+ prettyPrint?: boolean;
116974
+ /** Project ID for this request. */
116975
+ project: string;
116976
+ /** 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. */
116977
+ quotaUser?: string;
116978
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
116979
+ upload_protocol?: string;
116980
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
116981
+ uploadType?: string;
116982
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
116983
+ userIp?: string;
116984
+ }): Request<SnapshotRecycleBinPolicy>;
116985
+ /** Patches the SnapshotRecycleBinPolicy. */
116986
+ patch(request: {
116987
+ /** V1 error format. */
116988
+ '$.xgafv'?: string;
116989
+ /** OAuth access token. */
116990
+ access_token?: string;
116991
+ /** Data format for response. */
116992
+ alt?: string;
116993
+ /** JSONP */
116994
+ callback?: string;
116995
+ /** Selector specifying which fields to include in a partial response. */
116996
+ fields?: string;
116997
+ /** 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. */
116998
+ key?: string;
116999
+ /** OAuth 2.0 token for the current user. */
117000
+ oauth_token?: string;
117001
+ /** Returns response with indentations and line breaks. */
117002
+ prettyPrint?: boolean;
117003
+ /** Project ID for this request. */
117004
+ project: string;
117005
+ /** 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. */
117006
+ quotaUser?: string;
117007
+ /**
117008
+ * An optional request ID to identify requests. Specify a unique request ID so
117009
+ * that if you must retry your request, the server will know to ignore the
117010
+ * request if it has already been completed.
117011
+ *
117012
+ * For example, consider a situation where you make an initial request and
117013
+ * the request times out. If you make the request again with the same
117014
+ * request ID, the server can check if original operation with the same
117015
+ * request ID was received, and if so, will ignore the second request. This
117016
+ * prevents clients from accidentally creating duplicate commitments.
117017
+ *
117018
+ * The request ID must be
117019
+ * a valid UUID with the exception that zero UUID is not supported
117020
+ * (00000000-0000-0000-0000-000000000000).
117021
+ */
117022
+ requestId?: string;
117023
+ /** update_mask indicates fields to be updated as part of this request. */
117024
+ updateMask?: string;
117025
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
117026
+ upload_protocol?: string;
117027
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
117028
+ uploadType?: string;
117029
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
117030
+ userIp?: string;
117031
+ /** Request body */
117032
+ resource: SnapshotRecycleBinPolicy;
117033
+ }): Request<Operation>;
117034
+ patch(
117035
+ request: {
117036
+ /** V1 error format. */
117037
+ '$.xgafv'?: string;
117038
+ /** OAuth access token. */
117039
+ access_token?: string;
117040
+ /** Data format for response. */
117041
+ alt?: string;
117042
+ /** JSONP */
117043
+ callback?: string;
117044
+ /** Selector specifying which fields to include in a partial response. */
117045
+ fields?: string;
117046
+ /** 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. */
117047
+ key?: string;
117048
+ /** OAuth 2.0 token for the current user. */
117049
+ oauth_token?: string;
117050
+ /** Returns response with indentations and line breaks. */
117051
+ prettyPrint?: boolean;
117052
+ /** Project ID for this request. */
117053
+ project: string;
117054
+ /** 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. */
117055
+ quotaUser?: string;
117056
+ /**
117057
+ * An optional request ID to identify requests. Specify a unique request ID so
117058
+ * that if you must retry your request, the server will know to ignore the
117059
+ * request if it has already been completed.
117060
+ *
117061
+ * For example, consider a situation where you make an initial request and
117062
+ * the request times out. If you make the request again with the same
117063
+ * request ID, the server can check if original operation with the same
117064
+ * request ID was received, and if so, will ignore the second request. This
117065
+ * prevents clients from accidentally creating duplicate commitments.
117066
+ *
117067
+ * The request ID must be
117068
+ * a valid UUID with the exception that zero UUID is not supported
117069
+ * (00000000-0000-0000-0000-000000000000).
117070
+ */
117071
+ requestId?: string;
117072
+ /** update_mask indicates fields to be updated as part of this request. */
117073
+ updateMask?: string;
117074
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
117075
+ upload_protocol?: string;
117076
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
117077
+ uploadType?: string;
117078
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
117079
+ userIp?: string;
117080
+ },
117081
+ body: SnapshotRecycleBinPolicy,
117082
+ ): Request<Operation>;
117083
+ }
116141
117084
  interface SnapshotsResource {
116142
117085
  /**
116143
117086
  * Retrieves an aggregated list of all of the snapshots in your project
@@ -116374,6 +117317,41 @@ declare namespace gapi.client {
116374
117317
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
116375
117318
  userIp?: string;
116376
117319
  }): Request<Snapshot>;
117320
+ /**
117321
+ * Returns the effective recycle bin rule for a snapshot by merging org and
117322
+ * project level rules. If no rules are defined at org and project level, the
117323
+ * standard default rule is returned.
117324
+ */
117325
+ getEffectiveRecycleBinRule(request?: {
117326
+ /** V1 error format. */
117327
+ '$.xgafv'?: string;
117328
+ /** OAuth access token. */
117329
+ access_token?: string;
117330
+ /** Data format for response. */
117331
+ alt?: string;
117332
+ /** JSONP */
117333
+ callback?: string;
117334
+ /** Selector specifying which fields to include in a partial response. */
117335
+ fields?: string;
117336
+ /** 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. */
117337
+ key?: string;
117338
+ /** OAuth 2.0 token for the current user. */
117339
+ oauth_token?: string;
117340
+ /** Returns response with indentations and line breaks. */
117341
+ prettyPrint?: boolean;
117342
+ /** Project ID for this request. */
117343
+ project: string;
117344
+ /** 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. */
117345
+ quotaUser?: string;
117346
+ /** Name of the Snapshot resource to get the effective recycle bin rule for. */
117347
+ snapshot: string;
117348
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
117349
+ upload_protocol?: string;
117350
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
117351
+ uploadType?: string;
117352
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
117353
+ userIp?: string;
117354
+ }): Request<SnapshotsGetEffectiveRecycleBinRuleResponse>;
116377
117355
  /**
116378
117356
  * Gets the access control policy for a resource. May be empty if no such
116379
117357
  * policy or resource exists.
@@ -130379,6 +131357,38 @@ declare namespace gapi.client {
130379
131357
  /** Name of the zone for this request. */
130380
131358
  zone: string;
130381
131359
  }): Request<VmExtensionPolicy>;
131360
+ /** Retrieves details of a specific VM extension. */
131361
+ getVmExtension(request?: {
131362
+ /** V1 error format. */
131363
+ '$.xgafv'?: string;
131364
+ /** OAuth access token. */
131365
+ access_token?: string;
131366
+ /** Data format for response. */
131367
+ alt?: string;
131368
+ /** JSONP */
131369
+ callback?: string;
131370
+ extensionName: string;
131371
+ /** Selector specifying which fields to include in a partial response. */
131372
+ fields?: string;
131373
+ /** 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. */
131374
+ key?: string;
131375
+ /** OAuth 2.0 token for the current user. */
131376
+ oauth_token?: string;
131377
+ /** Returns response with indentations and line breaks. */
131378
+ prettyPrint?: boolean;
131379
+ /** Project ID for this request. */
131380
+ project: string;
131381
+ /** 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. */
131382
+ quotaUser?: string;
131383
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
131384
+ upload_protocol?: string;
131385
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
131386
+ uploadType?: string;
131387
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
131388
+ userIp?: string;
131389
+ /** Name of the zone for this request. */
131390
+ zone: string;
131391
+ }): Request<VmExtension>;
130382
131392
  /** Creates a new zone-level VM extension policy within a project. */
130383
131393
  insert(request: {
130384
131394
  /** V1 error format. */
@@ -130606,6 +131616,138 @@ declare namespace gapi.client {
130606
131616
  /** Name of the zone for this request. */
130607
131617
  zone: string;
130608
131618
  }): Request<VmExtensionPolicyList>;
131619
+ /**
131620
+ * Lists all VM extensions within a specific zone for a project.
131621
+ * This is a read-only API.
131622
+ */
131623
+ listVmExtensions(request?: {
131624
+ /** V1 error format. */
131625
+ '$.xgafv'?: string;
131626
+ /** OAuth access token. */
131627
+ access_token?: string;
131628
+ /** Data format for response. */
131629
+ alt?: string;
131630
+ /** JSONP */
131631
+ callback?: string;
131632
+ /** Selector specifying which fields to include in a partial response. */
131633
+ fields?: string;
131634
+ /**
131635
+ * A filter expression that filters resources listed in the response. Most
131636
+ * Compute resources support two types of filter expressions:
131637
+ * expressions that support regular expressions and expressions that follow
131638
+ * API improvement proposal AIP-160.
131639
+ * These two types of filter expressions cannot be mixed in one request.
131640
+ *
131641
+ * If you want to use AIP-160, your expression must specify the field name, an
131642
+ * operator, and the value that you want to use for filtering. The value
131643
+ * must be a string, a number, or a boolean. The operator
131644
+ * must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
131645
+ *
131646
+ * For example, if you are filtering Compute Engine instances, you can
131647
+ * exclude instances named `example-instance` by specifying
131648
+ * `name != example-instance`.
131649
+ *
131650
+ * The `:*` comparison can be used to test whether a key has been defined.
131651
+ * For example, to find all objects with `owner` label use:
131652
+ * ```
131653
+ * labels.owner:*
131654
+ * ```
131655
+ *
131656
+ * You can also filter nested fields. For example, you could specify
131657
+ * `scheduling.automaticRestart = false` to include instances only
131658
+ * if they are not scheduled for automatic restarts. You can use filtering
131659
+ * on nested fields to filter based onresource labels.
131660
+ *
131661
+ * To filter on multiple expressions, provide each separate expression within
131662
+ * parentheses. For example:
131663
+ * ```
131664
+ * (scheduling.automaticRestart = true)
131665
+ * (cpuPlatform = "Intel Skylake")
131666
+ * ```
131667
+ * By default, each expression is an `AND` expression. However, you
131668
+ * can include `AND` and `OR` expressions explicitly.
131669
+ * For example:
131670
+ * ```
131671
+ * (cpuPlatform = "Intel Skylake") OR
131672
+ * (cpuPlatform = "Intel Broadwell") AND
131673
+ * (scheduling.automaticRestart = true)
131674
+ * ```
131675
+ *
131676
+ * If you want to use a regular expression, use the `eq` (equal) or `ne`
131677
+ * (not equal) operator against a single un-parenthesized expression with or
131678
+ * without quotes or against multiple parenthesized expressions. Examples:
131679
+ *
131680
+ * `fieldname eq unquoted literal`
131681
+ * `fieldname eq 'single quoted literal'`
131682
+ * `fieldname eq "double quoted literal"`
131683
+ * `(fieldname1 eq literal) (fieldname2 ne "literal")`
131684
+ *
131685
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
131686
+ * The literal value must match the entire field.
131687
+ *
131688
+ * For example, to filter for instances that do not end with name "instance",
131689
+ * you would use `name ne .*instance`.
131690
+ *
131691
+ * You cannot combine constraints on multiple fields using regular
131692
+ * expressions.
131693
+ */
131694
+ filter?: string;
131695
+ /** 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. */
131696
+ key?: string;
131697
+ /**
131698
+ * The maximum number of results per page that should be returned.
131699
+ * If the number of available results is larger than `maxResults`,
131700
+ * Compute Engine returns a `nextPageToken` that can be used to get
131701
+ * the next page of results in subsequent list requests. Acceptable values are
131702
+ * `0` to `500`, inclusive. (Default: `500`)
131703
+ */
131704
+ maxResults?: number;
131705
+ /** OAuth 2.0 token for the current user. */
131706
+ oauth_token?: string;
131707
+ /**
131708
+ * Sorts list results by a certain order. By default, results
131709
+ * are returned in alphanumerical order based on the resource name.
131710
+ *
131711
+ * You can also sort results in descending order based on the creation
131712
+ * timestamp using `orderBy="creationTimestamp desc"`. This sorts
131713
+ * results based on the `creationTimestamp` field in
131714
+ * reverse chronological order (newest result first). Use this to sort
131715
+ * resources like operations so that the newest operation is returned first.
131716
+ *
131717
+ * Currently, only sorting by `name` or
131718
+ * `creationTimestamp desc` is supported.
131719
+ */
131720
+ orderBy?: string;
131721
+ /**
131722
+ * Specifies a page token to use. Set `pageToken` to the
131723
+ * `nextPageToken` returned by a previous list request to get
131724
+ * the next page of results.
131725
+ */
131726
+ pageToken?: string;
131727
+ /** Returns response with indentations and line breaks. */
131728
+ prettyPrint?: boolean;
131729
+ /** Required. Project ID for this request. */
131730
+ project: string;
131731
+ /** 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. */
131732
+ quotaUser?: string;
131733
+ /**
131734
+ * Opt-in for partial success behavior which provides partial results in case
131735
+ * of failure. The default value is false.
131736
+ *
131737
+ * For example, when partial success behavior is enabled, aggregatedList for a
131738
+ * single zone scope either returns all resources in the zone or no resources,
131739
+ * with an error code.
131740
+ */
131741
+ returnPartialSuccess?: boolean;
131742
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
131743
+ upload_protocol?: string;
131744
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
131745
+ uploadType?: string;
131746
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
131747
+ userIp?: string;
131748
+ /** Name of the zone for this request. */
131749
+ zone: string;
131750
+ }): Request<ListVmExtensionsResponse>;
130609
131751
  /** Modifies an existing zone VM extension policy. */
130610
131752
  update(request: {
130611
131753
  /** V1 error format. */
@@ -130824,6 +131966,8 @@ declare namespace gapi.client {
130824
131966
 
130825
131967
  const organizationSecurityPolicies: OrganizationSecurityPoliciesResource;
130826
131968
 
131969
+ const organizationSnapshotRecycleBinPolicy: OrganizationSnapshotRecycleBinPolicyResource;
131970
+
130827
131971
  const packetMirrorings: PacketMirroringsResource;
130828
131972
 
130829
131973
  const previewFeatures: PreviewFeaturesResource;
@@ -130938,6 +132082,8 @@ declare namespace gapi.client {
130938
132082
 
130939
132083
  const snapshotGroups: SnapshotGroupsResource;
130940
132084
 
132085
+ const snapshotRecycleBinPolicy: SnapshotRecycleBinPolicyResource;
132086
+
130941
132087
  const snapshotSettings: SnapshotSettingsResource;
130942
132088
 
130943
132089
  const snapshots: SnapshotsResource;