@maxim_mazurok/gapi.client.compute-alpha 0.1.20260530 → 0.1.20260612
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 +148 -14
- package/package.json +1 -1
- package/readme.md +5 -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: 20260612
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -10493,6 +10493,12 @@ declare namespace gapi.client {
|
|
|
10493
10493
|
* to false.
|
|
10494
10494
|
*/
|
|
10495
10495
|
autoDeleteAutoCreatedReservations?: boolean;
|
|
10496
|
+
/**
|
|
10497
|
+
* Full or partial URL of an existing future reservation to indicate
|
|
10498
|
+
* intent for reserving capacity in the same cluster as the colocation
|
|
10499
|
+
* resource.
|
|
10500
|
+
*/
|
|
10501
|
+
colocationResource?: string;
|
|
10496
10502
|
/**
|
|
10497
10503
|
* If not present, then FR will not deliver a new commitment or update an
|
|
10498
10504
|
* existing commitment.
|
|
@@ -16929,11 +16935,15 @@ declare namespace gapi.client {
|
|
|
16929
16935
|
}
|
|
16930
16936
|
interface InstanceGroupManagerInstanceLifecyclePolicy {
|
|
16931
16937
|
/**
|
|
16932
|
-
* The action that a MIG performs on a failed VM. If the value of the
|
|
16933
|
-
* is `DEFAULT_ACTION`, then the same action also
|
|
16934
|
-
*
|
|
16935
|
-
*
|
|
16936
|
-
*
|
|
16938
|
+
* The action that a MIG performs on a failed VM. If the value of the
|
|
16939
|
+
* onFailedHealthCheck field is `DEFAULT_ACTION`, then the same action also
|
|
16940
|
+
* applies to the VMs on which your application fails a health check.
|
|
16941
|
+
* Valid values are
|
|
16942
|
+
*
|
|
16943
|
+
* - REPAIR (default): MIG automatically repairs a failed VM
|
|
16944
|
+
* by recreating it. For more information, see About
|
|
16945
|
+
* repairing VMs in a MIG.
|
|
16946
|
+
* - DO_NOTHING: MIG does not repair a failed VM.
|
|
16937
16947
|
*/
|
|
16938
16948
|
defaultActionOnFailure?: 'DELETE' | 'DO_NOTHING' | 'REPAIR';
|
|
16939
16949
|
/**
|
|
@@ -22550,6 +22560,12 @@ declare namespace gapi.client {
|
|
|
22550
22560
|
* MKA session cannot be established with your router.
|
|
22551
22561
|
*/
|
|
22552
22562
|
failOpen?: boolean;
|
|
22563
|
+
/**
|
|
22564
|
+
* Optional. URL of the InterconnectKeyGroup resource to use for MACsec, in the
|
|
22565
|
+
* format:
|
|
22566
|
+
* projects/{project}/locations/{region}/interconnectKeyGroups/{interconnectKeyGroup}.
|
|
22567
|
+
*/
|
|
22568
|
+
interconnectKeyGroup?: string;
|
|
22553
22569
|
/**
|
|
22554
22570
|
* Required. A keychain placeholder describing a set of named key objects
|
|
22555
22571
|
* along with their start times. A MACsec CKN/CAK is generated for each
|
|
@@ -34918,6 +34934,8 @@ declare namespace gapi.client {
|
|
|
34918
34934
|
};
|
|
34919
34935
|
}
|
|
34920
34936
|
interface ReservationBlock {
|
|
34937
|
+
/** Output only. [Output Only] Health information for the reservation block. */
|
|
34938
|
+
blockHealthInfo?: ReservationBlockHealthInfo;
|
|
34921
34939
|
/**
|
|
34922
34940
|
* Output only. [Output Only] The number of resources that are allocated in this
|
|
34923
34941
|
* reservation block.
|
|
@@ -34925,8 +34943,6 @@ declare namespace gapi.client {
|
|
|
34925
34943
|
count?: number;
|
|
34926
34944
|
/** Output only. [Output Only] Creation timestamp inRFC3339 text format. */
|
|
34927
34945
|
creationTimestamp?: string;
|
|
34928
|
-
/** Output only. [Output Only] Health information for the reservation block. */
|
|
34929
|
-
healthInfo?: ReservationBlockHealthInfo;
|
|
34930
34946
|
/**
|
|
34931
34947
|
* Output only. [Output Only] The unique identifier for the resource. This identifier is
|
|
34932
34948
|
* defined by the server.
|
|
@@ -35451,8 +35467,6 @@ declare namespace gapi.client {
|
|
|
35451
35467
|
count?: number;
|
|
35452
35468
|
/** Output only. [Output Only] Creation timestamp inRFC3339 text format. */
|
|
35453
35469
|
creationTimestamp?: string;
|
|
35454
|
-
/** Output only. [Output Only] Health information for the reservation subBlock. */
|
|
35455
|
-
healthInfo?: ReservationSubBlockHealthInfo;
|
|
35456
35470
|
/**
|
|
35457
35471
|
* Output only. [Output Only] The unique identifier for the resource. This identifier is
|
|
35458
35472
|
* defined by the server.
|
|
@@ -35480,12 +35494,20 @@ declare namespace gapi.client {
|
|
|
35480
35494
|
physicalTopology?: ReservationSubBlockPhysicalTopology;
|
|
35481
35495
|
/** Output only. Maintenance information for this reservation subBlock. */
|
|
35482
35496
|
reservationSubBlockMaintenance?: GroupMaintenanceInfo;
|
|
35497
|
+
/**
|
|
35498
|
+
* Customer specified retention priority for power shedding events.
|
|
35499
|
+
* Used to determine priority of the subBlock relative to others during
|
|
35500
|
+
* a power shedding event. Higher priorities are retained over lower ones.
|
|
35501
|
+
*/
|
|
35502
|
+
retentionPriority?: number;
|
|
35483
35503
|
/** Output only. [Output Only] Server-defined fully-qualified URL for this resource. */
|
|
35484
35504
|
selfLink?: string;
|
|
35485
35505
|
/** Output only. [Output Only] Server-defined URL for this resource with the resource id. */
|
|
35486
35506
|
selfLinkWithId?: string;
|
|
35487
35507
|
/** Output only. [Output Only] Status of the reservation subBlock. */
|
|
35488
|
-
status?: 'CREATING' | 'DELETING' | 'INVALID' | 'READY';
|
|
35508
|
+
status?: 'CREATING' | 'DELETING' | 'INVALID' | 'READY' | 'UPDATING';
|
|
35509
|
+
/** Output only. [Output Only] Health information for the reservation subBlock. */
|
|
35510
|
+
subBlockHealthInfo?: ReservationSubBlockHealthInfo;
|
|
35489
35511
|
/** Output only. [Output Only] Zone in which the reservation subBlock resides. */
|
|
35490
35512
|
zone?: string;
|
|
35491
35513
|
}
|
|
@@ -35626,6 +35648,9 @@ declare namespace gapi.client {
|
|
|
35626
35648
|
behavior?:
|
|
35627
35649
|
| 'FAULT_BEHAVIOR_UNSPECIFIED'
|
|
35628
35650
|
| 'GPU_ERROR'
|
|
35651
|
+
| 'NVSWITCH_FAULT_CONTROLLER_ERROR'
|
|
35652
|
+
| 'NVSWITCH_FAULT_DEGRADED_BANDWIDTH'
|
|
35653
|
+
| 'NVSWITCH_FAULT_SWITCH_ERROR'
|
|
35629
35654
|
| 'PERFORMANCE'
|
|
35630
35655
|
| 'SILENT_DATA_CORRUPTION'
|
|
35631
35656
|
| 'SWITCH_FAILURE';
|
|
@@ -38023,8 +38048,9 @@ declare namespace gapi.client {
|
|
|
38023
38048
|
drainNatIps?: string[];
|
|
38024
38049
|
/**
|
|
38025
38050
|
* Output only. Effective timeout (in seconds) for TCP connections that are in TIME_WAIT
|
|
38026
|
-
* state. This value is equal to tcp_time_wait_timeout_sec
|
|
38027
|
-
*
|
|
38051
|
+
* state. This value is equal to tcp_time_wait_timeout_sec.
|
|
38052
|
+
* If tcp_time_wait_timeout_sec isn't set, the effective timeout is 30s or
|
|
38053
|
+
* 120s. The field is output only.
|
|
38028
38054
|
*/
|
|
38029
38055
|
effectiveTcpTimeWaitTimeoutSec?: number;
|
|
38030
38056
|
/**
|
|
@@ -38227,6 +38253,8 @@ declare namespace gapi.client {
|
|
|
38227
38253
|
* must be unique among rules within a NAT.
|
|
38228
38254
|
*/
|
|
38229
38255
|
ruleNumber?: number;
|
|
38256
|
+
/** A list of source workload identities. */
|
|
38257
|
+
sourceWorkloadIdentities?: string[];
|
|
38230
38258
|
}
|
|
38231
38259
|
interface RouterNatRuleAction {
|
|
38232
38260
|
/**
|
|
@@ -39063,6 +39091,8 @@ declare namespace gapi.client {
|
|
|
39063
39091
|
* termination action will be performed at the termination time.
|
|
39064
39092
|
*/
|
|
39065
39093
|
terminationTime?: string;
|
|
39094
|
+
/** The vsock mode of the instance. */
|
|
39095
|
+
vsockMode?: SchedulingVsockMode;
|
|
39066
39096
|
/**
|
|
39067
39097
|
* Represents the Windows Server License Optimization Mode of the VM. If
|
|
39068
39098
|
* unspecified, the default mode is `OFF`.
|
|
@@ -39102,6 +39132,9 @@ declare namespace gapi.client {
|
|
|
39102
39132
|
*/
|
|
39103
39133
|
discardLocalSsd?: boolean;
|
|
39104
39134
|
}
|
|
39135
|
+
interface SchedulingVsockMode {
|
|
39136
|
+
mode?: 'DISABLED' | 'ENABLED' | 'VSOCK_MODE_UNSPECIFIED';
|
|
39137
|
+
}
|
|
39105
39138
|
interface Screenshot {
|
|
39106
39139
|
/** [Output Only] The Base64-encoded screenshot data. */
|
|
39107
39140
|
contents?: string;
|
|
@@ -39559,7 +39592,12 @@ declare namespace gapi.client {
|
|
|
39559
39592
|
enableMl?: boolean;
|
|
39560
39593
|
}
|
|
39561
39594
|
interface SecurityPolicyDdosProtectionConfig {
|
|
39562
|
-
ddosAdaptiveProtection?:
|
|
39595
|
+
ddosAdaptiveProtection?:
|
|
39596
|
+
| 'DDOS_ADAPTIVE_PROTECTION_UNSPECIFIED'
|
|
39597
|
+
| 'DISABLED'
|
|
39598
|
+
| 'ENABLED'
|
|
39599
|
+
| 'PREVIEW'
|
|
39600
|
+
| 'UNSPECIFIED_ADAPTIVE_PROTECTION';
|
|
39563
39601
|
/**
|
|
39564
39602
|
* DDoS Protection for Network Load Balancers (and VMs with public IPs)
|
|
39565
39603
|
* builds DDoS mitigations that minimize collateral damage. It quantifies
|
|
@@ -125964,6 +126002,102 @@ declare namespace gapi.client {
|
|
|
125964
126002
|
},
|
|
125965
126003
|
body: ReservationSubBlocksReportFaultyRequest,
|
|
125966
126004
|
): Request<Operation>;
|
|
126005
|
+
/** Updates a reservation subBlock. */
|
|
126006
|
+
update(request: {
|
|
126007
|
+
/** V1 error format. */
|
|
126008
|
+
'$.xgafv'?: '1' | '2';
|
|
126009
|
+
/** OAuth access token. */
|
|
126010
|
+
access_token?: string;
|
|
126011
|
+
/** Data format for response. */
|
|
126012
|
+
alt?: 'json' | 'media' | 'proto';
|
|
126013
|
+
/** JSONP */
|
|
126014
|
+
callback?: string;
|
|
126015
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
126016
|
+
fields?: string;
|
|
126017
|
+
/** 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. */
|
|
126018
|
+
key?: string;
|
|
126019
|
+
/** OAuth 2.0 token for the current user. */
|
|
126020
|
+
oauth_token?: string;
|
|
126021
|
+
/**
|
|
126022
|
+
* The name of the parent reservation and parent block. In the format of
|
|
126023
|
+
* reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
|
|
126024
|
+
*/
|
|
126025
|
+
parentName: string;
|
|
126026
|
+
/** Returns response with indentations and line breaks. */
|
|
126027
|
+
prettyPrint?: boolean;
|
|
126028
|
+
/** The project ID for this request. */
|
|
126029
|
+
project: string;
|
|
126030
|
+
/** 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. */
|
|
126031
|
+
quotaUser?: string;
|
|
126032
|
+
/**
|
|
126033
|
+
* An optional request ID to identify requests. Specify a unique request ID so
|
|
126034
|
+
* that if you must retry your request, the server will know to ignore the
|
|
126035
|
+
* request if it has already been completed.
|
|
126036
|
+
*/
|
|
126037
|
+
requestId?: string;
|
|
126038
|
+
/** The name of the subBlock resource. */
|
|
126039
|
+
reservationSubBlock: string;
|
|
126040
|
+
/** The fields to be updated as part of this request. */
|
|
126041
|
+
updateMask?: string;
|
|
126042
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
126043
|
+
upload_protocol?: string;
|
|
126044
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
126045
|
+
uploadType?: string;
|
|
126046
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
126047
|
+
userIp?: string;
|
|
126048
|
+
/** The name of the zone for this request. */
|
|
126049
|
+
zone: string;
|
|
126050
|
+
/** Request body */
|
|
126051
|
+
resource: ReservationSubBlock;
|
|
126052
|
+
}): Request<Operation>;
|
|
126053
|
+
update(
|
|
126054
|
+
request: {
|
|
126055
|
+
/** V1 error format. */
|
|
126056
|
+
'$.xgafv'?: '1' | '2';
|
|
126057
|
+
/** OAuth access token. */
|
|
126058
|
+
access_token?: string;
|
|
126059
|
+
/** Data format for response. */
|
|
126060
|
+
alt?: 'json' | 'media' | 'proto';
|
|
126061
|
+
/** JSONP */
|
|
126062
|
+
callback?: string;
|
|
126063
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
126064
|
+
fields?: string;
|
|
126065
|
+
/** 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. */
|
|
126066
|
+
key?: string;
|
|
126067
|
+
/** OAuth 2.0 token for the current user. */
|
|
126068
|
+
oauth_token?: string;
|
|
126069
|
+
/**
|
|
126070
|
+
* The name of the parent reservation and parent block. In the format of
|
|
126071
|
+
* reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
|
|
126072
|
+
*/
|
|
126073
|
+
parentName: string;
|
|
126074
|
+
/** Returns response with indentations and line breaks. */
|
|
126075
|
+
prettyPrint?: boolean;
|
|
126076
|
+
/** The project ID for this request. */
|
|
126077
|
+
project: string;
|
|
126078
|
+
/** 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. */
|
|
126079
|
+
quotaUser?: string;
|
|
126080
|
+
/**
|
|
126081
|
+
* An optional request ID to identify requests. Specify a unique request ID so
|
|
126082
|
+
* that if you must retry your request, the server will know to ignore the
|
|
126083
|
+
* request if it has already been completed.
|
|
126084
|
+
*/
|
|
126085
|
+
requestId?: string;
|
|
126086
|
+
/** The name of the subBlock resource. */
|
|
126087
|
+
reservationSubBlock: string;
|
|
126088
|
+
/** The fields to be updated as part of this request. */
|
|
126089
|
+
updateMask?: string;
|
|
126090
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
126091
|
+
upload_protocol?: string;
|
|
126092
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
126093
|
+
uploadType?: string;
|
|
126094
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
126095
|
+
userIp?: string;
|
|
126096
|
+
/** The name of the zone for this request. */
|
|
126097
|
+
zone: string;
|
|
126098
|
+
},
|
|
126099
|
+
body: ReservationSubBlock,
|
|
126100
|
+
): Request<Operation>;
|
|
125967
126101
|
}
|
|
125968
126102
|
interface ResourcePoliciesResource {
|
|
125969
126103
|
/**
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -6215,6 +6215,11 @@ Allows customers to report a faulty subBlock.
|
|
|
6215
6215
|
*/
|
|
6216
6216
|
await gapi.client.compute.reservationSubBlocks.reportFaulty({ parentName: "parentName", project: "project", reservationSubBlock: "reservationSubBlock", zone: "zone", });
|
|
6217
6217
|
|
|
6218
|
+
/*
|
|
6219
|
+
Updates a reservation subBlock.
|
|
6220
|
+
*/
|
|
6221
|
+
await gapi.client.compute.reservationSubBlocks.update({ parentName: "parentName", project: "project", reservationSubBlock: "reservationSubBlock", zone: "zone", });
|
|
6222
|
+
|
|
6218
6223
|
/*
|
|
6219
6224
|
Retrieves an aggregated list of resource policies.
|
|
6220
6225
|
|