@maxim_mazurok/gapi.client.compute-alpha 0.0.20250708 → 0.0.20250728
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 +549 -46
- package/package.json +1 -1
- package/readme.md +35 -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: 20250728
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -317,6 +317,8 @@ declare namespace gapi.client {
|
|
|
317
317
|
interface AllocationResourceStatus {
|
|
318
318
|
/** Properties of this aggregatereservation. */
|
|
319
319
|
aggregateAllocation?: AllocationResourceStatusAggregateAllocation;
|
|
320
|
+
/** [Output only] Health information for the reservation. */
|
|
321
|
+
healthInfo?: AllocationResourceStatusHealthInfo;
|
|
320
322
|
/** The number of reservation blocks associated with this reservation. */
|
|
321
323
|
reservationBlockCount?: number;
|
|
322
324
|
/** Maintenance information for this reservation */
|
|
@@ -328,6 +330,14 @@ declare namespace gapi.client {
|
|
|
328
330
|
/** Per service utilization breakdown. The Key is the Google Cloud managed service name. */
|
|
329
331
|
utilizations?: {[P in string]: string};
|
|
330
332
|
}
|
|
333
|
+
interface AllocationResourceStatusHealthInfo {
|
|
334
|
+
/** The number of reservation blocks that are degraded. */
|
|
335
|
+
degradedBlockCount?: number;
|
|
336
|
+
/** The health status of the reservation. */
|
|
337
|
+
healthStatus?: string;
|
|
338
|
+
/** The number of reservation blocks that are healthy. */
|
|
339
|
+
healthyBlockCount?: number;
|
|
340
|
+
}
|
|
331
341
|
interface AllocationResourceStatusSpecificSKUAllocation {
|
|
332
342
|
/** ID of the instance template used to populate reservation properties. */
|
|
333
343
|
sourceInstanceTemplateId?: string;
|
|
@@ -733,6 +743,8 @@ declare namespace gapi.client {
|
|
|
733
743
|
loadBalancingScheme?: string;
|
|
734
744
|
/** Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
|
|
735
745
|
name?: string;
|
|
746
|
+
/** Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. */
|
|
747
|
+
params?: BackendBucketParams;
|
|
736
748
|
/** [Output Only] URL of the region where the regional backend bucket resides. This field is not applicable to global backend buckets. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
|
|
737
749
|
region?: string;
|
|
738
750
|
/** [Output Only] Server-defined URL for the resource. */
|
|
@@ -836,6 +848,10 @@ declare namespace gapi.client {
|
|
|
836
848
|
message?: string;
|
|
837
849
|
};
|
|
838
850
|
}
|
|
851
|
+
interface BackendBucketParams {
|
|
852
|
+
/** Tag keys/values directly bound to this resource. Tag keys and values have the same definition as resource manager tags. 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. */
|
|
853
|
+
resourceManagerTags?: {[P in string]: string};
|
|
854
|
+
}
|
|
839
855
|
interface BackendBucketUsedBy {
|
|
840
856
|
/** [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket. */
|
|
841
857
|
reference?: string;
|
|
@@ -845,12 +861,14 @@ declare namespace gapi.client {
|
|
|
845
861
|
dryRun?: boolean;
|
|
846
862
|
/** Optional parameter to define a target utilization for the Custom Metrics balancing mode. The valid range is [0.0, 1.0]. */
|
|
847
863
|
maxUtilization?: number;
|
|
848
|
-
/** Name of a custom utilization signal. The name must be 1-64 characters long and match the regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, period, underscore, lowercase letter, or digit, except the last character, which cannot be a dash, period, or underscore. For usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED. */
|
|
864
|
+
/** Name of a custom utilization signal. The name must be 1-64 characters long and match the regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means that the first character must be a lowercase letter, and all following characters must be a dash, period, underscore, lowercase letter, or digit, except the last character, which cannot be a dash, period, or underscore. For usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED. */
|
|
849
865
|
name?: string;
|
|
850
866
|
}
|
|
851
867
|
interface BackendService {
|
|
852
868
|
/** Lifetime of cookies in seconds. This setting is applicable to Application Load Balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. */
|
|
853
869
|
affinityCookieTtlSec?: number;
|
|
870
|
+
/** A boolean flag enabling multi-network mesh. This field is only allowed with load balancing scheme set to INTERNAL_SELF_MANAGED. */
|
|
871
|
+
allowMultinetwork?: boolean;
|
|
854
872
|
/** The list of backends that serve this BackendService. */
|
|
855
873
|
backends?: Backend[];
|
|
856
874
|
/** Cloud CDN configuration for this BackendService. Only available for specified load balancer types. */
|
|
@@ -904,7 +922,7 @@ declare namespace gapi.client {
|
|
|
904
922
|
loadBalancingScheme?: string;
|
|
905
923
|
/** A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration. */
|
|
906
924
|
localityLbPolicies?: BackendServiceLocalityLoadBalancingPolicyConfig[];
|
|
907
|
-
/** The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. localityLbPolicy cannot be specified with haPolicy. */
|
|
925
|
+
/** The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 - WEIGHTED_ROUND_ROBIN: Per-endpoint Weighted Round Robin Load Balancing using weights computed from Backend reported Custom Metrics. If set, the Backend Service responses are expected to contain non-standard HTTP response header field Endpoint-Load-Metrics. The reported metrics to use for computing the weights are specified via the customMetrics field. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. localityLbPolicy cannot be specified with haPolicy. */
|
|
908
926
|
localityLbPolicy?: string;
|
|
909
927
|
/** This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. */
|
|
910
928
|
logConfig?: BackendServiceLogConfig;
|
|
@@ -920,6 +938,8 @@ declare namespace gapi.client {
|
|
|
920
938
|
networkPassThroughLbTrafficPolicy?: BackendServiceNetworkPassThroughLbTrafficPolicy;
|
|
921
939
|
/** Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. */
|
|
922
940
|
outlierDetection?: OutlierDetection;
|
|
941
|
+
/** Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. */
|
|
942
|
+
params?: BackendServiceParams;
|
|
923
943
|
/** Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port. */
|
|
924
944
|
port?: number;
|
|
925
945
|
/** A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name. */
|
|
@@ -1032,7 +1052,7 @@ declare namespace gapi.client {
|
|
|
1032
1052
|
interface BackendServiceCustomMetric {
|
|
1033
1053
|
/** If true, the metric data is not used for load balancing. */
|
|
1034
1054
|
dryRun?: boolean;
|
|
1035
|
-
/** Name of a custom utilization signal. The name must be 1-64 characters long and match the regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, period, underscore, lowercase letter, or digit, except the last character, which cannot be a dash, period, or underscore. For usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED. */
|
|
1055
|
+
/** Name of a custom utilization signal. The name must be 1-64 characters long and match the regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means that the first character must be a lowercase letter, and all following characters must be a dash, period, underscore, lowercase letter, or digit, except the last character, which cannot be a dash, period, or underscore. For usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED. */
|
|
1036
1056
|
name?: string;
|
|
1037
1057
|
}
|
|
1038
1058
|
interface BackendServiceDynamicForwarding {
|
|
@@ -1191,6 +1211,10 @@ declare namespace gapi.client {
|
|
|
1191
1211
|
/** The value of the field must be in [0, 1]. When the ratio of the count of healthy backend endpoints in a zone to the count of backend endpoints in that same zone is equal to or above this threshold, the load balancer distributes new connections to all healthy endpoints in the local zone only. When the ratio of the count of healthy backend endpoints in a zone to the count of backend endpoints in that same zone is below this threshold, the load balancer distributes all new connections to all healthy endpoints across all zones. */
|
|
1192
1212
|
spilloverRatio?: number;
|
|
1193
1213
|
}
|
|
1214
|
+
interface BackendServiceParams {
|
|
1215
|
+
/** Tag keys/values directly bound to this resource. Tag keys and values have the same definition as resource manager tags. 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. */
|
|
1216
|
+
resourceManagerTags?: {[P in string]: string};
|
|
1217
|
+
}
|
|
1194
1218
|
interface BackendServiceReference {
|
|
1195
1219
|
backendService?: string;
|
|
1196
1220
|
}
|
|
@@ -1323,6 +1347,8 @@ declare namespace gapi.client {
|
|
|
1323
1347
|
interface BgpRouteAsPath {
|
|
1324
1348
|
/** [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered. */
|
|
1325
1349
|
asns?: number[];
|
|
1350
|
+
/** [Output only] ASNs in the path segment. This field is for better support of 32 bit ASNs as the other asns field suffers from overflow when the ASN is larger. When type is SEQUENCE, these are ordered. */
|
|
1351
|
+
asns32?: number[];
|
|
1326
1352
|
/** [Output only] Type of AS-PATH segment (SEQUENCE or SET) */
|
|
1327
1353
|
type?: string;
|
|
1328
1354
|
}
|
|
@@ -1754,7 +1780,7 @@ declare namespace gapi.client {
|
|
|
1754
1780
|
}
|
|
1755
1781
|
interface CompositeHealthChecksScopedList {
|
|
1756
1782
|
/** A list of CompositeHealthChecks contained in this scope. */
|
|
1757
|
-
|
|
1783
|
+
compositeHealthChecks?: CompositeHealthCheck[];
|
|
1758
1784
|
/** Informational warning which replaces the list of composite health checks when the list is empty. */
|
|
1759
1785
|
warning?: {
|
|
1760
1786
|
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
@@ -2745,7 +2771,7 @@ declare namespace gapi.client {
|
|
|
2745
2771
|
allowGlobalAccess?: boolean;
|
|
2746
2772
|
/** This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region. */
|
|
2747
2773
|
allowPscGlobalAccess?: boolean;
|
|
2748
|
-
/** This is used in PSC consumer ForwardingRule to control whether the producer is allowed to inject packets into the consumer's network. If set to true, the target service attachment must have tunneling enabled and TunnelingConfig.RoutingMode set to PACKET_INJECTION Non-PSC forwarding rules should not use this field. */
|
|
2774
|
+
/** This is used in PSC consumer ForwardingRule to control whether the producer is allowed to inject packets into the consumer's network. If set to true, the target service attachment must have tunneling enabled and TunnelingConfig.RoutingMode set to PACKET_INJECTION Non-PSC forwarding rules should not use this field. This field was never released to any customers and is deprecated and will be removed in the future. */
|
|
2749
2775
|
allowPscPacketInjection?: boolean;
|
|
2750
2776
|
/** The ports, portRange, and allPorts fields are mutually exclusive. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The allPorts field has the following limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, SCTP, or L3_DEFAULT. - It's applicable only to the following products: internal passthrough Network Load Balancers, backend service-based external passthrough Network Load Balancers, and internal and external protocol forwarding. - Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The L3_DEFAULT protocol requires allPorts be set to true. */
|
|
2751
2777
|
allPorts?: boolean;
|
|
@@ -2818,6 +2844,8 @@ declare namespace gapi.client {
|
|
|
2818
2844
|
subnetwork?: string;
|
|
2819
2845
|
/** The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the "Target" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment. */
|
|
2820
2846
|
target?: string;
|
|
2847
|
+
/** [PSC for VPC-hosted services only] Determines if clients are allowed to access the producer service via this PSC endpoint. */
|
|
2848
|
+
trafficDisabled?: boolean;
|
|
2821
2849
|
}
|
|
2822
2850
|
interface ForwardingRuleAggregatedList {
|
|
2823
2851
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
@@ -3282,6 +3310,10 @@ declare namespace gapi.client {
|
|
|
3282
3310
|
/** The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF - SNP_SVSM_CAPABLE For more information, see Enabling guest operating system features. */
|
|
3283
3311
|
type?: string;
|
|
3284
3312
|
}
|
|
3313
|
+
interface HaControllersFailoverRequest {
|
|
3314
|
+
/** Name of the destination zone for the failover. */
|
|
3315
|
+
primaryZone?: string;
|
|
3316
|
+
}
|
|
3285
3317
|
interface HealthAggregationPolicy {
|
|
3286
3318
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
3287
3319
|
creationTimestamp?: string;
|
|
@@ -3647,7 +3679,7 @@ declare namespace gapi.client {
|
|
|
3647
3679
|
}
|
|
3648
3680
|
interface HealthSourcesScopedList {
|
|
3649
3681
|
/** A list of HealthSources contained in this scope. */
|
|
3650
|
-
|
|
3682
|
+
healthSources?: HealthSource[];
|
|
3651
3683
|
/** Informational warning which replaces the list of health sources when the list is empty. */
|
|
3652
3684
|
warning?: {
|
|
3653
3685
|
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
@@ -4326,6 +4358,8 @@ declare namespace gapi.client {
|
|
|
4326
4358
|
};
|
|
4327
4359
|
}
|
|
4328
4360
|
interface InstanceFlexibilityPolicyInstanceSelection {
|
|
4361
|
+
/** Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties. */
|
|
4362
|
+
disks?: AttachedDisk[];
|
|
4329
4363
|
/** Alternative machine types to use for instances that are created from these properties. This field only accepts a machine type names, for example `n2-standard-4` and not URLs or partial URLs. */
|
|
4330
4364
|
machineTypes?: string[];
|
|
4331
4365
|
/** Rank when prioritizing the shape flexibilities. The instance selections with rank are considered first, in the ascending order of the rank. If not set, defaults to 0. */
|
|
@@ -5136,7 +5170,7 @@ declare namespace gapi.client {
|
|
|
5136
5170
|
targetInstance?: string;
|
|
5137
5171
|
}
|
|
5138
5172
|
interface InstanceParams {
|
|
5139
|
-
/** Relative deadline for waiting for capacity. Relevant only for Instances.Insert API. */
|
|
5173
|
+
/** Relative deadline for waiting for capacity. Relevant only for Instances.Insert and Instances.Start API. */
|
|
5140
5174
|
requestValidForDuration?: Duration;
|
|
5141
5175
|
/** 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. */
|
|
5142
5176
|
resourceManagerTags?: {[P in string]: string};
|
|
@@ -7244,15 +7278,11 @@ declare namespace gapi.client {
|
|
|
7244
7278
|
resourcePolicies?: MultiMigResourcePolicies;
|
|
7245
7279
|
/** [Output only] Server-defined URL for the resource. */
|
|
7246
7280
|
selfLink?: string;
|
|
7247
|
-
/** [Output only] Server-defined URL for this resource with the resource id. */
|
|
7248
|
-
selfLinkWithId?: string;
|
|
7249
7281
|
status?: MultiMigStatus;
|
|
7250
7282
|
}
|
|
7251
7283
|
interface MultiMigMember {
|
|
7252
7284
|
/** [Output Only] Creation timestamp of this multi-MIG member in RFC3339 text format. */
|
|
7253
7285
|
creationTimestamp?: string;
|
|
7254
|
-
/** An optional description of this resource. */
|
|
7255
|
-
description?: string;
|
|
7256
7286
|
/** [Output only] The unique identifier for this resource type. The server generates this identifier. */
|
|
7257
7287
|
id?: string;
|
|
7258
7288
|
/** Type of the resource. Always compute#multiMigMember for a list of multi-MIG members. */
|
|
@@ -7263,8 +7293,6 @@ declare namespace gapi.client {
|
|
|
7263
7293
|
region?: string;
|
|
7264
7294
|
/** [Output Only] Server-defined fully-qualified URL for this resource. */
|
|
7265
7295
|
selfLink?: string;
|
|
7266
|
-
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
7267
|
-
selfLinkWithId?: string;
|
|
7268
7296
|
/** [Output Only] The status of this multi-MIG member */
|
|
7269
7297
|
status?: MultiMigMemberStatus;
|
|
7270
7298
|
}
|
|
@@ -7303,7 +7331,6 @@ declare namespace gapi.client {
|
|
|
7303
7331
|
workloadPolicy?: string;
|
|
7304
7332
|
}
|
|
7305
7333
|
interface MultiMigsList {
|
|
7306
|
-
etag?: string;
|
|
7307
7334
|
/** Unique identifier for the resource; defined by the server. */
|
|
7308
7335
|
id?: string;
|
|
7309
7336
|
/** A list of multi-MIGs in the specified project and region. */
|
|
@@ -7314,8 +7341,6 @@ declare namespace gapi.client {
|
|
|
7314
7341
|
nextPageToken?: string;
|
|
7315
7342
|
/** [Output only] Server-defined URL for this resource. */
|
|
7316
7343
|
selfLink?: string;
|
|
7317
|
-
/** [Output only] Unreachable resources. */
|
|
7318
|
-
unreachables?: string[];
|
|
7319
7344
|
/** Informational warning message. */
|
|
7320
7345
|
warning?: {
|
|
7321
7346
|
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
@@ -9226,30 +9251,14 @@ declare namespace gapi.client {
|
|
|
9226
9251
|
};
|
|
9227
9252
|
}
|
|
9228
9253
|
interface PreviewFeatureRolloutOperation {
|
|
9254
|
+
/** Input only. The input for the rollout operation. */
|
|
9229
9255
|
rolloutInput?: PreviewFeatureRolloutOperationRolloutInput;
|
|
9230
|
-
rolloutStatus?: PreviewFeatureRolloutOperationRolloutStatus;
|
|
9231
9256
|
}
|
|
9232
9257
|
interface PreviewFeatureRolloutOperationRolloutInput {
|
|
9233
9258
|
/** The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/. */
|
|
9234
9259
|
name?: string;
|
|
9235
9260
|
/** Predefined rollout plan. */
|
|
9236
9261
|
predefinedRolloutPlan?: string;
|
|
9237
|
-
/** The UUID of the retry action. Only needed if this is a retry for an existing rollout. This can be used after the user canceled a rollout and want to retry it with no changes. */
|
|
9238
|
-
retryUuid?: string;
|
|
9239
|
-
}
|
|
9240
|
-
interface PreviewFeatureRolloutOperationRolloutStatus {
|
|
9241
|
-
/** Output only. The ongoing rollout resources. There can be multiple ongoing rollouts for a resource. */
|
|
9242
|
-
ongoingRollouts?: PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata[];
|
|
9243
|
-
/** Output only. The last completed rollout resource. This field will not be populated until the first rollout is completed. */
|
|
9244
|
-
previousRollout?: PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata;
|
|
9245
|
-
}
|
|
9246
|
-
interface PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata {
|
|
9247
|
-
/** The name of the rollout Ex. organizations//locations/global/rollouts/ Ex. folders//locations/global/rollouts/ Ex. projects//locations/global/rollouts/. */
|
|
9248
|
-
rollout?: string;
|
|
9249
|
-
/** The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/. */
|
|
9250
|
-
rolloutPlan?: string;
|
|
9251
|
-
/** The status of the rollout. */
|
|
9252
|
-
status?: PreviewFeatureStatus;
|
|
9253
9262
|
}
|
|
9254
9263
|
interface PreviewFeatureStatus {
|
|
9255
9264
|
/** [Output Only] The description of the feature. */
|
|
@@ -9459,6 +9468,8 @@ declare namespace gapi.client {
|
|
|
9459
9468
|
parentPrefix?: string;
|
|
9460
9469
|
/** The list of sub public delegated prefixes that exist for this public delegated prefix. */
|
|
9461
9470
|
publicDelegatedSubPrefixs?: PublicDelegatedPrefixPublicDelegatedSubPrefix[];
|
|
9471
|
+
/** The purpose of the public delegated prefix. This field can only be set for the top-level global public delegated prefix. It is an output-only field for the sub-delegates that inherit the value from the top-level global public delegated prefix. Once the value is set, it cannot be changed. The field cannot be set for regional public delegated prefixes. The supported values are: - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public delegated prefix can only be used by Global External Application and Proxy Load Balancers to allocate addresses for forwarding rules. This is the default value. - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The global public delegated prefix can only be used by Global External Passthrough Network Load Balancers to allocate Availability Group 0 addresses for forwarding rules. - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The global public delegated prefix can only be used by Global External Passthrough Network Load Balancers to allocate Availability Group 1 addresses for forwarding rules. */
|
|
9472
|
+
purpose?: string;
|
|
9462
9473
|
/** [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
|
|
9463
9474
|
region?: string;
|
|
9464
9475
|
/** [Output Only] Server-defined URL for the resource. */
|
|
@@ -9557,6 +9568,8 @@ declare namespace gapi.client {
|
|
|
9557
9568
|
mode?: string;
|
|
9558
9569
|
/** The name of the sub public delegated prefix. */
|
|
9559
9570
|
name?: string;
|
|
9571
|
+
/** [Output Only] The purpose of the sub public delegated prefix. Inherited from parent prefix. */
|
|
9572
|
+
purpose?: string;
|
|
9560
9573
|
/** [Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global. */
|
|
9561
9574
|
region?: string;
|
|
9562
9575
|
/** [Output Only] The status of the sub public delegated prefix. */
|
|
@@ -10418,6 +10431,8 @@ declare namespace gapi.client {
|
|
|
10418
10431
|
mirrorPercent?: number;
|
|
10419
10432
|
}
|
|
10420
10433
|
interface Reservation {
|
|
10434
|
+
/** Advanced control for cluster management, applicable only to DENSE deployment type reservations. */
|
|
10435
|
+
advancedDeploymentControl?: ReservationAdvancedDeploymentControl;
|
|
10421
10436
|
/** Reservation for aggregated resources, providing shape flexibility. */
|
|
10422
10437
|
aggregateReservation?: AllocationAggregateReservation;
|
|
10423
10438
|
/** [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. */
|
|
@@ -10471,6 +10486,10 @@ declare namespace gapi.client {
|
|
|
10471
10486
|
/** Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment. */
|
|
10472
10487
|
zone?: string;
|
|
10473
10488
|
}
|
|
10489
|
+
interface ReservationAdvancedDeploymentControl {
|
|
10490
|
+
/** Indicates chosen reservation operational mode for the reservation. */
|
|
10491
|
+
reservationOperationalMode?: string;
|
|
10492
|
+
}
|
|
10474
10493
|
interface ReservationAffinity {
|
|
10475
10494
|
/** Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. */
|
|
10476
10495
|
consumeReservationType?: string;
|
|
@@ -10512,6 +10531,8 @@ declare namespace gapi.client {
|
|
|
10512
10531
|
count?: number;
|
|
10513
10532
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
10514
10533
|
creationTimestamp?: string;
|
|
10534
|
+
/** [Output Only] Health information for the reservation block. */
|
|
10535
|
+
healthInfo?: ReservationBlockHealthInfo;
|
|
10515
10536
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
10516
10537
|
id?: string;
|
|
10517
10538
|
/** [Output Only] The number of instances that are currently in use on this reservation block. */
|
|
@@ -10539,6 +10560,14 @@ declare namespace gapi.client {
|
|
|
10539
10560
|
/** [Output Only] Zone in which the reservation block resides. */
|
|
10540
10561
|
zone?: string;
|
|
10541
10562
|
}
|
|
10563
|
+
interface ReservationBlockHealthInfo {
|
|
10564
|
+
/** The number of subBlocks that are degraded. */
|
|
10565
|
+
degradedSubBlockCount?: number;
|
|
10566
|
+
/** The health status of the reservation block. */
|
|
10567
|
+
healthStatus?: string;
|
|
10568
|
+
/** The number of subBlocks that are healthy. */
|
|
10569
|
+
healthySubBlockCount?: number;
|
|
10570
|
+
}
|
|
10542
10571
|
interface ReservationBlockPhysicalTopology {
|
|
10543
10572
|
/** The hash of the capacity block within the cluster. */
|
|
10544
10573
|
block?: string;
|
|
@@ -10651,6 +10680,8 @@ declare namespace gapi.client {
|
|
|
10651
10680
|
count?: number;
|
|
10652
10681
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
10653
10682
|
creationTimestamp?: string;
|
|
10683
|
+
/** [Output Only] Health information for the reservation subBlock. */
|
|
10684
|
+
healthInfo?: ReservationSubBlockHealthInfo;
|
|
10654
10685
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
10655
10686
|
id?: string;
|
|
10656
10687
|
/** [Output Only] The number of instances that are currently in use on this reservation subBlock. */
|
|
@@ -10672,6 +10703,18 @@ declare namespace gapi.client {
|
|
|
10672
10703
|
/** [Output Only] Zone in which the reservation subBlock resides. */
|
|
10673
10704
|
zone?: string;
|
|
10674
10705
|
}
|
|
10706
|
+
interface ReservationSubBlockHealthInfo {
|
|
10707
|
+
/** The number of degraded hosts in the reservation subBlock. */
|
|
10708
|
+
degradedHostCount?: number;
|
|
10709
|
+
/** The number of degraded infrastructure (e.g NV link domain) in the reservation subblock. */
|
|
10710
|
+
degradedInfraCount?: number;
|
|
10711
|
+
/** The health status of the reservation subBlock. */
|
|
10712
|
+
healthStatus?: string;
|
|
10713
|
+
/** The number of healthy hosts in the reservation subBlock. */
|
|
10714
|
+
healthyHostCount?: number;
|
|
10715
|
+
/** The number of healthy infrastructure (e.g NV link domain) in the reservation subblock. */
|
|
10716
|
+
healthyInfraCount?: number;
|
|
10717
|
+
}
|
|
10675
10718
|
interface ReservationSubBlockPhysicalTopology {
|
|
10676
10719
|
/** The hash of the capacity block within the cluster. */
|
|
10677
10720
|
block?: string;
|
|
@@ -12238,7 +12281,7 @@ declare namespace gapi.client {
|
|
|
12238
12281
|
interface SecurityPolicyRuleRedirectOptions {
|
|
12239
12282
|
/** Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. */
|
|
12240
12283
|
target?: string;
|
|
12241
|
-
/** Type of the redirect action. */
|
|
12284
|
+
/** Type of the redirect action. Possible values are: - GOOGLE_RECAPTCHA: redirect to reCAPTCHA for manual challenge assessment. - EXTERNAL_302: redirect to a different URL via a 302 response. */
|
|
12242
12285
|
type?: string;
|
|
12243
12286
|
}
|
|
12244
12287
|
interface SecurityPolicyUserDefinedField {
|
|
@@ -12303,7 +12346,7 @@ declare namespace gapi.client {
|
|
|
12303
12346
|
connectedEndpoints?: ServiceAttachmentConnectedEndpoint[];
|
|
12304
12347
|
/** The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. */
|
|
12305
12348
|
connectionPreference?: string;
|
|
12306
|
-
/** Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks. */
|
|
12349
|
+
/** Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks or only endpoints. */
|
|
12307
12350
|
consumerAcceptLists?: ServiceAttachmentConsumerProjectLimit[];
|
|
12308
12351
|
/** Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks. */
|
|
12309
12352
|
consumerRejectLists?: string[];
|
|
@@ -12321,6 +12364,8 @@ declare namespace gapi.client {
|
|
|
12321
12364
|
id?: string;
|
|
12322
12365
|
/** [Output Only] Type of the resource. Always compute#serviceAttachment for service attachments. */
|
|
12323
12366
|
kind?: string;
|
|
12367
|
+
/** Metadata of the service attachment. */
|
|
12368
|
+
metadata?: {[P in string]: string};
|
|
12324
12369
|
/** Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
|
|
12325
12370
|
name?: string;
|
|
12326
12371
|
/** An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment. */
|
|
@@ -12385,7 +12430,7 @@ declare namespace gapi.client {
|
|
|
12385
12430
|
status?: string;
|
|
12386
12431
|
}
|
|
12387
12432
|
interface ServiceAttachmentConsumerProjectLimit {
|
|
12388
|
-
/** The value of the limit to set. */
|
|
12433
|
+
/** The value of the limit to set. For endpoint_url, the limit should be no more than 1. */
|
|
12389
12434
|
connectionLimit?: number;
|
|
12390
12435
|
/** The network URL for the network to set the limit for. */
|
|
12391
12436
|
networkUrl?: string;
|
|
@@ -13118,6 +13163,8 @@ declare namespace gapi.client {
|
|
|
13118
13163
|
creationTimestamp?: string;
|
|
13119
13164
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
13120
13165
|
description?: string;
|
|
13166
|
+
/** [Output Only] Provisioned capacities for each SKU for this Exapool in GiB */
|
|
13167
|
+
exapoolProvisionedCapacityGb?: StoragePoolExapoolProvisionedCapacityGb;
|
|
13121
13168
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
13122
13169
|
id?: string;
|
|
13123
13170
|
/** [Output Only] Type of the resource. Always compute#storagePool for storage pools. */
|
|
@@ -13130,11 +13177,11 @@ declare namespace gapi.client {
|
|
|
13130
13177
|
name?: string;
|
|
13131
13178
|
/** Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. */
|
|
13132
13179
|
performanceProvisioningType?: string;
|
|
13133
|
-
/** Size
|
|
13180
|
+
/** Size of the storage pool in GiB. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools. */
|
|
13134
13181
|
poolProvisionedCapacityGb?: string;
|
|
13135
13182
|
/** Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced. */
|
|
13136
13183
|
poolProvisionedIops?: string;
|
|
13137
|
-
/** Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput. */
|
|
13184
|
+
/** Provisioned throughput of the storage pool in MiB/s. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput. */
|
|
13138
13185
|
poolProvisionedThroughput?: string;
|
|
13139
13186
|
/** DEPRECATED -- use "pool provisioned IOPS". */
|
|
13140
13187
|
provisionedIops?: string;
|
|
@@ -13210,6 +13257,14 @@ declare namespace gapi.client {
|
|
|
13210
13257
|
/** [Output Only] Amount of disk space used. */
|
|
13211
13258
|
usedBytes?: string;
|
|
13212
13259
|
}
|
|
13260
|
+
interface StoragePoolExapoolProvisionedCapacityGb {
|
|
13261
|
+
/** Size, in GiB, of provisioned capacity-optimized capacity for this Exapool */
|
|
13262
|
+
capacityOptimized?: string;
|
|
13263
|
+
/** Size, in GiB, of provisioned read-optimized capacity for this Exapool */
|
|
13264
|
+
readOptimized?: string;
|
|
13265
|
+
/** Size, in GiB, of provisioned write-optimized capacity for this Exapool */
|
|
13266
|
+
writeOptimized?: string;
|
|
13267
|
+
}
|
|
13213
13268
|
interface StoragePoolList {
|
|
13214
13269
|
etag?: string;
|
|
13215
13270
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
@@ -13275,11 +13330,19 @@ declare namespace gapi.client {
|
|
|
13275
13330
|
aggregateDiskSizeGb?: string;
|
|
13276
13331
|
/** [Output Only] Number of disks used. */
|
|
13277
13332
|
diskCount?: string;
|
|
13333
|
+
/** [Output Only] Maximum allowed read IOPS for this Exapool. */
|
|
13334
|
+
exapoolMaxReadIops?: string;
|
|
13335
|
+
/** [Output Only] Maximum allowed read throughput in MiB/s for this Exapool. */
|
|
13336
|
+
exapoolMaxReadThroughput?: string;
|
|
13337
|
+
/** [Output Only] Maximum allowed write IOPS for this Exapool. */
|
|
13338
|
+
exapoolMaxWriteIops?: string;
|
|
13339
|
+
/** [Output Only] Maximum allowed write throughput in MiB/s for this Exapool. */
|
|
13340
|
+
exapoolMaxWriteThroughput?: string;
|
|
13278
13341
|
/** [Output Only] Timestamp of the last successful resize in RFC3339 text format. */
|
|
13279
13342
|
lastResizeTimestamp?: string;
|
|
13280
13343
|
/** DEPRECATED -- use "max provisioned disk size gb" */
|
|
13281
13344
|
maxAggregateDiskSizeGb?: string;
|
|
13282
|
-
/** [Output Only] Maximum allowed aggregate disk size in
|
|
13345
|
+
/** [Output Only] Maximum allowed aggregate disk size in GiB. */
|
|
13283
13346
|
maxTotalProvisionedDiskCapacityGb?: string;
|
|
13284
13347
|
/** DEPRECATED -- use "disk count". */
|
|
13285
13348
|
numberOfDisks?: string;
|
|
@@ -13287,15 +13350,15 @@ declare namespace gapi.client {
|
|
|
13287
13350
|
poolUsedCapacityBytes?: string;
|
|
13288
13351
|
/** [Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools. */
|
|
13289
13352
|
poolUsedIops?: string;
|
|
13290
|
-
/** [Output Only] Sum of all the disks' provisioned throughput in
|
|
13353
|
+
/** [Output Only] Sum of all the disks' provisioned throughput in MiB/s. */
|
|
13291
13354
|
poolUsedThroughput?: string;
|
|
13292
13355
|
/** [Output Only] Amount of data written into the pool, before it is compacted. */
|
|
13293
13356
|
poolUserWrittenBytes?: string;
|
|
13294
|
-
/** [Output Only] Sum of all the
|
|
13357
|
+
/** [Output Only] Sum of all the disks' provisioned capacity (in GiB) in this storage pool. A disk's provisioned capacity is the same as its total capacity. */
|
|
13295
13358
|
totalProvisionedDiskCapacityGb?: string;
|
|
13296
13359
|
/** [Output Only] Sum of all the disks' provisioned IOPS. */
|
|
13297
13360
|
totalProvisionedDiskIops?: string;
|
|
13298
|
-
/** [Output Only] Sum of all the disks' provisioned throughput in
|
|
13361
|
+
/** [Output Only] Sum of all the disks' provisioned throughput in MiB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity. */
|
|
13299
13362
|
totalProvisionedDiskThroughput?: string;
|
|
13300
13363
|
/** DEPRECATED -- use "pool used capacity". */
|
|
13301
13364
|
usedBytes?: string;
|
|
@@ -13490,6 +13553,8 @@ declare namespace gapi.client {
|
|
|
13490
13553
|
region?: string;
|
|
13491
13554
|
/** The URL of the reserved internal range. */
|
|
13492
13555
|
reservedInternalRange?: string;
|
|
13556
|
+
/** Configures subnet mask resolution for this subnetwork. */
|
|
13557
|
+
resolveSubnetMask?: string;
|
|
13493
13558
|
/** The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. */
|
|
13494
13559
|
role?: string;
|
|
13495
13560
|
/** An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request. */
|
|
@@ -14828,6 +14893,80 @@ declare namespace gapi.client {
|
|
|
14828
14893
|
message?: string;
|
|
14829
14894
|
};
|
|
14830
14895
|
}
|
|
14896
|
+
interface VmExtensionPolicy {
|
|
14897
|
+
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
14898
|
+
creationTimestamp?: string;
|
|
14899
|
+
/** An optional description of this resource. */
|
|
14900
|
+
description?: string;
|
|
14901
|
+
/** Required. A map of extension names (e.g., "cloudops") to their corresponding policy configurations. */
|
|
14902
|
+
extensionPolicies?: {[P in string]: VmExtensionPolicyExtensionPolicy};
|
|
14903
|
+
/** Optional. [Output Only] Link to the global policy that manages this zone policy, if applicable. */
|
|
14904
|
+
globalResourceLink?: string;
|
|
14905
|
+
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
14906
|
+
id?: string;
|
|
14907
|
+
/** Optional. Selectors to target VMs for this policy. VMs are selected if they match *any* of the provided selectors (logical OR). If this list is empty, the policy applies to all VMs. */
|
|
14908
|
+
instanceSelectors?: VmExtensionPolicyInstanceSelector[];
|
|
14909
|
+
/** [Output Only] Type of the resource. Always compute#vmExtensionPolicy. */
|
|
14910
|
+
kind?: string;
|
|
14911
|
+
/** Optional. [Output Only] Indicates if this policy is managed by a global policy. */
|
|
14912
|
+
managedByGlobal?: boolean;
|
|
14913
|
+
/** Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
|
|
14914
|
+
name?: string;
|
|
14915
|
+
/** Optional. Priority of this policy. Used to resolve conflicts when multiple policies apply to the same extension. The policy priority is an integer from 0 to 65535, inclusive. Lower integers indicate higher priorities. If you do not specify a priority when creating a rule, it is assigned a priority of 1000. If priorities are equal, the policy with the more recent creation timestamp takes precedence. */
|
|
14916
|
+
priority?: number;
|
|
14917
|
+
/** [Output Only] Server-defined fully-qualified URL for this resource. */
|
|
14918
|
+
selfLink?: string;
|
|
14919
|
+
/** [Output Only] Server-defined URL for this resource's resource id. */
|
|
14920
|
+
selfLinkWithId?: string;
|
|
14921
|
+
/** Optional. [Output Only] Current state of the policy: ACTIVE or DELETING. */
|
|
14922
|
+
state?: string;
|
|
14923
|
+
/** [Output Only] Update timestamp in RFC3339 text format. */
|
|
14924
|
+
updateTimestamp?: string;
|
|
14925
|
+
}
|
|
14926
|
+
interface VmExtensionPolicyExtensionPolicy {
|
|
14927
|
+
/** Optional. The specific version of the extension to install. If not set, the latest version is used. */
|
|
14928
|
+
pinnedVersion?: string;
|
|
14929
|
+
/** Optional. String-based configuration data for the extension. */
|
|
14930
|
+
stringConfig?: string;
|
|
14931
|
+
}
|
|
14932
|
+
interface VmExtensionPolicyInstanceSelector {
|
|
14933
|
+
/** Optional. LabelSelector selects VMs based on their labels. */
|
|
14934
|
+
labelSelector?: VmExtensionPolicyLabelSelector;
|
|
14935
|
+
}
|
|
14936
|
+
interface VmExtensionPolicyLabelSelector {
|
|
14937
|
+
/** Optional. A map of key-value pairs representing VM labels. VMs must have all of the labels specified in this map to be selected (logical AND). e.g. If the `inclusion_labels` are {("key1", "value1"), ("key2", "value2")}, the VM labels must contain both ("key1", "value1") and ("key2", "value2") to be selected. If the VM labels are ("key1", "value1") and ("something", "else"), it will not be selected. If the map is empty, it's considered a match. */
|
|
14938
|
+
inclusionLabels?: {[P in string]: string};
|
|
14939
|
+
}
|
|
14940
|
+
interface VmExtensionPolicyList {
|
|
14941
|
+
/** [Output Only] Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a VmExtensionPolicy. An up-to-date fingerprint must be provided in order to update the VmExtensionPolicy. To see the latest value of the fingerprint, make a get() request to retrieve a VmExtensionPolicy. */
|
|
14942
|
+
etag?: string;
|
|
14943
|
+
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
14944
|
+
id?: string;
|
|
14945
|
+
/** [Output Only] A list of VM extension policy resources. */
|
|
14946
|
+
items?: VmExtensionPolicy[];
|
|
14947
|
+
/** Type of resource. */
|
|
14948
|
+
kind?: string;
|
|
14949
|
+
/** [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. */
|
|
14950
|
+
nextPageToken?: string;
|
|
14951
|
+
/** [Output Only] Server-defined URL for this resource. */
|
|
14952
|
+
selfLink?: string;
|
|
14953
|
+
/** [Output Only] Unreachable resources. */
|
|
14954
|
+
unreachables?: string[];
|
|
14955
|
+
/** [Output Only] Informational warning message. */
|
|
14956
|
+
warning?: {
|
|
14957
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
14958
|
+
code?: string;
|
|
14959
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
14960
|
+
data?: Array<{
|
|
14961
|
+
/** [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). */
|
|
14962
|
+
key?: string;
|
|
14963
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
14964
|
+
value?: string;
|
|
14965
|
+
}>;
|
|
14966
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
14967
|
+
message?: string;
|
|
14968
|
+
};
|
|
14969
|
+
}
|
|
14831
14970
|
interface VpnGateway {
|
|
14832
14971
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
14833
14972
|
creationTimestamp?: string;
|
|
@@ -19980,6 +20119,35 @@ declare namespace gapi.client {
|
|
|
19980
20119
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
19981
20120
|
userIp?: string;
|
|
19982
20121
|
}): Request<Operation>;
|
|
20122
|
+
/** Starts a brand new progressive rollout of hierarchical firewall policy. This API will return an error when there is an ongoing progressive rollout. */
|
|
20123
|
+
forceStartProgressiveRollout(request?: {
|
|
20124
|
+
/** V1 error format. */
|
|
20125
|
+
'$.xgafv'?: string;
|
|
20126
|
+
/** OAuth access token. */
|
|
20127
|
+
access_token?: string;
|
|
20128
|
+
/** Data format for response. */
|
|
20129
|
+
alt?: string;
|
|
20130
|
+
/** JSONP */
|
|
20131
|
+
callback?: string;
|
|
20132
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20133
|
+
fields?: string;
|
|
20134
|
+
/** Name of the target firewall policy. */
|
|
20135
|
+
firewallPolicy: string;
|
|
20136
|
+
/** 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. */
|
|
20137
|
+
key?: string;
|
|
20138
|
+
/** OAuth 2.0 token for the current user. */
|
|
20139
|
+
oauth_token?: string;
|
|
20140
|
+
/** Returns response with indentations and line breaks. */
|
|
20141
|
+
prettyPrint?: boolean;
|
|
20142
|
+
/** 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. */
|
|
20143
|
+
quotaUser?: string;
|
|
20144
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20145
|
+
upload_protocol?: string;
|
|
20146
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20147
|
+
uploadType?: string;
|
|
20148
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
20149
|
+
userIp?: string;
|
|
20150
|
+
}): Request<Operation>;
|
|
19983
20151
|
/** Returns the specified firewall policy. */
|
|
19984
20152
|
get(request?: {
|
|
19985
20153
|
/** V1 error format. */
|
|
@@ -23096,9 +23264,9 @@ declare namespace gapi.client {
|
|
|
23096
23264
|
key?: string;
|
|
23097
23265
|
/** OAuth 2.0 token for the current user. */
|
|
23098
23266
|
oauth_token?: string;
|
|
23099
|
-
/** Name of the Operations resource to return
|
|
23267
|
+
/** Name of the Operations resource to return. Parent is derived from this field. */
|
|
23100
23268
|
operation: string;
|
|
23101
|
-
/** Parent ID for this request. */
|
|
23269
|
+
/** Parent ID for this request. Not used. Parent is derived from resource_id. */
|
|
23102
23270
|
parentId?: string;
|
|
23103
23271
|
/** Returns response with indentations and line breaks. */
|
|
23104
23272
|
prettyPrint?: boolean;
|
|
@@ -23392,6 +23560,82 @@ declare namespace gapi.client {
|
|
|
23392
23560
|
body: PublicDelegatedPrefix,
|
|
23393
23561
|
): Request<Operation>;
|
|
23394
23562
|
}
|
|
23563
|
+
interface HaControllersResource {
|
|
23564
|
+
/** Fails over a VM targeted by the specified HaController to the selected zone. */
|
|
23565
|
+
failover(request: {
|
|
23566
|
+
/** V1 error format. */
|
|
23567
|
+
'$.xgafv'?: string;
|
|
23568
|
+
/** OAuth access token. */
|
|
23569
|
+
access_token?: string;
|
|
23570
|
+
/** Data format for response. */
|
|
23571
|
+
alt?: string;
|
|
23572
|
+
/** JSONP */
|
|
23573
|
+
callback?: string;
|
|
23574
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23575
|
+
fields?: string;
|
|
23576
|
+
/** ID of the HaController resource to update. */
|
|
23577
|
+
haController: string;
|
|
23578
|
+
/** 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. */
|
|
23579
|
+
key?: string;
|
|
23580
|
+
/** OAuth 2.0 token for the current user. */
|
|
23581
|
+
oauth_token?: string;
|
|
23582
|
+
/** Returns response with indentations and line breaks. */
|
|
23583
|
+
prettyPrint?: boolean;
|
|
23584
|
+
/** Project ID for this request. */
|
|
23585
|
+
project: string;
|
|
23586
|
+
/** 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. */
|
|
23587
|
+
quotaUser?: string;
|
|
23588
|
+
/** Name of the region for this request. */
|
|
23589
|
+
region: string;
|
|
23590
|
+
/** 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. */
|
|
23591
|
+
requestId?: string;
|
|
23592
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23593
|
+
upload_protocol?: string;
|
|
23594
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23595
|
+
uploadType?: string;
|
|
23596
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
23597
|
+
userIp?: string;
|
|
23598
|
+
/** Request body */
|
|
23599
|
+
resource: HaControllersFailoverRequest;
|
|
23600
|
+
}): Request<Operation>;
|
|
23601
|
+
failover(
|
|
23602
|
+
request: {
|
|
23603
|
+
/** V1 error format. */
|
|
23604
|
+
'$.xgafv'?: string;
|
|
23605
|
+
/** OAuth access token. */
|
|
23606
|
+
access_token?: string;
|
|
23607
|
+
/** Data format for response. */
|
|
23608
|
+
alt?: string;
|
|
23609
|
+
/** JSONP */
|
|
23610
|
+
callback?: string;
|
|
23611
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23612
|
+
fields?: string;
|
|
23613
|
+
/** ID of the HaController resource to update. */
|
|
23614
|
+
haController: string;
|
|
23615
|
+
/** 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. */
|
|
23616
|
+
key?: string;
|
|
23617
|
+
/** OAuth 2.0 token for the current user. */
|
|
23618
|
+
oauth_token?: string;
|
|
23619
|
+
/** Returns response with indentations and line breaks. */
|
|
23620
|
+
prettyPrint?: boolean;
|
|
23621
|
+
/** Project ID for this request. */
|
|
23622
|
+
project: string;
|
|
23623
|
+
/** 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. */
|
|
23624
|
+
quotaUser?: string;
|
|
23625
|
+
/** Name of the region for this request. */
|
|
23626
|
+
region: string;
|
|
23627
|
+
/** 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. */
|
|
23628
|
+
requestId?: string;
|
|
23629
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23630
|
+
upload_protocol?: string;
|
|
23631
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23632
|
+
uploadType?: string;
|
|
23633
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
23634
|
+
userIp?: string;
|
|
23635
|
+
},
|
|
23636
|
+
body: HaControllersFailoverRequest,
|
|
23637
|
+
): Request<Operation>;
|
|
23638
|
+
}
|
|
23395
23639
|
interface HealthChecksResource {
|
|
23396
23640
|
/** Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. */
|
|
23397
23641
|
aggregatedList(request?: {
|
|
@@ -41927,7 +42171,7 @@ declare namespace gapi.client {
|
|
|
41927
42171
|
recoverableSnapshot: string;
|
|
41928
42172
|
/** 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). */
|
|
41929
42173
|
requestId?: string;
|
|
41930
|
-
/** Name of the snapshot after the recovery The name will be 1-63 characters long, and comply with RFC1035. Specifically, the name will be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character will be a lowercase letter, and all following characters can be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
|
|
42174
|
+
/** Optional. Name of the snapshot after the recovery The name will be 1-63 characters long, and comply with RFC1035. Specifically, the name will be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character will be a lowercase letter, and all following characters can be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
|
|
41931
42175
|
snapshotName?: string;
|
|
41932
42176
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
41933
42177
|
upload_protocol?: string;
|
|
@@ -66669,6 +66913,261 @@ declare namespace gapi.client {
|
|
|
66669
66913
|
userIp?: string;
|
|
66670
66914
|
}): Request<ZoneList>;
|
|
66671
66915
|
}
|
|
66916
|
+
interface ZoneVmExtensionPoliciesResource {
|
|
66917
|
+
/** Deletes a specified zone VM extension policy. */
|
|
66918
|
+
delete(request?: {
|
|
66919
|
+
/** V1 error format. */
|
|
66920
|
+
'$.xgafv'?: string;
|
|
66921
|
+
/** OAuth access token. */
|
|
66922
|
+
access_token?: string;
|
|
66923
|
+
/** Data format for response. */
|
|
66924
|
+
alt?: string;
|
|
66925
|
+
/** JSONP */
|
|
66926
|
+
callback?: string;
|
|
66927
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
66928
|
+
fields?: string;
|
|
66929
|
+
/** 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. */
|
|
66930
|
+
key?: string;
|
|
66931
|
+
/** OAuth 2.0 token for the current user. */
|
|
66932
|
+
oauth_token?: string;
|
|
66933
|
+
/** Returns response with indentations and line breaks. */
|
|
66934
|
+
prettyPrint?: boolean;
|
|
66935
|
+
/** Project ID for this request. */
|
|
66936
|
+
project: string;
|
|
66937
|
+
/** 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. */
|
|
66938
|
+
quotaUser?: string;
|
|
66939
|
+
/** 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). */
|
|
66940
|
+
requestId?: string;
|
|
66941
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
66942
|
+
upload_protocol?: string;
|
|
66943
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
66944
|
+
uploadType?: string;
|
|
66945
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
66946
|
+
userIp?: string;
|
|
66947
|
+
/** Name of the zone VM extension policy to delete. */
|
|
66948
|
+
vmExtensionPolicy: string;
|
|
66949
|
+
/** Name of the zone for this request. */
|
|
66950
|
+
zone: string;
|
|
66951
|
+
}): Request<Operation>;
|
|
66952
|
+
/** Retrieves details of a specific zone VM extension policy. */
|
|
66953
|
+
get(request?: {
|
|
66954
|
+
/** V1 error format. */
|
|
66955
|
+
'$.xgafv'?: string;
|
|
66956
|
+
/** OAuth access token. */
|
|
66957
|
+
access_token?: string;
|
|
66958
|
+
/** Data format for response. */
|
|
66959
|
+
alt?: string;
|
|
66960
|
+
/** JSONP */
|
|
66961
|
+
callback?: string;
|
|
66962
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
66963
|
+
fields?: string;
|
|
66964
|
+
/** 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. */
|
|
66965
|
+
key?: string;
|
|
66966
|
+
/** OAuth 2.0 token for the current user. */
|
|
66967
|
+
oauth_token?: string;
|
|
66968
|
+
/** Returns response with indentations and line breaks. */
|
|
66969
|
+
prettyPrint?: boolean;
|
|
66970
|
+
/** Project ID for this request. */
|
|
66971
|
+
project: string;
|
|
66972
|
+
/** 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. */
|
|
66973
|
+
quotaUser?: string;
|
|
66974
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
66975
|
+
upload_protocol?: string;
|
|
66976
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
66977
|
+
uploadType?: string;
|
|
66978
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
66979
|
+
userIp?: string;
|
|
66980
|
+
/** Name of the VM extension policy resource to return. */
|
|
66981
|
+
vmExtensionPolicy: string;
|
|
66982
|
+
/** Name of the zone for this request. */
|
|
66983
|
+
zone: string;
|
|
66984
|
+
}): Request<VmExtensionPolicy>;
|
|
66985
|
+
/** Creates a new zone-level VM extension policy within a project. */
|
|
66986
|
+
insert(request: {
|
|
66987
|
+
/** V1 error format. */
|
|
66988
|
+
'$.xgafv'?: string;
|
|
66989
|
+
/** OAuth access token. */
|
|
66990
|
+
access_token?: string;
|
|
66991
|
+
/** Data format for response. */
|
|
66992
|
+
alt?: string;
|
|
66993
|
+
/** JSONP */
|
|
66994
|
+
callback?: string;
|
|
66995
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
66996
|
+
fields?: string;
|
|
66997
|
+
/** 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. */
|
|
66998
|
+
key?: string;
|
|
66999
|
+
/** OAuth 2.0 token for the current user. */
|
|
67000
|
+
oauth_token?: string;
|
|
67001
|
+
/** Returns response with indentations and line breaks. */
|
|
67002
|
+
prettyPrint?: boolean;
|
|
67003
|
+
/** Project ID for this request. */
|
|
67004
|
+
project: string;
|
|
67005
|
+
/** 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. */
|
|
67006
|
+
quotaUser?: string;
|
|
67007
|
+
/** 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). */
|
|
67008
|
+
requestId?: string;
|
|
67009
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
67010
|
+
upload_protocol?: string;
|
|
67011
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
67012
|
+
uploadType?: string;
|
|
67013
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
67014
|
+
userIp?: string;
|
|
67015
|
+
/** Name of the zone for this request. */
|
|
67016
|
+
zone: string;
|
|
67017
|
+
/** Request body */
|
|
67018
|
+
resource: VmExtensionPolicy;
|
|
67019
|
+
}): Request<Operation>;
|
|
67020
|
+
insert(
|
|
67021
|
+
request: {
|
|
67022
|
+
/** V1 error format. */
|
|
67023
|
+
'$.xgafv'?: string;
|
|
67024
|
+
/** OAuth access token. */
|
|
67025
|
+
access_token?: string;
|
|
67026
|
+
/** Data format for response. */
|
|
67027
|
+
alt?: string;
|
|
67028
|
+
/** JSONP */
|
|
67029
|
+
callback?: string;
|
|
67030
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
67031
|
+
fields?: string;
|
|
67032
|
+
/** 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. */
|
|
67033
|
+
key?: string;
|
|
67034
|
+
/** OAuth 2.0 token for the current user. */
|
|
67035
|
+
oauth_token?: string;
|
|
67036
|
+
/** Returns response with indentations and line breaks. */
|
|
67037
|
+
prettyPrint?: boolean;
|
|
67038
|
+
/** Project ID for this request. */
|
|
67039
|
+
project: string;
|
|
67040
|
+
/** 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. */
|
|
67041
|
+
quotaUser?: string;
|
|
67042
|
+
/** 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). */
|
|
67043
|
+
requestId?: string;
|
|
67044
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
67045
|
+
upload_protocol?: string;
|
|
67046
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
67047
|
+
uploadType?: string;
|
|
67048
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
67049
|
+
userIp?: string;
|
|
67050
|
+
/** Name of the zone for this request. */
|
|
67051
|
+
zone: string;
|
|
67052
|
+
},
|
|
67053
|
+
body: VmExtensionPolicy,
|
|
67054
|
+
): Request<Operation>;
|
|
67055
|
+
/** Lists all VM extension policies within a specific zone for a project. */
|
|
67056
|
+
list(request?: {
|
|
67057
|
+
/** V1 error format. */
|
|
67058
|
+
'$.xgafv'?: string;
|
|
67059
|
+
/** OAuth access token. */
|
|
67060
|
+
access_token?: string;
|
|
67061
|
+
/** Data format for response. */
|
|
67062
|
+
alt?: string;
|
|
67063
|
+
/** JSONP */
|
|
67064
|
+
callback?: string;
|
|
67065
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
67066
|
+
fields?: string;
|
|
67067
|
+
/** A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. */
|
|
67068
|
+
filter?: string;
|
|
67069
|
+
/** 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. */
|
|
67070
|
+
key?: string;
|
|
67071
|
+
/** The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) */
|
|
67072
|
+
maxResults?: number;
|
|
67073
|
+
/** OAuth 2.0 token for the current user. */
|
|
67074
|
+
oauth_token?: string;
|
|
67075
|
+
/** Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. */
|
|
67076
|
+
orderBy?: string;
|
|
67077
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
67078
|
+
pageToken?: string;
|
|
67079
|
+
/** Returns response with indentations and line breaks. */
|
|
67080
|
+
prettyPrint?: boolean;
|
|
67081
|
+
/** Project ID for this request. */
|
|
67082
|
+
project: string;
|
|
67083
|
+
/** 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. */
|
|
67084
|
+
quotaUser?: string;
|
|
67085
|
+
/** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. */
|
|
67086
|
+
returnPartialSuccess?: boolean;
|
|
67087
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
67088
|
+
upload_protocol?: string;
|
|
67089
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
67090
|
+
uploadType?: string;
|
|
67091
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
67092
|
+
userIp?: string;
|
|
67093
|
+
/** Name of the zone for this request. */
|
|
67094
|
+
zone: string;
|
|
67095
|
+
}): Request<VmExtensionPolicyList>;
|
|
67096
|
+
/** Modifies an existing zone VM extension policy. */
|
|
67097
|
+
update(request: {
|
|
67098
|
+
/** V1 error format. */
|
|
67099
|
+
'$.xgafv'?: string;
|
|
67100
|
+
/** OAuth access token. */
|
|
67101
|
+
access_token?: string;
|
|
67102
|
+
/** Data format for response. */
|
|
67103
|
+
alt?: string;
|
|
67104
|
+
/** JSONP */
|
|
67105
|
+
callback?: string;
|
|
67106
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
67107
|
+
fields?: string;
|
|
67108
|
+
/** 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. */
|
|
67109
|
+
key?: string;
|
|
67110
|
+
/** OAuth 2.0 token for the current user. */
|
|
67111
|
+
oauth_token?: string;
|
|
67112
|
+
/** Returns response with indentations and line breaks. */
|
|
67113
|
+
prettyPrint?: boolean;
|
|
67114
|
+
/** Project ID for this request. */
|
|
67115
|
+
project: string;
|
|
67116
|
+
/** 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. */
|
|
67117
|
+
quotaUser?: string;
|
|
67118
|
+
/** 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). */
|
|
67119
|
+
requestId?: string;
|
|
67120
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
67121
|
+
upload_protocol?: string;
|
|
67122
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
67123
|
+
uploadType?: string;
|
|
67124
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
67125
|
+
userIp?: string;
|
|
67126
|
+
/** Name of the zone VM extension policy to update. */
|
|
67127
|
+
vmExtensionPolicy: string;
|
|
67128
|
+
/** Name of the zone for this request. */
|
|
67129
|
+
zone: string;
|
|
67130
|
+
/** Request body */
|
|
67131
|
+
resource: VmExtensionPolicy;
|
|
67132
|
+
}): Request<Operation>;
|
|
67133
|
+
update(
|
|
67134
|
+
request: {
|
|
67135
|
+
/** V1 error format. */
|
|
67136
|
+
'$.xgafv'?: string;
|
|
67137
|
+
/** OAuth access token. */
|
|
67138
|
+
access_token?: string;
|
|
67139
|
+
/** Data format for response. */
|
|
67140
|
+
alt?: string;
|
|
67141
|
+
/** JSONP */
|
|
67142
|
+
callback?: string;
|
|
67143
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
67144
|
+
fields?: string;
|
|
67145
|
+
/** 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. */
|
|
67146
|
+
key?: string;
|
|
67147
|
+
/** OAuth 2.0 token for the current user. */
|
|
67148
|
+
oauth_token?: string;
|
|
67149
|
+
/** Returns response with indentations and line breaks. */
|
|
67150
|
+
prettyPrint?: boolean;
|
|
67151
|
+
/** Project ID for this request. */
|
|
67152
|
+
project: string;
|
|
67153
|
+
/** 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. */
|
|
67154
|
+
quotaUser?: string;
|
|
67155
|
+
/** 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). */
|
|
67156
|
+
requestId?: string;
|
|
67157
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
67158
|
+
upload_protocol?: string;
|
|
67159
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
67160
|
+
uploadType?: string;
|
|
67161
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
67162
|
+
userIp?: string;
|
|
67163
|
+
/** Name of the zone VM extension policy to update. */
|
|
67164
|
+
vmExtensionPolicy: string;
|
|
67165
|
+
/** Name of the zone for this request. */
|
|
67166
|
+
zone: string;
|
|
67167
|
+
},
|
|
67168
|
+
body: VmExtensionPolicy,
|
|
67169
|
+
): Request<Operation>;
|
|
67170
|
+
}
|
|
66672
67171
|
|
|
66673
67172
|
const acceleratorTypes: AcceleratorTypesResource;
|
|
66674
67173
|
|
|
@@ -66712,6 +67211,8 @@ declare namespace gapi.client {
|
|
|
66712
67211
|
|
|
66713
67212
|
const globalPublicDelegatedPrefixes: GlobalPublicDelegatedPrefixesResource;
|
|
66714
67213
|
|
|
67214
|
+
const haControllers: HaControllersResource;
|
|
67215
|
+
|
|
66715
67216
|
const healthChecks: HealthChecksResource;
|
|
66716
67217
|
|
|
66717
67218
|
const httpHealthChecks: HttpHealthChecksResource;
|
|
@@ -66924,6 +67425,8 @@ declare namespace gapi.client {
|
|
|
66924
67425
|
|
|
66925
67426
|
const zoneQueuedResources: ZoneQueuedResourcesResource;
|
|
66926
67427
|
|
|
67428
|
+
const zoneVmExtensionPolicies: ZoneVmExtensionPoliciesResource;
|
|
67429
|
+
|
|
66927
67430
|
const zones: ZonesResource;
|
|
66928
67431
|
}
|
|
66929
67432
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -550,6 +550,11 @@ Deletes the specified policy.
|
|
|
550
550
|
*/
|
|
551
551
|
await gapi.client.compute.firewallPolicies.delete({ firewallPolicy: "firewallPolicy", });
|
|
552
552
|
|
|
553
|
+
/*
|
|
554
|
+
Starts a brand new progressive rollout of hierarchical firewall policy. This API will return an error when there is an ongoing progressive rollout.
|
|
555
|
+
*/
|
|
556
|
+
await gapi.client.compute.firewallPolicies.forceStartProgressiveRollout({ firewallPolicy: "firewallPolicy", });
|
|
557
|
+
|
|
553
558
|
/*
|
|
554
559
|
Returns the specified firewall policy.
|
|
555
560
|
*/
|
|
@@ -930,6 +935,11 @@ Patches the specified global PublicDelegatedPrefix resource with the data includ
|
|
|
930
935
|
*/
|
|
931
936
|
await gapi.client.compute.globalPublicDelegatedPrefixes.patch({ project: "project", publicDelegatedPrefix: "publicDelegatedPrefix", });
|
|
932
937
|
|
|
938
|
+
/*
|
|
939
|
+
Fails over a VM targeted by the specified HaController to the selected zone.
|
|
940
|
+
*/
|
|
941
|
+
await gapi.client.compute.haControllers.failover({ haController: "haController", project: "project", region: "region", });
|
|
942
|
+
|
|
933
943
|
/*
|
|
934
944
|
Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
|
|
935
945
|
*/
|
|
@@ -5349,4 +5359,29 @@ await gapi.client.compute.zones.get({ project: "project", zone: "zone", });
|
|
|
5349
5359
|
Retrieves the list of Zone resources available to the specified project.
|
|
5350
5360
|
*/
|
|
5351
5361
|
await gapi.client.compute.zones.list({ project: "project", });
|
|
5362
|
+
|
|
5363
|
+
/*
|
|
5364
|
+
Deletes a specified zone VM extension policy.
|
|
5365
|
+
*/
|
|
5366
|
+
await gapi.client.compute.zoneVmExtensionPolicies.delete({ project: "project", vmExtensionPolicy: "vmExtensionPolicy", zone: "zone", });
|
|
5367
|
+
|
|
5368
|
+
/*
|
|
5369
|
+
Retrieves details of a specific zone VM extension policy.
|
|
5370
|
+
*/
|
|
5371
|
+
await gapi.client.compute.zoneVmExtensionPolicies.get({ project: "project", vmExtensionPolicy: "vmExtensionPolicy", zone: "zone", });
|
|
5372
|
+
|
|
5373
|
+
/*
|
|
5374
|
+
Creates a new zone-level VM extension policy within a project.
|
|
5375
|
+
*/
|
|
5376
|
+
await gapi.client.compute.zoneVmExtensionPolicies.insert({ project: "project", zone: "zone", });
|
|
5377
|
+
|
|
5378
|
+
/*
|
|
5379
|
+
Lists all VM extension policies within a specific zone for a project.
|
|
5380
|
+
*/
|
|
5381
|
+
await gapi.client.compute.zoneVmExtensionPolicies.list({ project: "project", zone: "zone", });
|
|
5382
|
+
|
|
5383
|
+
/*
|
|
5384
|
+
Modifies an existing zone VM extension policy.
|
|
5385
|
+
*/
|
|
5386
|
+
await gapi.client.compute.zoneVmExtensionPolicies.update({ project: "project", vmExtensionPolicy: "vmExtensionPolicy", zone: "zone", });
|
|
5352
5387
|
```
|