@maxim_mazurok/gapi.client.compute-alpha 0.2.20260821 → 0.2.20260828
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 +67 -20
- package/package.json +1 -1
- package/readme.md +4 -4
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: 20260828
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3630,6 +3630,11 @@ declare namespace gapi.client {
|
|
|
3630
3630
|
* This field can only be specified when the load balancing scheme is set toINTERNAL, or when the load balancing scheme is set toEXTERNAL and haPolicy fastIpMove is enabled.
|
|
3631
3631
|
*/
|
|
3632
3632
|
network?: string;
|
|
3633
|
+
/**
|
|
3634
|
+
* Optional. The URL of the network attachment that this resource
|
|
3635
|
+
* belongs to.projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
|
3636
|
+
*/
|
|
3637
|
+
networkAttachment?: string;
|
|
3633
3638
|
/**
|
|
3634
3639
|
* Configures traffic steering properties of internal passthrough Network
|
|
3635
3640
|
* Load Balancers.
|
|
@@ -3756,6 +3761,14 @@ declare namespace gapi.client {
|
|
|
3756
3761
|
* If set, lists of backends and health checks must be both empty.
|
|
3757
3762
|
*/
|
|
3758
3763
|
serviceBindings?: string[];
|
|
3764
|
+
/**
|
|
3765
|
+
* Optional. The service class ID associated with this resource.
|
|
3766
|
+
* Producer Service's Service class ID for the region of this backend
|
|
3767
|
+
* service. Can only be used with network_attachment. It is not possible to
|
|
3768
|
+
* use on its own; however, network_attachment can be used without
|
|
3769
|
+
* service_class_id.
|
|
3770
|
+
*/
|
|
3771
|
+
serviceClassId?: string;
|
|
3759
3772
|
/**
|
|
3760
3773
|
* URL to networkservices.ServiceLbPolicy resource.
|
|
3761
3774
|
*
|
|
@@ -4341,7 +4354,8 @@ declare namespace gapi.client {
|
|
|
4341
4354
|
* instance must already be attached to the NEG specified in the
|
|
4342
4355
|
* haPolicy.leader.backendGroup.
|
|
4343
4356
|
*
|
|
4344
|
-
* The
|
|
4357
|
+
* The value must be a valid RFC1035 name (1-63 characters) or a valid
|
|
4358
|
+
* instance URL.
|
|
4345
4359
|
* Authorization requires the following IAM permission on the
|
|
4346
4360
|
* specified resource instance: compute.instances.use
|
|
4347
4361
|
*/
|
|
@@ -5624,10 +5638,10 @@ declare namespace gapi.client {
|
|
|
5624
5638
|
recommendations?: CalendarModeRecommendation[];
|
|
5625
5639
|
}
|
|
5626
5640
|
interface CalendarModeExtensionAdviceRequest {
|
|
5627
|
-
/** Required. The desired end time
|
|
5641
|
+
/** Required. The desired end time for the extension. */
|
|
5628
5642
|
endTimeNotLaterThan?: string;
|
|
5629
5643
|
/**
|
|
5630
|
-
* Required. Reference to the
|
|
5644
|
+
* Required. Reference to the future reservation, in the format:
|
|
5631
5645
|
* projects/{project}/zones/{zone}/futureReservations/{name}
|
|
5632
5646
|
* Full URIs that include hostnames (like compute.googleapis.com or
|
|
5633
5647
|
* www.googleapis.com) are also supported.
|
|
@@ -5636,27 +5650,29 @@ declare namespace gapi.client {
|
|
|
5636
5650
|
}
|
|
5637
5651
|
interface CalendarModeExtensionAdviceResponse {
|
|
5638
5652
|
/**
|
|
5639
|
-
* The recommended end time for the extension, which
|
|
5640
|
-
*
|
|
5641
|
-
*
|
|
5642
|
-
*
|
|
5653
|
+
* The recommended end time for the extension, which is either the end time
|
|
5654
|
+
* requested by the caller or the longest alternative with sufficient
|
|
5655
|
+
* capacity. If the extension is not possible, this field is empty, and
|
|
5656
|
+
* notRecommendedReason is populated instead.
|
|
5643
5657
|
*/
|
|
5644
5658
|
endTime?: string;
|
|
5645
5659
|
/**
|
|
5646
|
-
*
|
|
5647
|
-
*
|
|
5648
|
-
*
|
|
5660
|
+
* The reason why the future reservation can't be extended. If a
|
|
5661
|
+
* recommendation is provided, whether for the requested end time or an
|
|
5662
|
+
* alternative, this field is empty.
|
|
5649
5663
|
*/
|
|
5650
5664
|
notRecommendedReason?: CalendarModeExtensionAdviceResponseNotRecommendedReason;
|
|
5651
|
-
/**
|
|
5665
|
+
/**
|
|
5666
|
+
* The unique ID of the recommendation, which is a UUID string generated by
|
|
5667
|
+
* the API.
|
|
5668
|
+
*/
|
|
5652
5669
|
recommendationId?: string;
|
|
5653
5670
|
}
|
|
5654
5671
|
interface CalendarModeExtensionAdviceResponseNotRecommendedReason {
|
|
5655
5672
|
/**
|
|
5656
|
-
*
|
|
5657
|
-
*
|
|
5658
|
-
*
|
|
5659
|
-
* extension duration is not eligible.
|
|
5673
|
+
* Human-readable details describing why the recommendation wasn't provided.
|
|
5674
|
+
* For example, if the status is CONDITIONS_NOT_MET, this field explains why
|
|
5675
|
+
* the requested extension duration isn't possible.
|
|
5660
5676
|
*/
|
|
5661
5677
|
details?: string;
|
|
5662
5678
|
/** Status of recommendation. */
|
|
@@ -8849,6 +8865,13 @@ declare namespace gapi.client {
|
|
|
8849
8865
|
*/
|
|
8850
8866
|
seconds?: string;
|
|
8851
8867
|
}
|
|
8868
|
+
interface DynamicCompressionPolicy {
|
|
8869
|
+
/**
|
|
8870
|
+
* Compress text responses using Brotli or gzip compression, based on
|
|
8871
|
+
* the client's Accept-Encoding header.
|
|
8872
|
+
*/
|
|
8873
|
+
compressionMode?: 'AUTOMATIC' | 'DISABLED';
|
|
8874
|
+
}
|
|
8852
8875
|
interface ErrorInfo {
|
|
8853
8876
|
/**
|
|
8854
8877
|
* The logical grouping to which the "reason" belongs. The error domain
|
|
@@ -10715,6 +10738,11 @@ declare namespace gapi.client {
|
|
|
10715
10738
|
* APIs, a network must be provided.
|
|
10716
10739
|
*/
|
|
10717
10740
|
network?: string;
|
|
10741
|
+
/**
|
|
10742
|
+
* Optional. The URL of the network attachment that this resource
|
|
10743
|
+
* belongs to.projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
|
10744
|
+
*/
|
|
10745
|
+
networkAttachment?: string;
|
|
10718
10746
|
/**
|
|
10719
10747
|
* This signifies the networking tier used for configuring
|
|
10720
10748
|
* this load balancer and can only take the following values:PREMIUM, STANDARD.
|
|
@@ -10825,6 +10853,12 @@ declare namespace gapi.client {
|
|
|
10825
10853
|
selfLink?: string;
|
|
10826
10854
|
/** Output only. [Output Only] Server-defined URL for this resource with the resource id. */
|
|
10827
10855
|
selfLinkWithId?: string;
|
|
10856
|
+
/**
|
|
10857
|
+
* Optional. Producer Service's Service class ID for the region of this forwarding rule.
|
|
10858
|
+
* Can only be used with network_attachment. It is not possible to use on its
|
|
10859
|
+
* own; however, network_attachment can be used without service_class_id.
|
|
10860
|
+
*/
|
|
10861
|
+
serviceClassId?: string;
|
|
10828
10862
|
/**
|
|
10829
10863
|
* Service Directory resources to register this forwarding rule with.
|
|
10830
10864
|
* Currently, only supports a single Service Directory resource.
|
|
@@ -12662,6 +12696,7 @@ declare namespace gapi.client {
|
|
|
12662
12696
|
*/
|
|
12663
12697
|
type?:
|
|
12664
12698
|
| 'BARE_METAL_LINUX_COMPATIBLE'
|
|
12699
|
+
| 'BMSAI_CAPABLE'
|
|
12665
12700
|
| 'CCA_CAPABLE'
|
|
12666
12701
|
| 'FEATURE_TYPE_UNSPECIFIED'
|
|
12667
12702
|
| 'GVNIC'
|
|
@@ -15492,6 +15527,11 @@ declare namespace gapi.client {
|
|
|
15492
15527
|
* Not supported when the URL map is bound to a target gRPC proxy.
|
|
15493
15528
|
*/
|
|
15494
15529
|
corsPolicy?: CorsPolicy;
|
|
15530
|
+
/**
|
|
15531
|
+
* Dynamic compression policy for this URL Map's route. Available only for
|
|
15532
|
+
* Global EXTERNAL_MANAGED load balancer schemes.
|
|
15533
|
+
*/
|
|
15534
|
+
dynamicCompressionPolicy?: DynamicCompressionPolicy;
|
|
15495
15535
|
/**
|
|
15496
15536
|
* The specification for fault injection introduced into traffic to test
|
|
15497
15537
|
* the resiliency of clients to backend service failure. As part of fault
|
|
@@ -26311,6 +26351,8 @@ declare namespace gapi.client {
|
|
|
26311
26351
|
result?: NatIpInfo[];
|
|
26312
26352
|
}
|
|
26313
26353
|
interface Network {
|
|
26354
|
+
/** Output only. [Output Only] Additional tags for this resource. */
|
|
26355
|
+
additionalTags?: string[];
|
|
26314
26356
|
/**
|
|
26315
26357
|
* Must be set to create a VPC network. If not set, a legacy network is
|
|
26316
26358
|
* created.
|
|
@@ -37467,6 +37509,11 @@ declare namespace gapi.client {
|
|
|
37467
37509
|
* latency.
|
|
37468
37510
|
*/
|
|
37469
37511
|
host?: string;
|
|
37512
|
+
/**
|
|
37513
|
+
* Output only. [Output Only] The ID of the machine on which the running instance is
|
|
37514
|
+
* located. It is only populated for machines which have multiple hosts.
|
|
37515
|
+
*/
|
|
37516
|
+
machine?: string;
|
|
37470
37517
|
/**
|
|
37471
37518
|
* [Output Only] The ID of the sub-block in which the running instance is
|
|
37472
37519
|
* located. Instances in the same sub-block experience lower network latency
|
|
@@ -52739,10 +52786,10 @@ declare namespace gapi.client {
|
|
|
52739
52786
|
body: CalendarModeAdviceRequest,
|
|
52740
52787
|
): Request<CalendarModeAdviceResponse>;
|
|
52741
52788
|
/**
|
|
52742
|
-
*
|
|
52743
|
-
* based on the desired extension end time. If capacity
|
|
52744
|
-
* the entire requested duration, the method
|
|
52745
|
-
*
|
|
52789
|
+
* Advises on whether extending an existing future reservation is possible
|
|
52790
|
+
* based on the desired extension end time. If capacity isn't available for
|
|
52791
|
+
* the entire requested duration, the method recommends the longest possible
|
|
52792
|
+
* extension.
|
|
52746
52793
|
*/
|
|
52747
52794
|
calendarModeExtension(request: {
|
|
52748
52795
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -201,10 +201,10 @@ resources.
|
|
|
201
201
|
await gapi.client.compute.advice.calendarMode({ project: "project", region: "region", });
|
|
202
202
|
|
|
203
203
|
/*
|
|
204
|
-
|
|
205
|
-
based on the desired extension end time. If capacity
|
|
206
|
-
the entire requested duration, the method
|
|
207
|
-
|
|
204
|
+
Advises on whether extending an existing future reservation is possible
|
|
205
|
+
based on the desired extension end time. If capacity isn't available for
|
|
206
|
+
the entire requested duration, the method recommends the longest possible
|
|
207
|
+
extension.
|
|
208
208
|
*/
|
|
209
209
|
await gapi.client.compute.advice.calendarModeExtension({ project: "project", region: "region", });
|
|
210
210
|
|