@maxim_mazurok/gapi.client.compute-v1 0.1.20251230 → 0.1.20260113
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 +409 -1
- package/package.json +1 -1
- package/readme.md +15 -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/v1/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260113
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3774,6 +3774,8 @@ declare namespace gapi.client {
|
|
|
3774
3774
|
interface BulkInsertInstanceResource {
|
|
3775
3775
|
/** The maximum number of instances to create. */
|
|
3776
3776
|
count?: string;
|
|
3777
|
+
/** A flexible specification of machine type of instances to create. */
|
|
3778
|
+
instanceFlexibilityPolicy?: InstanceFlexibilityPolicy;
|
|
3777
3779
|
/**
|
|
3778
3780
|
* The instance properties defining the VM instances to be created. Required
|
|
3779
3781
|
* if sourceInstanceTemplate is not provided.
|
|
@@ -10216,6 +10218,44 @@ declare namespace gapi.client {
|
|
|
10216
10218
|
/** Output only. The minimal guaranteed number of virtual CPUs that are reserved. */
|
|
10217
10219
|
minNodeCpus?: number;
|
|
10218
10220
|
}
|
|
10221
|
+
interface InstanceFlexibilityPolicy {
|
|
10222
|
+
/**
|
|
10223
|
+
* Specification of alternative, flexible instance subsets.
|
|
10224
|
+
* One of them will be selected to create the instances
|
|
10225
|
+
* based on various criteria, like:
|
|
10226
|
+
* - ranks,
|
|
10227
|
+
* - location policy,
|
|
10228
|
+
* - current capacity,
|
|
10229
|
+
* - available reservations (you can specify affinity in
|
|
10230
|
+
* InstanceProperties),
|
|
10231
|
+
* - SWAN/GOOSE limitations.
|
|
10232
|
+
* Key is an arbitrary, unique RFC1035 string that identifies the instance
|
|
10233
|
+
* selection.
|
|
10234
|
+
*/
|
|
10235
|
+
instanceSelections?: {
|
|
10236
|
+
[P in string]: InstanceFlexibilityPolicyInstanceSelection;
|
|
10237
|
+
};
|
|
10238
|
+
}
|
|
10239
|
+
interface InstanceFlexibilityPolicyInstanceSelection {
|
|
10240
|
+
/**
|
|
10241
|
+
* Disks to be attached to the instances created from in this selection.
|
|
10242
|
+
* They override the disks specified in the instance properties.
|
|
10243
|
+
*/
|
|
10244
|
+
disks?: AttachedDisk[];
|
|
10245
|
+
/**
|
|
10246
|
+
* Alternative machine types to use for instances that are created from
|
|
10247
|
+
* these properties. This field only accepts a machine type names, for
|
|
10248
|
+
* example `n2-standard-4` and not URLs or partial URLs.
|
|
10249
|
+
*/
|
|
10250
|
+
machineTypes?: string[];
|
|
10251
|
+
/**
|
|
10252
|
+
* Rank when prioritizing the shape flexibilities.
|
|
10253
|
+
* The instance selections with rank are considered
|
|
10254
|
+
* first, in the ascending order of the rank.
|
|
10255
|
+
* If not set, defaults to 0.
|
|
10256
|
+
*/
|
|
10257
|
+
rank?: string;
|
|
10258
|
+
}
|
|
10219
10259
|
interface InstanceGroup {
|
|
10220
10260
|
/**
|
|
10221
10261
|
* Output only. [Output Only] The creation timestamp for this instance group inRFC3339
|
|
@@ -12977,6 +13017,7 @@ declare namespace gapi.client {
|
|
|
12977
13017
|
* - BPS_20G: 20 Gbit/s
|
|
12978
13018
|
* - BPS_50G: 50 Gbit/s
|
|
12979
13019
|
* - BPS_100G: 100 Gbit/s
|
|
13020
|
+
* - BPS_400G: 400 Gbit/s
|
|
12980
13021
|
*/
|
|
12981
13022
|
bandwidth?: string;
|
|
12982
13023
|
/**
|
|
@@ -21556,6 +21597,116 @@ declare namespace gapi.client {
|
|
|
21556
21597
|
/** Specifies if all, running or unused hosts are in scope for this request. */
|
|
21557
21598
|
maintenanceScope?: string;
|
|
21558
21599
|
}
|
|
21600
|
+
interface ReservationSlot {
|
|
21601
|
+
/** Output only. [Output Only] The creation timestamp, formatted asRFC3339 text. */
|
|
21602
|
+
creationTimestamp?: string;
|
|
21603
|
+
/**
|
|
21604
|
+
* Output only. [Output Only] The unique identifier for this resource. This identifier is
|
|
21605
|
+
* defined by the server.
|
|
21606
|
+
*/
|
|
21607
|
+
id?: string;
|
|
21608
|
+
/** Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots. */
|
|
21609
|
+
kind?: string;
|
|
21610
|
+
/** Output only. [Output Only] The name of the reservation slot. */
|
|
21611
|
+
name?: string;
|
|
21612
|
+
/** Output only. [Output Only] The physical topology of the reservation slot. */
|
|
21613
|
+
physicalTopology?: ReservationSlotPhysicalTopology;
|
|
21614
|
+
/** Output only. [Output Only] A server-defined fully-qualified URL for this resource. */
|
|
21615
|
+
selfLink?: string;
|
|
21616
|
+
/** Output only. [Output Only] A server-defined URL for this resource with the resource ID. */
|
|
21617
|
+
selfLinkWithId?: string;
|
|
21618
|
+
/**
|
|
21619
|
+
* Specify share settings to create a shared slot. Set to empty
|
|
21620
|
+
* to inherit the share settings from a parent resource.
|
|
21621
|
+
*/
|
|
21622
|
+
shareSettings?: ShareSettings;
|
|
21623
|
+
/** Output only. [Output Only] The state of the reservation slot. */
|
|
21624
|
+
state?: string;
|
|
21625
|
+
/** Output only. [Output Only] The status of the reservation slot. */
|
|
21626
|
+
status?: ReservationSlotStatus;
|
|
21627
|
+
/** Output only. [Output Only] The zone in which the reservation slot resides. */
|
|
21628
|
+
zone?: string;
|
|
21629
|
+
}
|
|
21630
|
+
interface ReservationSlotPhysicalTopology {
|
|
21631
|
+
/** The unique identifier of the capacity block within the cluster. */
|
|
21632
|
+
block?: string;
|
|
21633
|
+
/** The cluster name of the reservation sub-block. */
|
|
21634
|
+
cluster?: string;
|
|
21635
|
+
/** The unique identifier of the capacity host within the capacity sub-block. */
|
|
21636
|
+
host?: string;
|
|
21637
|
+
/**
|
|
21638
|
+
* The unique identifier of the capacity sub-block within the capacity
|
|
21639
|
+
* block.
|
|
21640
|
+
*/
|
|
21641
|
+
subBlock?: string;
|
|
21642
|
+
}
|
|
21643
|
+
interface ReservationSlotsGetResponse {
|
|
21644
|
+
resource?: ReservationSlot;
|
|
21645
|
+
}
|
|
21646
|
+
interface ReservationSlotsListResponse {
|
|
21647
|
+
/** The unique identifier for the resource; defined by the server. */
|
|
21648
|
+
id?: string;
|
|
21649
|
+
/** A list of reservation slot resources. */
|
|
21650
|
+
items?: ReservationSlot[];
|
|
21651
|
+
/**
|
|
21652
|
+
* The type of resource. Alwayscompute#reservationSlot for a list of reservation
|
|
21653
|
+
* slots.
|
|
21654
|
+
*/
|
|
21655
|
+
kind?: string;
|
|
21656
|
+
/**
|
|
21657
|
+
* This token allows you to get the next page of results for
|
|
21658
|
+
* list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
|
|
21659
|
+
* the query parameter pageToken in the next list request.
|
|
21660
|
+
* Subsequent list requests will have their own nextPageToken to
|
|
21661
|
+
* continue paging through the results.
|
|
21662
|
+
*/
|
|
21663
|
+
nextPageToken?: string;
|
|
21664
|
+
/** The server-defined URL for this resource. */
|
|
21665
|
+
selfLink?: string;
|
|
21666
|
+
/** An informational warning message. */
|
|
21667
|
+
warning?: {
|
|
21668
|
+
/**
|
|
21669
|
+
* [Output Only] A warning code, if applicable. For example, Compute
|
|
21670
|
+
* Engine returns NO_RESULTS_ON_PAGE if there
|
|
21671
|
+
* are no results in the response.
|
|
21672
|
+
*/
|
|
21673
|
+
code?: string;
|
|
21674
|
+
/**
|
|
21675
|
+
* [Output Only] Metadata about this warning in key:
|
|
21676
|
+
* value format. For example:
|
|
21677
|
+
*
|
|
21678
|
+
* "data": [
|
|
21679
|
+
* {
|
|
21680
|
+
* "key": "scope",
|
|
21681
|
+
* "value": "zones/us-east1-d"
|
|
21682
|
+
* }
|
|
21683
|
+
*/
|
|
21684
|
+
data?: Array<{
|
|
21685
|
+
/**
|
|
21686
|
+
* [Output Only] A key that provides more detail on the warning being
|
|
21687
|
+
* returned. For example, for warnings where there are no results in a list
|
|
21688
|
+
* request for a particular zone, this key might be scope and
|
|
21689
|
+
* the key value might be the zone name. Other examples might be a key
|
|
21690
|
+
* indicating a deprecated resource and a suggested replacement, or a
|
|
21691
|
+
* warning about invalid network settings (for example, if an instance
|
|
21692
|
+
* attempts to perform IP forwarding but is not enabled for IP forwarding).
|
|
21693
|
+
*/
|
|
21694
|
+
key?: string;
|
|
21695
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
21696
|
+
value?: string;
|
|
21697
|
+
}>;
|
|
21698
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
21699
|
+
message?: string;
|
|
21700
|
+
};
|
|
21701
|
+
}
|
|
21702
|
+
interface ReservationSlotStatus {
|
|
21703
|
+
/** Output only. [Output Only] The physical topology of the reservation sub-block. */
|
|
21704
|
+
physicalTopology?: ReservationSlotPhysicalTopology;
|
|
21705
|
+
/** Output only. The RDMA IP address of the physical host. */
|
|
21706
|
+
rdmaIpAddresses?: string[];
|
|
21707
|
+
/** Output only. The URIs of the instances currently running on this slot. */
|
|
21708
|
+
runningInstances?: string[];
|
|
21709
|
+
}
|
|
21559
21710
|
interface ReservationsPerformMaintenanceRequest {
|
|
21560
21711
|
/** Specifies if all, running or unused hosts are in scope for this request. */
|
|
21561
21712
|
maintenanceScope?: string;
|
|
@@ -88216,6 +88367,261 @@ declare namespace gapi.client {
|
|
|
88216
88367
|
body: Reservation,
|
|
88217
88368
|
): Request<Operation>;
|
|
88218
88369
|
}
|
|
88370
|
+
interface ReservationSlotsResource {
|
|
88371
|
+
/** Retrieves information about the specified reservation slot. */
|
|
88372
|
+
get(request?: {
|
|
88373
|
+
/** V1 error format. */
|
|
88374
|
+
'$.xgafv'?: string;
|
|
88375
|
+
/** OAuth access token. */
|
|
88376
|
+
access_token?: string;
|
|
88377
|
+
/** Data format for response. */
|
|
88378
|
+
alt?: string;
|
|
88379
|
+
/** JSONP */
|
|
88380
|
+
callback?: string;
|
|
88381
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
88382
|
+
fields?: string;
|
|
88383
|
+
/** 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. */
|
|
88384
|
+
key?: string;
|
|
88385
|
+
/** OAuth 2.0 token for the current user. */
|
|
88386
|
+
oauth_token?: string;
|
|
88387
|
+
/**
|
|
88388
|
+
* The name of the parent reservation and parent block, formatted as
|
|
88389
|
+
* reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
|
|
88390
|
+
*/
|
|
88391
|
+
parentName: string;
|
|
88392
|
+
/** Returns response with indentations and line breaks. */
|
|
88393
|
+
prettyPrint?: boolean;
|
|
88394
|
+
/** The project ID for this request. */
|
|
88395
|
+
project: string;
|
|
88396
|
+
/** 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. */
|
|
88397
|
+
quotaUser?: string;
|
|
88398
|
+
/**
|
|
88399
|
+
* The name of the reservation slot, formatted as RFC1035 or a resource ID
|
|
88400
|
+
* number.
|
|
88401
|
+
*/
|
|
88402
|
+
reservationSlot: string;
|
|
88403
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
88404
|
+
upload_protocol?: string;
|
|
88405
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
88406
|
+
uploadType?: string;
|
|
88407
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
88408
|
+
userIp?: string;
|
|
88409
|
+
/** The name of the zone for this request, formatted as RFC1035. */
|
|
88410
|
+
zone: string;
|
|
88411
|
+
}): Request<ReservationSlotsGetResponse>;
|
|
88412
|
+
/** Retrieves a list of reservation slots under a single reservation. */
|
|
88413
|
+
list(request?: {
|
|
88414
|
+
/** V1 error format. */
|
|
88415
|
+
'$.xgafv'?: string;
|
|
88416
|
+
/** OAuth access token. */
|
|
88417
|
+
access_token?: string;
|
|
88418
|
+
/** Data format for response. */
|
|
88419
|
+
alt?: string;
|
|
88420
|
+
/** JSONP */
|
|
88421
|
+
callback?: string;
|
|
88422
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
88423
|
+
fields?: string;
|
|
88424
|
+
/**
|
|
88425
|
+
* A filter expression that filters resources listed in the response. Most
|
|
88426
|
+
* Compute resources support two types of filter expressions:
|
|
88427
|
+
* expressions that support regular expressions and expressions that follow
|
|
88428
|
+
* API improvement proposal AIP-160.
|
|
88429
|
+
* These two types of filter expressions cannot be mixed in one request.
|
|
88430
|
+
*
|
|
88431
|
+
* If you want to use AIP-160, your expression must specify the field name, an
|
|
88432
|
+
* operator, and the value that you want to use for filtering. The value
|
|
88433
|
+
* must be a string, a number, or a boolean. The operator
|
|
88434
|
+
* must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
88435
|
+
*
|
|
88436
|
+
* For example, if you are filtering Compute Engine instances, you can
|
|
88437
|
+
* exclude instances named `example-instance` by specifying
|
|
88438
|
+
* `name != example-instance`.
|
|
88439
|
+
*
|
|
88440
|
+
* The `:*` comparison can be used to test whether a key has been defined.
|
|
88441
|
+
* For example, to find all objects with `owner` label use:
|
|
88442
|
+
* ```
|
|
88443
|
+
* labels.owner:*
|
|
88444
|
+
* ```
|
|
88445
|
+
*
|
|
88446
|
+
* You can also filter nested fields. For example, you could specify
|
|
88447
|
+
* `scheduling.automaticRestart = false` to include instances only
|
|
88448
|
+
* if they are not scheduled for automatic restarts. You can use filtering
|
|
88449
|
+
* on nested fields to filter based onresource labels.
|
|
88450
|
+
*
|
|
88451
|
+
* To filter on multiple expressions, provide each separate expression within
|
|
88452
|
+
* parentheses. For example:
|
|
88453
|
+
* ```
|
|
88454
|
+
* (scheduling.automaticRestart = true)
|
|
88455
|
+
* (cpuPlatform = "Intel Skylake")
|
|
88456
|
+
* ```
|
|
88457
|
+
* By default, each expression is an `AND` expression. However, you
|
|
88458
|
+
* can include `AND` and `OR` expressions explicitly.
|
|
88459
|
+
* For example:
|
|
88460
|
+
* ```
|
|
88461
|
+
* (cpuPlatform = "Intel Skylake") OR
|
|
88462
|
+
* (cpuPlatform = "Intel Broadwell") AND
|
|
88463
|
+
* (scheduling.automaticRestart = true)
|
|
88464
|
+
* ```
|
|
88465
|
+
*
|
|
88466
|
+
* If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
88467
|
+
* (not equal) operator against a single un-parenthesized expression with or
|
|
88468
|
+
* without quotes or against multiple parenthesized expressions. Examples:
|
|
88469
|
+
*
|
|
88470
|
+
* `fieldname eq unquoted literal`
|
|
88471
|
+
* `fieldname eq 'single quoted literal'`
|
|
88472
|
+
* `fieldname eq "double quoted literal"`
|
|
88473
|
+
* `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
88474
|
+
*
|
|
88475
|
+
* The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
88476
|
+
* The literal value must match the entire field.
|
|
88477
|
+
*
|
|
88478
|
+
* For example, to filter for instances that do not end with name "instance",
|
|
88479
|
+
* you would use `name ne .*instance`.
|
|
88480
|
+
*
|
|
88481
|
+
* You cannot combine constraints on multiple fields using regular
|
|
88482
|
+
* expressions.
|
|
88483
|
+
*/
|
|
88484
|
+
filter?: string;
|
|
88485
|
+
/** 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. */
|
|
88486
|
+
key?: string;
|
|
88487
|
+
/**
|
|
88488
|
+
* The maximum number of results per page that should be returned.
|
|
88489
|
+
* If the number of available results is larger than `maxResults`,
|
|
88490
|
+
* Compute Engine returns a `nextPageToken` that can be used to get
|
|
88491
|
+
* the next page of results in subsequent list requests. Acceptable values are
|
|
88492
|
+
* `0` to `500`, inclusive. (Default: `500`)
|
|
88493
|
+
*/
|
|
88494
|
+
maxResults?: number;
|
|
88495
|
+
/** OAuth 2.0 token for the current user. */
|
|
88496
|
+
oauth_token?: string;
|
|
88497
|
+
/**
|
|
88498
|
+
* Sorts list results by a certain order. By default, results
|
|
88499
|
+
* are returned in alphanumerical order based on the resource name.
|
|
88500
|
+
*
|
|
88501
|
+
* You can also sort results in descending order based on the creation
|
|
88502
|
+
* timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
88503
|
+
* results based on the `creationTimestamp` field in
|
|
88504
|
+
* reverse chronological order (newest result first). Use this to sort
|
|
88505
|
+
* resources like operations so that the newest operation is returned first.
|
|
88506
|
+
*
|
|
88507
|
+
* Currently, only sorting by `name` or
|
|
88508
|
+
* `creationTimestamp desc` is supported.
|
|
88509
|
+
*/
|
|
88510
|
+
orderBy?: string;
|
|
88511
|
+
/**
|
|
88512
|
+
* Specifies a page token to use. Set `pageToken` to the
|
|
88513
|
+
* `nextPageToken` returned by a previous list request to get
|
|
88514
|
+
* the next page of results.
|
|
88515
|
+
*/
|
|
88516
|
+
pageToken?: string;
|
|
88517
|
+
/**
|
|
88518
|
+
* The name of the parent reservation and parent block, formatted as
|
|
88519
|
+
* reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
|
|
88520
|
+
*/
|
|
88521
|
+
parentName: string;
|
|
88522
|
+
/** Returns response with indentations and line breaks. */
|
|
88523
|
+
prettyPrint?: boolean;
|
|
88524
|
+
/** The project ID for this request. */
|
|
88525
|
+
project: string;
|
|
88526
|
+
/** 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. */
|
|
88527
|
+
quotaUser?: string;
|
|
88528
|
+
/**
|
|
88529
|
+
* Opt-in for partial success behavior which provides partial results in case
|
|
88530
|
+
* of failure. The default value is false.
|
|
88531
|
+
*
|
|
88532
|
+
* For example, when partial success behavior is enabled, aggregatedList for a
|
|
88533
|
+
* single zone scope either returns all resources in the zone or no resources,
|
|
88534
|
+
* with an error code.
|
|
88535
|
+
*/
|
|
88536
|
+
returnPartialSuccess?: boolean;
|
|
88537
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
88538
|
+
upload_protocol?: string;
|
|
88539
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
88540
|
+
uploadType?: string;
|
|
88541
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
88542
|
+
userIp?: string;
|
|
88543
|
+
/** The name of the zone for this request, formatted as RFC1035. */
|
|
88544
|
+
zone: string;
|
|
88545
|
+
}): Request<ReservationSlotsListResponse>;
|
|
88546
|
+
/** Update a reservation slot in the specified sub-block. */
|
|
88547
|
+
update(request: {
|
|
88548
|
+
/** V1 error format. */
|
|
88549
|
+
'$.xgafv'?: string;
|
|
88550
|
+
/** OAuth access token. */
|
|
88551
|
+
access_token?: string;
|
|
88552
|
+
/** Data format for response. */
|
|
88553
|
+
alt?: string;
|
|
88554
|
+
/** JSONP */
|
|
88555
|
+
callback?: string;
|
|
88556
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
88557
|
+
fields?: string;
|
|
88558
|
+
/** 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. */
|
|
88559
|
+
key?: string;
|
|
88560
|
+
/** OAuth 2.0 token for the current user. */
|
|
88561
|
+
oauth_token?: string;
|
|
88562
|
+
/** The name of the sub-block resource. */
|
|
88563
|
+
parentName: string;
|
|
88564
|
+
/** Returns response with indentations and line breaks. */
|
|
88565
|
+
prettyPrint?: boolean;
|
|
88566
|
+
/** The project ID for this request. */
|
|
88567
|
+
project: string;
|
|
88568
|
+
/** 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. */
|
|
88569
|
+
quotaUser?: string;
|
|
88570
|
+
/** The name of the slot resource. */
|
|
88571
|
+
reservationSlot: string;
|
|
88572
|
+
/** The fields to be updated as part of this request. */
|
|
88573
|
+
updateMask?: string;
|
|
88574
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
88575
|
+
upload_protocol?: string;
|
|
88576
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
88577
|
+
uploadType?: string;
|
|
88578
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
88579
|
+
userIp?: string;
|
|
88580
|
+
/** The name of the zone for this request, formatted as RFC1035. */
|
|
88581
|
+
zone: string;
|
|
88582
|
+
/** Request body */
|
|
88583
|
+
resource: ReservationSlot;
|
|
88584
|
+
}): Request<Operation>;
|
|
88585
|
+
update(
|
|
88586
|
+
request: {
|
|
88587
|
+
/** V1 error format. */
|
|
88588
|
+
'$.xgafv'?: string;
|
|
88589
|
+
/** OAuth access token. */
|
|
88590
|
+
access_token?: string;
|
|
88591
|
+
/** Data format for response. */
|
|
88592
|
+
alt?: string;
|
|
88593
|
+
/** JSONP */
|
|
88594
|
+
callback?: string;
|
|
88595
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
88596
|
+
fields?: string;
|
|
88597
|
+
/** 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. */
|
|
88598
|
+
key?: string;
|
|
88599
|
+
/** OAuth 2.0 token for the current user. */
|
|
88600
|
+
oauth_token?: string;
|
|
88601
|
+
/** The name of the sub-block resource. */
|
|
88602
|
+
parentName: string;
|
|
88603
|
+
/** Returns response with indentations and line breaks. */
|
|
88604
|
+
prettyPrint?: boolean;
|
|
88605
|
+
/** The project ID for this request. */
|
|
88606
|
+
project: string;
|
|
88607
|
+
/** 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. */
|
|
88608
|
+
quotaUser?: string;
|
|
88609
|
+
/** The name of the slot resource. */
|
|
88610
|
+
reservationSlot: string;
|
|
88611
|
+
/** The fields to be updated as part of this request. */
|
|
88612
|
+
updateMask?: string;
|
|
88613
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
88614
|
+
upload_protocol?: string;
|
|
88615
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
88616
|
+
uploadType?: string;
|
|
88617
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
88618
|
+
userIp?: string;
|
|
88619
|
+
/** The name of the zone for this request, formatted as RFC1035. */
|
|
88620
|
+
zone: string;
|
|
88621
|
+
},
|
|
88622
|
+
body: ReservationSlot,
|
|
88623
|
+
): Request<Operation>;
|
|
88624
|
+
}
|
|
88219
88625
|
interface ReservationSubBlocksResource {
|
|
88220
88626
|
/** Retrieves information about the specified reservation subBlock. */
|
|
88221
88627
|
get(request?: {
|
|
@@ -105868,6 +106274,8 @@ declare namespace gapi.client {
|
|
|
105868
106274
|
|
|
105869
106275
|
const reservationBlocks: ReservationBlocksResource;
|
|
105870
106276
|
|
|
106277
|
+
const reservationSlots: ReservationSlotsResource;
|
|
106278
|
+
|
|
105871
106279
|
const reservationSubBlocks: ReservationSubBlocksResource;
|
|
105872
106280
|
|
|
105873
106281
|
const reservations: ReservationsResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -4729,6 +4729,21 @@ Update share settings of the reservation.
|
|
|
4729
4729
|
*/
|
|
4730
4730
|
await gapi.client.compute.reservations.update({ project: "project", reservation: "reservation", zone: "zone", });
|
|
4731
4731
|
|
|
4732
|
+
/*
|
|
4733
|
+
Retrieves information about the specified reservation slot.
|
|
4734
|
+
*/
|
|
4735
|
+
await gapi.client.compute.reservationSlots.get({ parentName: "parentName", project: "project", reservationSlot: "reservationSlot", zone: "zone", });
|
|
4736
|
+
|
|
4737
|
+
/*
|
|
4738
|
+
Retrieves a list of reservation slots under a single reservation.
|
|
4739
|
+
*/
|
|
4740
|
+
await gapi.client.compute.reservationSlots.list({ parentName: "parentName", project: "project", zone: "zone", });
|
|
4741
|
+
|
|
4742
|
+
/*
|
|
4743
|
+
Update a reservation slot in the specified sub-block.
|
|
4744
|
+
*/
|
|
4745
|
+
await gapi.client.compute.reservationSlots.update({ parentName: "parentName", project: "project", reservationSlot: "reservationSlot", zone: "zone", });
|
|
4746
|
+
|
|
4732
4747
|
/*
|
|
4733
4748
|
Retrieves information about the specified reservation subBlock.
|
|
4734
4749
|
*/
|