@maxim_mazurok/gapi.client.compute-alpha 0.0.20241008 → 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 +72 -79
- package/package.json +1 -1
- package/readme.md +7 -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;
|
|
@@ -1309,8 +1309,6 @@ declare namespace gapi.client {
|
|
|
1309
1309
|
prefix?: string;
|
|
1310
1310
|
}
|
|
1311
1311
|
interface Binding {
|
|
1312
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
1313
|
-
bindingId?: string;
|
|
1314
1312
|
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
1315
1313
|
condition?: Expr;
|
|
1316
1314
|
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service 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]`. * `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 users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique 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 `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing 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 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 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 `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
@@ -1561,18 +1559,6 @@ declare namespace gapi.client {
|
|
|
1561
1559
|
message?: string;
|
|
1562
1560
|
};
|
|
1563
1561
|
}
|
|
1564
|
-
interface Condition {
|
|
1565
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
1566
|
-
iam?: string;
|
|
1567
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
1568
|
-
op?: string;
|
|
1569
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
1570
|
-
svc?: string;
|
|
1571
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
1572
|
-
sys?: string;
|
|
1573
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
1574
|
-
values?: string[];
|
|
1575
|
-
}
|
|
1576
1562
|
interface ConfidentialInstanceConfig {
|
|
1577
1563
|
/** Defines the type of technology used by the confidential instance. */
|
|
1578
1564
|
confidentialInstanceType?: string;
|
|
@@ -3942,7 +3928,7 @@ declare namespace gapi.client {
|
|
|
3942
3928
|
multiMig?: string;
|
|
3943
3929
|
/** The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. */
|
|
3944
3930
|
name?: string;
|
|
3945
|
-
/** Named ports configured
|
|
3931
|
+
/** [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager. */
|
|
3946
3932
|
namedPorts?: NamedPort[];
|
|
3947
3933
|
/** Input only. Additional params passed with the request, but not persisted as part of resource payload. */
|
|
3948
3934
|
params?: InstanceGroupManagerParams;
|
|
@@ -6133,36 +6119,6 @@ declare namespace gapi.client {
|
|
|
6133
6119
|
/** Maximum number of items that are allowed to be placed in this zone. The value must be non-negative. */
|
|
6134
6120
|
maxCount?: number;
|
|
6135
6121
|
}
|
|
6136
|
-
interface LogConfig {
|
|
6137
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
6138
|
-
cloudAudit?: LogConfigCloudAuditOptions;
|
|
6139
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
6140
|
-
counter?: LogConfigCounterOptions;
|
|
6141
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
6142
|
-
dataAccess?: LogConfigDataAccessOptions;
|
|
6143
|
-
}
|
|
6144
|
-
interface LogConfigCloudAuditOptions {
|
|
6145
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
6146
|
-
logName?: string;
|
|
6147
|
-
}
|
|
6148
|
-
interface LogConfigCounterOptions {
|
|
6149
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
6150
|
-
customFields?: LogConfigCounterOptionsCustomField[];
|
|
6151
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
6152
|
-
field?: string;
|
|
6153
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
6154
|
-
metric?: string;
|
|
6155
|
-
}
|
|
6156
|
-
interface LogConfigCounterOptionsCustomField {
|
|
6157
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
6158
|
-
name?: string;
|
|
6159
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
6160
|
-
value?: string;
|
|
6161
|
-
}
|
|
6162
|
-
interface LogConfigDataAccessOptions {
|
|
6163
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
6164
|
-
logMode?: string;
|
|
6165
|
-
}
|
|
6166
6122
|
interface MachineImage {
|
|
6167
6123
|
/** [Output Only] The creation timestamp for this machine image in RFC3339 text format. */
|
|
6168
6124
|
creationTimestamp?: string;
|
|
@@ -7079,7 +7035,7 @@ declare namespace gapi.client {
|
|
|
7079
7035
|
networkIP?: string;
|
|
7080
7036
|
/** The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. */
|
|
7081
7037
|
nicType?: string;
|
|
7082
|
-
/** Name of the parent network interface of a
|
|
7038
|
+
/** Name of the parent network interface of a dynamic network interface. */
|
|
7083
7039
|
parentNicName?: string;
|
|
7084
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. */
|
|
7085
7041
|
queueCount?: number;
|
|
@@ -7089,7 +7045,7 @@ declare namespace gapi.client {
|
|
|
7089
7045
|
subinterfaces?: NetworkInterfaceSubInterface[];
|
|
7090
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 */
|
|
7091
7047
|
subnetwork?: string;
|
|
7092
|
-
/** VLAN tag of a
|
|
7048
|
+
/** VLAN tag of a dynamic network interface, must be in range from 2 to 4094 inclusively. */
|
|
7093
7049
|
vlan?: number;
|
|
7094
7050
|
}
|
|
7095
7051
|
interface NetworkInterfaceSubInterface {
|
|
@@ -7170,6 +7126,8 @@ declare namespace gapi.client {
|
|
|
7170
7126
|
id?: string;
|
|
7171
7127
|
/** [Output Only] Type of the resource. Always compute#networkProfile for network profiles. */
|
|
7172
7128
|
kind?: string;
|
|
7129
|
+
/** [Output Only] Location to which the network is restricted. */
|
|
7130
|
+
location?: NetworkProfileLocation;
|
|
7173
7131
|
/** [Output Only] Name of the resource. */
|
|
7174
7132
|
name?: string;
|
|
7175
7133
|
/** [Output Only] Server-defined URL for the resource. */
|
|
@@ -7179,6 +7137,10 @@ declare namespace gapi.client {
|
|
|
7179
7137
|
/** [Output Only] Zone to which the network is restricted. */
|
|
7180
7138
|
zone?: string;
|
|
7181
7139
|
}
|
|
7140
|
+
interface NetworkProfileLocation {
|
|
7141
|
+
name?: string;
|
|
7142
|
+
scope?: string;
|
|
7143
|
+
}
|
|
7182
7144
|
interface NetworkProfileNetworkFeatures {
|
|
7183
7145
|
/** Specifies what address purposes are supported. If empty, all address purposes are supported. */
|
|
7184
7146
|
addressPurposes?: string[];
|
|
@@ -7192,10 +7154,6 @@ declare namespace gapi.client {
|
|
|
7192
7154
|
allowCloudNat?: string;
|
|
7193
7155
|
/** Specifies whether cloud router creation is allowed. */
|
|
7194
7156
|
allowCloudRouter?: string;
|
|
7195
|
-
/** Specifies which subnetwork purposes are supported. */
|
|
7196
|
-
allowedSubnetPurposes?: string[];
|
|
7197
|
-
/** Specifies which subnetwork stack types are supported. */
|
|
7198
|
-
allowedSubnetStackTypes?: string[];
|
|
7199
7157
|
/** Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC. */
|
|
7200
7158
|
allowExternalIpAccess?: string;
|
|
7201
7159
|
/** Specifies whether Cloud Interconnect creation is allowed. */
|
|
@@ -7222,6 +7180,10 @@ declare namespace gapi.client {
|
|
|
7222
7180
|
allowVpn?: string;
|
|
7223
7181
|
/** If set, limits the interface types that the network supports. If empty, all interface types are supported. */
|
|
7224
7182
|
interfaceTypes?: string[];
|
|
7183
|
+
/** Specifies which subnetwork purposes are supported. */
|
|
7184
|
+
subnetPurposes?: string[];
|
|
7185
|
+
/** Specifies which subnetwork stack types are supported. */
|
|
7186
|
+
subnetStackTypes?: string[];
|
|
7225
7187
|
/** Specifies which type of unicast is supported. */
|
|
7226
7188
|
unicast?: string;
|
|
7227
7189
|
}
|
|
@@ -8256,8 +8218,6 @@ declare namespace gapi.client {
|
|
|
8256
8218
|
bindings?: Binding[];
|
|
8257
8219
|
/** `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. */
|
|
8258
8220
|
etag?: string;
|
|
8259
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
8260
|
-
rules?: Rule[];
|
|
8261
8221
|
/** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
8262
8222
|
version?: number;
|
|
8263
8223
|
}
|
|
@@ -9303,7 +9263,7 @@ declare namespace gapi.client {
|
|
|
9303
9263
|
/** [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])? */
|
|
9304
9264
|
name?: string;
|
|
9305
9265
|
/** [Output Only] The physical topology of the reservation block. */
|
|
9306
|
-
|
|
9266
|
+
physicalTopology?: ReservationBlockPhysicalTopology;
|
|
9307
9267
|
/** [Output Only] Maintenance information for this reservation block. */
|
|
9308
9268
|
reservationMaintenance?: GroupMaintenanceInfo;
|
|
9309
9269
|
/** [Output Only] Server-defined fully-qualified URL for this resource. */
|
|
@@ -9637,6 +9597,8 @@ declare namespace gapi.client {
|
|
|
9637
9597
|
lastInstanceTerminationDetails?: ResourceStatusLastInstanceTerminationDetails;
|
|
9638
9598
|
/** [Output Only] An opaque ID of the host on which the VM is running. */
|
|
9639
9599
|
physicalHost?: string;
|
|
9600
|
+
/** [Output Only] The physical host topology of the host on which the VM is running. */
|
|
9601
|
+
physicalHostTopology?: ResourceStatusPhysicalHostTopology;
|
|
9640
9602
|
scheduling?: ResourceStatusScheduling;
|
|
9641
9603
|
/** [Output Only] Represents the status of the service integration specs defined by the user in instance.serviceIntegrationSpecs. */
|
|
9642
9604
|
serviceIntegrationStatuses?: {
|
|
@@ -9673,6 +9635,12 @@ declare namespace gapi.client {
|
|
|
9673
9635
|
/** Reason for termination */
|
|
9674
9636
|
terminationReason?: string;
|
|
9675
9637
|
}
|
|
9638
|
+
interface ResourceStatusPhysicalHostTopology {
|
|
9639
|
+
block?: string;
|
|
9640
|
+
cluster?: string;
|
|
9641
|
+
host?: string;
|
|
9642
|
+
subblock?: string;
|
|
9643
|
+
}
|
|
9676
9644
|
interface ResourceStatusScheduling {
|
|
9677
9645
|
/** Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. */
|
|
9678
9646
|
availabilityDomain?: number;
|
|
@@ -10321,22 +10289,6 @@ declare namespace gapi.client {
|
|
|
10321
10289
|
kind?: string;
|
|
10322
10290
|
result?: RouterStatus;
|
|
10323
10291
|
}
|
|
10324
|
-
interface Rule {
|
|
10325
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
10326
|
-
action?: string;
|
|
10327
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
10328
|
-
conditions?: Condition[];
|
|
10329
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
10330
|
-
description?: string;
|
|
10331
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
10332
|
-
ins?: string[];
|
|
10333
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
10334
|
-
logConfigs?: LogConfig[];
|
|
10335
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
10336
|
-
notIns?: string[];
|
|
10337
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
10338
|
-
permissions?: string[];
|
|
10339
|
-
}
|
|
10340
10292
|
interface SavedAttachedDisk {
|
|
10341
10293
|
/** Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). */
|
|
10342
10294
|
autoDelete?: boolean;
|
|
@@ -10428,6 +10380,8 @@ declare namespace gapi.client {
|
|
|
10428
10380
|
preemptible?: boolean;
|
|
10429
10381
|
/** Specifies the provisioning model of the instance. */
|
|
10430
10382
|
provisioningModel?: string;
|
|
10383
|
+
/** Timeout between GCE ACPI G2 Soft Off and ACPI G3 Mechanical Off during shutdown operation of VM. For Standard VMs values between 0s and 120s are allowed. For Spot and Preemptible VMs supported values are between 0s and 30s. If no value is specified for shutdownDuration, default values are 90s for Standard VMs and 30s for Spot/Preemptible VMs. */
|
|
10384
|
+
shutdownTimeout?: Duration;
|
|
10431
10385
|
/** Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. */
|
|
10432
10386
|
terminationTime?: string;
|
|
10433
10387
|
/** Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default mode is `OFF`. */
|
|
@@ -12042,7 +11996,7 @@ declare namespace gapi.client {
|
|
|
12042
11996
|
privateIpGoogleAccess?: boolean;
|
|
12043
11997
|
/** This field is for internal use. This field can be both set at resource creation time and updated using patch. */
|
|
12044
11998
|
privateIpv6GoogleAccess?: string;
|
|
12045
|
-
/** 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. */
|
|
12046
12000
|
purpose?: string;
|
|
12047
12001
|
/** URL of the region where the Subnetwork resides. This field can be set only at resource creation time. */
|
|
12048
12002
|
region?: string;
|
|
@@ -13241,7 +13195,7 @@ declare namespace gapi.client {
|
|
|
13241
13195
|
ipv6AccessType?: string;
|
|
13242
13196
|
/** Network URL. */
|
|
13243
13197
|
network?: string;
|
|
13244
|
-
/** 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. */
|
|
13245
13199
|
purpose?: string;
|
|
13246
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. */
|
|
13247
13201
|
role?: string;
|
|
@@ -25900,7 +25854,7 @@ declare namespace gapi.client {
|
|
|
25900
25854
|
},
|
|
25901
25855
|
body: AccessConfig
|
|
25902
25856
|
): Request<Operation>;
|
|
25903
|
-
/** Adds
|
|
25857
|
+
/** Adds one dynamic network interface to an active instance. */
|
|
25904
25858
|
addNetworkInterface(request: {
|
|
25905
25859
|
/** V1 error format. */
|
|
25906
25860
|
'$.xgafv'?: string;
|
|
@@ -26315,7 +26269,7 @@ declare namespace gapi.client {
|
|
|
26315
26269
|
/** The name of the zone for this request. */
|
|
26316
26270
|
zone: string;
|
|
26317
26271
|
}): Request<Operation>;
|
|
26318
|
-
/** 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; */
|
|
26319
26273
|
deleteNetworkInterface(request?: {
|
|
26320
26274
|
/** V1 error format. */
|
|
26321
26275
|
'$.xgafv'?: string;
|
|
@@ -26331,7 +26285,7 @@ declare namespace gapi.client {
|
|
|
26331
26285
|
instance: string;
|
|
26332
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. */
|
|
26333
26287
|
key?: string;
|
|
26334
|
-
/** 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. */
|
|
26335
26289
|
networkInterfaceName: string;
|
|
26336
26290
|
/** OAuth 2.0 token for the current user. */
|
|
26337
26291
|
oauth_token?: string;
|
|
@@ -26625,7 +26579,7 @@ declare namespace gapi.client {
|
|
|
26625
26579
|
project: string;
|
|
26626
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. */
|
|
26627
26581
|
quotaUser?: string;
|
|
26628
|
-
/** 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. */
|
|
26629
26583
|
start?: string;
|
|
26630
26584
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26631
26585
|
upload_protocol?: string;
|
|
@@ -37328,6 +37282,45 @@ declare namespace gapi.client {
|
|
|
37328
37282
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
37329
37283
|
userIp?: string;
|
|
37330
37284
|
}): Request<OrganizationSecurityPoliciesListAssociationsResponse>;
|
|
37285
|
+
/** Gets the current list of preconfigured Web Application Firewall (WAF) expressions. */
|
|
37286
|
+
listPreconfiguredExpressionSets(request?: {
|
|
37287
|
+
/** V1 error format. */
|
|
37288
|
+
'$.xgafv'?: string;
|
|
37289
|
+
/** OAuth access token. */
|
|
37290
|
+
access_token?: string;
|
|
37291
|
+
/** Data format for response. */
|
|
37292
|
+
alt?: string;
|
|
37293
|
+
/** JSONP */
|
|
37294
|
+
callback?: string;
|
|
37295
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
37296
|
+
fields?: string;
|
|
37297
|
+
/** A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. */
|
|
37298
|
+
filter?: string;
|
|
37299
|
+
/** 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. */
|
|
37300
|
+
key?: string;
|
|
37301
|
+
/** The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) */
|
|
37302
|
+
maxResults?: number;
|
|
37303
|
+
/** OAuth 2.0 token for the current user. */
|
|
37304
|
+
oauth_token?: string;
|
|
37305
|
+
/** Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. */
|
|
37306
|
+
orderBy?: string;
|
|
37307
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
37308
|
+
pageToken?: string;
|
|
37309
|
+
/** Parent ID for this request. */
|
|
37310
|
+
parentId?: string;
|
|
37311
|
+
/** Returns response with indentations and line breaks. */
|
|
37312
|
+
prettyPrint?: boolean;
|
|
37313
|
+
/** 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. */
|
|
37314
|
+
quotaUser?: string;
|
|
37315
|
+
/** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. */
|
|
37316
|
+
returnPartialSuccess?: boolean;
|
|
37317
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
37318
|
+
upload_protocol?: string;
|
|
37319
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
37320
|
+
uploadType?: string;
|
|
37321
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
37322
|
+
userIp?: string;
|
|
37323
|
+
}): Request<SecurityPoliciesListPreconfiguredExpressionSetsResponse>;
|
|
37331
37324
|
/** Moves the specified security policy. */
|
|
37332
37325
|
move(request?: {
|
|
37333
37326
|
/** V1 error format. */
|
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
|
|
|
@@ -2505,6 +2505,11 @@ Lists associations of a specified target, i.e., organization or folder.
|
|
|
2505
2505
|
*/
|
|
2506
2506
|
await gapi.client.compute.organizationSecurityPolicies.listAssociations({ });
|
|
2507
2507
|
|
|
2508
|
+
/*
|
|
2509
|
+
Gets the current list of preconfigured Web Application Firewall (WAF) expressions.
|
|
2510
|
+
*/
|
|
2511
|
+
await gapi.client.compute.organizationSecurityPolicies.listPreconfiguredExpressionSets({ });
|
|
2512
|
+
|
|
2508
2513
|
/*
|
|
2509
2514
|
Moves the specified security policy.
|
|
2510
2515
|
*/
|