@maxim_mazurok/gapi.client.compute-v1 0.1.20250827 → 0.1.20250909
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 +406 -6
- package/package.json +1 -1
- package/readme.md +41 -1
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: 20250909
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -700,7 +700,7 @@ declare namespace gapi.client {
|
|
|
700
700
|
defaultTtl?: number;
|
|
701
701
|
/** Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. */
|
|
702
702
|
maxTtl?: number;
|
|
703
|
-
/** Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found),
|
|
703
|
+
/** Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy. */
|
|
704
704
|
negativeCaching?: boolean;
|
|
705
705
|
/** Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists. */
|
|
706
706
|
negativeCachingPolicy?: BackendBucketCdnPolicyNegativeCachingPolicy[];
|
|
@@ -913,7 +913,7 @@ declare namespace gapi.client {
|
|
|
913
913
|
defaultTtl?: number;
|
|
914
914
|
/** Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. */
|
|
915
915
|
maxTtl?: number;
|
|
916
|
-
/** Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found),
|
|
916
|
+
/** Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy. */
|
|
917
917
|
negativeCaching?: boolean;
|
|
918
918
|
/** Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists. */
|
|
919
919
|
negativeCachingPolicy?: BackendServiceCdnPolicyNegativeCachingPolicy[];
|
|
@@ -3958,6 +3958,8 @@ declare namespace gapi.client {
|
|
|
3958
3958
|
targetInstance?: string;
|
|
3959
3959
|
}
|
|
3960
3960
|
interface InstanceParams {
|
|
3961
|
+
/** Relative deadline for waiting for capacity. Relevant only for Instances.Insert API. */
|
|
3962
|
+
requestValidForDuration?: Duration;
|
|
3961
3963
|
/** Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. */
|
|
3962
3964
|
resourceManagerTags?: {[P in string]: string};
|
|
3963
3965
|
}
|
|
@@ -4685,7 +4687,7 @@ declare namespace gapi.client {
|
|
|
4685
4687
|
attachment?: string;
|
|
4686
4688
|
/** Whether this Attachment is participating in the redundant configuration. This will be ACTIVE if and only if the status below is CONNECTION_UP. Any INACTIVE Attachments are excluded from the analysis that generates operational.availabilitySLA. */
|
|
4687
4689
|
isActive?: string;
|
|
4688
|
-
/** Whether this Attachment is active, and if so, whether BGP is up.
|
|
4690
|
+
/** Whether this Attachment is active, and if so, whether BGP is up. */
|
|
4689
4691
|
status?: string;
|
|
4690
4692
|
}
|
|
4691
4693
|
interface InterconnectAttachmentList {
|
|
@@ -5022,6 +5024,8 @@ declare namespace gapi.client {
|
|
|
5022
5024
|
regionInfos?: InterconnectLocationRegionInfo[];
|
|
5023
5025
|
/** [Output Only] Server-defined URL for the resource. */
|
|
5024
5026
|
selfLink?: string;
|
|
5027
|
+
/** [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other. */
|
|
5028
|
+
singleRegionProductionCriticalPeerLocations?: string[];
|
|
5025
5029
|
/** [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. */
|
|
5026
5030
|
status?: string;
|
|
5027
5031
|
/** [Output Only] Reserved for future use. */
|
|
@@ -5134,6 +5138,8 @@ declare namespace gapi.client {
|
|
|
5134
5138
|
maxLagSize100Gbps?: number;
|
|
5135
5139
|
/** [Output Only] The maximum number of 10 Gbps ports supported in a link aggregation group (LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed max_lag_size_10_gbps. */
|
|
5136
5140
|
maxLagSize10Gbps?: number;
|
|
5141
|
+
/** [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps. */
|
|
5142
|
+
maxLagSize400Gbps?: number;
|
|
5137
5143
|
/** [Output Only] Name of the resource. */
|
|
5138
5144
|
name?: string;
|
|
5139
5145
|
/** [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb). */
|
|
@@ -6107,12 +6113,16 @@ declare namespace gapi.client {
|
|
|
6107
6113
|
networkIP?: string;
|
|
6108
6114
|
/** The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. */
|
|
6109
6115
|
nicType?: string;
|
|
6116
|
+
/** Name of the parent network interface of a dynamic network interface. */
|
|
6117
|
+
parentNicName?: string;
|
|
6110
6118
|
/** The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users. */
|
|
6111
6119
|
queueCount?: number;
|
|
6112
6120
|
/** The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations. */
|
|
6113
6121
|
stackType?: string;
|
|
6114
6122
|
/** The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork */
|
|
6115
6123
|
subnetwork?: string;
|
|
6124
|
+
/** VLAN tag of a dynamic network interface, must be an integer in the range from 2 to 255 inclusively. */
|
|
6125
|
+
vlan?: number;
|
|
6116
6126
|
}
|
|
6117
6127
|
interface NetworkList {
|
|
6118
6128
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
@@ -6218,6 +6228,8 @@ declare namespace gapi.client {
|
|
|
6218
6228
|
location?: NetworkProfileLocation;
|
|
6219
6229
|
/** [Output Only] Name of the resource. */
|
|
6220
6230
|
name?: string;
|
|
6231
|
+
/** [Output Only] Type of the network profile. */
|
|
6232
|
+
profileType?: NetworkProfileProfileType;
|
|
6221
6233
|
/** [Output Only] Server-defined URL for the resource. */
|
|
6222
6234
|
selfLink?: string;
|
|
6223
6235
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
@@ -6285,6 +6297,12 @@ declare namespace gapi.client {
|
|
|
6285
6297
|
/** Specifies which type of unicast is supported. */
|
|
6286
6298
|
unicast?: string;
|
|
6287
6299
|
}
|
|
6300
|
+
interface NetworkProfileProfileType {
|
|
6301
|
+
networkType?: string;
|
|
6302
|
+
rdmaSubtype?: string;
|
|
6303
|
+
ullSubtype?: string;
|
|
6304
|
+
vpcSubtype?: string;
|
|
6305
|
+
}
|
|
6288
6306
|
interface NetworkProfilesListResponse {
|
|
6289
6307
|
etag?: string;
|
|
6290
6308
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
@@ -7921,6 +7939,8 @@ declare namespace gapi.client {
|
|
|
7921
7939
|
interface RequestMirrorPolicy {
|
|
7922
7940
|
/** The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. */
|
|
7923
7941
|
backendService?: string;
|
|
7942
|
+
/** The percentage of requests to be mirrored to `backend_service`. */
|
|
7943
|
+
mirrorPercent?: number;
|
|
7924
7944
|
}
|
|
7925
7945
|
interface Reservation {
|
|
7926
7946
|
/** Advanced control for cluster management, applicable only to DENSE deployment type reservations. */
|
|
@@ -8640,6 +8660,8 @@ declare namespace gapi.client {
|
|
|
8640
8660
|
nats?: RouterNat[];
|
|
8641
8661
|
/** URI of the network to which this router belongs. */
|
|
8642
8662
|
network?: string;
|
|
8663
|
+
/** Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. */
|
|
8664
|
+
params?: RouterParams;
|
|
8643
8665
|
/** [Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
|
|
8644
8666
|
region?: string;
|
|
8645
8667
|
/** [Output Only] Server-defined URL for the resource. */
|
|
@@ -8892,6 +8914,10 @@ declare namespace gapi.client {
|
|
|
8892
8914
|
/** URL for the subnetwork resource that will use NAT64. */
|
|
8893
8915
|
name?: string;
|
|
8894
8916
|
}
|
|
8917
|
+
interface RouterParams {
|
|
8918
|
+
/** Tag keys/values directly bound to this resource. The field is allowed for INSERT only. The keys/values to set on the resource should be specified in either ID { : } or Namespaced format { : }. For example the following are valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} Note: * Invalid combinations of ID & namespaced format is not supported. For instance: {"123/environment" : "tagValues/444"} is invalid. * Inconsistent format is not supported. For instance: {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. */
|
|
8919
|
+
resourceManagerTags?: {[P in string]: string};
|
|
8920
|
+
}
|
|
8895
8921
|
interface RoutersGetRoutePolicyResponse {
|
|
8896
8922
|
resource?: RoutePolicy;
|
|
8897
8923
|
}
|
|
@@ -9143,6 +9169,8 @@ declare namespace gapi.client {
|
|
|
9143
9169
|
preemptible?: boolean;
|
|
9144
9170
|
/** Specifies the provisioning model of the instance. */
|
|
9145
9171
|
provisioningModel?: string;
|
|
9172
|
+
/** Default is false and there will be 120 seconds between GCE ACPI G2 Soft Off and ACPI G3 Mechanical Off for Standard VMs and 30 seconds for Spot VMs. */
|
|
9173
|
+
skipGuestOsShutdown?: boolean;
|
|
9146
9174
|
/** Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. */
|
|
9147
9175
|
terminationTime?: string;
|
|
9148
9176
|
}
|
|
@@ -9365,7 +9393,7 @@ declare namespace gapi.client {
|
|
|
9365
9393
|
interface SecurityPolicyRuleMatcher {
|
|
9366
9394
|
/** The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. */
|
|
9367
9395
|
config?: SecurityPolicyRuleMatcherConfig;
|
|
9368
|
-
/** User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require Cloud Armor
|
|
9396
|
+
/** User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require a Cloud Armor Enterprise subscription and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require a Cloud Armor Enterprise subscription and are only supported in Global Security Policies. */
|
|
9369
9397
|
expr?: Expr;
|
|
9370
9398
|
/** The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr'). */
|
|
9371
9399
|
exprOptions?: SecurityPolicyRuleMatcherExprOptions;
|
|
@@ -9590,6 +9618,8 @@ declare namespace gapi.client {
|
|
|
9590
9618
|
consumerNetwork?: string;
|
|
9591
9619
|
/** The url of a connected endpoint. */
|
|
9592
9620
|
endpoint?: string;
|
|
9621
|
+
/** NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it. */
|
|
9622
|
+
natIps?: string[];
|
|
9593
9623
|
/** The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to. */
|
|
9594
9624
|
propagatedConnectionCount?: number;
|
|
9595
9625
|
/** The PSC connection id of the connected endpoint. */
|
|
@@ -10497,6 +10527,8 @@ declare namespace gapi.client {
|
|
|
10497
10527
|
systemReservedExternalIpv6Ranges?: string[];
|
|
10498
10528
|
/** Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use. */
|
|
10499
10529
|
systemReservedInternalIpv6Ranges?: string[];
|
|
10530
|
+
/** Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range. */
|
|
10531
|
+
utilizationDetails?: SubnetworkUtilizationDetails;
|
|
10500
10532
|
}
|
|
10501
10533
|
interface SubnetworkAggregatedList {
|
|
10502
10534
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
@@ -10621,6 +10653,26 @@ declare namespace gapi.client {
|
|
|
10621
10653
|
interface SubnetworksSetPrivateIpGoogleAccessRequest {
|
|
10622
10654
|
privateIpGoogleAccess?: boolean;
|
|
10623
10655
|
}
|
|
10656
|
+
interface SubnetworkUtilizationDetails {
|
|
10657
|
+
/** Utilizations of external IPV6 IP range. */
|
|
10658
|
+
externalIpv6InstanceUtilization?: SubnetworkUtilizationDetailsIPV6Utilization;
|
|
10659
|
+
/** Utilizations of external IPV6 IP range for NetLB. */
|
|
10660
|
+
externalIpv6LbUtilization?: SubnetworkUtilizationDetailsIPV6Utilization;
|
|
10661
|
+
/** Utilizations of internal IPV6 IP range. */
|
|
10662
|
+
internalIpv6Utilization?: SubnetworkUtilizationDetailsIPV6Utilization;
|
|
10663
|
+
/** Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty. */
|
|
10664
|
+
ipv4Utilizations?: SubnetworkUtilizationDetailsIPV4Utilization[];
|
|
10665
|
+
}
|
|
10666
|
+
interface SubnetworkUtilizationDetailsIPV4Utilization {
|
|
10667
|
+
/** Will be set for secondary range. Empty for primary IPv4 range. */
|
|
10668
|
+
rangeName?: string;
|
|
10669
|
+
totalAllocatedIp?: string;
|
|
10670
|
+
totalFreeIp?: string;
|
|
10671
|
+
}
|
|
10672
|
+
interface SubnetworkUtilizationDetailsIPV6Utilization {
|
|
10673
|
+
totalAllocatedIp?: Uint128;
|
|
10674
|
+
totalFreeIp?: Uint128;
|
|
10675
|
+
}
|
|
10624
10676
|
interface Subsetting {
|
|
10625
10677
|
policy?: string;
|
|
10626
10678
|
}
|
|
@@ -11853,6 +11905,8 @@ declare namespace gapi.client {
|
|
|
11853
11905
|
ipv6Address?: string;
|
|
11854
11906
|
}
|
|
11855
11907
|
interface VpnTunnel {
|
|
11908
|
+
/** User specified list of ciphers to use for the phase 1 and phase 2 of the IKE protocol. */
|
|
11909
|
+
cipherSuite?: VpnTunnelCipherSuite;
|
|
11856
11910
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
11857
11911
|
creationTimestamp?: string;
|
|
11858
11912
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
@@ -11930,6 +11984,10 @@ declare namespace gapi.client {
|
|
|
11930
11984
|
message?: string;
|
|
11931
11985
|
};
|
|
11932
11986
|
}
|
|
11987
|
+
interface VpnTunnelCipherSuite {
|
|
11988
|
+
phase1?: VpnTunnelPhase1Algorithms;
|
|
11989
|
+
phase2?: VpnTunnelPhase2Algorithms;
|
|
11990
|
+
}
|
|
11933
11991
|
interface VpnTunnelList {
|
|
11934
11992
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
11935
11993
|
id?: string;
|
|
@@ -11956,6 +12014,17 @@ declare namespace gapi.client {
|
|
|
11956
12014
|
message?: string;
|
|
11957
12015
|
};
|
|
11958
12016
|
}
|
|
12017
|
+
interface VpnTunnelPhase1Algorithms {
|
|
12018
|
+
dh?: string[];
|
|
12019
|
+
encryption?: string[];
|
|
12020
|
+
integrity?: string[];
|
|
12021
|
+
prf?: string[];
|
|
12022
|
+
}
|
|
12023
|
+
interface VpnTunnelPhase2Algorithms {
|
|
12024
|
+
encryption?: string[];
|
|
12025
|
+
integrity?: string[];
|
|
12026
|
+
pfs?: string[];
|
|
12027
|
+
}
|
|
11959
12028
|
interface VpnTunnelsScopedList {
|
|
11960
12029
|
/** A list of VPN tunnels contained in this scope. */
|
|
11961
12030
|
vpnTunnels?: VpnTunnel[];
|
|
@@ -12546,6 +12615,42 @@ declare namespace gapi.client {
|
|
|
12546
12615
|
},
|
|
12547
12616
|
body: RegionSetLabelsRequest,
|
|
12548
12617
|
): Request<Operation>;
|
|
12618
|
+
/** Returns permissions that a caller has on the specified resource. */
|
|
12619
|
+
testIamPermissions(
|
|
12620
|
+
request: {
|
|
12621
|
+
/** V1 error format. */
|
|
12622
|
+
'$.xgafv'?: string;
|
|
12623
|
+
/** OAuth access token. */
|
|
12624
|
+
access_token?: string;
|
|
12625
|
+
/** Data format for response. */
|
|
12626
|
+
alt?: string;
|
|
12627
|
+
/** JSONP */
|
|
12628
|
+
callback?: string;
|
|
12629
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12630
|
+
fields?: string;
|
|
12631
|
+
/** 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. */
|
|
12632
|
+
key?: string;
|
|
12633
|
+
/** OAuth 2.0 token for the current user. */
|
|
12634
|
+
oauth_token?: string;
|
|
12635
|
+
/** Returns response with indentations and line breaks. */
|
|
12636
|
+
prettyPrint?: boolean;
|
|
12637
|
+
/** Project ID for this request. */
|
|
12638
|
+
project: string;
|
|
12639
|
+
/** 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. */
|
|
12640
|
+
quotaUser?: string;
|
|
12641
|
+
/** The name of the region for this request. */
|
|
12642
|
+
region: string;
|
|
12643
|
+
/** Name or id of the resource for this request. */
|
|
12644
|
+
resource: string;
|
|
12645
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12646
|
+
upload_protocol?: string;
|
|
12647
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12648
|
+
uploadType?: string;
|
|
12649
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
12650
|
+
userIp?: string;
|
|
12651
|
+
},
|
|
12652
|
+
body: TestPermissionsRequest,
|
|
12653
|
+
): Request<TestPermissionsResponse>;
|
|
12549
12654
|
}
|
|
12550
12655
|
interface AutoscalersResource {
|
|
12551
12656
|
/** Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. */
|
|
@@ -17459,6 +17564,40 @@ declare namespace gapi.client {
|
|
|
17459
17564
|
},
|
|
17460
17565
|
body: GlobalSetLabelsRequest,
|
|
17461
17566
|
): Request<Operation>;
|
|
17567
|
+
/** Returns permissions that a caller has on the specified resource. */
|
|
17568
|
+
testIamPermissions(
|
|
17569
|
+
request: {
|
|
17570
|
+
/** V1 error format. */
|
|
17571
|
+
'$.xgafv'?: string;
|
|
17572
|
+
/** OAuth access token. */
|
|
17573
|
+
access_token?: string;
|
|
17574
|
+
/** Data format for response. */
|
|
17575
|
+
alt?: string;
|
|
17576
|
+
/** JSONP */
|
|
17577
|
+
callback?: string;
|
|
17578
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17579
|
+
fields?: string;
|
|
17580
|
+
/** 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. */
|
|
17581
|
+
key?: string;
|
|
17582
|
+
/** OAuth 2.0 token for the current user. */
|
|
17583
|
+
oauth_token?: string;
|
|
17584
|
+
/** Returns response with indentations and line breaks. */
|
|
17585
|
+
prettyPrint?: boolean;
|
|
17586
|
+
/** Project ID for this request. */
|
|
17587
|
+
project: string;
|
|
17588
|
+
/** 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. */
|
|
17589
|
+
quotaUser?: string;
|
|
17590
|
+
/** Name or id of the resource for this request. */
|
|
17591
|
+
resource: string;
|
|
17592
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17593
|
+
upload_protocol?: string;
|
|
17594
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17595
|
+
uploadType?: string;
|
|
17596
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
17597
|
+
userIp?: string;
|
|
17598
|
+
},
|
|
17599
|
+
body: TestPermissionsRequest,
|
|
17600
|
+
): Request<TestPermissionsResponse>;
|
|
17462
17601
|
}
|
|
17463
17602
|
interface GlobalForwardingRulesResource {
|
|
17464
17603
|
/** Deletes the specified GlobalForwardingRule resource. */
|
|
@@ -22425,6 +22564,42 @@ declare namespace gapi.client {
|
|
|
22425
22564
|
},
|
|
22426
22565
|
body: InstanceGroupsSetNamedPortsRequest,
|
|
22427
22566
|
): Request<Operation>;
|
|
22567
|
+
/** Returns permissions that a caller has on the specified resource. */
|
|
22568
|
+
testIamPermissions(
|
|
22569
|
+
request: {
|
|
22570
|
+
/** V1 error format. */
|
|
22571
|
+
'$.xgafv'?: string;
|
|
22572
|
+
/** OAuth access token. */
|
|
22573
|
+
access_token?: string;
|
|
22574
|
+
/** Data format for response. */
|
|
22575
|
+
alt?: string;
|
|
22576
|
+
/** JSONP */
|
|
22577
|
+
callback?: string;
|
|
22578
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22579
|
+
fields?: string;
|
|
22580
|
+
/** 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. */
|
|
22581
|
+
key?: string;
|
|
22582
|
+
/** OAuth 2.0 token for the current user. */
|
|
22583
|
+
oauth_token?: string;
|
|
22584
|
+
/** Returns response with indentations and line breaks. */
|
|
22585
|
+
prettyPrint?: boolean;
|
|
22586
|
+
/** Project ID for this request. */
|
|
22587
|
+
project: string;
|
|
22588
|
+
/** 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. */
|
|
22589
|
+
quotaUser?: string;
|
|
22590
|
+
/** Name or id of the resource for this request. */
|
|
22591
|
+
resource: string;
|
|
22592
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22593
|
+
upload_protocol?: string;
|
|
22594
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22595
|
+
uploadType?: string;
|
|
22596
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
22597
|
+
userIp?: string;
|
|
22598
|
+
/** The name of the zone for this request. */
|
|
22599
|
+
zone: string;
|
|
22600
|
+
},
|
|
22601
|
+
body: TestPermissionsRequest,
|
|
22602
|
+
): Request<TestPermissionsResponse>;
|
|
22428
22603
|
}
|
|
22429
22604
|
interface InstancesResource {
|
|
22430
22605
|
/** Adds an access config to an instance's network interface. */
|
|
@@ -22505,6 +22680,80 @@ declare namespace gapi.client {
|
|
|
22505
22680
|
},
|
|
22506
22681
|
body: AccessConfig,
|
|
22507
22682
|
): Request<Operation>;
|
|
22683
|
+
/** Adds one dynamic network interface to an active instance. */
|
|
22684
|
+
addNetworkInterface(request: {
|
|
22685
|
+
/** V1 error format. */
|
|
22686
|
+
'$.xgafv'?: string;
|
|
22687
|
+
/** OAuth access token. */
|
|
22688
|
+
access_token?: string;
|
|
22689
|
+
/** Data format for response. */
|
|
22690
|
+
alt?: string;
|
|
22691
|
+
/** JSONP */
|
|
22692
|
+
callback?: string;
|
|
22693
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22694
|
+
fields?: string;
|
|
22695
|
+
/** The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an unsigned long integer. */
|
|
22696
|
+
instance: string;
|
|
22697
|
+
/** 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. */
|
|
22698
|
+
key?: string;
|
|
22699
|
+
/** OAuth 2.0 token for the current user. */
|
|
22700
|
+
oauth_token?: string;
|
|
22701
|
+
/** Returns response with indentations and line breaks. */
|
|
22702
|
+
prettyPrint?: boolean;
|
|
22703
|
+
/** Project ID for this request. */
|
|
22704
|
+
project: string;
|
|
22705
|
+
/** 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. */
|
|
22706
|
+
quotaUser?: string;
|
|
22707
|
+
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
22708
|
+
requestId?: string;
|
|
22709
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22710
|
+
upload_protocol?: string;
|
|
22711
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22712
|
+
uploadType?: string;
|
|
22713
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
22714
|
+
userIp?: string;
|
|
22715
|
+
/** The name of the zone for this request. */
|
|
22716
|
+
zone: string;
|
|
22717
|
+
/** Request body */
|
|
22718
|
+
resource: NetworkInterface;
|
|
22719
|
+
}): Request<Operation>;
|
|
22720
|
+
addNetworkInterface(
|
|
22721
|
+
request: {
|
|
22722
|
+
/** V1 error format. */
|
|
22723
|
+
'$.xgafv'?: string;
|
|
22724
|
+
/** OAuth access token. */
|
|
22725
|
+
access_token?: string;
|
|
22726
|
+
/** Data format for response. */
|
|
22727
|
+
alt?: string;
|
|
22728
|
+
/** JSONP */
|
|
22729
|
+
callback?: string;
|
|
22730
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22731
|
+
fields?: string;
|
|
22732
|
+
/** The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an unsigned long integer. */
|
|
22733
|
+
instance: string;
|
|
22734
|
+
/** 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. */
|
|
22735
|
+
key?: string;
|
|
22736
|
+
/** OAuth 2.0 token for the current user. */
|
|
22737
|
+
oauth_token?: string;
|
|
22738
|
+
/** Returns response with indentations and line breaks. */
|
|
22739
|
+
prettyPrint?: boolean;
|
|
22740
|
+
/** Project ID for this request. */
|
|
22741
|
+
project: string;
|
|
22742
|
+
/** 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. */
|
|
22743
|
+
quotaUser?: string;
|
|
22744
|
+
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
22745
|
+
requestId?: string;
|
|
22746
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22747
|
+
upload_protocol?: string;
|
|
22748
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22749
|
+
uploadType?: string;
|
|
22750
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
22751
|
+
userIp?: string;
|
|
22752
|
+
/** The name of the zone for this request. */
|
|
22753
|
+
zone: string;
|
|
22754
|
+
},
|
|
22755
|
+
body: NetworkInterface,
|
|
22756
|
+
): Request<Operation>;
|
|
22508
22757
|
/** Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations. */
|
|
22509
22758
|
addResourcePolicies(request: {
|
|
22510
22759
|
/** V1 error format. */
|
|
@@ -22844,6 +23093,43 @@ declare namespace gapi.client {
|
|
|
22844
23093
|
/** The name of the zone for this request. */
|
|
22845
23094
|
zone: string;
|
|
22846
23095
|
}): Request<Operation>;
|
|
23096
|
+
/** Deletes one dynamic network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using project+zone+resource_id fields; - dynamic network interface to be deleted, using network_interface_name field; */
|
|
23097
|
+
deleteNetworkInterface(request?: {
|
|
23098
|
+
/** V1 error format. */
|
|
23099
|
+
'$.xgafv'?: string;
|
|
23100
|
+
/** OAuth access token. */
|
|
23101
|
+
access_token?: string;
|
|
23102
|
+
/** Data format for response. */
|
|
23103
|
+
alt?: string;
|
|
23104
|
+
/** JSONP */
|
|
23105
|
+
callback?: string;
|
|
23106
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23107
|
+
fields?: string;
|
|
23108
|
+
/** The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an unsigned long integer. */
|
|
23109
|
+
instance: string;
|
|
23110
|
+
/** 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. */
|
|
23111
|
+
key?: string;
|
|
23112
|
+
/** The name of the dynamic network interface to be deleted from the instance. */
|
|
23113
|
+
networkInterfaceName: string;
|
|
23114
|
+
/** OAuth 2.0 token for the current user. */
|
|
23115
|
+
oauth_token?: string;
|
|
23116
|
+
/** Returns response with indentations and line breaks. */
|
|
23117
|
+
prettyPrint?: boolean;
|
|
23118
|
+
/** Project ID for this request. */
|
|
23119
|
+
project: string;
|
|
23120
|
+
/** 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. */
|
|
23121
|
+
quotaUser?: string;
|
|
23122
|
+
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
23123
|
+
requestId?: string;
|
|
23124
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23125
|
+
upload_protocol?: string;
|
|
23126
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23127
|
+
uploadType?: string;
|
|
23128
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
23129
|
+
userIp?: string;
|
|
23130
|
+
/** The name of the zone for this request. */
|
|
23131
|
+
zone: string;
|
|
23132
|
+
}): Request<Operation>;
|
|
22847
23133
|
/** Detaches a disk from an instance. */
|
|
22848
23134
|
detachDisk(request?: {
|
|
22849
23135
|
/** V1 error format. */
|
|
@@ -33271,7 +33557,7 @@ declare namespace gapi.client {
|
|
|
33271
33557
|
},
|
|
33272
33558
|
body: ProjectsListXpnHostsRequest,
|
|
33273
33559
|
): Request<XpnHostList>;
|
|
33274
|
-
/**
|
|
33560
|
+
/** Starting September 29, 2025, you can't use the moveDisk API on new projects. To move a disk to a different region or zone, follow the steps in [Change the location of a disk](https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). Projects that already use the moveDisk API can continue usage until September 29, 2026. Starting November 1, 2025, API responses will include a warning message in the response body about the upcoming deprecation. You can skip the message to continue using the service without interruption. */
|
|
33275
33561
|
moveDisk(request: {
|
|
33276
33562
|
/** V1 error format. */
|
|
33277
33563
|
'$.xgafv'?: string;
|
|
@@ -38863,6 +39149,42 @@ declare namespace gapi.client {
|
|
|
38863
39149
|
},
|
|
38864
39150
|
body: RegionInstanceGroupsSetNamedPortsRequest,
|
|
38865
39151
|
): Request<Operation>;
|
|
39152
|
+
/** Returns permissions that a caller has on the specified resource. */
|
|
39153
|
+
testIamPermissions(
|
|
39154
|
+
request: {
|
|
39155
|
+
/** V1 error format. */
|
|
39156
|
+
'$.xgafv'?: string;
|
|
39157
|
+
/** OAuth access token. */
|
|
39158
|
+
access_token?: string;
|
|
39159
|
+
/** Data format for response. */
|
|
39160
|
+
alt?: string;
|
|
39161
|
+
/** JSONP */
|
|
39162
|
+
callback?: string;
|
|
39163
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
39164
|
+
fields?: string;
|
|
39165
|
+
/** 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. */
|
|
39166
|
+
key?: string;
|
|
39167
|
+
/** OAuth 2.0 token for the current user. */
|
|
39168
|
+
oauth_token?: string;
|
|
39169
|
+
/** Returns response with indentations and line breaks. */
|
|
39170
|
+
prettyPrint?: boolean;
|
|
39171
|
+
/** Project ID for this request. */
|
|
39172
|
+
project: string;
|
|
39173
|
+
/** 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. */
|
|
39174
|
+
quotaUser?: string;
|
|
39175
|
+
/** The name of the region for this request. */
|
|
39176
|
+
region: string;
|
|
39177
|
+
/** Name or id of the resource for this request. */
|
|
39178
|
+
resource: string;
|
|
39179
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
39180
|
+
upload_protocol?: string;
|
|
39181
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
39182
|
+
uploadType?: string;
|
|
39183
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
39184
|
+
userIp?: string;
|
|
39185
|
+
},
|
|
39186
|
+
body: TestPermissionsRequest,
|
|
39187
|
+
): Request<TestPermissionsResponse>;
|
|
38866
39188
|
}
|
|
38867
39189
|
interface RegionInstancesResource {
|
|
38868
39190
|
/** Creates multiple instances in a given region. Count specifies the number of instances to create. */
|
|
@@ -46280,6 +46602,8 @@ declare namespace gapi.client {
|
|
|
46280
46602
|
region: string;
|
|
46281
46603
|
/** Name of the ServiceAttachment resource to return. */
|
|
46282
46604
|
serviceAttachment: string;
|
|
46605
|
+
/** Indicates whether NAT IPs should be included in the response. */
|
|
46606
|
+
showNatIps?: boolean;
|
|
46283
46607
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
46284
46608
|
upload_protocol?: string;
|
|
46285
46609
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -48280,6 +48604,8 @@ declare namespace gapi.client {
|
|
|
48280
48604
|
uploadType?: string;
|
|
48281
48605
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
48282
48606
|
userIp?: string;
|
|
48607
|
+
/** Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response. */
|
|
48608
|
+
views?: string | string[];
|
|
48283
48609
|
}): Request<Subnetwork>;
|
|
48284
48610
|
/** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */
|
|
48285
48611
|
getIamPolicy(request?: {
|
|
@@ -48426,6 +48752,8 @@ declare namespace gapi.client {
|
|
|
48426
48752
|
uploadType?: string;
|
|
48427
48753
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
48428
48754
|
userIp?: string;
|
|
48755
|
+
/** Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response. */
|
|
48756
|
+
views?: string | string[];
|
|
48429
48757
|
}): Request<SubnetworkList>;
|
|
48430
48758
|
/** Retrieves an aggregated list of all usable subnetworks in the project. */
|
|
48431
48759
|
listUsable(request?: {
|
|
@@ -50219,6 +50547,42 @@ declare namespace gapi.client {
|
|
|
50219
50547
|
},
|
|
50220
50548
|
body: SecurityPolicyReference,
|
|
50221
50549
|
): Request<Operation>;
|
|
50550
|
+
/** Returns permissions that a caller has on the specified resource. */
|
|
50551
|
+
testIamPermissions(
|
|
50552
|
+
request: {
|
|
50553
|
+
/** V1 error format. */
|
|
50554
|
+
'$.xgafv'?: string;
|
|
50555
|
+
/** OAuth access token. */
|
|
50556
|
+
access_token?: string;
|
|
50557
|
+
/** Data format for response. */
|
|
50558
|
+
alt?: string;
|
|
50559
|
+
/** JSONP */
|
|
50560
|
+
callback?: string;
|
|
50561
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
50562
|
+
fields?: string;
|
|
50563
|
+
/** 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. */
|
|
50564
|
+
key?: string;
|
|
50565
|
+
/** OAuth 2.0 token for the current user. */
|
|
50566
|
+
oauth_token?: string;
|
|
50567
|
+
/** Returns response with indentations and line breaks. */
|
|
50568
|
+
prettyPrint?: boolean;
|
|
50569
|
+
/** Project ID for this request. */
|
|
50570
|
+
project: string;
|
|
50571
|
+
/** 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. */
|
|
50572
|
+
quotaUser?: string;
|
|
50573
|
+
/** Name or id of the resource for this request. */
|
|
50574
|
+
resource: string;
|
|
50575
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
50576
|
+
upload_protocol?: string;
|
|
50577
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
50578
|
+
uploadType?: string;
|
|
50579
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
50580
|
+
userIp?: string;
|
|
50581
|
+
/** The name of the zone for this request. */
|
|
50582
|
+
zone: string;
|
|
50583
|
+
},
|
|
50584
|
+
body: TestPermissionsRequest,
|
|
50585
|
+
): Request<TestPermissionsResponse>;
|
|
50222
50586
|
}
|
|
50223
50587
|
interface TargetPoolsResource {
|
|
50224
50588
|
/** Adds health check URLs to a target pool. */
|
|
@@ -50961,6 +51325,42 @@ declare namespace gapi.client {
|
|
|
50961
51325
|
},
|
|
50962
51326
|
body: SecurityPolicyReference,
|
|
50963
51327
|
): Request<Operation>;
|
|
51328
|
+
/** Returns permissions that a caller has on the specified resource. */
|
|
51329
|
+
testIamPermissions(
|
|
51330
|
+
request: {
|
|
51331
|
+
/** V1 error format. */
|
|
51332
|
+
'$.xgafv'?: string;
|
|
51333
|
+
/** OAuth access token. */
|
|
51334
|
+
access_token?: string;
|
|
51335
|
+
/** Data format for response. */
|
|
51336
|
+
alt?: string;
|
|
51337
|
+
/** JSONP */
|
|
51338
|
+
callback?: string;
|
|
51339
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
51340
|
+
fields?: string;
|
|
51341
|
+
/** 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. */
|
|
51342
|
+
key?: string;
|
|
51343
|
+
/** OAuth 2.0 token for the current user. */
|
|
51344
|
+
oauth_token?: string;
|
|
51345
|
+
/** Returns response with indentations and line breaks. */
|
|
51346
|
+
prettyPrint?: boolean;
|
|
51347
|
+
/** Project ID for this request. */
|
|
51348
|
+
project: string;
|
|
51349
|
+
/** 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. */
|
|
51350
|
+
quotaUser?: string;
|
|
51351
|
+
/** The name of the region for this request. */
|
|
51352
|
+
region: string;
|
|
51353
|
+
/** Name or id of the resource for this request. */
|
|
51354
|
+
resource: string;
|
|
51355
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
51356
|
+
upload_protocol?: string;
|
|
51357
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
51358
|
+
uploadType?: string;
|
|
51359
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
51360
|
+
userIp?: string;
|
|
51361
|
+
},
|
|
51362
|
+
body: TestPermissionsRequest,
|
|
51363
|
+
): Request<TestPermissionsResponse>;
|
|
50964
51364
|
}
|
|
50965
51365
|
interface TargetSslProxiesResource {
|
|
50966
51366
|
/** Deletes the specified TargetSslProxy resource. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -135,6 +135,11 @@ Sets the labels on an Address. To learn more about labels, read the Labeling Res
|
|
|
135
135
|
*/
|
|
136
136
|
await gapi.client.compute.addresses.setLabels({ project: "project", region: "region", resource: "resource", });
|
|
137
137
|
|
|
138
|
+
/*
|
|
139
|
+
Returns permissions that a caller has on the specified resource.
|
|
140
|
+
*/
|
|
141
|
+
await gapi.client.compute.addresses.testIamPermissions({ project: "project", region: "region", resource: "resource", });
|
|
142
|
+
|
|
138
143
|
/*
|
|
139
144
|
Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
|
|
140
145
|
*/
|
|
@@ -640,6 +645,11 @@ Sets the labels on a GlobalAddress. To learn more about labels, read the Labelin
|
|
|
640
645
|
*/
|
|
641
646
|
await gapi.client.compute.globalAddresses.setLabels({ project: "project", resource: "resource", });
|
|
642
647
|
|
|
648
|
+
/*
|
|
649
|
+
Returns permissions that a caller has on the specified resource.
|
|
650
|
+
*/
|
|
651
|
+
await gapi.client.compute.globalAddresses.testIamPermissions({ project: "project", resource: "resource", });
|
|
652
|
+
|
|
643
653
|
/*
|
|
644
654
|
Deletes the specified GlobalForwardingRule resource.
|
|
645
655
|
*/
|
|
@@ -1120,11 +1130,21 @@ Sets the named ports for the specified instance group.
|
|
|
1120
1130
|
*/
|
|
1121
1131
|
await gapi.client.compute.instanceGroups.setNamedPorts({ instanceGroup: "instanceGroup", project: "project", zone: "zone", });
|
|
1122
1132
|
|
|
1133
|
+
/*
|
|
1134
|
+
Returns permissions that a caller has on the specified resource.
|
|
1135
|
+
*/
|
|
1136
|
+
await gapi.client.compute.instanceGroups.testIamPermissions({ project: "project", resource: "resource", zone: "zone", });
|
|
1137
|
+
|
|
1123
1138
|
/*
|
|
1124
1139
|
Adds an access config to an instance's network interface.
|
|
1125
1140
|
*/
|
|
1126
1141
|
await gapi.client.compute.instances.addAccessConfig({ instance: "instance", networkInterface: "networkInterface", project: "project", zone: "zone", });
|
|
1127
1142
|
|
|
1143
|
+
/*
|
|
1144
|
+
Adds one dynamic network interface to an active instance.
|
|
1145
|
+
*/
|
|
1146
|
+
await gapi.client.compute.instances.addNetworkInterface({ instance: "instance", project: "project", zone: "zone", });
|
|
1147
|
+
|
|
1128
1148
|
/*
|
|
1129
1149
|
Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations.
|
|
1130
1150
|
*/
|
|
@@ -1155,6 +1175,11 @@ Deletes an access config from an instance's network interface.
|
|
|
1155
1175
|
*/
|
|
1156
1176
|
await gapi.client.compute.instances.deleteAccessConfig({ accessConfig: "accessConfig", instance: "instance", networkInterface: "networkInterface", project: "project", zone: "zone", });
|
|
1157
1177
|
|
|
1178
|
+
/*
|
|
1179
|
+
Deletes one dynamic network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using project+zone+resource_id fields; - dynamic network interface to be deleted, using network_interface_name field;
|
|
1180
|
+
*/
|
|
1181
|
+
await gapi.client.compute.instances.deleteNetworkInterface({ instance: "instance", networkInterfaceName: "networkInterfaceName", project: "project", zone: "zone", });
|
|
1182
|
+
|
|
1158
1183
|
/*
|
|
1159
1184
|
Detaches a disk from an instance.
|
|
1160
1185
|
*/
|
|
@@ -2251,7 +2276,7 @@ Lists all shared VPC host projects visible to the user in an organization.
|
|
|
2251
2276
|
await gapi.client.compute.projects.listXpnHosts({ project: "project", });
|
|
2252
2277
|
|
|
2253
2278
|
/*
|
|
2254
|
-
|
|
2279
|
+
Starting September 29, 2025, you can't use the moveDisk API on new projects. To move a disk to a different region or zone, follow the steps in [Change the location of a disk](https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). Projects that already use the moveDisk API can continue usage until September 29, 2026. Starting November 1, 2025, API responses will include a warning message in the response body about the upcoming deprecation. You can skip the message to continue using the service without interruption.
|
|
2255
2280
|
*/
|
|
2256
2281
|
await gapi.client.compute.projects.moveDisk({ project: "project", });
|
|
2257
2282
|
|
|
@@ -2755,6 +2780,11 @@ Sets the named ports for the specified regional instance group.
|
|
|
2755
2780
|
*/
|
|
2756
2781
|
await gapi.client.compute.regionInstanceGroups.setNamedPorts({ instanceGroup: "instanceGroup", project: "project", region: "region", });
|
|
2757
2782
|
|
|
2783
|
+
/*
|
|
2784
|
+
Returns permissions that a caller has on the specified resource.
|
|
2785
|
+
*/
|
|
2786
|
+
await gapi.client.compute.regionInstanceGroups.testIamPermissions({ project: "project", region: "region", resource: "resource", });
|
|
2787
|
+
|
|
2758
2788
|
/*
|
|
2759
2789
|
Creates multiple instances in a given region. Count specifies the number of instances to create.
|
|
2760
2790
|
*/
|
|
@@ -3930,6 +3960,11 @@ Sets the Google Cloud Armor security policy for the specified target instance. F
|
|
|
3930
3960
|
*/
|
|
3931
3961
|
await gapi.client.compute.targetInstances.setSecurityPolicy({ project: "project", targetInstance: "targetInstance", zone: "zone", });
|
|
3932
3962
|
|
|
3963
|
+
/*
|
|
3964
|
+
Returns permissions that a caller has on the specified resource.
|
|
3965
|
+
*/
|
|
3966
|
+
await gapi.client.compute.targetInstances.testIamPermissions({ project: "project", resource: "resource", zone: "zone", });
|
|
3967
|
+
|
|
3933
3968
|
/*
|
|
3934
3969
|
Adds health check URLs to a target pool.
|
|
3935
3970
|
*/
|
|
@@ -3990,6 +4025,11 @@ Sets the Google Cloud Armor security policy for the specified target pool. For m
|
|
|
3990
4025
|
*/
|
|
3991
4026
|
await gapi.client.compute.targetPools.setSecurityPolicy({ project: "project", region: "region", targetPool: "targetPool", });
|
|
3992
4027
|
|
|
4028
|
+
/*
|
|
4029
|
+
Returns permissions that a caller has on the specified resource.
|
|
4030
|
+
*/
|
|
4031
|
+
await gapi.client.compute.targetPools.testIamPermissions({ project: "project", region: "region", resource: "resource", });
|
|
4032
|
+
|
|
3993
4033
|
/*
|
|
3994
4034
|
Deletes the specified TargetSslProxy resource.
|
|
3995
4035
|
*/
|