@maxim_mazurok/gapi.client.compute-alpha 0.0.20241015 → 0.0.20241021
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 +17 -11
- package/package.json +1 -1
- package/readme.md +2 -2
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:
|
|
12
|
+
// Revision: 20241021
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -739,7 +739,7 @@ declare namespace gapi.client {
|
|
|
739
739
|
bypassCacheOnRequestHeaders?: BackendBucketCdnPolicyBypassCacheOnRequestHeader[];
|
|
740
740
|
/** The CacheKeyPolicy for this CdnPolicy. */
|
|
741
741
|
cacheKeyPolicy?: BackendBucketCdnPolicyCacheKeyPolicy;
|
|
742
|
-
/** Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. */
|
|
742
|
+
/** Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC. */
|
|
743
743
|
cacheMode?: string;
|
|
744
744
|
/** Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year). */
|
|
745
745
|
clientTtl?: number;
|
|
@@ -976,7 +976,7 @@ declare namespace gapi.client {
|
|
|
976
976
|
bypassCacheOnRequestHeaders?: BackendServiceCdnPolicyBypassCacheOnRequestHeader[];
|
|
977
977
|
/** The CacheKeyPolicy for this CdnPolicy. */
|
|
978
978
|
cacheKeyPolicy?: CacheKeyPolicy;
|
|
979
|
-
/** Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. */
|
|
979
|
+
/** Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC. */
|
|
980
980
|
cacheMode?: string;
|
|
981
981
|
/** Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year). */
|
|
982
982
|
clientTtl?: number;
|
|
@@ -7035,7 +7035,7 @@ declare namespace gapi.client {
|
|
|
7035
7035
|
networkIP?: string;
|
|
7036
7036
|
/** The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. */
|
|
7037
7037
|
nicType?: string;
|
|
7038
|
-
/** Name of the parent network interface of a
|
|
7038
|
+
/** Name of the parent network interface of a dynamic network interface. */
|
|
7039
7039
|
parentNicName?: string;
|
|
7040
7040
|
/** The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users. */
|
|
7041
7041
|
queueCount?: number;
|
|
@@ -7045,7 +7045,7 @@ declare namespace gapi.client {
|
|
|
7045
7045
|
subinterfaces?: NetworkInterfaceSubInterface[];
|
|
7046
7046
|
/** The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork */
|
|
7047
7047
|
subnetwork?: string;
|
|
7048
|
-
/** VLAN tag of a
|
|
7048
|
+
/** VLAN tag of a dynamic network interface, must be in range from 2 to 4094 inclusively. */
|
|
7049
7049
|
vlan?: number;
|
|
7050
7050
|
}
|
|
7051
7051
|
interface NetworkInterfaceSubInterface {
|
|
@@ -7126,6 +7126,8 @@ declare namespace gapi.client {
|
|
|
7126
7126
|
id?: string;
|
|
7127
7127
|
/** [Output Only] Type of the resource. Always compute#networkProfile for network profiles. */
|
|
7128
7128
|
kind?: string;
|
|
7129
|
+
/** [Output Only] Location to which the network is restricted. */
|
|
7130
|
+
location?: NetworkProfileLocation;
|
|
7129
7131
|
/** [Output Only] Name of the resource. */
|
|
7130
7132
|
name?: string;
|
|
7131
7133
|
/** [Output Only] Server-defined URL for the resource. */
|
|
@@ -7135,6 +7137,10 @@ declare namespace gapi.client {
|
|
|
7135
7137
|
/** [Output Only] Zone to which the network is restricted. */
|
|
7136
7138
|
zone?: string;
|
|
7137
7139
|
}
|
|
7140
|
+
interface NetworkProfileLocation {
|
|
7141
|
+
name?: string;
|
|
7142
|
+
scope?: string;
|
|
7143
|
+
}
|
|
7138
7144
|
interface NetworkProfileNetworkFeatures {
|
|
7139
7145
|
/** Specifies what address purposes are supported. If empty, all address purposes are supported. */
|
|
7140
7146
|
addressPurposes?: string[];
|
|
@@ -11990,7 +11996,7 @@ declare namespace gapi.client {
|
|
|
11990
11996
|
privateIpGoogleAccess?: boolean;
|
|
11991
11997
|
/** This field is for internal use. This field can be both set at resource creation time and updated using patch. */
|
|
11992
11998
|
privateIpv6GoogleAccess?: string;
|
|
11993
|
-
/** The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT
|
|
11999
|
+
/** The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. */
|
|
11994
12000
|
purpose?: string;
|
|
11995
12001
|
/** URL of the region where the Subnetwork resides. This field can be set only at resource creation time. */
|
|
11996
12002
|
region?: string;
|
|
@@ -13189,7 +13195,7 @@ declare namespace gapi.client {
|
|
|
13189
13195
|
ipv6AccessType?: string;
|
|
13190
13196
|
/** Network URL. */
|
|
13191
13197
|
network?: string;
|
|
13192
|
-
/** The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT
|
|
13198
|
+
/** The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. */
|
|
13193
13199
|
purpose?: string;
|
|
13194
13200
|
/** The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. */
|
|
13195
13201
|
role?: string;
|
|
@@ -25848,7 +25854,7 @@ declare namespace gapi.client {
|
|
|
25848
25854
|
},
|
|
25849
25855
|
body: AccessConfig
|
|
25850
25856
|
): Request<Operation>;
|
|
25851
|
-
/** Adds
|
|
25857
|
+
/** Adds one dynamic network interface to an active instance. */
|
|
25852
25858
|
addNetworkInterface(request: {
|
|
25853
25859
|
/** V1 error format. */
|
|
25854
25860
|
'$.xgafv'?: string;
|
|
@@ -26263,7 +26269,7 @@ declare namespace gapi.client {
|
|
|
26263
26269
|
/** The name of the zone for this request. */
|
|
26264
26270
|
zone: string;
|
|
26265
26271
|
}): Request<Operation>;
|
|
26266
|
-
/** Deletes one network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using project+zone+resource_id fields; - network interface to be deleted, using network_interface_name field;
|
|
26272
|
+
/** Deletes one dynamic network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using project+zone+resource_id fields; - dynamic network interface to be deleted, using network_interface_name field; */
|
|
26267
26273
|
deleteNetworkInterface(request?: {
|
|
26268
26274
|
/** V1 error format. */
|
|
26269
26275
|
'$.xgafv'?: string;
|
|
@@ -26279,7 +26285,7 @@ declare namespace gapi.client {
|
|
|
26279
26285
|
instance: string;
|
|
26280
26286
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
26281
26287
|
key?: string;
|
|
26282
|
-
/** The name of the network interface to be deleted from the instance.
|
|
26288
|
+
/** The name of the dynamic network interface to be deleted from the instance. */
|
|
26283
26289
|
networkInterfaceName: string;
|
|
26284
26290
|
/** OAuth 2.0 token for the current user. */
|
|
26285
26291
|
oauth_token?: string;
|
|
@@ -26573,7 +26579,7 @@ declare namespace gapi.client {
|
|
|
26573
26579
|
project: string;
|
|
26574
26580
|
/** 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. */
|
|
26575
26581
|
quotaUser?: string;
|
|
26576
|
-
/** Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console. */
|
|
26582
|
+
/** Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console. Note that the negative start is bounded by the retained buffer size, and the returned serial console output will not exceed the max buffer size. */
|
|
26577
26583
|
start?: string;
|
|
26578
26584
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26579
26585
|
upload_protocol?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1301,7 +1301,7 @@ Adds an access config to an instance's network interface.
|
|
|
1301
1301
|
await gapi.client.compute.instances.addAccessConfig({ instance: "instance", networkInterface: "networkInterface", project: "project", zone: "zone", });
|
|
1302
1302
|
|
|
1303
1303
|
/*
|
|
1304
|
-
Adds
|
|
1304
|
+
Adds one dynamic network interface to an active instance.
|
|
1305
1305
|
*/
|
|
1306
1306
|
await gapi.client.compute.instances.addNetworkInterface({ instance: "instance", project: "project", zone: "zone", });
|
|
1307
1307
|
|
|
@@ -1336,7 +1336,7 @@ Deletes an access config from an instance's network interface.
|
|
|
1336
1336
|
await gapi.client.compute.instances.deleteAccessConfig({ accessConfig: "accessConfig", instance: "instance", networkInterface: "networkInterface", project: "project", zone: "zone", });
|
|
1337
1337
|
|
|
1338
1338
|
/*
|
|
1339
|
-
Deletes one network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using project+zone+resource_id fields; - network interface to be deleted, using network_interface_name field;
|
|
1339
|
+
Deletes one dynamic network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using project+zone+resource_id fields; - dynamic network interface to be deleted, using network_interface_name field;
|
|
1340
1340
|
*/
|
|
1341
1341
|
await gapi.client.compute.instances.deleteNetworkInterface({ instance: "instance", networkInterfaceName: "networkInterfaceName", project: "project", zone: "zone", });
|
|
1342
1342
|
|