@maxim_mazurok/gapi.client.compute-alpha 0.0.20240730 → 0.0.20240813
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 +6 -259
- package/package.json +1 -1
- package/readme.md +0 -20
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: 20240813
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -833,7 +833,7 @@ declare namespace gapi.client {
|
|
|
833
833
|
dryRun?: boolean;
|
|
834
834
|
/** Optional parameter to define a target utilization for the Custom Metrics balancing mode. The valid range is [0.0, 1.0]. */
|
|
835
835
|
maxUtilization?: number;
|
|
836
|
-
/** Name of a custom utilization signal. The name must be 1-
|
|
836
|
+
/** Name of a custom utilization signal. The name must be 1-64 characters long, and comply with relaxed RFC1035. Specifically, the name must be 1-64 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, period, underscore, lowercase letter, or digit, except the last character, which cannot be a dash, period, or underscore. For usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED. */
|
|
837
837
|
name?: string;
|
|
838
838
|
}
|
|
839
839
|
interface BackendService {
|
|
@@ -6112,76 +6112,6 @@ declare namespace gapi.client {
|
|
|
6112
6112
|
/** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
|
|
6113
6113
|
units?: string;
|
|
6114
6114
|
}
|
|
6115
|
-
interface MultiMig {
|
|
6116
|
-
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
6117
|
-
creationTimestamp?: string;
|
|
6118
|
-
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
6119
|
-
description?: string;
|
|
6120
|
-
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
6121
|
-
id?: string;
|
|
6122
|
-
/** [Output Only] Type of the resource. Always compute#multiMig for MultiMIGs. */
|
|
6123
|
-
kind?: string;
|
|
6124
|
-
locationPolicy?: MultiMigLocationPolicy;
|
|
6125
|
-
/** 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. */
|
|
6126
|
-
name?: string;
|
|
6127
|
-
/** User-provided names for Parts of MultiMIG and the Parts themselves. */
|
|
6128
|
-
parts?: {[P in string]: MultiMigPart};
|
|
6129
|
-
/** [Output Only] URL of the region where the resource resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
|
|
6130
|
-
region?: string;
|
|
6131
|
-
/** Policy for handling provisioning and other scheduling-related events. */
|
|
6132
|
-
schedulingPolicy?: MultiMigSchedulingPolicy;
|
|
6133
|
-
/** [Output only] Server-defined URL for the resource. */
|
|
6134
|
-
selfLink?: string;
|
|
6135
|
-
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
6136
|
-
selfLinkWithId?: string;
|
|
6137
|
-
status?: MultiMigStatus;
|
|
6138
|
-
}
|
|
6139
|
-
interface MultiMigLocationPolicy {
|
|
6140
|
-
/** List of zones where MIGs will be provisioned. Should be valid RFC1035 name */
|
|
6141
|
-
provisioningZones?: string[];
|
|
6142
|
-
}
|
|
6143
|
-
interface MultiMigPart {
|
|
6144
|
-
/** Link to an existing InstanceGroupManager that will be adopted by a MultiMIG. */
|
|
6145
|
-
instanceGroupManager?: string;
|
|
6146
|
-
/** InstanceGroupManager to be created by the multiMig */
|
|
6147
|
-
instanceGroupManagerProperties?: InstanceGroupManager;
|
|
6148
|
-
}
|
|
6149
|
-
interface MultiMigSchedulingPolicy {
|
|
6150
|
-
/** How provisioning of MIGs should be scheduled (coordinated or not) */
|
|
6151
|
-
provisioning?: string;
|
|
6152
|
-
}
|
|
6153
|
-
interface MultiMigsList {
|
|
6154
|
-
etag?: string;
|
|
6155
|
-
/** Unique identifier for the resource; defined by the server. */
|
|
6156
|
-
id?: string;
|
|
6157
|
-
/** A list of MultiMig resources. */
|
|
6158
|
-
items?: MultiMig[];
|
|
6159
|
-
/** Type of resource. */
|
|
6160
|
-
kind?: string;
|
|
6161
|
-
/** This token allows you to get the next page of results for maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. */
|
|
6162
|
-
nextPageToken?: string;
|
|
6163
|
-
/** [Output only] Server-defined URL for this resource. */
|
|
6164
|
-
selfLink?: string;
|
|
6165
|
-
/** [Output only] Unreachable resources. */
|
|
6166
|
-
unreachables?: string[];
|
|
6167
|
-
/** Informational warning message. */
|
|
6168
|
-
warning?: {
|
|
6169
|
-
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
6170
|
-
code?: string;
|
|
6171
|
-
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
6172
|
-
data?: Array<{
|
|
6173
|
-
/** [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). */
|
|
6174
|
-
key?: string;
|
|
6175
|
-
/** [Output Only] A warning data value corresponding to the key. */
|
|
6176
|
-
value?: string;
|
|
6177
|
-
}>;
|
|
6178
|
-
/** [Output Only] A human-readable description of the warning code. */
|
|
6179
|
-
message?: string;
|
|
6180
|
-
};
|
|
6181
|
-
}
|
|
6182
|
-
interface MultiMigStatus {
|
|
6183
|
-
memberInstanceGroupManagers?: string[];
|
|
6184
|
-
}
|
|
6185
6115
|
interface MutualTls {
|
|
6186
6116
|
/** Specifies if the server TLS is configured to be strict or permissive. This field can be set to one of the following: STRICT: Client certificate must be presented, connection is in TLS. PERMISSIVE: Client certificate can be omitted, connection can be either plaintext or TLS. */
|
|
6187
6117
|
mode?: string;
|
|
@@ -13086,7 +13016,7 @@ declare namespace gapi.client {
|
|
|
13086
13016
|
labelFingerprint?: string;
|
|
13087
13017
|
/** Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. */
|
|
13088
13018
|
labels?: {[P in string]: string};
|
|
13089
|
-
/** Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported. */
|
|
13019
|
+
/** Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. */
|
|
13090
13020
|
localTrafficSelector?: string[];
|
|
13091
13021
|
/** 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. */
|
|
13092
13022
|
name?: string;
|
|
@@ -13096,11 +13026,11 @@ declare namespace gapi.client {
|
|
|
13096
13026
|
peerExternalGatewayInterface?: number;
|
|
13097
13027
|
/** URL of the peer side HA VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer Google Cloud VPN gateway. */
|
|
13098
13028
|
peerGcpGateway?: string;
|
|
13099
|
-
/** IP address of the peer VPN gateway. Only IPv4 is supported. */
|
|
13029
|
+
/** IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels. */
|
|
13100
13030
|
peerIp?: string;
|
|
13101
13031
|
/** [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
|
|
13102
13032
|
region?: string;
|
|
13103
|
-
/** Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported. */
|
|
13033
|
+
/** Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. */
|
|
13104
13034
|
remoteTrafficSelector?: string[];
|
|
13105
13035
|
/** URL of the router resource to be used for dynamic routing. */
|
|
13106
13036
|
router?: string;
|
|
@@ -13112,7 +13042,7 @@ declare namespace gapi.client {
|
|
|
13112
13042
|
sharedSecretHash?: string;
|
|
13113
13043
|
/** [Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. */
|
|
13114
13044
|
status?: string;
|
|
13115
|
-
/** URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. */
|
|
13045
|
+
/** URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This field can be set only for Classic VPN tunnels. */
|
|
13116
13046
|
targetVpnGateway?: string;
|
|
13117
13047
|
/** URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created. */
|
|
13118
13048
|
vpnGateway?: string;
|
|
@@ -43919,187 +43849,6 @@ declare namespace gapi.client {
|
|
|
43919
43849
|
body: TestPermissionsRequest
|
|
43920
43850
|
): Request<TestPermissionsResponse>;
|
|
43921
43851
|
}
|
|
43922
|
-
interface RegionMultiMigsResource {
|
|
43923
|
-
/** Deletes a regional multiMIG in the specified project. */
|
|
43924
|
-
delete(request?: {
|
|
43925
|
-
/** V1 error format. */
|
|
43926
|
-
'$.xgafv'?: string;
|
|
43927
|
-
/** OAuth access token. */
|
|
43928
|
-
access_token?: string;
|
|
43929
|
-
/** Data format for response. */
|
|
43930
|
-
alt?: string;
|
|
43931
|
-
/** JSONP */
|
|
43932
|
-
callback?: string;
|
|
43933
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
43934
|
-
fields?: string;
|
|
43935
|
-
/** 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. */
|
|
43936
|
-
key?: string;
|
|
43937
|
-
/** Name of the multiMIG to delete. */
|
|
43938
|
-
multiMig: string;
|
|
43939
|
-
/** OAuth 2.0 token for the current user. */
|
|
43940
|
-
oauth_token?: string;
|
|
43941
|
-
/** Returns response with indentations and line breaks. */
|
|
43942
|
-
prettyPrint?: boolean;
|
|
43943
|
-
/** Project ID for this request. */
|
|
43944
|
-
project: string;
|
|
43945
|
-
/** 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. */
|
|
43946
|
-
quotaUser?: string;
|
|
43947
|
-
/** Name of the region for this request. */
|
|
43948
|
-
region: string;
|
|
43949
|
-
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
43950
|
-
requestId?: string;
|
|
43951
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43952
|
-
upload_protocol?: string;
|
|
43953
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43954
|
-
uploadType?: string;
|
|
43955
|
-
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
43956
|
-
userIp?: string;
|
|
43957
|
-
}): Request<Operation>;
|
|
43958
|
-
/** Returns the specified MultiMIG resource. */
|
|
43959
|
-
get(request?: {
|
|
43960
|
-
/** V1 error format. */
|
|
43961
|
-
'$.xgafv'?: string;
|
|
43962
|
-
/** OAuth access token. */
|
|
43963
|
-
access_token?: string;
|
|
43964
|
-
/** Data format for response. */
|
|
43965
|
-
alt?: string;
|
|
43966
|
-
/** JSONP */
|
|
43967
|
-
callback?: string;
|
|
43968
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
43969
|
-
fields?: string;
|
|
43970
|
-
/** 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. */
|
|
43971
|
-
key?: string;
|
|
43972
|
-
/** Name of the MultiMig resource to return. */
|
|
43973
|
-
multiMig: string;
|
|
43974
|
-
/** OAuth 2.0 token for the current user. */
|
|
43975
|
-
oauth_token?: string;
|
|
43976
|
-
/** Returns response with indentations and line breaks. */
|
|
43977
|
-
prettyPrint?: boolean;
|
|
43978
|
-
/** Project ID for this request. */
|
|
43979
|
-
project: string;
|
|
43980
|
-
/** 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. */
|
|
43981
|
-
quotaUser?: string;
|
|
43982
|
-
/** Name of the region for this request. */
|
|
43983
|
-
region: string;
|
|
43984
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43985
|
-
upload_protocol?: string;
|
|
43986
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43987
|
-
uploadType?: string;
|
|
43988
|
-
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
43989
|
-
userIp?: string;
|
|
43990
|
-
}): Request<MultiMig>;
|
|
43991
|
-
/** Creates a regional multiMIG in the specified project. */
|
|
43992
|
-
insert(request: {
|
|
43993
|
-
/** V1 error format. */
|
|
43994
|
-
'$.xgafv'?: string;
|
|
43995
|
-
/** OAuth access token. */
|
|
43996
|
-
access_token?: string;
|
|
43997
|
-
/** Data format for response. */
|
|
43998
|
-
alt?: string;
|
|
43999
|
-
/** JSONP */
|
|
44000
|
-
callback?: string;
|
|
44001
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
44002
|
-
fields?: string;
|
|
44003
|
-
/** 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. */
|
|
44004
|
-
key?: string;
|
|
44005
|
-
/** OAuth 2.0 token for the current user. */
|
|
44006
|
-
oauth_token?: string;
|
|
44007
|
-
/** Returns response with indentations and line breaks. */
|
|
44008
|
-
prettyPrint?: boolean;
|
|
44009
|
-
/** Project ID for this request. */
|
|
44010
|
-
project: string;
|
|
44011
|
-
/** 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. */
|
|
44012
|
-
quotaUser?: string;
|
|
44013
|
-
/** Name of the region for this request. */
|
|
44014
|
-
region: string;
|
|
44015
|
-
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
44016
|
-
requestId?: string;
|
|
44017
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
44018
|
-
upload_protocol?: string;
|
|
44019
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
44020
|
-
uploadType?: string;
|
|
44021
|
-
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
44022
|
-
userIp?: string;
|
|
44023
|
-
/** Request body */
|
|
44024
|
-
resource: MultiMig;
|
|
44025
|
-
}): Request<Operation>;
|
|
44026
|
-
insert(
|
|
44027
|
-
request: {
|
|
44028
|
-
/** V1 error format. */
|
|
44029
|
-
'$.xgafv'?: string;
|
|
44030
|
-
/** OAuth access token. */
|
|
44031
|
-
access_token?: string;
|
|
44032
|
-
/** Data format for response. */
|
|
44033
|
-
alt?: string;
|
|
44034
|
-
/** JSONP */
|
|
44035
|
-
callback?: string;
|
|
44036
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
44037
|
-
fields?: string;
|
|
44038
|
-
/** 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. */
|
|
44039
|
-
key?: string;
|
|
44040
|
-
/** OAuth 2.0 token for the current user. */
|
|
44041
|
-
oauth_token?: string;
|
|
44042
|
-
/** Returns response with indentations and line breaks. */
|
|
44043
|
-
prettyPrint?: boolean;
|
|
44044
|
-
/** Project ID for this request. */
|
|
44045
|
-
project: string;
|
|
44046
|
-
/** 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. */
|
|
44047
|
-
quotaUser?: string;
|
|
44048
|
-
/** Name of the region for this request. */
|
|
44049
|
-
region: string;
|
|
44050
|
-
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
44051
|
-
requestId?: string;
|
|
44052
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
44053
|
-
upload_protocol?: string;
|
|
44054
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
44055
|
-
uploadType?: string;
|
|
44056
|
-
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
44057
|
-
userIp?: string;
|
|
44058
|
-
},
|
|
44059
|
-
body: MultiMig
|
|
44060
|
-
): Request<Operation>;
|
|
44061
|
-
/** Retrieves a list of MultiMIGs in a project and region. */
|
|
44062
|
-
list(request?: {
|
|
44063
|
-
/** V1 error format. */
|
|
44064
|
-
'$.xgafv'?: string;
|
|
44065
|
-
/** OAuth access token. */
|
|
44066
|
-
access_token?: string;
|
|
44067
|
-
/** Data format for response. */
|
|
44068
|
-
alt?: string;
|
|
44069
|
-
/** JSONP */
|
|
44070
|
-
callback?: string;
|
|
44071
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
44072
|
-
fields?: string;
|
|
44073
|
-
/** 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. */
|
|
44074
|
-
filter?: string;
|
|
44075
|
-
/** 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. */
|
|
44076
|
-
key?: string;
|
|
44077
|
-
/** 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`) */
|
|
44078
|
-
maxResults?: number;
|
|
44079
|
-
/** OAuth 2.0 token for the current user. */
|
|
44080
|
-
oauth_token?: string;
|
|
44081
|
-
/** 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. */
|
|
44082
|
-
orderBy?: string;
|
|
44083
|
-
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
44084
|
-
pageToken?: string;
|
|
44085
|
-
/** Returns response with indentations and line breaks. */
|
|
44086
|
-
prettyPrint?: boolean;
|
|
44087
|
-
/** Project ID for this request. */
|
|
44088
|
-
project: string;
|
|
44089
|
-
/** 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. */
|
|
44090
|
-
quotaUser?: string;
|
|
44091
|
-
/** Name of the region for this request. */
|
|
44092
|
-
region: string;
|
|
44093
|
-
/** 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. */
|
|
44094
|
-
returnPartialSuccess?: boolean;
|
|
44095
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
44096
|
-
upload_protocol?: string;
|
|
44097
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
44098
|
-
uploadType?: string;
|
|
44099
|
-
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
44100
|
-
userIp?: string;
|
|
44101
|
-
}): Request<MultiMigsList>;
|
|
44102
|
-
}
|
|
44103
43852
|
interface RegionNetworkEndpointGroupsResource {
|
|
44104
43853
|
/** Attach a list of network endpoints to the specified network endpoint group. */
|
|
44105
43854
|
attachNetworkEndpoints(request: {
|
|
@@ -59814,8 +59563,6 @@ declare namespace gapi.client {
|
|
|
59814
59563
|
|
|
59815
59564
|
const regionInstantSnapshots: RegionInstantSnapshotsResource;
|
|
59816
59565
|
|
|
59817
|
-
const regionMultiMigs: RegionMultiMigsResource;
|
|
59818
|
-
|
|
59819
59566
|
const regionNetworkEndpointGroups: RegionNetworkEndpointGroupsResource;
|
|
59820
59567
|
|
|
59821
59568
|
const regionNetworkFirewallPolicies: RegionNetworkFirewallPoliciesResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -3165,26 +3165,6 @@ Returns permissions that a caller has on the specified resource.
|
|
|
3165
3165
|
*/
|
|
3166
3166
|
await gapi.client.compute.regionInstantSnapshots.testIamPermissions({ project: "project", region: "region", resource: "resource", });
|
|
3167
3167
|
|
|
3168
|
-
/*
|
|
3169
|
-
Deletes a regional multiMIG in the specified project.
|
|
3170
|
-
*/
|
|
3171
|
-
await gapi.client.compute.regionMultiMigs.delete({ multiMig: "multiMig", project: "project", region: "region", });
|
|
3172
|
-
|
|
3173
|
-
/*
|
|
3174
|
-
Returns the specified MultiMIG resource.
|
|
3175
|
-
*/
|
|
3176
|
-
await gapi.client.compute.regionMultiMigs.get({ multiMig: "multiMig", project: "project", region: "region", });
|
|
3177
|
-
|
|
3178
|
-
/*
|
|
3179
|
-
Creates a regional multiMIG in the specified project.
|
|
3180
|
-
*/
|
|
3181
|
-
await gapi.client.compute.regionMultiMigs.insert({ project: "project", region: "region", });
|
|
3182
|
-
|
|
3183
|
-
/*
|
|
3184
|
-
Retrieves a list of MultiMIGs in a project and region.
|
|
3185
|
-
*/
|
|
3186
|
-
await gapi.client.compute.regionMultiMigs.list({ project: "project", region: "region", });
|
|
3187
|
-
|
|
3188
3168
|
/*
|
|
3189
3169
|
Attach a list of network endpoints to the specified network endpoint group.
|
|
3190
3170
|
*/
|