@maxim_mazurok/gapi.client.compute-alpha 0.0.20230606 → 0.0.20230610

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 +45 -16
  2. package/package.json +1 -1
  3. package/tests.ts +40 -1
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: 20230606
12
+ // Revision: 20230610
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -268,7 +268,7 @@ declare namespace gapi.client {
268
268
  */
269
269
  ipv6EndpointType?:
270
270
  string;
271
- /** The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. */
271
+ /** The IP version that will be used by this address. Valid options are IPV4 or IPV6. */
272
272
  ipVersion?:
273
273
  string;
274
274
  /** [Output Only] Type of the resource. Always compute#address for addresses. */
@@ -4643,6 +4643,22 @@ declare namespace gapi.client {
4643
4643
  };
4644
4644
  }
4645
4645
  interface FutureReservation {
4646
+ /** Future timestamp when the FR auto-created reservations will be deleted by GCE. Format of this field must be a valid href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value. */
4647
+ autoCreatedReservationsDeleteTime?:
4648
+ string;
4649
+ /**
4650
+ * Specifies the duration of auto-created reservations. It represents relative time to future reservation start_time when auto-created reservations will be automatically deleted by
4651
+ * GCE. Duration time unit is represented as a count of seconds and fractions of seconds at nanosecond resolution.
4652
+ */
4653
+ autoCreatedReservationsDuration?:
4654
+ Duration;
4655
+ /**
4656
+ * Setting for enabling or disabling automatic deletion for auto-created reservation. If omitted or set to true, auto-created reservations will be deleted at Future Reservation's end
4657
+ * time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified. For keeping auto-created
4658
+ * reservation indefinitely, this value should be set to false.
4659
+ */
4660
+ autoDeleteAutoCreatedReservations?:
4661
+ boolean;
4646
4662
  /** [Output Only] The creation timestamp for this future reservation in RFC3339 text format. */
4647
4663
  creationTimestamp?:
4648
4664
  string;
@@ -7192,7 +7208,11 @@ declare namespace gapi.client {
7192
7208
  number;
7193
7209
  }
7194
7210
  interface InstanceGroupManagerInstanceLifecyclePolicy {
7195
- /** Defines behaviour for all instance or failures */
7211
+ /**
7212
+ * The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR
7213
+ * (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed
7214
+ * or an unhealthy VM.
7215
+ */
7196
7216
  defaultActionOnFailure?:
7197
7217
  string;
7198
7218
  /**
@@ -7399,15 +7419,15 @@ declare namespace gapi.client {
7399
7419
  string;
7400
7420
  /**
7401
7421
  * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and
7402
- * start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive
7403
- * action than you set with this flag, the necessary action is performed to execute the update.
7422
+ * start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If
7423
+ * your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
7404
7424
  */
7405
7425
  minimalAction?:
7406
7426
  string;
7407
7427
  /**
7408
7428
  * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it
7409
- * again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more
7410
- * disruptive action than you set with this flag, the update request will fail.
7429
+ * again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is
7430
+ * REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
7411
7431
  */
7412
7432
  mostDisruptiveAllowedAction?:
7413
7433
  string;
@@ -7712,9 +7732,9 @@ declare namespace gapi.client {
7712
7732
  minReadySec?:
7713
7733
  number;
7714
7734
  /**
7715
- * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart,
7716
- * RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is
7717
- * more disruptive than most disruptive allowed action you specify it will not perform the update at all.
7735
+ * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as
7736
+ * much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update
7737
+ * action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
7718
7738
  */
7719
7739
  mostDisruptiveAllowedAction?:
7720
7740
  string;
@@ -13517,7 +13537,7 @@ declare namespace gapi.client {
13517
13537
  /** An optional description of this resource. Provide this property when you create the resource. */
13518
13538
  description?:
13519
13539
  string;
13520
- /** The IPv4 address to be used for reverse DNS verification. */
13540
+ /** The address to be used for reverse DNS verification. */
13521
13541
  dnsVerificationIp?:
13522
13542
  string;
13523
13543
  /**
@@ -13530,7 +13550,7 @@ declare namespace gapi.client {
13530
13550
  /** [Output Only] The unique identifier for the resource type. The server generates this identifier. */
13531
13551
  id?:
13532
13552
  string;
13533
- /** The IPv4 address range, in CIDR format, represented by this public advertised prefix. */
13553
+ /** The address range, in CIDR format, represented by this public advertised prefix. */
13534
13554
  ipCidrRange?:
13535
13555
  string;
13536
13556
  /** [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes. */
@@ -14401,15 +14421,15 @@ declare namespace gapi.client {
14401
14421
  string;
14402
14422
  /**
14403
14423
  * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and
14404
- * start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive
14405
- * action than you set with this flag, the necessary action is performed to execute the update.
14424
+ * start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If
14425
+ * your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
14406
14426
  */
14407
14427
  minimalAction?:
14408
14428
  string;
14409
14429
  /**
14410
14430
  * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it
14411
- * again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more
14412
- * disruptive action than you set with this flag, the update request will fail.
14431
+ * again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is
14432
+ * REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
14413
14433
  */
14414
14434
  mostDisruptiveAllowedAction?:
14415
14435
  string;
@@ -14773,6 +14793,12 @@ declare namespace gapi.client {
14773
14793
  /** [Output Only] Creation timestamp in RFC3339 text format. */
14774
14794
  creationTimestamp?:
14775
14795
  string;
14796
+ /** Duration time relative to reservation creation when GCE will automatically delete this resource. */
14797
+ deleteAfterDuration?:
14798
+ Duration;
14799
+ /** Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented in RFC3339 text format. */
14800
+ deleteAtTime?:
14801
+ string;
14776
14802
  /** An optional description of this resource. Provide this property when you create the resource. */
14777
14803
  description?:
14778
14804
  string;
@@ -17411,6 +17437,9 @@ declare namespace gapi.client {
17411
17437
  };
17412
17438
  }
17413
17439
  interface ServiceAttachmentConnectedEndpoint {
17440
+ /** The url of the consumer network. */
17441
+ consumerNetwork?:
17442
+ string;
17414
17443
  /** The url of a connected endpoint. */
17415
17444
  endpoint?:
17416
17445
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20230606",
3
+ "version": "0.0.20230610",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230606
6
+ // Revision: 20230610
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -3915,6 +3915,12 @@ gapi.load('client', async () => {
3915
3915
  requestId: "Test string",
3916
3916
  zone: "Test string",
3917
3917
  }, {
3918
+ autoCreatedReservationsDeleteTime: "Test string",
3919
+ autoCreatedReservationsDuration: {
3920
+ nanos: 42,
3921
+ seconds: "Test string",
3922
+ },
3923
+ autoDeleteAutoCreatedReservations: true,
3918
3924
  creationTimestamp: "Test string",
3919
3925
  description: "Test string",
3920
3926
  id: "Test string",
@@ -4058,6 +4064,12 @@ gapi.load('client', async () => {
4058
4064
  updateMask: "Test string",
4059
4065
  zone: "Test string",
4060
4066
  }, {
4067
+ autoCreatedReservationsDeleteTime: "Test string",
4068
+ autoCreatedReservationsDuration: {
4069
+ nanos: 42,
4070
+ seconds: "Test string",
4071
+ },
4072
+ autoDeleteAutoCreatedReservations: true,
4061
4073
  creationTimestamp: "Test string",
4062
4074
  description: "Test string",
4063
4075
  id: "Test string",
@@ -16257,6 +16269,11 @@ gapi.load('client', async () => {
16257
16269
  },
16258
16270
  commitment: "Test string",
16259
16271
  creationTimestamp: "Test string",
16272
+ deleteAfterDuration: {
16273
+ nanos: 42,
16274
+ seconds: "Test string",
16275
+ },
16276
+ deleteAtTime: "Test string",
16260
16277
  description: "Test string",
16261
16278
  id: "Test string",
16262
16279
  kind: "Test string",
@@ -16428,6 +16445,11 @@ gapi.load('client', async () => {
16428
16445
  },
16429
16446
  commitment: "Test string",
16430
16447
  creationTimestamp: "Test string",
16448
+ deleteAfterDuration: {
16449
+ nanos: 42,
16450
+ seconds: "Test string",
16451
+ },
16452
+ deleteAtTime: "Test string",
16431
16453
  description: "Test string",
16432
16454
  id: "Test string",
16433
16455
  kind: "Test string",
@@ -16556,6 +16578,11 @@ gapi.load('client', async () => {
16556
16578
  },
16557
16579
  commitment: "Test string",
16558
16580
  creationTimestamp: "Test string",
16581
+ deleteAfterDuration: {
16582
+ nanos: 42,
16583
+ seconds: "Test string",
16584
+ },
16585
+ deleteAtTime: "Test string",
16559
16586
  description: "Test string",
16560
16587
  id: "Test string",
16561
16588
  kind: "Test string",
@@ -24432,6 +24459,11 @@ gapi.load('client', async () => {
24432
24459
  },
24433
24460
  commitment: "Test string",
24434
24461
  creationTimestamp: "Test string",
24462
+ deleteAfterDuration: {
24463
+ nanos: 42,
24464
+ seconds: "Test string",
24465
+ },
24466
+ deleteAtTime: "Test string",
24435
24467
  description: "Test string",
24436
24468
  id: "Test string",
24437
24469
  kind: "Test string",
@@ -24660,6 +24692,11 @@ gapi.load('client', async () => {
24660
24692
  },
24661
24693
  commitment: "Test string",
24662
24694
  creationTimestamp: "Test string",
24695
+ deleteAfterDuration: {
24696
+ nanos: 42,
24697
+ seconds: "Test string",
24698
+ },
24699
+ deleteAtTime: "Test string",
24663
24700
  description: "Test string",
24664
24701
  id: "Test string",
24665
24702
  kind: "Test string",
@@ -26810,6 +26847,7 @@ gapi.load('client', async () => {
26810
26847
  }, {
26811
26848
  connectedEndpoints: [
26812
26849
  {
26850
+ consumerNetwork: "Test string",
26813
26851
  endpoint: "Test string",
26814
26852
  pscConnectionId: "Test string",
26815
26853
  status: "Test string",
@@ -26868,6 +26906,7 @@ gapi.load('client', async () => {
26868
26906
  }, {
26869
26907
  connectedEndpoints: [
26870
26908
  {
26909
+ consumerNetwork: "Test string",
26871
26910
  endpoint: "Test string",
26872
26911
  pscConnectionId: "Test string",
26873
26912
  status: "Test string",