@maxim_mazurok/gapi.client.compute-alpha 0.0.20230119 → 0.0.20230210

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.
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: 20230119
12
+ // Revision: 20230210
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -148,8 +148,8 @@ declare namespace gapi.client {
148
148
  }
149
149
  interface AccessConfig {
150
150
  /**
151
- * The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only,
152
- * an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
151
+ * The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP
152
+ * address, it must be unused and in the same region as the instance's zone. If not specified, GCP will automatically assign an external IPv6 address from the instance's subnetwork.
153
153
  */
154
154
  externalIpv6?: string;
155
155
  /** The prefix length of the external IPv6 range. */
@@ -1756,14 +1756,14 @@ declare namespace gapi.client {
1756
1756
  * Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
1757
1757
  * `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
1758
1758
  * account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
1759
- * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
1760
- * identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
1761
- * `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
1762
- * a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
1763
- * reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
1764
- * identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
1765
- * `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
1766
- * example, `google.com` or `example.com`.
1759
+ * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the
1760
+ * users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has
1761
+ * been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains
1762
+ * the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently
1763
+ * deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and
1764
+ * the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that
1765
+ * has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group
1766
+ * retains the role in the binding.
1767
1767
  */
1768
1768
  members?: string[];
1769
1769
  /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
@@ -2863,6 +2863,12 @@ declare namespace gapi.client {
2863
2863
  * it cannot be an IP address from Google Compute Engine.
2864
2864
  */
2865
2865
  ipAddress?: string;
2866
+ /**
2867
+ * IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP
2868
+ * address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC
2869
+ * 5952 format (e.g. 2001:db8::2d9:51:0:0).
2870
+ */
2871
+ ipv6Address?: string;
2866
2872
  }
2867
2873
  interface ExternalVpnGatewayList {
2868
2874
  etag?: string;
@@ -3210,6 +3216,8 @@ declare namespace gapi.client {
3210
3216
  targetSecureTags?: FirewallPolicyRuleSecureTag[];
3211
3217
  /** A list of service accounts indicating the sets of instances that are applied with this rule. */
3212
3218
  targetServiceAccounts?: string[];
3219
+ /** Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions. */
3220
+ tlsInspect?: boolean;
3213
3221
  }
3214
3222
  interface FirewallPolicyRuleMatcher {
3215
3223
  /** Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. */
@@ -4756,8 +4764,9 @@ declare namespace gapi.client {
4756
4764
  /** Size of the image when restored onto a persistent disk (in GB). */
4757
4765
  diskSizeGb?: string;
4758
4766
  /**
4759
- * The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its
4760
- * latest image that is not deprecated. The name of the image family must comply with RFC1035.
4767
+ * The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family
4768
+ * you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image
4769
+ * family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
4761
4770
  */
4762
4771
  family?: string;
4763
4772
  /** A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter. */
@@ -5536,7 +5545,7 @@ declare namespace gapi.client {
5536
5545
  * could have either valid_until_time or valid_until_duration. ResizeRequest.status.queuing_policy always contains absolute time as calculated by the server when the request is queued.
5537
5546
  */
5538
5547
  status?: InstanceGroupManagerResizeRequestStatus;
5539
- /** [Output Only] The URL of a zone where the resize request is located. */
5548
+ /** [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests. */
5540
5549
  zone?: string;
5541
5550
  }
5542
5551
  interface InstanceGroupManagerResizeRequestsListResponse {
@@ -8581,7 +8590,10 @@ declare namespace gapi.client {
8581
8590
  * IPV4_IPV6.
8582
8591
  */
8583
8592
  ipv6AccessType?: string;
8584
- /** An IPv6 internal network address for this network interface. */
8593
+ /**
8594
+ * An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified,
8595
+ * GCP will automatically assign an internal IPv6 address from the instance's subnetwork.
8596
+ */
8585
8597
  ipv6Address?: string;
8586
8598
  /** [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. */
8587
8599
  kind?: string;
@@ -11833,6 +11845,13 @@ declare namespace gapi.client {
11833
11845
  advertiseMode?: string;
11834
11846
  /** BFD configuration for the BGP peering. */
11835
11847
  bfd?: RouterBgpPeerBfd;
11848
+ /** User-defined Custom Learned Route IP range list for a BGP session. */
11849
+ customLearnedIpRanges?: RouterBgpPeerCustomLearnedIpRange[];
11850
+ /**
11851
+ * User-defined Custom Learned Route Priority for a BGP session. This will be applied to all Custom Learned Route ranges of the BGP session, if not given, google-managed priority of
11852
+ * 100 is used.
11853
+ */
11854
+ customLearnedRoutePriority?: number;
11836
11855
  /**
11837
11856
  * The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer
11838
11857
  * connection can be established with routing information. The default is TRUE.
@@ -11909,6 +11928,13 @@ declare namespace gapi.client {
11909
11928
  */
11910
11929
  slowTimerInterval?: number;
11911
11930
  }
11931
+ interface RouterBgpPeerCustomLearnedIpRange {
11932
+ /**
11933
+ * The Custom Learned Route IP range. Must be a valid CIDR-formatted prefix. If an IP is provided without a subnet mask, it is interpreted as a /32 singular IP range for IPv4, and /128
11934
+ * for IPv6.
11935
+ */
11936
+ range?: string;
11937
+ }
11912
11938
  interface RouterInterface {
11913
11939
  /**
11914
11940
  * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE:
@@ -12514,7 +12540,9 @@ declare namespace gapi.client {
12514
12540
  * services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests
12515
12541
  * targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. -
12516
12542
  * CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They
12517
- * filter requests before the request is served from the application. This field can be set only at resource creation time.
12543
+ * filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load
12544
+ * balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the
12545
+ * application. This field can be set only at resource creation time.
12518
12546
  */
12519
12547
  type?: string;
12520
12548
  /**
@@ -15649,6 +15677,8 @@ declare namespace gapi.client {
15649
15677
  creationTimestamp?: string;
15650
15678
  /** An optional description of this resource. Provide this property when you create the resource. */
15651
15679
  description?: string;
15680
+ /** The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used. */
15681
+ gatewayIpVersion?: string;
15652
15682
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
15653
15683
  id?: string;
15654
15684
  /** [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways. */
@@ -15656,7 +15686,7 @@ declare namespace gapi.client {
15656
15686
  /**
15657
15687
  * A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by
15658
15688
  * Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the
15659
- * request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
15689
+ * request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
15660
15690
  */
15661
15691
  labelFingerprint?: string;
15662
15692
  /** Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. */
@@ -15814,6 +15844,11 @@ declare namespace gapi.client {
15814
15844
  * (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
15815
15845
  */
15816
15846
  ipAddress?: string;
15847
+ /**
15848
+ * [Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g.
15849
+ * 2001:db8::2d9:51:0:0).
15850
+ */
15851
+ ipv6Address?: string;
15817
15852
  }
15818
15853
  interface VpnTunnel {
15819
15854
  /** [Output Only] Creation timestamp in RFC3339 text format. */
@@ -25836,7 +25871,7 @@ declare namespace gapi.client {
25836
25871
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
25837
25872
  userIp?: string;
25838
25873
  }): Request<Image>;
25839
- /** Returns the latest image that is part of an image family and is not deprecated. */
25874
+ /** Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation. */
25840
25875
  getFromFamily(request?: {
25841
25876
  /** V1 error format. */
25842
25877
  "$.xgafv"?: string;
@@ -25856,7 +25891,7 @@ declare namespace gapi.client {
25856
25891
  oauth_token?: string;
25857
25892
  /** Returns response with indentations and line breaks. */
25858
25893
  prettyPrint?: boolean;
25859
- /** Project ID for this request. */
25894
+ /** The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project. */
25860
25895
  project: string;
25861
25896
  /** 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. */
25862
25897
  quotaUser?: string;
@@ -26294,7 +26329,7 @@ declare namespace gapi.client {
26294
26329
  uploadType?: string;
26295
26330
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
26296
26331
  userIp?: string;
26297
- /** The name of the zone where the managed instance group and the resize request are located. Name should conform to RFC1035. */
26332
+ /** Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035. */
26298
26333
  zone: string;
26299
26334
  }): Request<InstanceGroupManagerResizeRequest>;
26300
26335
  /** Creates a new resize request that starts provisioning VMs immediately or queues VM creation. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20230119",
3
+ "version": "0.0.20230210",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -962,7 +962,7 @@ Returns the specified image. Gets a list of available images by making a list()
962
962
  await gapi.client.compute.images.get({ image: "image", project: "project", });
963
963
 
964
964
  /*
965
- Returns the latest image that is part of an image family and is not deprecated.
965
+ Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation.
966
966
  */
967
967
  await gapi.client.compute.images.getFromFamily({ family: "family", project: "project", });
968
968
 
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: 20230119
6
+ // Revision: 20230210
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -2842,6 +2842,7 @@ gapi.load('client', async () => {
2842
2842
  {
2843
2843
  id: 42,
2844
2844
  ipAddress: "Test string",
2845
+ ipv6Address: "Test string",
2845
2846
  }
2846
2847
  ],
2847
2848
  kind: "Test string",
@@ -2966,6 +2967,7 @@ gapi.load('client', async () => {
2966
2967
  targetServiceAccounts: [
2967
2968
  "Test string"
2968
2969
  ],
2970
+ tlsInspect: true,
2969
2971
  });
2970
2972
  /** Copies rules to the specified firewall policy. */
2971
2973
  await gapi.client.compute.firewallPolicies.cloneRules({
@@ -3090,6 +3092,7 @@ gapi.load('client', async () => {
3090
3092
  targetServiceAccounts: [
3091
3093
  "Test string"
3092
3094
  ],
3095
+ tlsInspect: true,
3093
3096
  }
3094
3097
  ],
3095
3098
  ruleTupleCount: 42,
@@ -3210,6 +3213,7 @@ gapi.load('client', async () => {
3210
3213
  targetServiceAccounts: [
3211
3214
  "Test string"
3212
3215
  ],
3216
+ tlsInspect: true,
3213
3217
  }
3214
3218
  ],
3215
3219
  ruleTupleCount: 42,
@@ -3292,6 +3296,7 @@ gapi.load('client', async () => {
3292
3296
  targetServiceAccounts: [
3293
3297
  "Test string"
3294
3298
  ],
3299
+ tlsInspect: true,
3295
3300
  });
3296
3301
  /** Removes an association for the specified firewall policy. */
3297
3302
  await gapi.client.compute.firewallPolicies.removeAssociation({
@@ -5052,7 +5057,7 @@ gapi.load('client', async () => {
5052
5057
  image: "Test string",
5053
5058
  project: "Test string",
5054
5059
  });
5055
- /** Returns the latest image that is part of an image family and is not deprecated. */
5060
+ /** Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation. */
5056
5061
  await gapi.client.compute.images.getFromFamily({
5057
5062
  family: "Test string",
5058
5063
  project: "Test string",
@@ -11809,6 +11814,7 @@ gapi.load('client', async () => {
11809
11814
  targetServiceAccounts: [
11810
11815
  "Test string"
11811
11816
  ],
11817
+ tlsInspect: true,
11812
11818
  });
11813
11819
  /** Copies rules to the specified firewall policy. */
11814
11820
  await gapi.client.compute.networkFirewallPolicies.cloneRules({
@@ -11939,6 +11945,7 @@ gapi.load('client', async () => {
11939
11945
  targetServiceAccounts: [
11940
11946
  "Test string"
11941
11947
  ],
11948
+ tlsInspect: true,
11942
11949
  }
11943
11950
  ],
11944
11951
  ruleTupleCount: 42,
@@ -12050,6 +12057,7 @@ gapi.load('client', async () => {
12050
12057
  targetServiceAccounts: [
12051
12058
  "Test string"
12052
12059
  ],
12060
+ tlsInspect: true,
12053
12061
  }
12054
12062
  ],
12055
12063
  ruleTupleCount: 42,
@@ -12133,6 +12141,7 @@ gapi.load('client', async () => {
12133
12141
  targetServiceAccounts: [
12134
12142
  "Test string"
12135
12143
  ],
12144
+ tlsInspect: true,
12136
12145
  });
12137
12146
  /** Removes an association for the specified firewall policy. */
12138
12147
  await gapi.client.compute.networkFirewallPolicies.removeAssociation({
@@ -19877,6 +19886,7 @@ gapi.load('client', async () => {
19877
19886
  targetServiceAccounts: [
19878
19887
  "Test string"
19879
19888
  ],
19889
+ tlsInspect: true,
19880
19890
  });
19881
19891
  /** Copies rules to the specified network firewall policy. */
19882
19892
  await gapi.client.compute.regionNetworkFirewallPolicies.cloneRules({
@@ -20020,6 +20030,7 @@ gapi.load('client', async () => {
20020
20030
  targetServiceAccounts: [
20021
20031
  "Test string"
20022
20032
  ],
20033
+ tlsInspect: true,
20023
20034
  }
20024
20035
  ],
20025
20036
  ruleTupleCount: 42,
@@ -20133,6 +20144,7 @@ gapi.load('client', async () => {
20133
20144
  targetServiceAccounts: [
20134
20145
  "Test string"
20135
20146
  ],
20147
+ tlsInspect: true,
20136
20148
  }
20137
20149
  ],
20138
20150
  ruleTupleCount: 42,
@@ -20217,6 +20229,7 @@ gapi.load('client', async () => {
20217
20229
  targetServiceAccounts: [
20218
20230
  "Test string"
20219
20231
  ],
20232
+ tlsInspect: true,
20220
20233
  });
20221
20234
  /** Removes an association for the specified network firewall policy. */
20222
20235
  await gapi.client.compute.regionNetworkFirewallPolicies.removeAssociation({
@@ -25165,6 +25178,12 @@ gapi.load('client', async () => {
25165
25178
  sessionInitializationMode: "Test string",
25166
25179
  slowTimerInterval: 42,
25167
25180
  },
25181
+ customLearnedIpRanges: [
25182
+ {
25183
+ range: "Test string",
25184
+ }
25185
+ ],
25186
+ customLearnedRoutePriority: 42,
25168
25187
  enable: "Test string",
25169
25188
  enableIpv6: true,
25170
25189
  interfaceName: "Test string",
@@ -25324,6 +25343,12 @@ gapi.load('client', async () => {
25324
25343
  sessionInitializationMode: "Test string",
25325
25344
  slowTimerInterval: 42,
25326
25345
  },
25346
+ customLearnedIpRanges: [
25347
+ {
25348
+ range: "Test string",
25349
+ }
25350
+ ],
25351
+ customLearnedRoutePriority: 42,
25327
25352
  enable: "Test string",
25328
25353
  enableIpv6: true,
25329
25354
  interfaceName: "Test string",
@@ -25472,6 +25497,12 @@ gapi.load('client', async () => {
25472
25497
  sessionInitializationMode: "Test string",
25473
25498
  slowTimerInterval: 42,
25474
25499
  },
25500
+ customLearnedIpRanges: [
25501
+ {
25502
+ range: "Test string",
25503
+ }
25504
+ ],
25505
+ customLearnedRoutePriority: 42,
25475
25506
  enable: "Test string",
25476
25507
  enableIpv6: true,
25477
25508
  interfaceName: "Test string",
@@ -25634,6 +25665,12 @@ gapi.load('client', async () => {
25634
25665
  sessionInitializationMode: "Test string",
25635
25666
  slowTimerInterval: 42,
25636
25667
  },
25668
+ customLearnedIpRanges: [
25669
+ {
25670
+ range: "Test string",
25671
+ }
25672
+ ],
25673
+ customLearnedRoutePriority: 42,
25637
25674
  enable: "Test string",
25638
25675
  enableIpv6: true,
25639
25676
  interfaceName: "Test string",
@@ -31099,6 +31136,7 @@ gapi.load('client', async () => {
31099
31136
  }, {
31100
31137
  creationTimestamp: "Test string",
31101
31138
  description: "Test string",
31139
+ gatewayIpVersion: "Test string",
31102
31140
  id: "Test string",
31103
31141
  kind: "Test string",
31104
31142
  labelFingerprint: "Test string",
@@ -31115,6 +31153,7 @@ gapi.load('client', async () => {
31115
31153
  id: 42,
31116
31154
  interconnectAttachment: "Test string",
31117
31155
  ipAddress: "Test string",
31156
+ ipv6Address: "Test string",
31118
31157
  }
31119
31158
  ],
31120
31159
  });