@maxim_mazurok/gapi.client.compute-alpha 0.2.20260629 → 0.2.20260709
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 +714 -8
- package/package.json +1 -1
- package/readme.md +20 -0
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: 20260709
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -5963,6 +5963,9 @@ declare namespace gapi.client {
|
|
|
5963
5963
|
| 'MEMORY_OPTIMIZED_X4_960_12T'
|
|
5964
5964
|
| 'MEMORY_OPTIMIZED_X4_960_16T'
|
|
5965
5965
|
| 'NETWORK_OPTIMIZED_C4N'
|
|
5966
|
+
| 'NETWORK_OPTIMIZED_U4C'
|
|
5967
|
+
| 'NETWORK_OPTIMIZED_U4P'
|
|
5968
|
+
| 'NETWORK_OPTIMIZED_U4S'
|
|
5966
5969
|
| 'STORAGE_OPTIMIZED_Z3'
|
|
5967
5970
|
| 'STORAGE_OPTIMIZED_Z4D'
|
|
5968
5971
|
| 'TYPE_UNSPECIFIED';
|
|
@@ -9946,6 +9949,13 @@ declare namespace gapi.client {
|
|
|
9946
9949
|
*/
|
|
9947
9950
|
ports?: string[];
|
|
9948
9951
|
}
|
|
9952
|
+
interface FirewallPolicyRuleOperationMetadata {
|
|
9953
|
+
/**
|
|
9954
|
+
* Output only. [Output Only] The priority allocated for the firewall policy rule if query
|
|
9955
|
+
* parameters specified minPriority/maxPriority.
|
|
9956
|
+
*/
|
|
9957
|
+
allocatedPriority?: number;
|
|
9958
|
+
}
|
|
9949
9959
|
interface FirewallPolicyRuleSecureTag {
|
|
9950
9960
|
/** Name of the secure tag, created with TagManager's TagValue API. */
|
|
9951
9961
|
name?: string;
|
|
@@ -12650,9 +12660,13 @@ declare namespace gapi.client {
|
|
|
12650
12660
|
* QUOTA_EXCEEDED.
|
|
12651
12661
|
*/
|
|
12652
12662
|
errorDetails?: {
|
|
12663
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
12653
12664
|
errorInfo?: ErrorInfo;
|
|
12665
|
+
/** Links and information to help the user resolve the error. */
|
|
12654
12666
|
help?: Help;
|
|
12667
|
+
/** A localized human-readable error message intended for end users. */
|
|
12655
12668
|
localizedMessage?: LocalizedMessage;
|
|
12669
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
12656
12670
|
quotaInfo?: QuotaExceededInfo;
|
|
12657
12671
|
}[];
|
|
12658
12672
|
/**
|
|
@@ -12699,9 +12713,13 @@ declare namespace gapi.client {
|
|
|
12699
12713
|
* QUOTA_EXCEEDED.
|
|
12700
12714
|
*/
|
|
12701
12715
|
errorDetails?: {
|
|
12716
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
12702
12717
|
errorInfo?: ErrorInfo;
|
|
12718
|
+
/** Links and information to help the user resolve the error. */
|
|
12703
12719
|
help?: Help;
|
|
12720
|
+
/** A localized human-readable error message intended for end users. */
|
|
12704
12721
|
localizedMessage?: LocalizedMessage;
|
|
12722
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
12705
12723
|
quotaInfo?: QuotaExceededInfo;
|
|
12706
12724
|
}[];
|
|
12707
12725
|
/**
|
|
@@ -17654,9 +17672,13 @@ declare namespace gapi.client {
|
|
|
17654
17672
|
* QUOTA_EXCEEDED.
|
|
17655
17673
|
*/
|
|
17656
17674
|
errorDetails?: {
|
|
17675
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
17657
17676
|
errorInfo?: ErrorInfo;
|
|
17677
|
+
/** Links and information to help the user resolve the error. */
|
|
17658
17678
|
help?: Help;
|
|
17679
|
+
/** A localized human-readable error message intended for end users. */
|
|
17659
17680
|
localizedMessage?: LocalizedMessage;
|
|
17681
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
17660
17682
|
quotaInfo?: QuotaExceededInfo;
|
|
17661
17683
|
}[];
|
|
17662
17684
|
/**
|
|
@@ -17704,9 +17726,13 @@ declare namespace gapi.client {
|
|
|
17704
17726
|
* QUOTA_EXCEEDED.
|
|
17705
17727
|
*/
|
|
17706
17728
|
errorDetails?: {
|
|
17729
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
17707
17730
|
errorInfo?: ErrorInfo;
|
|
17731
|
+
/** Links and information to help the user resolve the error. */
|
|
17708
17732
|
help?: Help;
|
|
17733
|
+
/** A localized human-readable error message intended for end users. */
|
|
17709
17734
|
localizedMessage?: LocalizedMessage;
|
|
17735
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
17710
17736
|
quotaInfo?: QuotaExceededInfo;
|
|
17711
17737
|
}[];
|
|
17712
17738
|
/**
|
|
@@ -17742,7 +17768,7 @@ declare namespace gapi.client {
|
|
|
17742
17768
|
}
|
|
17743
17769
|
interface InstanceGroupManagersApplyUpdatesRequest {
|
|
17744
17770
|
/**
|
|
17745
|
-
* Flag to update all instances instead of specified list of
|
|
17771
|
+
* Flag to update all instances instead of specified list of "instances".
|
|
17746
17772
|
* If the flag is set to true then the instances may not be specified
|
|
17747
17773
|
* in the request.
|
|
17748
17774
|
*/
|
|
@@ -17926,9 +17952,13 @@ declare namespace gapi.client {
|
|
|
17926
17952
|
* QUOTA_EXCEEDED.
|
|
17927
17953
|
*/
|
|
17928
17954
|
errorDetails?: {
|
|
17955
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
17929
17956
|
errorInfo?: ErrorInfo;
|
|
17957
|
+
/** Links and information to help the user resolve the error. */
|
|
17930
17958
|
help?: Help;
|
|
17959
|
+
/** A localized human-readable error message intended for end users. */
|
|
17931
17960
|
localizedMessage?: LocalizedMessage;
|
|
17961
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
17932
17962
|
quotaInfo?: QuotaExceededInfo;
|
|
17933
17963
|
}[];
|
|
17934
17964
|
/**
|
|
@@ -17952,11 +17982,12 @@ declare namespace gapi.client {
|
|
|
17952
17982
|
externalId?: string;
|
|
17953
17983
|
}
|
|
17954
17984
|
interface InstanceGroupManagersListErrorsResponse {
|
|
17955
|
-
/** Output only.
|
|
17985
|
+
/** Output only. The list of errors of the managed instance group. */
|
|
17956
17986
|
items?: InstanceManagedByIgmError[];
|
|
17957
17987
|
/**
|
|
17958
|
-
* Output only.
|
|
17959
|
-
*
|
|
17988
|
+
* Output only. This token allows you to get the next page of results for list requests.
|
|
17989
|
+
* If the number of results is larger than maxResults
|
|
17990
|
+
* , then use the nextPageToken as a value for
|
|
17960
17991
|
* the query parameter pageToken in the next list request.
|
|
17961
17992
|
* Subsequent list requests will have their own nextPageToken to
|
|
17962
17993
|
* continue paging through the results.
|
|
@@ -18335,9 +18366,13 @@ declare namespace gapi.client {
|
|
|
18335
18366
|
* QUOTA_EXCEEDED.
|
|
18336
18367
|
*/
|
|
18337
18368
|
errorDetails?: {
|
|
18369
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
18338
18370
|
errorInfo?: ErrorInfo;
|
|
18371
|
+
/** Links and information to help the user resolve the error. */
|
|
18339
18372
|
help?: Help;
|
|
18373
|
+
/** A localized human-readable error message intended for end users. */
|
|
18340
18374
|
localizedMessage?: LocalizedMessage;
|
|
18375
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
18341
18376
|
quotaInfo?: QuotaExceededInfo;
|
|
18342
18377
|
}[];
|
|
18343
18378
|
/**
|
|
@@ -18395,9 +18430,13 @@ declare namespace gapi.client {
|
|
|
18395
18430
|
* QUOTA_EXCEEDED.
|
|
18396
18431
|
*/
|
|
18397
18432
|
errorDetails?: {
|
|
18433
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
18398
18434
|
errorInfo?: ErrorInfo;
|
|
18435
|
+
/** Links and information to help the user resolve the error. */
|
|
18399
18436
|
help?: Help;
|
|
18437
|
+
/** A localized human-readable error message intended for end users. */
|
|
18400
18438
|
localizedMessage?: LocalizedMessage;
|
|
18439
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
18401
18440
|
quotaInfo?: QuotaExceededInfo;
|
|
18402
18441
|
}[];
|
|
18403
18442
|
/**
|
|
@@ -23263,6 +23302,18 @@ declare namespace gapi.client {
|
|
|
23263
23302
|
etag?: string;
|
|
23264
23303
|
result?: InterconnectMacsecConfig;
|
|
23265
23304
|
}
|
|
23305
|
+
interface InterconnectsSetNameRequest {
|
|
23306
|
+
/**
|
|
23307
|
+
* The current name of the interconnect.
|
|
23308
|
+
* The name must be 1-63 characters long, and comply with RFC1035.
|
|
23309
|
+
*/
|
|
23310
|
+
currentName?: string;
|
|
23311
|
+
/**
|
|
23312
|
+
* The new name of the interconnect.
|
|
23313
|
+
* The name must be 1-63 characters long, and comply with RFC1035.
|
|
23314
|
+
*/
|
|
23315
|
+
name?: string;
|
|
23316
|
+
}
|
|
23266
23317
|
interface InternalIpAddress {
|
|
23267
23318
|
/** IP CIDR address or range. */
|
|
23268
23319
|
cidr?: string;
|
|
@@ -25057,9 +25108,13 @@ declare namespace gapi.client {
|
|
|
25057
25108
|
* QUOTA_EXCEEDED.
|
|
25058
25109
|
*/
|
|
25059
25110
|
errorDetails?: {
|
|
25111
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
25060
25112
|
errorInfo?: ErrorInfo;
|
|
25113
|
+
/** Links and information to help the user resolve the error. */
|
|
25061
25114
|
help?: Help;
|
|
25115
|
+
/** A localized human-readable error message intended for end users. */
|
|
25062
25116
|
localizedMessage?: LocalizedMessage;
|
|
25117
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
25063
25118
|
quotaInfo?: QuotaExceededInfo;
|
|
25064
25119
|
}[];
|
|
25065
25120
|
/**
|
|
@@ -25121,6 +25176,109 @@ declare namespace gapi.client {
|
|
|
25121
25176
|
/** Output only. [Output Only] Name of the version. */
|
|
25122
25177
|
name?: string;
|
|
25123
25178
|
}
|
|
25179
|
+
interface ManagedRuleset {
|
|
25180
|
+
/** Output only. [Output Only] The change log for this managed ruleset. */
|
|
25181
|
+
changeLog?: string;
|
|
25182
|
+
/** Output only. [Output Only] Creation timestamp in RFC3339 text format. */
|
|
25183
|
+
creationTimestamp?: string;
|
|
25184
|
+
/** [Output Only] An optional description of this resource. */
|
|
25185
|
+
description?: string;
|
|
25186
|
+
/**
|
|
25187
|
+
* Output only. [Output Only] The unique identifier for the resource. This identifier is
|
|
25188
|
+
* defined by the server.
|
|
25189
|
+
*/
|
|
25190
|
+
id?: string;
|
|
25191
|
+
/**
|
|
25192
|
+
* Name of the resource. Generated internally when the resource is created.
|
|
25193
|
+
* The name must be 1-63 characters long, and comply withRFC1035.
|
|
25194
|
+
* Specifically, the name must be 1-63 characters long and match the regular
|
|
25195
|
+
* expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
|
25196
|
+
* character must be a lowercase letter, and all following characters must
|
|
25197
|
+
* be a dash, lowercase letter, or digit, except the last character, which
|
|
25198
|
+
* cannot be a dash.
|
|
25199
|
+
*/
|
|
25200
|
+
name?: string;
|
|
25201
|
+
/**
|
|
25202
|
+
* Output only. [Output Only] The list of managed rule IDs that are included in
|
|
25203
|
+
* this managed ruleset.
|
|
25204
|
+
*/
|
|
25205
|
+
ruleIds?: string[];
|
|
25206
|
+
/**
|
|
25207
|
+
* Output only. [Output Only] The managed ruleset identifier that can be configured in
|
|
25208
|
+
* Security Policy rules.
|
|
25209
|
+
*/
|
|
25210
|
+
rulesetId?: string;
|
|
25211
|
+
/** Output only. [Output Only] Server-defined URL for the resource. */
|
|
25212
|
+
selfLink?: string;
|
|
25213
|
+
}
|
|
25214
|
+
interface ManagedRulesetList {
|
|
25215
|
+
id?: string;
|
|
25216
|
+
items?: ManagedRuleset[];
|
|
25217
|
+
nextPageToken?: string;
|
|
25218
|
+
warning?: {
|
|
25219
|
+
/**
|
|
25220
|
+
* [Output Only] A warning code, if applicable. For example, Compute
|
|
25221
|
+
* Engine returns NO_RESULTS_ON_PAGE if there
|
|
25222
|
+
* are no results in the response.
|
|
25223
|
+
*/
|
|
25224
|
+
code?:
|
|
25225
|
+
| 'CLEANUP_FAILED'
|
|
25226
|
+
| 'DEPRECATED_RESOURCE_USED'
|
|
25227
|
+
| 'DEPRECATED_TYPE_USED'
|
|
25228
|
+
| 'DISK_SIZE_LARGER_THAN_IMAGE_SIZE'
|
|
25229
|
+
| 'EXPERIMENTAL_TYPE_USED'
|
|
25230
|
+
| 'EXTERNAL_API_WARNING'
|
|
25231
|
+
| 'FIELD_VALUE_OVERRIDEN'
|
|
25232
|
+
| 'INJECTED_KERNELS_DEPRECATED'
|
|
25233
|
+
| 'INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB'
|
|
25234
|
+
| 'LARGE_DEPLOYMENT_WARNING'
|
|
25235
|
+
| 'LIST_OVERHEAD_QUOTA_EXCEED'
|
|
25236
|
+
| 'MISSING_TYPE_DEPENDENCY'
|
|
25237
|
+
| 'NEXT_HOP_ADDRESS_NOT_ASSIGNED'
|
|
25238
|
+
| 'NEXT_HOP_CANNOT_IP_FORWARD'
|
|
25239
|
+
| 'NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE'
|
|
25240
|
+
| 'NEXT_HOP_INSTANCE_NOT_FOUND'
|
|
25241
|
+
| 'NEXT_HOP_INSTANCE_NOT_ON_NETWORK'
|
|
25242
|
+
| 'NEXT_HOP_NOT_RUNNING'
|
|
25243
|
+
| 'NOT_CRITICAL_ERROR'
|
|
25244
|
+
| 'NO_RESULTS_ON_PAGE'
|
|
25245
|
+
| 'PARTIAL_SUCCESS'
|
|
25246
|
+
| 'QUOTA_INFO_UNAVAILABLE'
|
|
25247
|
+
| 'REQUIRED_TOS_AGREEMENT'
|
|
25248
|
+
| 'RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING'
|
|
25249
|
+
| 'RESOURCE_NOT_DELETED'
|
|
25250
|
+
| 'SCHEMA_VALIDATION_IGNORED'
|
|
25251
|
+
| 'SINGLE_INSTANCE_PROPERTY_TEMPLATE'
|
|
25252
|
+
| 'UNDECLARED_PROPERTIES'
|
|
25253
|
+
| 'UNREACHABLE';
|
|
25254
|
+
/**
|
|
25255
|
+
* [Output Only] Metadata about this warning in key:
|
|
25256
|
+
* value format. For example:
|
|
25257
|
+
*
|
|
25258
|
+
* "data": [
|
|
25259
|
+
* {
|
|
25260
|
+
* "key": "scope",
|
|
25261
|
+
* "value": "zones/us-east1-d"
|
|
25262
|
+
* }
|
|
25263
|
+
*/
|
|
25264
|
+
data?: {
|
|
25265
|
+
/**
|
|
25266
|
+
* [Output Only] A key that provides more detail on the warning being
|
|
25267
|
+
* returned. For example, for warnings where there are no results in a list
|
|
25268
|
+
* request for a particular zone, this key might be scope and
|
|
25269
|
+
* the key value might be the zone name. Other examples might be a key
|
|
25270
|
+
* indicating a deprecated resource and a suggested replacement, or a
|
|
25271
|
+
* warning about invalid network settings (for example, if an instance
|
|
25272
|
+
* attempts to perform IP forwarding but is not enabled for IP forwarding).
|
|
25273
|
+
*/
|
|
25274
|
+
key?: string;
|
|
25275
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
25276
|
+
value?: string;
|
|
25277
|
+
}[];
|
|
25278
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
25279
|
+
message?: string;
|
|
25280
|
+
};
|
|
25281
|
+
}
|
|
25124
25282
|
interface ManagementInterface {
|
|
25125
25283
|
authenticationConfig?: AuthenticationConfig;
|
|
25126
25284
|
/**
|
|
@@ -25150,12 +25308,13 @@ declare namespace gapi.client {
|
|
|
25150
25308
|
subnetwork?: string;
|
|
25151
25309
|
/**
|
|
25152
25310
|
* Required. The type of management service this interface provides.
|
|
25153
|
-
* Supported types include NMX-C for partition management
|
|
25154
|
-
* monitoring.
|
|
25311
|
+
* Supported types include NMX-C for partition management, gNMI for switch
|
|
25312
|
+
* monitoring, and TPU slice management.
|
|
25155
25313
|
*/
|
|
25156
25314
|
type?:
|
|
25157
25315
|
| 'TYPE_NVLINK_PARTITION_MANAGEMENT'
|
|
25158
25316
|
| 'TYPE_NVLINK_SWITCH_MONITORING'
|
|
25317
|
+
| 'TYPE_TPU_SLICE_MANAGEMENT'
|
|
25159
25318
|
| 'TYPE_UNSPECIFIED';
|
|
25160
25319
|
}
|
|
25161
25320
|
interface Metadata {
|
|
@@ -25549,9 +25708,13 @@ declare namespace gapi.client {
|
|
|
25549
25708
|
* QUOTA_EXCEEDED.
|
|
25550
25709
|
*/
|
|
25551
25710
|
errorDetails?: {
|
|
25711
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
25552
25712
|
errorInfo?: ErrorInfo;
|
|
25713
|
+
/** Links and information to help the user resolve the error. */
|
|
25553
25714
|
help?: Help;
|
|
25715
|
+
/** A localized human-readable error message intended for end users. */
|
|
25554
25716
|
localizedMessage?: LocalizedMessage;
|
|
25717
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
25555
25718
|
quotaInfo?: QuotaExceededInfo;
|
|
25556
25719
|
}[];
|
|
25557
25720
|
/**
|
|
@@ -27953,6 +28116,13 @@ declare namespace gapi.client {
|
|
|
27953
28116
|
type?: string;
|
|
27954
28117
|
}
|
|
27955
28118
|
interface NetworkPolicyTrafficClassificationRuleMatcher {
|
|
28119
|
+
/**
|
|
28120
|
+
* Address groups which should be matched against the traffic destination.
|
|
28121
|
+
* Maximum number of destination address groups is 10.
|
|
28122
|
+
* Example:
|
|
28123
|
+
* projects//locations//addressGroups/.
|
|
28124
|
+
*/
|
|
28125
|
+
destAddressGroups?: string[];
|
|
27956
28126
|
/**
|
|
27957
28127
|
* CIDR IP address range.
|
|
27958
28128
|
* Maximum number of destination CIDR IP ranges allowed is 5000.
|
|
@@ -29851,9 +30021,13 @@ declare namespace gapi.client {
|
|
|
29851
30021
|
* QUOTA_EXCEEDED.
|
|
29852
30022
|
*/
|
|
29853
30023
|
errorDetails?: {
|
|
30024
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
29854
30025
|
errorInfo?: ErrorInfo;
|
|
30026
|
+
/** Links and information to help the user resolve the error. */
|
|
29855
30027
|
help?: Help;
|
|
30028
|
+
/** A localized human-readable error message intended for end users. */
|
|
29856
30029
|
localizedMessage?: LocalizedMessage;
|
|
30030
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
29857
30031
|
quotaInfo?: QuotaExceededInfo;
|
|
29858
30032
|
}[];
|
|
29859
30033
|
/**
|
|
@@ -29865,6 +30039,12 @@ declare namespace gapi.client {
|
|
|
29865
30039
|
message?: string;
|
|
29866
30040
|
}[];
|
|
29867
30041
|
};
|
|
30042
|
+
/**
|
|
30043
|
+
* Output only. [Output Only] Metadata containing the allocated priority from the
|
|
30044
|
+
* networkFirewallPolicies.addRule and regionNetworkFirewallPolicies.addRule
|
|
30045
|
+
* methods if not explicitly provided by the user.
|
|
30046
|
+
*/
|
|
30047
|
+
firewallPolicyRuleOperationMetadata?: FirewallPolicyRuleOperationMetadata;
|
|
29868
30048
|
getVersionOperationMetadata?: GetVersionOperationMetadata;
|
|
29869
30049
|
/**
|
|
29870
30050
|
* [Output Only] If the operation fails, this field contains the HTTP error
|
|
@@ -32781,9 +32961,13 @@ declare namespace gapi.client {
|
|
|
32781
32961
|
* QUOTA_EXCEEDED.
|
|
32782
32962
|
*/
|
|
32783
32963
|
errorDetails?: {
|
|
32964
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
32784
32965
|
errorInfo?: ErrorInfo;
|
|
32966
|
+
/** Links and information to help the user resolve the error. */
|
|
32785
32967
|
help?: Help;
|
|
32968
|
+
/** A localized human-readable error message intended for end users. */
|
|
32786
32969
|
localizedMessage?: LocalizedMessage;
|
|
32970
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
32787
32971
|
quotaInfo?: QuotaExceededInfo;
|
|
32788
32972
|
}[];
|
|
32789
32973
|
/**
|
|
@@ -34197,7 +34381,7 @@ declare namespace gapi.client {
|
|
|
34197
34381
|
}
|
|
34198
34382
|
interface RegionInstanceGroupManagersApplyUpdatesRequest {
|
|
34199
34383
|
/**
|
|
34200
|
-
* Flag to update all instances instead of specified list of
|
|
34384
|
+
* Flag to update all instances instead of specified list of "instances".
|
|
34201
34385
|
* If the flag is set to true then the instances may not be specified
|
|
34202
34386
|
* in the request.
|
|
34203
34387
|
*/
|
|
@@ -35380,6 +35564,133 @@ declare namespace gapi.client {
|
|
|
35380
35564
|
message?: string;
|
|
35381
35565
|
};
|
|
35382
35566
|
}
|
|
35567
|
+
interface ReservationConsumedInstance {
|
|
35568
|
+
/** The full URI of the instance resource. */
|
|
35569
|
+
instance?: string;
|
|
35570
|
+
/** The service to which the instance belongs. Typically "COMPUTE". */
|
|
35571
|
+
service?: string;
|
|
35572
|
+
/** Output only. [Output Only] The status of the consumed instance. */
|
|
35573
|
+
status?: ReservationConsumedInstanceStatus;
|
|
35574
|
+
}
|
|
35575
|
+
interface ReservationConsumedInstancesListResponse {
|
|
35576
|
+
/** Uniquely identifies the type of this resource. */
|
|
35577
|
+
id?: string;
|
|
35578
|
+
/** A list of ReservationConsumedInstance resources. */
|
|
35579
|
+
items?: ReservationConsumedInstance[];
|
|
35580
|
+
/** Identifies the resource as a list of reservation consumed instances. */
|
|
35581
|
+
kind?: string;
|
|
35582
|
+
/**
|
|
35583
|
+
* [Output Only] This token allows you to get the next page of results for
|
|
35584
|
+
* list requests.
|
|
35585
|
+
*/
|
|
35586
|
+
nextPageToken?: string;
|
|
35587
|
+
/** Output only. [Output Only] Server-defined URL for this resource. */
|
|
35588
|
+
selfLink?: string;
|
|
35589
|
+
/**
|
|
35590
|
+
* [Output Only] Informational warning which replaces the result in some
|
|
35591
|
+
* cases.
|
|
35592
|
+
*/
|
|
35593
|
+
warning?: {
|
|
35594
|
+
/**
|
|
35595
|
+
* [Output Only] A warning code, if applicable. For example, Compute
|
|
35596
|
+
* Engine returns NO_RESULTS_ON_PAGE if there
|
|
35597
|
+
* are no results in the response.
|
|
35598
|
+
*/
|
|
35599
|
+
code?:
|
|
35600
|
+
| 'CLEANUP_FAILED'
|
|
35601
|
+
| 'DEPRECATED_RESOURCE_USED'
|
|
35602
|
+
| 'DEPRECATED_TYPE_USED'
|
|
35603
|
+
| 'DISK_SIZE_LARGER_THAN_IMAGE_SIZE'
|
|
35604
|
+
| 'EXPERIMENTAL_TYPE_USED'
|
|
35605
|
+
| 'EXTERNAL_API_WARNING'
|
|
35606
|
+
| 'FIELD_VALUE_OVERRIDEN'
|
|
35607
|
+
| 'INJECTED_KERNELS_DEPRECATED'
|
|
35608
|
+
| 'INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB'
|
|
35609
|
+
| 'LARGE_DEPLOYMENT_WARNING'
|
|
35610
|
+
| 'LIST_OVERHEAD_QUOTA_EXCEED'
|
|
35611
|
+
| 'MISSING_TYPE_DEPENDENCY'
|
|
35612
|
+
| 'NEXT_HOP_ADDRESS_NOT_ASSIGNED'
|
|
35613
|
+
| 'NEXT_HOP_CANNOT_IP_FORWARD'
|
|
35614
|
+
| 'NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE'
|
|
35615
|
+
| 'NEXT_HOP_INSTANCE_NOT_FOUND'
|
|
35616
|
+
| 'NEXT_HOP_INSTANCE_NOT_ON_NETWORK'
|
|
35617
|
+
| 'NEXT_HOP_NOT_RUNNING'
|
|
35618
|
+
| 'NOT_CRITICAL_ERROR'
|
|
35619
|
+
| 'NO_RESULTS_ON_PAGE'
|
|
35620
|
+
| 'PARTIAL_SUCCESS'
|
|
35621
|
+
| 'QUOTA_INFO_UNAVAILABLE'
|
|
35622
|
+
| 'REQUIRED_TOS_AGREEMENT'
|
|
35623
|
+
| 'RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING'
|
|
35624
|
+
| 'RESOURCE_NOT_DELETED'
|
|
35625
|
+
| 'SCHEMA_VALIDATION_IGNORED'
|
|
35626
|
+
| 'SINGLE_INSTANCE_PROPERTY_TEMPLATE'
|
|
35627
|
+
| 'UNDECLARED_PROPERTIES'
|
|
35628
|
+
| 'UNREACHABLE';
|
|
35629
|
+
/**
|
|
35630
|
+
* [Output Only] Metadata about this warning in key:
|
|
35631
|
+
* value format. For example:
|
|
35632
|
+
*
|
|
35633
|
+
* "data": [
|
|
35634
|
+
* {
|
|
35635
|
+
* "key": "scope",
|
|
35636
|
+
* "value": "zones/us-east1-d"
|
|
35637
|
+
* }
|
|
35638
|
+
*/
|
|
35639
|
+
data?: {
|
|
35640
|
+
/**
|
|
35641
|
+
* [Output Only] A key that provides more detail on the warning being
|
|
35642
|
+
* returned. For example, for warnings where there are no results in a list
|
|
35643
|
+
* request for a particular zone, this key might be scope and
|
|
35644
|
+
* the key value might be the zone name. Other examples might be a key
|
|
35645
|
+
* indicating a deprecated resource and a suggested replacement, or a
|
|
35646
|
+
* warning about invalid network settings (for example, if an instance
|
|
35647
|
+
* attempts to perform IP forwarding but is not enabled for IP forwarding).
|
|
35648
|
+
*/
|
|
35649
|
+
key?: string;
|
|
35650
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
35651
|
+
value?: string;
|
|
35652
|
+
}[];
|
|
35653
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
35654
|
+
message?: string;
|
|
35655
|
+
};
|
|
35656
|
+
}
|
|
35657
|
+
interface ReservationConsumedInstanceStatus {
|
|
35658
|
+
/** A list of issues related to this instance's linkage to the reservation. */
|
|
35659
|
+
linkageErrors?: {
|
|
35660
|
+
/**
|
|
35661
|
+
* [Output Only] The array of errors encountered while processing this
|
|
35662
|
+
* operation.
|
|
35663
|
+
*/
|
|
35664
|
+
errors?: {
|
|
35665
|
+
/** [Output Only] The error type identifier for this error. */
|
|
35666
|
+
code?: string;
|
|
35667
|
+
/**
|
|
35668
|
+
* [Output Only] An optional list of messages that contain the error
|
|
35669
|
+
* details. There is a set of defined message types to use for providing
|
|
35670
|
+
* details.The syntax depends on the error code. For example,
|
|
35671
|
+
* QuotaExceededInfo will have details when the error code is
|
|
35672
|
+
* QUOTA_EXCEEDED.
|
|
35673
|
+
*/
|
|
35674
|
+
errorDetails?: {
|
|
35675
|
+
/** Error information containing structured domain, reason, and metadata. */
|
|
35676
|
+
errorInfo?: ErrorInfo;
|
|
35677
|
+
/** Links and information to help the user resolve the error. */
|
|
35678
|
+
help?: Help;
|
|
35679
|
+
/** A localized human-readable error message intended for end users. */
|
|
35680
|
+
localizedMessage?: LocalizedMessage;
|
|
35681
|
+
/** Details about quota limits and metrics when a quota is exceeded. */
|
|
35682
|
+
quotaInfo?: QuotaExceededInfo;
|
|
35683
|
+
}[];
|
|
35684
|
+
/**
|
|
35685
|
+
* [Output Only] Indicates the field in the request that caused the error.
|
|
35686
|
+
* This property is optional.
|
|
35687
|
+
*/
|
|
35688
|
+
location?: string;
|
|
35689
|
+
/** [Output Only] An optional, human-readable error message. */
|
|
35690
|
+
message?: string;
|
|
35691
|
+
}[];
|
|
35692
|
+
};
|
|
35693
|
+
}
|
|
35383
35694
|
interface ReservationList {
|
|
35384
35695
|
/**
|
|
35385
35696
|
* [Output Only] The unique identifier for the resource. This identifier is
|
|
@@ -85220,6 +85531,104 @@ declare namespace gapi.client {
|
|
|
85220
85531
|
},
|
|
85221
85532
|
body: GlobalSetLabelsRequest,
|
|
85222
85533
|
): Request<Operation>;
|
|
85534
|
+
/** Sets name of an interconnect. */
|
|
85535
|
+
setName(request: {
|
|
85536
|
+
/** V1 error format. */
|
|
85537
|
+
'$.xgafv'?: '1' | '2';
|
|
85538
|
+
/** OAuth access token. */
|
|
85539
|
+
access_token?: string;
|
|
85540
|
+
/** Data format for response. */
|
|
85541
|
+
alt?: 'json' | 'media' | 'proto';
|
|
85542
|
+
/** JSONP */
|
|
85543
|
+
callback?: string;
|
|
85544
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
85545
|
+
fields?: string;
|
|
85546
|
+
/** Name of the interconnect to update. */
|
|
85547
|
+
interconnect: string;
|
|
85548
|
+
/** 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. */
|
|
85549
|
+
key?: string;
|
|
85550
|
+
/** OAuth 2.0 token for the current user. */
|
|
85551
|
+
oauth_token?: string;
|
|
85552
|
+
/** Returns response with indentations and line breaks. */
|
|
85553
|
+
prettyPrint?: boolean;
|
|
85554
|
+
/** Project ID for this request. */
|
|
85555
|
+
project: string;
|
|
85556
|
+
/** 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. */
|
|
85557
|
+
quotaUser?: string;
|
|
85558
|
+
/**
|
|
85559
|
+
* An optional request ID to identify requests. Specify a unique request ID
|
|
85560
|
+
* so that if you must retry your request, the server will know to ignore
|
|
85561
|
+
* the request if it has already been completed.
|
|
85562
|
+
*
|
|
85563
|
+
* For example, consider a situation where you make an initial request and
|
|
85564
|
+
* the request times out. If you make the request again with the same
|
|
85565
|
+
* request ID, the server can check if original operation with the same
|
|
85566
|
+
* request ID was received, and if so, will ignore the second request. This
|
|
85567
|
+
* prevents clients from accidentally creating duplicate commitments.
|
|
85568
|
+
*
|
|
85569
|
+
* The request ID must be
|
|
85570
|
+
* a valid UUID with the exception that zero UUID is not supported
|
|
85571
|
+
* (00000000-0000-0000-0000-000000000000).
|
|
85572
|
+
*/
|
|
85573
|
+
requestId?: string;
|
|
85574
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
85575
|
+
upload_protocol?: string;
|
|
85576
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
85577
|
+
uploadType?: string;
|
|
85578
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
85579
|
+
userIp?: string;
|
|
85580
|
+
/** Request body */
|
|
85581
|
+
resource: InterconnectsSetNameRequest;
|
|
85582
|
+
}): Request<Operation>;
|
|
85583
|
+
setName(
|
|
85584
|
+
request: {
|
|
85585
|
+
/** V1 error format. */
|
|
85586
|
+
'$.xgafv'?: '1' | '2';
|
|
85587
|
+
/** OAuth access token. */
|
|
85588
|
+
access_token?: string;
|
|
85589
|
+
/** Data format for response. */
|
|
85590
|
+
alt?: 'json' | 'media' | 'proto';
|
|
85591
|
+
/** JSONP */
|
|
85592
|
+
callback?: string;
|
|
85593
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
85594
|
+
fields?: string;
|
|
85595
|
+
/** Name of the interconnect to update. */
|
|
85596
|
+
interconnect: string;
|
|
85597
|
+
/** 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. */
|
|
85598
|
+
key?: string;
|
|
85599
|
+
/** OAuth 2.0 token for the current user. */
|
|
85600
|
+
oauth_token?: string;
|
|
85601
|
+
/** Returns response with indentations and line breaks. */
|
|
85602
|
+
prettyPrint?: boolean;
|
|
85603
|
+
/** Project ID for this request. */
|
|
85604
|
+
project: string;
|
|
85605
|
+
/** 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. */
|
|
85606
|
+
quotaUser?: string;
|
|
85607
|
+
/**
|
|
85608
|
+
* An optional request ID to identify requests. Specify a unique request ID
|
|
85609
|
+
* so that if you must retry your request, the server will know to ignore
|
|
85610
|
+
* the request if it has already been completed.
|
|
85611
|
+
*
|
|
85612
|
+
* For example, consider a situation where you make an initial request and
|
|
85613
|
+
* the request times out. If you make the request again with the same
|
|
85614
|
+
* request ID, the server can check if original operation with the same
|
|
85615
|
+
* request ID was received, and if so, will ignore the second request. This
|
|
85616
|
+
* prevents clients from accidentally creating duplicate commitments.
|
|
85617
|
+
*
|
|
85618
|
+
* The request ID must be
|
|
85619
|
+
* a valid UUID with the exception that zero UUID is not supported
|
|
85620
|
+
* (00000000-0000-0000-0000-000000000000).
|
|
85621
|
+
*/
|
|
85622
|
+
requestId?: string;
|
|
85623
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
85624
|
+
upload_protocol?: string;
|
|
85625
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
85626
|
+
uploadType?: string;
|
|
85627
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
85628
|
+
userIp?: string;
|
|
85629
|
+
},
|
|
85630
|
+
body: InterconnectsSetNameRequest,
|
|
85631
|
+
): Request<Operation>;
|
|
85223
85632
|
/** Returns permissions that a caller has on the specified resource. */
|
|
85224
85633
|
testIamPermissions(
|
|
85225
85634
|
request: {
|
|
@@ -86738,6 +87147,166 @@ declare namespace gapi.client {
|
|
|
86738
87147
|
zone: string;
|
|
86739
87148
|
}): Request<MachineTypeList>;
|
|
86740
87149
|
}
|
|
87150
|
+
interface ManagedRulesetsResource {
|
|
87151
|
+
/** Gets the details for the specified managed ruleset name. */
|
|
87152
|
+
get(request?: {
|
|
87153
|
+
/** V1 error format. */
|
|
87154
|
+
'$.xgafv'?: '1' | '2';
|
|
87155
|
+
/** OAuth access token. */
|
|
87156
|
+
access_token?: string;
|
|
87157
|
+
/** Data format for response. */
|
|
87158
|
+
alt?: 'json' | 'media' | 'proto';
|
|
87159
|
+
/** JSONP */
|
|
87160
|
+
callback?: string;
|
|
87161
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
87162
|
+
fields?: string;
|
|
87163
|
+
/** 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. */
|
|
87164
|
+
key?: string;
|
|
87165
|
+
/** Name of the managed ruleset to return. */
|
|
87166
|
+
managedRuleset: string;
|
|
87167
|
+
/** OAuth 2.0 token for the current user. */
|
|
87168
|
+
oauth_token?: string;
|
|
87169
|
+
/** Returns response with indentations and line breaks. */
|
|
87170
|
+
prettyPrint?: boolean;
|
|
87171
|
+
/** Project ID for this request. */
|
|
87172
|
+
project: string;
|
|
87173
|
+
/** 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. */
|
|
87174
|
+
quotaUser?: string;
|
|
87175
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
87176
|
+
upload_protocol?: string;
|
|
87177
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
87178
|
+
uploadType?: string;
|
|
87179
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
87180
|
+
userIp?: string;
|
|
87181
|
+
}): Request<ManagedRuleset>;
|
|
87182
|
+
/** Retrieves the list of all the managed rulesets available. */
|
|
87183
|
+
list(request?: {
|
|
87184
|
+
/** V1 error format. */
|
|
87185
|
+
'$.xgafv'?: '1' | '2';
|
|
87186
|
+
/** OAuth access token. */
|
|
87187
|
+
access_token?: string;
|
|
87188
|
+
/** Data format for response. */
|
|
87189
|
+
alt?: 'json' | 'media' | 'proto';
|
|
87190
|
+
/** JSONP */
|
|
87191
|
+
callback?: string;
|
|
87192
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
87193
|
+
fields?: string;
|
|
87194
|
+
/**
|
|
87195
|
+
* A filter expression that filters resources listed in the response. Most
|
|
87196
|
+
* Compute resources support two types of filter expressions:
|
|
87197
|
+
* expressions that support regular expressions and expressions that follow
|
|
87198
|
+
* API improvement proposal AIP-160.
|
|
87199
|
+
* These two types of filter expressions cannot be mixed in one request.
|
|
87200
|
+
*
|
|
87201
|
+
* If you want to use AIP-160, your expression must specify the field name, an
|
|
87202
|
+
* operator, and the value that you want to use for filtering. The value
|
|
87203
|
+
* must be a string, a number, or a boolean. The operator
|
|
87204
|
+
* must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
87205
|
+
*
|
|
87206
|
+
* For example, if you are filtering Compute Engine instances, you can
|
|
87207
|
+
* exclude instances named `example-instance` by specifying
|
|
87208
|
+
* `name != example-instance`.
|
|
87209
|
+
*
|
|
87210
|
+
* The `:*` comparison can be used to test whether a key has been defined.
|
|
87211
|
+
* For example, to find all objects with `owner` label use:
|
|
87212
|
+
* ```
|
|
87213
|
+
* labels.owner:*
|
|
87214
|
+
* ```
|
|
87215
|
+
*
|
|
87216
|
+
* You can also filter nested fields. For example, you could specify
|
|
87217
|
+
* `scheduling.automaticRestart = false` to include instances only
|
|
87218
|
+
* if they are not scheduled for automatic restarts. You can use filtering
|
|
87219
|
+
* on nested fields to filter based onresource labels.
|
|
87220
|
+
*
|
|
87221
|
+
* To filter on multiple expressions, provide each separate expression within
|
|
87222
|
+
* parentheses. For example:
|
|
87223
|
+
* ```
|
|
87224
|
+
* (scheduling.automaticRestart = true)
|
|
87225
|
+
* (cpuPlatform = "Intel Skylake")
|
|
87226
|
+
* ```
|
|
87227
|
+
* By default, each expression is an `AND` expression. However, you
|
|
87228
|
+
* can include `AND` and `OR` expressions explicitly.
|
|
87229
|
+
* For example:
|
|
87230
|
+
* ```
|
|
87231
|
+
* (cpuPlatform = "Intel Skylake") OR
|
|
87232
|
+
* (cpuPlatform = "Intel Broadwell") AND
|
|
87233
|
+
* (scheduling.automaticRestart = true)
|
|
87234
|
+
* ```
|
|
87235
|
+
*
|
|
87236
|
+
* If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
87237
|
+
* (not equal) operator against a single un-parenthesized expression with or
|
|
87238
|
+
* without quotes or against multiple parenthesized expressions. Examples:
|
|
87239
|
+
*
|
|
87240
|
+
* `fieldname eq unquoted literal`
|
|
87241
|
+
* `fieldname eq 'single quoted literal'`
|
|
87242
|
+
* `fieldname eq "double quoted literal"`
|
|
87243
|
+
* `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
87244
|
+
*
|
|
87245
|
+
* The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
87246
|
+
* The literal value must match the entire field.
|
|
87247
|
+
*
|
|
87248
|
+
* For example, to filter for instances that do not end with name "instance",
|
|
87249
|
+
* you would use `name ne .*instance`.
|
|
87250
|
+
*
|
|
87251
|
+
* You cannot combine constraints on multiple fields using regular
|
|
87252
|
+
* expressions.
|
|
87253
|
+
*/
|
|
87254
|
+
filter?: string;
|
|
87255
|
+
/** 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. */
|
|
87256
|
+
key?: string;
|
|
87257
|
+
/**
|
|
87258
|
+
* The maximum number of results per page that should be returned.
|
|
87259
|
+
* If the number of available results is larger than `maxResults`,
|
|
87260
|
+
* Compute Engine returns a `nextPageToken` that can be used to get
|
|
87261
|
+
* the next page of results in subsequent list requests. Acceptable values are
|
|
87262
|
+
* `0` to `500`, inclusive. (Default: `500`)
|
|
87263
|
+
*/
|
|
87264
|
+
maxResults?: number;
|
|
87265
|
+
/** OAuth 2.0 token for the current user. */
|
|
87266
|
+
oauth_token?: string;
|
|
87267
|
+
/**
|
|
87268
|
+
* Sorts list results by a certain order. By default, results
|
|
87269
|
+
* are returned in alphanumerical order based on the resource name.
|
|
87270
|
+
*
|
|
87271
|
+
* You can also sort results in descending order based on the creation
|
|
87272
|
+
* timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
87273
|
+
* results based on the `creationTimestamp` field in
|
|
87274
|
+
* reverse chronological order (newest result first). Use this to sort
|
|
87275
|
+
* resources like operations so that the newest operation is returned first.
|
|
87276
|
+
*
|
|
87277
|
+
* Currently, only sorting by `name` or
|
|
87278
|
+
* `creationTimestamp desc` is supported.
|
|
87279
|
+
*/
|
|
87280
|
+
orderBy?: string;
|
|
87281
|
+
/**
|
|
87282
|
+
* Specifies a page token to use. Set `pageToken` to the
|
|
87283
|
+
* `nextPageToken` returned by a previous list request to get
|
|
87284
|
+
* the next page of results.
|
|
87285
|
+
*/
|
|
87286
|
+
pageToken?: string;
|
|
87287
|
+
/** Returns response with indentations and line breaks. */
|
|
87288
|
+
prettyPrint?: boolean;
|
|
87289
|
+
/** Project ID for this request. */
|
|
87290
|
+
project: string;
|
|
87291
|
+
/** 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. */
|
|
87292
|
+
quotaUser?: string;
|
|
87293
|
+
/**
|
|
87294
|
+
* Opt-in for partial success behavior which provides partial results in case
|
|
87295
|
+
* of failure. The default value is false.
|
|
87296
|
+
*
|
|
87297
|
+
* For example, when partial success behavior is enabled, aggregatedList for a
|
|
87298
|
+
* single zone scope either returns all resources in the zone or no resources,
|
|
87299
|
+
* with an error code.
|
|
87300
|
+
*/
|
|
87301
|
+
returnPartialSuccess?: boolean;
|
|
87302
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
87303
|
+
upload_protocol?: string;
|
|
87304
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
87305
|
+
uploadType?: string;
|
|
87306
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
87307
|
+
userIp?: string;
|
|
87308
|
+
}): Request<ManagedRulesetList>;
|
|
87309
|
+
}
|
|
86741
87310
|
interface NetworkAttachmentsResource {
|
|
86742
87311
|
/**
|
|
86743
87312
|
* Retrieves the list of all NetworkAttachment resources,
|
|
@@ -125272,6 +125841,139 @@ declare namespace gapi.client {
|
|
|
125272
125841
|
body: ReservationsBlocksPerformMaintenanceRequest,
|
|
125273
125842
|
): Request<Operation>;
|
|
125274
125843
|
}
|
|
125844
|
+
interface ReservationConsumedInstancesResource {
|
|
125845
|
+
/** Lists the instances consuming capacity from a specific reservation. */
|
|
125846
|
+
list(request?: {
|
|
125847
|
+
/** V1 error format. */
|
|
125848
|
+
'$.xgafv'?: '1' | '2';
|
|
125849
|
+
/** OAuth access token. */
|
|
125850
|
+
access_token?: string;
|
|
125851
|
+
/** Data format for response. */
|
|
125852
|
+
alt?: 'json' | 'media' | 'proto';
|
|
125853
|
+
/** JSONP */
|
|
125854
|
+
callback?: string;
|
|
125855
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
125856
|
+
fields?: string;
|
|
125857
|
+
/**
|
|
125858
|
+
* A filter expression that filters resources listed in the response. Most
|
|
125859
|
+
* Compute resources support two types of filter expressions:
|
|
125860
|
+
* expressions that support regular expressions and expressions that follow
|
|
125861
|
+
* API improvement proposal AIP-160.
|
|
125862
|
+
* These two types of filter expressions cannot be mixed in one request.
|
|
125863
|
+
*
|
|
125864
|
+
* If you want to use AIP-160, your expression must specify the field name, an
|
|
125865
|
+
* operator, and the value that you want to use for filtering. The value
|
|
125866
|
+
* must be a string, a number, or a boolean. The operator
|
|
125867
|
+
* must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
125868
|
+
*
|
|
125869
|
+
* For example, if you are filtering Compute Engine instances, you can
|
|
125870
|
+
* exclude instances named `example-instance` by specifying
|
|
125871
|
+
* `name != example-instance`.
|
|
125872
|
+
*
|
|
125873
|
+
* The `:*` comparison can be used to test whether a key has been defined.
|
|
125874
|
+
* For example, to find all objects with `owner` label use:
|
|
125875
|
+
* ```
|
|
125876
|
+
* labels.owner:*
|
|
125877
|
+
* ```
|
|
125878
|
+
*
|
|
125879
|
+
* You can also filter nested fields. For example, you could specify
|
|
125880
|
+
* `scheduling.automaticRestart = false` to include instances only
|
|
125881
|
+
* if they are not scheduled for automatic restarts. You can use filtering
|
|
125882
|
+
* on nested fields to filter based onresource labels.
|
|
125883
|
+
*
|
|
125884
|
+
* To filter on multiple expressions, provide each separate expression within
|
|
125885
|
+
* parentheses. For example:
|
|
125886
|
+
* ```
|
|
125887
|
+
* (scheduling.automaticRestart = true)
|
|
125888
|
+
* (cpuPlatform = "Intel Skylake")
|
|
125889
|
+
* ```
|
|
125890
|
+
* By default, each expression is an `AND` expression. However, you
|
|
125891
|
+
* can include `AND` and `OR` expressions explicitly.
|
|
125892
|
+
* For example:
|
|
125893
|
+
* ```
|
|
125894
|
+
* (cpuPlatform = "Intel Skylake") OR
|
|
125895
|
+
* (cpuPlatform = "Intel Broadwell") AND
|
|
125896
|
+
* (scheduling.automaticRestart = true)
|
|
125897
|
+
* ```
|
|
125898
|
+
*
|
|
125899
|
+
* If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
125900
|
+
* (not equal) operator against a single un-parenthesized expression with or
|
|
125901
|
+
* without quotes or against multiple parenthesized expressions. Examples:
|
|
125902
|
+
*
|
|
125903
|
+
* `fieldname eq unquoted literal`
|
|
125904
|
+
* `fieldname eq 'single quoted literal'`
|
|
125905
|
+
* `fieldname eq "double quoted literal"`
|
|
125906
|
+
* `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
125907
|
+
*
|
|
125908
|
+
* The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
125909
|
+
* The literal value must match the entire field.
|
|
125910
|
+
*
|
|
125911
|
+
* For example, to filter for instances that do not end with name "instance",
|
|
125912
|
+
* you would use `name ne .*instance`.
|
|
125913
|
+
*
|
|
125914
|
+
* You cannot combine constraints on multiple fields using regular
|
|
125915
|
+
* expressions.
|
|
125916
|
+
*/
|
|
125917
|
+
filter?: string;
|
|
125918
|
+
/** 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. */
|
|
125919
|
+
key?: string;
|
|
125920
|
+
/**
|
|
125921
|
+
* The maximum number of results per page that should be returned.
|
|
125922
|
+
* If the number of available results is larger than `maxResults`,
|
|
125923
|
+
* Compute Engine returns a `nextPageToken` that can be used to get
|
|
125924
|
+
* the next page of results in subsequent list requests. Acceptable values are
|
|
125925
|
+
* `0` to `500`, inclusive. (Default: `500`)
|
|
125926
|
+
*/
|
|
125927
|
+
maxResults?: number;
|
|
125928
|
+
/** OAuth 2.0 token for the current user. */
|
|
125929
|
+
oauth_token?: string;
|
|
125930
|
+
/**
|
|
125931
|
+
* Sorts list results by a certain order. By default, results
|
|
125932
|
+
* are returned in alphanumerical order based on the resource name.
|
|
125933
|
+
*
|
|
125934
|
+
* You can also sort results in descending order based on the creation
|
|
125935
|
+
* timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
125936
|
+
* results based on the `creationTimestamp` field in
|
|
125937
|
+
* reverse chronological order (newest result first). Use this to sort
|
|
125938
|
+
* resources like operations so that the newest operation is returned first.
|
|
125939
|
+
*
|
|
125940
|
+
* Currently, only sorting by `name` or
|
|
125941
|
+
* `creationTimestamp desc` is supported.
|
|
125942
|
+
*/
|
|
125943
|
+
orderBy?: string;
|
|
125944
|
+
/**
|
|
125945
|
+
* Specifies a page token to use. Set `pageToken` to the
|
|
125946
|
+
* `nextPageToken` returned by a previous list request to get
|
|
125947
|
+
* the next page of results.
|
|
125948
|
+
*/
|
|
125949
|
+
pageToken?: string;
|
|
125950
|
+
/** Returns response with indentations and line breaks. */
|
|
125951
|
+
prettyPrint?: boolean;
|
|
125952
|
+
/** Required. Project ID for this request. */
|
|
125953
|
+
project: string;
|
|
125954
|
+
/** 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. */
|
|
125955
|
+
quotaUser?: string;
|
|
125956
|
+
/** Required. The name of the reservation to list consumed instances for. */
|
|
125957
|
+
reservation: string;
|
|
125958
|
+
/**
|
|
125959
|
+
* Opt-in for partial success behavior which provides partial results in case
|
|
125960
|
+
* of failure. The default value is false.
|
|
125961
|
+
*
|
|
125962
|
+
* For example, when partial success behavior is enabled, aggregatedList for a
|
|
125963
|
+
* single zone scope either returns all resources in the zone or no resources,
|
|
125964
|
+
* with an error code.
|
|
125965
|
+
*/
|
|
125966
|
+
returnPartialSuccess?: boolean;
|
|
125967
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
125968
|
+
upload_protocol?: string;
|
|
125969
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
125970
|
+
uploadType?: string;
|
|
125971
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
125972
|
+
userIp?: string;
|
|
125973
|
+
/** Required. Zone name for this request. */
|
|
125974
|
+
zone: string;
|
|
125975
|
+
}): Request<ReservationConsumedInstancesListResponse>;
|
|
125976
|
+
}
|
|
125275
125977
|
interface ReservationsResource {
|
|
125276
125978
|
/**
|
|
125277
125979
|
* Retrieves an aggregated list of reservations.
|
|
@@ -148009,6 +148711,8 @@ declare namespace gapi.client {
|
|
|
148009
148711
|
|
|
148010
148712
|
const machineTypes: MachineTypesResource;
|
|
148011
148713
|
|
|
148714
|
+
const managedRulesets: ManagedRulesetsResource;
|
|
148715
|
+
|
|
148012
148716
|
const networkAttachments: NetworkAttachmentsResource;
|
|
148013
148717
|
|
|
148014
148718
|
const networkEdgeSecurityServices: NetworkEdgeSecurityServicesResource;
|
|
@@ -148135,6 +148839,8 @@ declare namespace gapi.client {
|
|
|
148135
148839
|
|
|
148136
148840
|
const reservationBlocks: ReservationBlocksResource;
|
|
148137
148841
|
|
|
148842
|
+
const reservationConsumedInstances: ReservationConsumedInstancesResource;
|
|
148843
|
+
|
|
148138
148844
|
const reservationSlots: ReservationSlotsResource;
|
|
148139
148845
|
|
|
148140
148846
|
const reservationSubBlocks: ReservationSubBlocksResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -2938,6 +2938,11 @@ Resources documentation.
|
|
|
2938
2938
|
*/
|
|
2939
2939
|
await gapi.client.compute.interconnects.setLabels({ project: "project", resource: "resource", });
|
|
2940
2940
|
|
|
2941
|
+
/*
|
|
2942
|
+
Sets name of an interconnect.
|
|
2943
|
+
*/
|
|
2944
|
+
await gapi.client.compute.interconnects.setName({ interconnect: "interconnect", project: "project", });
|
|
2945
|
+
|
|
2941
2946
|
/*
|
|
2942
2947
|
Returns permissions that a caller has on the specified resource.
|
|
2943
2948
|
*/
|
|
@@ -3117,6 +3122,16 @@ project.
|
|
|
3117
3122
|
*/
|
|
3118
3123
|
await gapi.client.compute.machineTypes.list({ project: "project", zone: "zone", });
|
|
3119
3124
|
|
|
3125
|
+
/*
|
|
3126
|
+
Gets the details for the specified managed ruleset name.
|
|
3127
|
+
*/
|
|
3128
|
+
await gapi.client.compute.managedRulesets.get({ managedRuleset: "managedRuleset", project: "project", });
|
|
3129
|
+
|
|
3130
|
+
/*
|
|
3131
|
+
Retrieves the list of all the managed rulesets available.
|
|
3132
|
+
*/
|
|
3133
|
+
await gapi.client.compute.managedRulesets.list({ project: "project", });
|
|
3134
|
+
|
|
3120
3135
|
/*
|
|
3121
3136
|
Retrieves the list of all NetworkAttachment resources,
|
|
3122
3137
|
regional and global, available to the specified project.
|
|
@@ -6170,6 +6185,11 @@ Allows customers to perform maintenance on a reservation block
|
|
|
6170
6185
|
*/
|
|
6171
6186
|
await gapi.client.compute.reservationBlocks.performMaintenance({ project: "project", reservation: "reservation", reservationBlock: "reservationBlock", zone: "zone", });
|
|
6172
6187
|
|
|
6188
|
+
/*
|
|
6189
|
+
Lists the instances consuming capacity from a specific reservation.
|
|
6190
|
+
*/
|
|
6191
|
+
await gapi.client.compute.reservationConsumedInstances.list({ project: "project", reservation: "reservation", zone: "zone", });
|
|
6192
|
+
|
|
6173
6193
|
/*
|
|
6174
6194
|
Retrieves an aggregated list of reservations.
|
|
6175
6195
|
|