@maxim_mazurok/gapi.client.compute-alpha 0.0.20240129 → 0.0.20240130

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 (2) hide show
  1. package/index.d.ts +26 -18
  2. package/package.json +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: 20240129
12
+ // Revision: 20240130
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -6105,17 +6105,17 @@ declare namespace gapi.client {
6105
6105
  interface NetworkEndpointGroup {
6106
6106
  /** Metadata defined as annotations on the network endpoint group. */
6107
6107
  annotations?: {[P in string]: string};
6108
- /** Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. */
6108
+ /** Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */
6109
6109
  appEngine?: NetworkEndpointGroupAppEngine;
6110
- /** Only valid when networkEndpointType is "GCE_VM_IP_PORT" and the NEG is regional. */
6110
+ /** Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional. */
6111
6111
  clientPortMappingMode?: string;
6112
- /** Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. */
6112
+ /** Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */
6113
6113
  cloudFunction?: NetworkEndpointGroupCloudFunction;
6114
- /** Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. */
6114
+ /** Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */
6115
6115
  cloudRun?: NetworkEndpointGroupCloudRun;
6116
6116
  /** [Output Only] Creation timestamp in RFC3339 text format. */
6117
6117
  creationTimestamp?: string;
6118
- /** The default port used if the port number is not specified in the network endpoint. */
6118
+ /** The default port used if the port number is not specified in the network endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified. */
6119
6119
  defaultPort?: number;
6120
6120
  /** An optional description of this resource. Provide this property when you create the resource. */
6121
6121
  description?: string;
@@ -6127,12 +6127,12 @@ declare namespace gapi.client {
6127
6127
  loadBalancer?: NetworkEndpointGroupLbNetworkEndpointGroup;
6128
6128
  /** Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
6129
6129
  name?: string;
6130
- /** The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. */
6130
+ /** The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified. */
6131
6131
  network?: string;
6132
6132
  /** Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. */
6133
6133
  networkEndpointType?: string;
6134
6134
  pscData?: NetworkEndpointGroupPscData;
6135
- /** The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com" */
6135
+ /** The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com */
6136
6136
  pscTargetService?: string;
6137
6137
  /** [Output Only] The URL of the region where the network endpoint group is located. */
6138
6138
  region?: string;
@@ -6140,7 +6140,7 @@ declare namespace gapi.client {
6140
6140
  selfLink?: string;
6141
6141
  /** [Output Only] Server-defined URL for this resource with the resource id. */
6142
6142
  selfLinkWithId?: string;
6143
- /** Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set. */
6143
+ /** Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set. */
6144
6144
  serverlessDeployment?: NetworkEndpointGroupServerlessDeployment;
6145
6145
  /** [Output only] Number of network endpoints in the network endpoint group. */
6146
6146
  size?: number;
@@ -6180,17 +6180,17 @@ declare namespace gapi.client {
6180
6180
  };
6181
6181
  }
6182
6182
  interface NetworkEndpointGroupAppEngine {
6183
- /** Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". */
6183
+ /** Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: default, my-service. */
6184
6184
  service?: string;
6185
- /** A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-appname.appspot.com/<version>". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively. */
6185
+ /** An URL mask is one of the main components of the Cloud Function. A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs foo1-dot-appname.appspot.com/v1 and foo1-dot-appname.appspot.com/v2 can be backed by the same Serverless NEG with URL mask <service>-dot-appname.appspot.com/<version>. The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively. */
6186
6186
  urlMask?: string;
6187
- /** Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2". */
6187
+ /** Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: v1, v2. */
6188
6188
  version?: string;
6189
6189
  }
6190
6190
  interface NetworkEndpointGroupCloudFunction {
6191
- /** A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1". */
6191
+ /** A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: func1. */
6192
6192
  function?: string;
6193
- /** A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively. */
6193
+ /** An URL mask is one of the main components of the Cloud Function. A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs mydomain.com/function1 and mydomain.com/function2 can be backed by the same Serverless NEG with URL mask /<function>. The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively. */
6194
6194
  urlMask?: string;
6195
6195
  }
6196
6196
  interface NetworkEndpointGroupCloudRun {
@@ -6198,13 +6198,13 @@ declare namespace gapi.client {
6198
6198
  service?: string;
6199
6199
  /** Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010". */
6200
6200
  tag?: string;
6201
- /** A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively. */
6201
+ /** An URL mask is one of the main components of the Cloud Function. A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs foo1.domain.com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask <tag>.domain.com/<service>. The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively. */
6202
6202
  urlMask?: string;
6203
6203
  }
6204
6204
  interface NetworkEndpointGroupLbNetworkEndpointGroup {
6205
- /** The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated. */
6205
+ /** The default port used if the port number is not specified in the network endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified. [Deprecated] This field is deprecated. */
6206
6206
  defaultPort?: number;
6207
- /** The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. [Deprecated] This field is deprecated. */
6207
+ /** The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified. [Deprecated] This field is deprecated. */
6208
6208
  network?: string;
6209
6209
  /** Optional URL of the subnetwork to which all network endpoints in the NEG belong. [Deprecated] This field is deprecated. */
6210
6210
  subnetwork?: string;
@@ -6258,7 +6258,7 @@ declare namespace gapi.client {
6258
6258
  platform?: string;
6259
6259
  /** The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask. The resource identified by this value is platform-specific and is as follows: 1. API Gateway: The gateway ID 2. App Engine: The service name 3. Cloud Functions: The function name 4. Cloud Run: The service name */
6260
6260
  resource?: string;
6261
- /** A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: 1. API Gateway: The gateway ID 2. App Engine: The service and version 3. Cloud Functions: The function name 4. Cloud Run: The service and tag */
6261
+ /** An URL mask is one of the main components of the Cloud Function. A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: 1. API Gateway: The gateway ID 2. App Engine: The service and version 3. Cloud Functions: The function name 4. Cloud Run: The service and tag */
6262
6262
  urlMask?: string;
6263
6263
  /** The optional resource version. The version identified by this value is platform-specific and is follows: 1. API Gateway: Unused 2. App Engine: The service version 3. Cloud Functions: Unused 4. Cloud Run: The service tag */
6264
6264
  version?: string;
@@ -6327,6 +6327,8 @@ declare namespace gapi.client {
6327
6327
  aliasIpRanges?: AliasIpRange[];
6328
6328
  /** Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date. */
6329
6329
  fingerprint?: string;
6330
+ /** Indicate whether igmp query is enabled on the network interface or not. If enabled, also indicates the version of IGMP supported. */
6331
+ igmpQuery?: string;
6330
6332
  /** The prefix length of the primary internal IPv6 range. */
6331
6333
  internalIpv6PrefixLength?: number;
6332
6334
  /** An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access. */
@@ -10183,6 +10185,8 @@ declare namespace gapi.client {
10183
10185
  name?: string;
10184
10186
  /** [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots. */
10185
10187
  region?: string;
10188
+ /** [Output only] ResourceStatus of the Snapshot resource */
10189
+ resourceStatus?: SnapshotResourceStatus;
10186
10190
  /** Output only. Reserved for future use. */
10187
10191
  satisfiesPzi?: boolean;
10188
10192
  /** [Output Only] Reserved for future use. */
@@ -10279,6 +10283,10 @@ declare namespace gapi.client {
10279
10283
  message?: string;
10280
10284
  };
10281
10285
  }
10286
+ interface SnapshotResourceStatus {
10287
+ /** [Output only] Scheduled deletion time of the snapshot. The snapshot will be deleted by the at any point within one hour after the deletion time. */
10288
+ scheduledDeletionTime?: string;
10289
+ }
10282
10290
  interface SnapshotSettings {
10283
10291
  /** (Regional snapshots use only)Policy of which location is allowed to access snapshot. */
10284
10292
  accessLocation?: SnapshotSettingsAccessLocation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20240129",
3
+ "version": "0.0.20240130",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",