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

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 +17 -7
  2. package/package.json +1 -1
  3. package/tests.ts +10 -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: 20230610
12
+ // Revision: 20230620
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1723,8 +1723,8 @@ declare namespace gapi.client {
1723
1723
  serviceBindings?:
1724
1724
  string[];
1725
1725
  /**
1726
- * URL to networkservices.ServiceLbPolicy resource. Can only be set if load balancing scheme is EXTERNAL, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED. If used with a backend service,
1727
- * must reference a global policy. If used with a regional backend service, must reference a regional policy.
1726
+ * URL to networkservices.ServiceLbPolicy resource. Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is
1727
+ * global.
1728
1728
  */
1729
1729
  serviceLbPolicy?:
1730
1730
  string;
@@ -4307,8 +4307,9 @@ declare namespace gapi.client {
4307
4307
  }
4308
4308
  interface ForwardingRule {
4309
4309
  /**
4310
- * This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If the field is set to TRUE, clients can
4311
- * access ILB from all regions. Otherwise only allows access from clients in the same region as the internal load balancer.
4310
+ * This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If set to true, clients can access the
4311
+ * Internal TCP/UDP Load Balancer, Internal HTTP(S) and TCP Proxy Load Balancer from all regions. If false, only allows access from the local region the load balancer is located at.
4312
+ * Note that for INTERNAL_MANAGED forwarding rules, this field cannot be changed after the forwarding rule is created.
4312
4313
  */
4313
4314
  allowGlobalAccess?:
4314
4315
  boolean;
@@ -7053,6 +7054,12 @@ declare namespace gapi.client {
7053
7054
  */
7054
7055
  creatingAtomically?:
7055
7056
  number;
7057
+ /**
7058
+ * [Output Only] The number of instances that the managed instance group will attempt to create in bulk. If the desired count of instances cannot be created, entire batch will be
7059
+ * deleted and the group will decrease its targetSize value accordingly.
7060
+ */
7061
+ creatingInBulk?:
7062
+ number;
7056
7063
  /**
7057
7064
  * [Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any
7058
7065
  * of these instances, it decreases the group's targetSize value accordingly.
@@ -7438,6 +7445,9 @@ declare namespace gapi.client {
7438
7445
  PerInstanceConfig[];
7439
7446
  }
7440
7447
  interface InstanceGroupManagersDeleteInstancesRequest {
7448
+ /** The list of instance names to delete. Queued instances do not have URL and can be deleted only by name. You cannot specify both URLs and names in a single request. */
7449
+ instanceNames?:
7450
+ string[];
7441
7451
  /**
7442
7452
  * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be
7443
7453
  * deleted only by name. One cannot specify both URLs and names in a single request.
@@ -13671,7 +13681,7 @@ declare namespace gapi.client {
13671
13681
  /** [Output Only] The unique identifier for the resource type. The server generates this identifier. */
13672
13682
  id?:
13673
13683
  string;
13674
- /** The IPv4 address range, in CIDR format, represented by this public delegated prefix. */
13684
+ /** The IP address range, in CIDR format, represented by this public delegated prefix. */
13675
13685
  ipCidrRange?:
13676
13686
  string;
13677
13687
  /** If true, the prefix will be live migrated. */
@@ -13840,7 +13850,7 @@ declare namespace gapi.client {
13840
13850
  /** An optional description of this resource. Provide this property when you create the resource. */
13841
13851
  description?:
13842
13852
  string;
13843
- /** The IPv4 address range, in CIDR format, represented by this sub public delegated prefix. */
13853
+ /** The IP address range, in CIDR format, represented by this sub public delegated prefix. */
13844
13854
  ipCidrRange?:
13845
13855
  string;
13846
13856
  /** Whether the sub prefix is delegated to create Address resources in the delegatee project. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20230610",
3
+ "version": "0.0.20230620",
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: 20230610
6
+ // Revision: 20230620
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -5865,6 +5865,9 @@ gapi.load('client', async () => {
5865
5865
  requestId: "Test string",
5866
5866
  zone: "Test string",
5867
5867
  }, {
5868
+ instanceNames: [
5869
+ "Test string"
5870
+ ],
5868
5871
  instances: [
5869
5872
  "Test string"
5870
5873
  ],
@@ -5927,6 +5930,7 @@ gapi.load('client', async () => {
5927
5930
  abandoning: 42,
5928
5931
  creating: 42,
5929
5932
  creatingAtomically: 42,
5933
+ creatingInBulk: 42,
5930
5934
  creatingWithoutRetries: 42,
5931
5935
  deleting: 42,
5932
5936
  none: 42,
@@ -6153,6 +6157,7 @@ gapi.load('client', async () => {
6153
6157
  abandoning: 42,
6154
6158
  creating: 42,
6155
6159
  creatingAtomically: 42,
6160
+ creatingInBulk: 42,
6156
6161
  creatingWithoutRetries: 42,
6157
6162
  deleting: 42,
6158
6163
  none: 42,
@@ -6559,6 +6564,7 @@ gapi.load('client', async () => {
6559
6564
  abandoning: 42,
6560
6565
  creating: 42,
6561
6566
  creatingAtomically: 42,
6567
+ creatingInBulk: 42,
6562
6568
  creatingWithoutRetries: 42,
6563
6569
  deleting: 42,
6564
6570
  none: 42,
@@ -17803,6 +17809,7 @@ gapi.load('client', async () => {
17803
17809
  abandoning: 42,
17804
17810
  creating: 42,
17805
17811
  creatingAtomically: 42,
17812
+ creatingInBulk: 42,
17806
17813
  creatingWithoutRetries: 42,
17807
17814
  deleting: 42,
17808
17815
  none: 42,
@@ -18028,6 +18035,7 @@ gapi.load('client', async () => {
18028
18035
  abandoning: 42,
18029
18036
  creating: 42,
18030
18037
  creatingAtomically: 42,
18038
+ creatingInBulk: 42,
18031
18039
  creatingWithoutRetries: 42,
18032
18040
  deleting: 42,
18033
18041
  none: 42,
@@ -18425,6 +18433,7 @@ gapi.load('client', async () => {
18425
18433
  abandoning: 42,
18426
18434
  creating: 42,
18427
18435
  creatingAtomically: 42,
18436
+ creatingInBulk: 42,
18428
18437
  creatingWithoutRetries: 42,
18429
18438
  deleting: 42,
18430
18439
  none: 42,