@maxim_mazurok/gapi.client.compute-alpha 0.2.20260709 → 0.2.20260722
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 +265 -13
- package/package.json +1 -1
- package/readme.md +14 -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: 20260722
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -548,8 +548,10 @@ declare namespace gapi.client {
|
|
|
548
548
|
* It supports the following cases:
|
|
549
549
|
*
|
|
550
550
|
* -
|
|
551
|
-
* Case 1: PublicDelegatedPrefix (PDP) for BYOIP external
|
|
552
|
-
* addresses.
|
|
551
|
+
* Case 1: PublicDelegatedPrefix (PDP) for BYOIP external
|
|
552
|
+
* addresses. If an IPv4 PDP is used, the PDP must support enhanced IPv4
|
|
553
|
+
* allocations. If an IPv6 PDP is used, the PDP must be in
|
|
554
|
+
* EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode.
|
|
553
555
|
* -
|
|
554
556
|
* Case 2: Internal Range for global internal addresses.
|
|
555
557
|
*
|
|
@@ -660,6 +662,12 @@ declare namespace gapi.client {
|
|
|
660
662
|
* - `PRIVATE_SERVICE_CONNECT` for a private network address that is
|
|
661
663
|
* used to configure Private Service Connect. Only global internal addresses
|
|
662
664
|
* can use this purpose.
|
|
665
|
+
* - `PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0` for addresses
|
|
666
|
+
* that can only be assigned to global external Passthrough Network Load
|
|
667
|
+
* Balancer forwarding rules, as an Availability Group 0 address.
|
|
668
|
+
* - `PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1` for addresses that
|
|
669
|
+
* can only be assigned to global external Passthrough Network Load Balancer
|
|
670
|
+
* forwarding rules, as an Availability Group 1 address.
|
|
663
671
|
*/
|
|
664
672
|
purpose?:
|
|
665
673
|
| 'APPLICATION_AND_PROXY_LOAD_BALANCERS'
|
|
@@ -1331,6 +1339,52 @@ declare namespace gapi.client {
|
|
|
1331
1339
|
* is 500 GB.
|
|
1332
1340
|
*/
|
|
1333
1341
|
diskSizeGb?: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* Specifies the disk type used for the boot disk or an additional data
|
|
1344
|
+
* disk. For valid disk type values, see
|
|
1345
|
+
* Supported types for Hyperdisk volumes and
|
|
1346
|
+
* Persistent Disk type variables.
|
|
1347
|
+
*
|
|
1348
|
+
* When creating a single instance, you must provide either the full or
|
|
1349
|
+
* partial URL of the disk type. For example, the following values are
|
|
1350
|
+
* valid:
|
|
1351
|
+
*
|
|
1352
|
+
*
|
|
1353
|
+
* - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType
|
|
1354
|
+
* - projects/project/zones/zone/diskTypes/diskType
|
|
1355
|
+
* - zones/zone/diskTypes/diskType
|
|
1356
|
+
*
|
|
1357
|
+
*
|
|
1358
|
+
*
|
|
1359
|
+
* When creating an instance template, instance flexibility policy, or when
|
|
1360
|
+
* creating or updating an all-instances configuration, you specify the
|
|
1361
|
+
* disk type without a URL, for example, hyperdisk-balanced.
|
|
1362
|
+
*
|
|
1363
|
+
* If you omit this field for a disk, the default disk type depends on
|
|
1364
|
+
* the instance's machine series, as follows.
|
|
1365
|
+
*
|
|
1366
|
+
*
|
|
1367
|
+
* - For first- and second-generation machine series like N1, N2, T2, and
|
|
1368
|
+
* M1, the
|
|
1369
|
+
* default disk type is Standard Persistent Disk
|
|
1370
|
+
* (pd-standard).
|
|
1371
|
+
* - For C3, C3D, and M3 the default is Balanced Persistent Disk
|
|
1372
|
+
* (pd-balanced).
|
|
1373
|
+
* - For other third-generation machine
|
|
1374
|
+
* series like A3, H3, Z3, all
|
|
1375
|
+
* fourth-generation types like C4, N4, M4, and newer machine series,
|
|
1376
|
+
* the default is Hyperdisk Balanced
|
|
1377
|
+
* (hyperdisk-balanced).
|
|
1378
|
+
*
|
|
1379
|
+
*
|
|
1380
|
+
*
|
|
1381
|
+
* The disk type you specify must be compatible with the instance's machine
|
|
1382
|
+
* series. For a list of machine series that support Persistent Disk, see Machine
|
|
1383
|
+
* series support for Persistent Disk.
|
|
1384
|
+
*
|
|
1385
|
+
* For a list of machine series that support Hyperdisk, seeMachine
|
|
1386
|
+
* series support for Hyperdisk.
|
|
1387
|
+
*/
|
|
1334
1388
|
diskType?: string;
|
|
1335
1389
|
/** Whether this disk is using confidential compute mode. */
|
|
1336
1390
|
enableConfidentialCompute?: boolean;
|
|
@@ -3585,7 +3639,11 @@ declare namespace gapi.client {
|
|
|
3585
3639
|
* URL to networkservices.ServiceLbPolicy resource.
|
|
3586
3640
|
*
|
|
3587
3641
|
* Can only be set if load balancing scheme is EXTERNAL_MANAGED,
|
|
3588
|
-
* INTERNAL_MANAGED or INTERNAL_SELF_MANAGED
|
|
3642
|
+
* INTERNAL_MANAGED or INTERNAL_SELF_MANAGED for a global backend service, and
|
|
3643
|
+
* EXTERNAL_MANAGED or INTERNAL_MANAGED for a regional backend service. For a
|
|
3644
|
+
* global backend service, the service lb policy must be global. For a
|
|
3645
|
+
* regional backend service, the service lb policy must be regional and in the
|
|
3646
|
+
* same region.
|
|
3589
3647
|
*/
|
|
3590
3648
|
serviceLbPolicy?: string;
|
|
3591
3649
|
/**
|
|
@@ -5441,6 +5499,48 @@ declare namespace gapi.client {
|
|
|
5441
5499
|
*/
|
|
5442
5500
|
recommendations?: CalendarModeRecommendation[];
|
|
5443
5501
|
}
|
|
5502
|
+
interface CalendarModeExtensionAdviceRequest {
|
|
5503
|
+
/** Required. The desired end time after the Future Reservation is extended. */
|
|
5504
|
+
endTimeNotLaterThan?: string;
|
|
5505
|
+
/**
|
|
5506
|
+
* Required. Reference to the Future Reservation, in the format:
|
|
5507
|
+
* projects/{project}/zones/{zone}/futureReservations/{name}
|
|
5508
|
+
* Full URIs that include hostnames (like compute.googleapis.com or
|
|
5509
|
+
* www.googleapis.com) are also supported.
|
|
5510
|
+
*/
|
|
5511
|
+
futureReservation?: string;
|
|
5512
|
+
}
|
|
5513
|
+
interface CalendarModeExtensionAdviceResponse {
|
|
5514
|
+
/**
|
|
5515
|
+
* The recommended end time for the extension, which will either be
|
|
5516
|
+
* the end time requested by the caller or the longest alternative for
|
|
5517
|
+
* which there is sufficient capacity. If extension is not possible, this
|
|
5518
|
+
* field will be empty, and not_recommended_reason will be populated instead.
|
|
5519
|
+
*/
|
|
5520
|
+
endTime?: string;
|
|
5521
|
+
/**
|
|
5522
|
+
* Information regarding the reason why the Future Reservation
|
|
5523
|
+
* cannot be extended at all. If a recommendation is provided, whether that is
|
|
5524
|
+
* the requested end time or an alternative, this field will be empty.
|
|
5525
|
+
*/
|
|
5526
|
+
notRecommendedReason?: CalendarModeExtensionAdviceResponseNotRecommendedReason;
|
|
5527
|
+
/** Unique id of the recommendation, a UUID string generated by the API. */
|
|
5528
|
+
recommendationId?: string;
|
|
5529
|
+
}
|
|
5530
|
+
interface CalendarModeExtensionAdviceResponseNotRecommendedReason {
|
|
5531
|
+
/**
|
|
5532
|
+
* Details (human readable) describing why the recommendation
|
|
5533
|
+
* was not provided. For example, if the status is CONDITION_NOT_MET,
|
|
5534
|
+
* then this field will contain information about why the requested
|
|
5535
|
+
* extension duration is not eligible.
|
|
5536
|
+
*/
|
|
5537
|
+
details?: string;
|
|
5538
|
+
/** Status of recommendation. */
|
|
5539
|
+
status?:
|
|
5540
|
+
| 'CONDITIONS_NOT_MET'
|
|
5541
|
+
| 'NOT_RECOMMENDED_REASON_STATUS_UNSPECIFIED'
|
|
5542
|
+
| 'NO_CAPACITY';
|
|
5543
|
+
}
|
|
5444
5544
|
interface CalendarModeRecommendation {
|
|
5445
5545
|
/**
|
|
5446
5546
|
* Recommendations for every future resource specification passed in
|
|
@@ -5951,6 +6051,8 @@ declare namespace gapi.client {
|
|
|
5951
6051
|
| 'MEMORY_OPTIMIZED'
|
|
5952
6052
|
| 'MEMORY_OPTIMIZED_M3'
|
|
5953
6053
|
| 'MEMORY_OPTIMIZED_M4'
|
|
6054
|
+
| 'MEMORY_OPTIMIZED_M4N'
|
|
6055
|
+
| 'MEMORY_OPTIMIZED_M4N_6TB'
|
|
5954
6056
|
| 'MEMORY_OPTIMIZED_M4_6TB'
|
|
5955
6057
|
| 'MEMORY_OPTIMIZED_X4'
|
|
5956
6058
|
| 'MEMORY_OPTIMIZED_X4_1440_24T'
|
|
@@ -6829,6 +6931,7 @@ declare namespace gapi.client {
|
|
|
6829
6931
|
*/
|
|
6830
6932
|
kmsKeyServiceAccount?: string;
|
|
6831
6933
|
/**
|
|
6934
|
+
* [DEPRECATED] CSEK is no longer supported. Use CMEK instead.
|
|
6832
6935
|
* Specifies a 256-bit customer-supplied
|
|
6833
6936
|
* encryption key, encoded in RFC
|
|
6834
6937
|
* 4648 base64 to either encrypt or decrypt this resource. You can
|
|
@@ -6840,6 +6943,7 @@ declare namespace gapi.client {
|
|
|
6840
6943
|
*/
|
|
6841
6944
|
rawKey?: string;
|
|
6842
6945
|
/**
|
|
6946
|
+
* [DEPRECATED] CSEK is no longer supported. Use CMEK instead.
|
|
6843
6947
|
* Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit
|
|
6844
6948
|
* customer-supplied encryption key to either encrypt or decrypt this
|
|
6845
6949
|
* resource. You can provide either the rawKey or thersaEncryptedKey.
|
|
@@ -6865,6 +6969,7 @@ declare namespace gapi.client {
|
|
|
6865
6969
|
*/
|
|
6866
6970
|
rsaEncryptedKey?: string;
|
|
6867
6971
|
/**
|
|
6972
|
+
* [DEPRECATED] CSEK is no longer supported. Use CMEK instead.
|
|
6868
6973
|
* [Output only] TheRFC
|
|
6869
6974
|
* 4648 base64 encoded SHA-256 hash of the customer-supplied
|
|
6870
6975
|
* encryption key that protects this resource.
|
|
@@ -11814,6 +11919,12 @@ declare namespace gapi.client {
|
|
|
11814
11919
|
updateTimestamp?: string;
|
|
11815
11920
|
}
|
|
11816
11921
|
interface GlobalVmExtensionPolicyExtensionPolicy {
|
|
11922
|
+
/**
|
|
11923
|
+
* Optional. Only deploy this extension if the specified software is detected on the
|
|
11924
|
+
* VM. For a live list of valid software values, see:
|
|
11925
|
+
* https://cloud.google.com/compute/docs/vm-extensions/supported-software
|
|
11926
|
+
*/
|
|
11927
|
+
installedSoftwareSelector?: GlobalVmExtensionPolicyInstalledSoftwareSelector;
|
|
11817
11928
|
/**
|
|
11818
11929
|
* Optional. The version pinning for the extension.
|
|
11819
11930
|
* If empty, the extension will be installed with the latest version
|
|
@@ -11826,6 +11937,25 @@ declare namespace gapi.client {
|
|
|
11826
11937
|
*/
|
|
11827
11938
|
stringConfig?: string;
|
|
11828
11939
|
}
|
|
11940
|
+
interface GlobalVmExtensionPolicyInstalledSoftwareSelector {
|
|
11941
|
+
/**
|
|
11942
|
+
* Optional. If any of these SelectorSets are satisfied, the condition
|
|
11943
|
+
* is met (OR logic).
|
|
11944
|
+
* The key is a user-provided name for this set.
|
|
11945
|
+
*/
|
|
11946
|
+
anyOfSelectors?: {
|
|
11947
|
+
[
|
|
11948
|
+
P in string
|
|
11949
|
+
]: GlobalVmExtensionPolicyInstalledSoftwareSelectorSelectorSet;
|
|
11950
|
+
};
|
|
11951
|
+
}
|
|
11952
|
+
interface GlobalVmExtensionPolicyInstalledSoftwareSelectorSelectorSet {
|
|
11953
|
+
/**
|
|
11954
|
+
* Optional. All software in this list must be detected (AND logic).
|
|
11955
|
+
* Valid software names (e.g. "Apache Web Server").
|
|
11956
|
+
*/
|
|
11957
|
+
allOfSelectors?: string[];
|
|
11958
|
+
}
|
|
11829
11959
|
interface GlobalVmExtensionPolicyInstanceSelector {
|
|
11830
11960
|
/** Optional. Labels within the LabelSelector are OR'd. */
|
|
11831
11961
|
labelSelector?: GlobalVmExtensionPolicyLabelSelector;
|
|
@@ -13171,7 +13301,7 @@ declare namespace gapi.client {
|
|
|
13171
13301
|
* on what other health check fields are supported and what other resources
|
|
13172
13302
|
* can use this health check:
|
|
13173
13303
|
*
|
|
13174
|
-
* - SSL, HTTP2, and
|
|
13304
|
+
* - SSL, HTTP2, GRPC, and GRPC_WITH_TLS protocols are not supported.
|
|
13175
13305
|
* - The TCP request field is not supported.
|
|
13176
13306
|
* - The proxyHeader field for HTTP, HTTPS, and TCP is not
|
|
13177
13307
|
* supported.
|
|
@@ -13189,8 +13319,9 @@ declare namespace gapi.client {
|
|
|
13189
13319
|
*/
|
|
13190
13320
|
timeoutSec?: number;
|
|
13191
13321
|
/**
|
|
13192
|
-
* Specifies the type of the healthCheck, either TCP,SSL, HTTP, HTTPS,HTTP2 or
|
|
13193
|
-
* protocol-specific health check fields must be specified,
|
|
13322
|
+
* Specifies the type of the healthCheck, either TCP,SSL, HTTP, HTTPS,HTTP2, GRPC or GRPC_WITH_TLS.
|
|
13323
|
+
* Exactly one of the protocol-specific health check fields must be specified,
|
|
13324
|
+
* which must match type field.
|
|
13194
13325
|
*/
|
|
13195
13326
|
type?:
|
|
13196
13327
|
| 'GRPC'
|
|
@@ -19327,6 +19458,8 @@ declare namespace gapi.client {
|
|
|
19327
19458
|
workloadIdentityConfig?: WorkloadIdentityConfig;
|
|
19328
19459
|
}
|
|
19329
19460
|
interface InstancePropertiesPatch {
|
|
19461
|
+
/** This optional flag exposes the hashed physical host ID. */
|
|
19462
|
+
exposeHostTopology?: boolean;
|
|
19330
19463
|
/** The label key-value pairs that you want to patch onto the instance. */
|
|
19331
19464
|
labels?: {[P in string]: string};
|
|
19332
19465
|
/**
|
|
@@ -31962,7 +32095,14 @@ declare namespace gapi.client {
|
|
|
31962
32095
|
'CAMP_PLUS_ANNUAL' | 'CAMP_PLUS_PAYGO' | 'CA_STANDARD';
|
|
31963
32096
|
}
|
|
31964
32097
|
interface ProjectView {
|
|
31965
|
-
/**
|
|
32098
|
+
/**
|
|
32099
|
+
* The project data.
|
|
32100
|
+
* The returned Project data does not contain regional or zonal quota
|
|
32101
|
+
* usage data. Global quota limits are present. For accurate, real-time quota
|
|
32102
|
+
* usage numbers, query the global
|
|
32103
|
+
* [projects.get](https://cloud.google.com/compute/docs/reference/rest/v1/projects/get)
|
|
32104
|
+
* endpoint.
|
|
32105
|
+
*/
|
|
31966
32106
|
project?: Project;
|
|
31967
32107
|
}
|
|
31968
32108
|
interface PublicAdvertisedPrefix {
|
|
@@ -35008,6 +35148,7 @@ declare namespace gapi.client {
|
|
|
35008
35148
|
selfLinkWithId?: string;
|
|
35009
35149
|
}
|
|
35010
35150
|
interface ReliabilityRisksListResponse {
|
|
35151
|
+
/** [Output Only] An ETag of the resource. */
|
|
35011
35152
|
etag?: string;
|
|
35012
35153
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
35013
35154
|
id?: string;
|
|
@@ -36944,6 +37085,13 @@ declare namespace gapi.client {
|
|
|
36944
37085
|
* the location ID of the topologies.
|
|
36945
37086
|
*/
|
|
36946
37087
|
acceleratorTopologyIds?: {[P in string]: string};
|
|
37088
|
+
/**
|
|
37089
|
+
* Output only. Key-value store for arbitrary network topology identifiers
|
|
37090
|
+
* defined by the underlying infrastructure.
|
|
37091
|
+
* The key will be the topology label and the value will be the location
|
|
37092
|
+
* ID for the topology.
|
|
37093
|
+
*/
|
|
37094
|
+
networkTopologyIds?: {[P in string]: string};
|
|
36947
37095
|
}
|
|
36948
37096
|
interface ResourceStatusReservationConsumptionInfo {
|
|
36949
37097
|
/**
|
|
@@ -39542,6 +39690,11 @@ declare namespace gapi.client {
|
|
|
39542
39690
|
* 0 or unset means default amount of memory of the current machine type.
|
|
39543
39691
|
*/
|
|
39544
39692
|
currentMemoryMb?: string;
|
|
39693
|
+
/**
|
|
39694
|
+
* This optional flag exposes the hashed physical host ID in the
|
|
39695
|
+
* ResourceStatus resource of the VM.
|
|
39696
|
+
*/
|
|
39697
|
+
exposeHostTopology?: boolean;
|
|
39545
39698
|
gracefulShutdown?: SchedulingGracefulShutdown;
|
|
39546
39699
|
/**
|
|
39547
39700
|
* Specify the time in seconds for host error detection, the value must be
|
|
@@ -39617,10 +39770,9 @@ declare namespace gapi.client {
|
|
|
39617
39770
|
*/
|
|
39618
39771
|
preemptible?: boolean;
|
|
39619
39772
|
/**
|
|
39620
|
-
* Specifies the Metadata Service preemption notice duration before the
|
|
39621
|
-
* Off signal is triggered for Spot
|
|
39622
|
-
*
|
|
39623
|
-
* Off signal is triggered.
|
|
39773
|
+
* Specifies the Metadata Service preemption notice duration before the GCE ACPI G2
|
|
39774
|
+
* Soft Off signal is triggered for Spot VMs only. If not specified,
|
|
39775
|
+
* there will be no wait before the G2 Soft Off signal is triggered.
|
|
39624
39776
|
*/
|
|
39625
39777
|
preemptionNoticeDuration?: Duration;
|
|
39626
39778
|
/** Specifies the provisioning model of the instance. */
|
|
@@ -43341,7 +43493,7 @@ declare namespace gapi.client {
|
|
|
43341
43493
|
* create the resource.
|
|
43342
43494
|
*/
|
|
43343
43495
|
description?: string;
|
|
43344
|
-
/**
|
|
43496
|
+
/** Provisioned capacities for each SKU for this Exapool in GiB */
|
|
43345
43497
|
exapoolProvisionedCapacityGb?: StoragePoolExapoolProvisionedCapacityGb;
|
|
43346
43498
|
/**
|
|
43347
43499
|
* Output only. [Output Only] The unique identifier for the resource. This identifier is
|
|
@@ -48885,6 +49037,12 @@ declare namespace gapi.client {
|
|
|
48885
49037
|
};
|
|
48886
49038
|
}
|
|
48887
49039
|
interface VmExtensionPolicyExtensionPolicy {
|
|
49040
|
+
/**
|
|
49041
|
+
* Optional. Only deploy this extension if the specified software is detected on the
|
|
49042
|
+
* VM. For a live list of valid software values, see:
|
|
49043
|
+
* https://cloud.google.com/compute/docs/vm-extensions/supported-software
|
|
49044
|
+
*/
|
|
49045
|
+
installedSoftwareSelector?: VmExtensionPolicyInstalledSoftwareSelector;
|
|
48888
49046
|
/**
|
|
48889
49047
|
* Optional. The specific version of the extension to install. If not set, the latest
|
|
48890
49048
|
* version is used.
|
|
@@ -48893,6 +49051,23 @@ declare namespace gapi.client {
|
|
|
48893
49051
|
/** Optional. String-based configuration data for the extension. */
|
|
48894
49052
|
stringConfig?: string;
|
|
48895
49053
|
}
|
|
49054
|
+
interface VmExtensionPolicyInstalledSoftwareSelector {
|
|
49055
|
+
/**
|
|
49056
|
+
* Optional. If any of these SelectorSets are satisfied, the condition
|
|
49057
|
+
* is met (OR logic).
|
|
49058
|
+
* The key is a user-provided name for this set.
|
|
49059
|
+
*/
|
|
49060
|
+
anyOfSelectors?: {
|
|
49061
|
+
[P in string]: VmExtensionPolicyInstalledSoftwareSelectorSelectorSet;
|
|
49062
|
+
};
|
|
49063
|
+
}
|
|
49064
|
+
interface VmExtensionPolicyInstalledSoftwareSelectorSelectorSet {
|
|
49065
|
+
/**
|
|
49066
|
+
* Optional. All software in this list must be detected (AND logic).
|
|
49067
|
+
* Valid software names (e.g. "Apache Web Server").
|
|
49068
|
+
*/
|
|
49069
|
+
allOfSelectors?: string[];
|
|
49070
|
+
}
|
|
48896
49071
|
interface VmExtensionPolicyInstanceSelector {
|
|
48897
49072
|
/** Optional. LabelSelector selects VMs based on their labels. */
|
|
48898
49073
|
labelSelector?: VmExtensionPolicyLabelSelector;
|
|
@@ -51972,6 +52147,77 @@ declare namespace gapi.client {
|
|
|
51972
52147
|
},
|
|
51973
52148
|
body: CalendarModeAdviceRequest,
|
|
51974
52149
|
): Request<CalendarModeAdviceResponse>;
|
|
52150
|
+
/**
|
|
52151
|
+
* Advise on whether extending an existing Future Reservation is possible
|
|
52152
|
+
* based on the desired extension end time. If capacity is not available for
|
|
52153
|
+
* the entire requested duration, the method will recommend the longest
|
|
52154
|
+
* possible extension.
|
|
52155
|
+
*/
|
|
52156
|
+
calendarModeExtension(request: {
|
|
52157
|
+
/** V1 error format. */
|
|
52158
|
+
'$.xgafv'?: '1' | '2';
|
|
52159
|
+
/** OAuth access token. */
|
|
52160
|
+
access_token?: string;
|
|
52161
|
+
/** Data format for response. */
|
|
52162
|
+
alt?: 'json' | 'media' | 'proto';
|
|
52163
|
+
/** JSONP */
|
|
52164
|
+
callback?: string;
|
|
52165
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
52166
|
+
fields?: string;
|
|
52167
|
+
/** 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. */
|
|
52168
|
+
key?: string;
|
|
52169
|
+
/** OAuth 2.0 token for the current user. */
|
|
52170
|
+
oauth_token?: string;
|
|
52171
|
+
/** Returns response with indentations and line breaks. */
|
|
52172
|
+
prettyPrint?: boolean;
|
|
52173
|
+
/** Project ID for this request. */
|
|
52174
|
+
project: string;
|
|
52175
|
+
/** 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. */
|
|
52176
|
+
quotaUser?: string;
|
|
52177
|
+
/** Name of the region for this request. */
|
|
52178
|
+
region: string;
|
|
52179
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
52180
|
+
upload_protocol?: string;
|
|
52181
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
52182
|
+
uploadType?: string;
|
|
52183
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
52184
|
+
userIp?: string;
|
|
52185
|
+
/** Request body */
|
|
52186
|
+
resource: CalendarModeExtensionAdviceRequest;
|
|
52187
|
+
}): Request<CalendarModeExtensionAdviceResponse>;
|
|
52188
|
+
calendarModeExtension(
|
|
52189
|
+
request: {
|
|
52190
|
+
/** V1 error format. */
|
|
52191
|
+
'$.xgafv'?: '1' | '2';
|
|
52192
|
+
/** OAuth access token. */
|
|
52193
|
+
access_token?: string;
|
|
52194
|
+
/** Data format for response. */
|
|
52195
|
+
alt?: 'json' | 'media' | 'proto';
|
|
52196
|
+
/** JSONP */
|
|
52197
|
+
callback?: string;
|
|
52198
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
52199
|
+
fields?: string;
|
|
52200
|
+
/** 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. */
|
|
52201
|
+
key?: string;
|
|
52202
|
+
/** OAuth 2.0 token for the current user. */
|
|
52203
|
+
oauth_token?: string;
|
|
52204
|
+
/** Returns response with indentations and line breaks. */
|
|
52205
|
+
prettyPrint?: boolean;
|
|
52206
|
+
/** Project ID for this request. */
|
|
52207
|
+
project: string;
|
|
52208
|
+
/** 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. */
|
|
52209
|
+
quotaUser?: string;
|
|
52210
|
+
/** Name of the region for this request. */
|
|
52211
|
+
region: string;
|
|
52212
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
52213
|
+
upload_protocol?: string;
|
|
52214
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
52215
|
+
uploadType?: string;
|
|
52216
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
52217
|
+
userIp?: string;
|
|
52218
|
+
},
|
|
52219
|
+
body: CalendarModeExtensionAdviceRequest,
|
|
52220
|
+
): Request<CalendarModeExtensionAdviceResponse>;
|
|
51975
52221
|
/**
|
|
51976
52222
|
* Advice on making real-time decisions (such as choosing zone or
|
|
51977
52223
|
* machine types) during deployment to maximize your chances of obtaining
|
|
@@ -100746,6 +100992,12 @@ declare namespace gapi.client {
|
|
|
100746
100992
|
/**
|
|
100747
100993
|
* Returns the specified global ProjectViews resource, with a regional
|
|
100748
100994
|
* context.
|
|
100995
|
+
* This regional API endpoint reads resource metadata from regional
|
|
100996
|
+
* read-only replicas. Because changes are copied to these regional replicas
|
|
100997
|
+
* asynchronously, for real-time resource reads or any write operations
|
|
100998
|
+
* (creating, updating, or deleting resources), use the global
|
|
100999
|
+
* [projects.get](https://cloud.google.com/compute/docs/reference/rest/v1/projects/get)
|
|
101000
|
+
* endpoint.
|
|
100749
101001
|
*/
|
|
100750
101002
|
get(request?: {
|
|
100751
101003
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -195,6 +195,14 @@ resources.
|
|
|
195
195
|
*/
|
|
196
196
|
await gapi.client.compute.advice.calendarMode({ project: "project", region: "region", });
|
|
197
197
|
|
|
198
|
+
/*
|
|
199
|
+
Advise on whether extending an existing Future Reservation is possible
|
|
200
|
+
based on the desired extension end time. If capacity is not available for
|
|
201
|
+
the entire requested duration, the method will recommend the longest
|
|
202
|
+
possible extension.
|
|
203
|
+
*/
|
|
204
|
+
await gapi.client.compute.advice.calendarModeExtension({ project: "project", region: "region", });
|
|
205
|
+
|
|
198
206
|
/*
|
|
199
207
|
Advice on making real-time decisions (such as choosing zone or
|
|
200
208
|
machine types) during deployment to maximize your chances of obtaining
|
|
@@ -4146,6 +4154,12 @@ await gapi.client.compute.projects.setUsageExportBucket({ project: "project", }
|
|
|
4146
4154
|
/*
|
|
4147
4155
|
Returns the specified global ProjectViews resource, with a regional
|
|
4148
4156
|
context.
|
|
4157
|
+
This regional API endpoint reads resource metadata from regional
|
|
4158
|
+
read-only replicas. Because changes are copied to these regional replicas
|
|
4159
|
+
asynchronously, for real-time resource reads or any write operations
|
|
4160
|
+
(creating, updating, or deleting resources), use the global
|
|
4161
|
+
[projects.get](https://cloud.google.com/compute/docs/reference/rest/v1/projects/get)
|
|
4162
|
+
endpoint.
|
|
4149
4163
|
*/
|
|
4150
4164
|
await gapi.client.compute.projectViews.get({ project: "project", region: "region", });
|
|
4151
4165
|
|