@maxim_mazurok/gapi.client.compute-alpha 0.0.20240519 → 0.0.20240526

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 +18 -6
  2. package/package.json +1 -1
  3. package/readme.md +1 -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: 20240519
12
+ // Revision: 20240526
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -385,7 +385,7 @@ declare namespace gapi.client {
385
385
  savedState?: string;
386
386
  /** [Output Only] shielded vm initial state stored on disk */
387
387
  shieldedInstanceInitialState?: InitialStateConfig;
388
- /** Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. */
388
+ /** Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. */
389
389
  source?: string;
390
390
  /** Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. */
391
391
  type?: string;
@@ -429,13 +429,13 @@ declare namespace gapi.client {
429
429
  resourceManagerTags?: {[P in string]: string};
430
430
  /** Resource policies applied to this disk for automatic snapshot creations. Specified using the full or partial URL. For instance template, specify only the resource policy name. */
431
431
  resourcePolicies?: string[];
432
- /** The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. */
432
+ /** The source image to create this disk. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. */
433
433
  sourceImage?: string;
434
434
  /** The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. InstanceTemplate and InstancePropertiesPatch do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. */
435
435
  sourceImageEncryptionKey?: CustomerEncryptionKey;
436
- /** The source instant-snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceInstantSnapshot initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: us-central1-a/instantSnapshots/my-backup If the source instant-snapshot is deleted later, this field will not be set. */
436
+ /** The source instant-snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceInstantSnapshot initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: us-central1-a/instantSnapshots/my-backup If the source instant-snapshot is deleted later, this field will not be set. */
437
437
  sourceInstantSnapshot?: string;
438
- /** The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. */
438
+ /** The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. */
439
439
  sourceSnapshot?: string;
440
440
  /** The customer-supplied encryption key of the source snapshot. */
441
441
  sourceSnapshotEncryptionKey?: CustomerEncryptionKey;
@@ -2296,6 +2296,8 @@ declare namespace gapi.client {
2296
2296
  destFqdns?: string[];
2297
2297
  /** CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000. */
2298
2298
  destIpRanges?: string[];
2299
+ /** Network scope of the traffic destination. */
2300
+ destNetworkScope?: string;
2299
2301
  /** Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000. */
2300
2302
  destRegionCodes?: string[];
2301
2303
  /** Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination. */
@@ -2308,6 +2310,10 @@ declare namespace gapi.client {
2308
2310
  srcFqdns?: string[];
2309
2311
  /** CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000. */
2310
2312
  srcIpRanges?: string[];
2313
+ /** Networks of the traffic source. It can be either a full or partial url. */
2314
+ srcNetworks?: string[];
2315
+ /** Network scope of the traffic source. */
2316
+ srcNetworkScope?: string;
2311
2317
  /** Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000. */
2312
2318
  srcRegionCodes?: string[];
2313
2319
  /** List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. */
@@ -3757,6 +3763,10 @@ declare namespace gapi.client {
3757
3763
  params?: InstanceGroupManagerParams;
3758
3764
  /** [Output Only] The URL of the region where the managed instance group resides (for regional resources). */
3759
3765
  region?: string;
3766
+ /** [Output Only] Reserved for future use. */
3767
+ satisfiesPzi?: boolean;
3768
+ /** [Output Only] Reserved for future use. */
3769
+ satisfiesPzs?: boolean;
3760
3770
  /** [Output Only] The URL for this managed instance group. The server defines this URL. */
3761
3771
  selfLink?: string;
3762
3772
  /** [Output Only] Server-defined URL for this resource with the resource id. */
@@ -5969,6 +5979,8 @@ declare namespace gapi.client {
5969
5979
  networkFirewallPolicyEnforcementOrder?: string;
5970
5980
  /** A full or partial URL of the network placement to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/alpha/projects/{project_id}/global/networkPlacements/{network_placement_name} - projects/{project_id}/global/networkPlacements/{network_placement_name} */
5971
5981
  networkPlacement?: string;
5982
+ /** A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/alpha/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name} */
5983
+ networkProfile?: string;
5972
5984
  /** [Output Only] A list of network peerings for the resource. */
5973
5985
  peerings?: NetworkPeering[];
5974
5986
  /** [Output Only] URL of the region where the regional network resides. This field is not applicable to global network. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
@@ -32976,7 +32988,7 @@ declare namespace gapi.client {
32976
32988
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
32977
32989
  userIp?: string;
32978
32990
  }): Request<ExchangedPeeringRoutesList>;
32979
- /** Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode. */
32991
+ /** Patches the specified network with the data included in the request. Only routingConfig can be modified. */
32980
32992
  patch(request: {
32981
32993
  /** V1 error format. */
32982
32994
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20240519",
3
+ "version": "0.0.20240526",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -2141,7 +2141,7 @@ Lists the peering routes exchanged over peering connection.
2141
2141
  await gapi.client.compute.networks.listPeeringRoutes({ network: "network", project: "project", });
2142
2142
 
2143
2143
  /*
2144
- Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.
2144
+ Patches the specified network with the data included in the request. Only routingConfig can be modified.
2145
2145
  */
2146
2146
  await gapi.client.compute.networks.patch({ network: "network", project: "project", });
2147
2147