@maxim_mazurok/gapi.client.compute-alpha 0.0.20241021 → 0.0.20241105
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 +11 -17
- 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: 20241105
|
|
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. */
|
|
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. */
|
|
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 VLAN based nic. If this field is specified, vlan must be set. */
|
|
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 VLAN based network interface, must be in range from 2 to 4094 inclusively. This field is mandatory if the parent network interface name is set. */
|
|
7049
7049
|
vlan?: number;
|
|
7050
7050
|
}
|
|
7051
7051
|
interface NetworkInterfaceSubInterface {
|
|
@@ -7126,8 +7126,6 @@ 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;
|
|
7131
7129
|
/** [Output Only] Name of the resource. */
|
|
7132
7130
|
name?: string;
|
|
7133
7131
|
/** [Output Only] Server-defined URL for the resource. */
|
|
@@ -7137,10 +7135,6 @@ declare namespace gapi.client {
|
|
|
7137
7135
|
/** [Output Only] Zone to which the network is restricted. */
|
|
7138
7136
|
zone?: string;
|
|
7139
7137
|
}
|
|
7140
|
-
interface NetworkProfileLocation {
|
|
7141
|
-
name?: string;
|
|
7142
|
-
scope?: string;
|
|
7143
|
-
}
|
|
7144
7138
|
interface NetworkProfileNetworkFeatures {
|
|
7145
7139
|
/** Specifies what address purposes are supported. If empty, all address purposes are supported. */
|
|
7146
7140
|
addressPurposes?: string[];
|
|
@@ -11996,7 +11990,7 @@ declare namespace gapi.client {
|
|
|
11996
11990
|
privateIpGoogleAccess?: boolean;
|
|
11997
11991
|
/** This field is for internal use. This field can be both set at resource creation time and updated using patch. */
|
|
11998
11992
|
privateIpv6GoogleAccess?: string;
|
|
11999
|
-
/** The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or
|
|
11993
|
+
/** The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or 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. */
|
|
12000
11994
|
purpose?: string;
|
|
12001
11995
|
/** URL of the region where the Subnetwork resides. This field can be set only at resource creation time. */
|
|
12002
11996
|
region?: string;
|
|
@@ -13195,7 +13189,7 @@ declare namespace gapi.client {
|
|
|
13195
13189
|
ipv6AccessType?: string;
|
|
13196
13190
|
/** Network URL. */
|
|
13197
13191
|
network?: string;
|
|
13198
|
-
/** The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or
|
|
13192
|
+
/** The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or 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. */
|
|
13199
13193
|
purpose?: string;
|
|
13200
13194
|
/** 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. */
|
|
13201
13195
|
role?: string;
|
|
@@ -25854,7 +25848,7 @@ declare namespace gapi.client {
|
|
|
25854
25848
|
},
|
|
25855
25849
|
body: AccessConfig
|
|
25856
25850
|
): Request<Operation>;
|
|
25857
|
-
/** Adds
|
|
25851
|
+
/** Adds a network interface to an instance. */
|
|
25858
25852
|
addNetworkInterface(request: {
|
|
25859
25853
|
/** V1 error format. */
|
|
25860
25854
|
'$.xgafv'?: string;
|
|
@@ -26269,7 +26263,7 @@ declare namespace gapi.client {
|
|
|
26269
26263
|
/** The name of the zone for this request. */
|
|
26270
26264
|
zone: string;
|
|
26271
26265
|
}): Request<Operation>;
|
|
26272
|
-
/** Deletes one
|
|
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; Only VLAN interface deletion is supported for now. */
|
|
26273
26267
|
deleteNetworkInterface(request?: {
|
|
26274
26268
|
/** V1 error format. */
|
|
26275
26269
|
'$.xgafv'?: string;
|
|
@@ -26285,7 +26279,7 @@ declare namespace gapi.client {
|
|
|
26285
26279
|
instance: string;
|
|
26286
26280
|
/** 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. */
|
|
26287
26281
|
key?: string;
|
|
26288
|
-
/** The name of the
|
|
26282
|
+
/** The name of the network interface to be deleted from the instance. Only VLAN network interface deletion is supported. */
|
|
26289
26283
|
networkInterfaceName: string;
|
|
26290
26284
|
/** OAuth 2.0 token for the current user. */
|
|
26291
26285
|
oauth_token?: string;
|
|
@@ -26579,7 +26573,7 @@ declare namespace gapi.client {
|
|
|
26579
26573
|
project: string;
|
|
26580
26574
|
/** 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. */
|
|
26581
26575
|
quotaUser?: string;
|
|
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.
|
|
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. */
|
|
26583
26577
|
start?: string;
|
|
26584
26578
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26585
26579
|
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 a network interface to an 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
|
|
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; Only VLAN interface deletion is supported for now.
|
|
1340
1340
|
*/
|
|
1341
1341
|
await gapi.client.compute.instances.deleteNetworkInterface({ instance: "instance", networkInterfaceName: "networkInterfaceName", project: "project", zone: "zone", });
|
|
1342
1342
|
|