@maxim_mazurok/gapi.client.compute-alpha 0.0.20240922 → 0.0.20241001
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 +48 -19
- package/package.json +1 -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/alpha/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241001
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -457,16 +457,12 @@ declare namespace gapi.client {
|
|
|
457
457
|
interface AuditConfig {
|
|
458
458
|
/** The configuration for logging of each type of permission. */
|
|
459
459
|
auditLogConfigs?: AuditLogConfig[];
|
|
460
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
461
|
-
exemptedMembers?: string[];
|
|
462
460
|
/** Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. */
|
|
463
461
|
service?: string;
|
|
464
462
|
}
|
|
465
463
|
interface AuditLogConfig {
|
|
466
464
|
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
467
465
|
exemptedMembers?: string[];
|
|
468
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
469
|
-
ignoreChildExemptions?: boolean;
|
|
470
466
|
/** The log type that this config enables. */
|
|
471
467
|
logType?: string;
|
|
472
468
|
}
|
|
@@ -837,7 +833,7 @@ declare namespace gapi.client {
|
|
|
837
833
|
dryRun?: boolean;
|
|
838
834
|
/** Optional parameter to define a target utilization for the Custom Metrics balancing mode. The valid range is [0.0, 1.0]. */
|
|
839
835
|
maxUtilization?: number;
|
|
840
|
-
/** Name of a custom utilization signal. The name must be 1-
|
|
836
|
+
/** Name of a custom utilization signal. The name must be 1-24 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. */
|
|
841
837
|
name?: string;
|
|
842
838
|
}
|
|
843
839
|
interface BackendService {
|
|
@@ -1020,7 +1016,7 @@ declare namespace gapi.client {
|
|
|
1020
1016
|
interface BackendServiceCustomMetric {
|
|
1021
1017
|
/** If true, the metric data is not used for load balancing. */
|
|
1022
1018
|
dryRun?: boolean;
|
|
1023
|
-
/** Name of a custom utilization signal. The name must be 1-
|
|
1019
|
+
/** Name of a custom utilization signal. The name must be 1-24 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. */
|
|
1024
1020
|
name?: string;
|
|
1025
1021
|
}
|
|
1026
1022
|
interface BackendServiceFailoverPolicy {
|
|
@@ -4085,6 +4081,8 @@ declare namespace gapi.client {
|
|
|
4085
4081
|
description?: string;
|
|
4086
4082
|
/** [Output Only] A unique identifier for this resource type. The server generates this identifier. */
|
|
4087
4083
|
id?: string;
|
|
4084
|
+
/** The list of specifications of per-instance configs to be created. This field cannot be used together with 'resize_by'. */
|
|
4085
|
+
instances?: PerInstanceConfig[];
|
|
4088
4086
|
/** [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests. */
|
|
4089
4087
|
kind?: string;
|
|
4090
4088
|
/** The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035. */
|
|
@@ -4691,6 +4689,8 @@ declare namespace gapi.client {
|
|
|
4691
4689
|
resourcePolicies?: string[];
|
|
4692
4690
|
}
|
|
4693
4691
|
interface InstancesReportHostAsFaultyRequest {
|
|
4692
|
+
/** The action hint to report the host as faulty. */
|
|
4693
|
+
actionHint?: string;
|
|
4694
4694
|
faultReasons?: InstancesReportHostAsFaultyRequestFaultReason[];
|
|
4695
4695
|
}
|
|
4696
4696
|
interface InstancesReportHostAsFaultyRequestFaultReason {
|
|
@@ -6416,20 +6416,20 @@ declare namespace gapi.client {
|
|
|
6416
6416
|
units?: string;
|
|
6417
6417
|
}
|
|
6418
6418
|
interface MultiMig {
|
|
6419
|
-
/** [Output
|
|
6419
|
+
/** [Output only] The creation timestamp of this multi-MIG in RFC3339 text format. */
|
|
6420
6420
|
creationTimestamp?: string;
|
|
6421
|
-
/** An optional description of this resource.
|
|
6421
|
+
/** An optional description of this resource. */
|
|
6422
6422
|
description?: string;
|
|
6423
|
-
/** [Output
|
|
6423
|
+
/** [Output only] The unique identifier for this resource type. The server generates this identifier. */
|
|
6424
6424
|
id?: string;
|
|
6425
|
-
/** [Output
|
|
6425
|
+
/** [Output only] Type of the resource. Always compute#multiMig for multi-MIGs. */
|
|
6426
6426
|
kind?: string;
|
|
6427
6427
|
locationPolicy?: MultiMigLocationPolicy;
|
|
6428
|
-
/**
|
|
6428
|
+
/** The name of the multi-MIG. 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. */
|
|
6429
6429
|
name?: string;
|
|
6430
6430
|
/** Map of user-provided names associated with their parts. Keys in the map are arbitrary names chosen by the user for parts. Keys need to be alphanumeric and not longer than 64 characters. */
|
|
6431
6431
|
parts?: {[P in string]: MultiMigPart};
|
|
6432
|
-
/** [Output
|
|
6432
|
+
/** [Output only] The URL of the region where the resource resides. You must specify this field as part of the HTTP request URL. You cannot set the region as a field in the request body. */
|
|
6433
6433
|
region?: string;
|
|
6434
6434
|
/** Resource policies for this multi-MIG. */
|
|
6435
6435
|
resourcePolicies?: MultiMigResourcePolicies;
|
|
@@ -6437,7 +6437,7 @@ declare namespace gapi.client {
|
|
|
6437
6437
|
schedulingPolicy?: MultiMigSchedulingPolicy;
|
|
6438
6438
|
/** [Output only] Server-defined URL for the resource. */
|
|
6439
6439
|
selfLink?: string;
|
|
6440
|
-
/** [Output
|
|
6440
|
+
/** [Output only] Server-defined URL for this resource with the resource id. */
|
|
6441
6441
|
selfLinkWithId?: string;
|
|
6442
6442
|
status?: MultiMigStatus;
|
|
6443
6443
|
}
|
|
@@ -6446,9 +6446,9 @@ declare namespace gapi.client {
|
|
|
6446
6446
|
provisioningZones?: string[];
|
|
6447
6447
|
}
|
|
6448
6448
|
interface MultiMigPart {
|
|
6449
|
-
/**
|
|
6449
|
+
/** The URL of a managed instance group that you want to attach to the multi-MIG. */
|
|
6450
6450
|
instanceGroupManager?: string;
|
|
6451
|
-
/**
|
|
6451
|
+
/** A managed instance group to be created by the multi-MIG. */
|
|
6452
6452
|
instanceGroupManagerProperties?: InstanceGroupManager;
|
|
6453
6453
|
}
|
|
6454
6454
|
interface MultiMigResourcePolicies {
|
|
@@ -7163,8 +7163,6 @@ declare namespace gapi.client {
|
|
|
7163
7163
|
allowVpn?: string;
|
|
7164
7164
|
/** If set, limits the interface types that the network supports. If empty, all interface types are supported. */
|
|
7165
7165
|
interfaceTypes?: string[];
|
|
7166
|
-
/** Specifies which type of multicast is supported. */
|
|
7167
|
-
multicast?: string;
|
|
7168
7166
|
/** Specifies which type of unicast is supported. */
|
|
7169
7167
|
unicast?: string;
|
|
7170
7168
|
}
|
|
@@ -7832,7 +7830,7 @@ declare namespace gapi.client {
|
|
|
7832
7830
|
statusMessage?: string;
|
|
7833
7831
|
/** [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. */
|
|
7834
7832
|
targetId?: string;
|
|
7835
|
-
/** [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the
|
|
7833
|
+
/** [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from. */
|
|
7836
7834
|
targetLink?: string;
|
|
7837
7835
|
/** [Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. */
|
|
7838
7836
|
user?: string;
|
|
@@ -9551,6 +9549,8 @@ declare namespace gapi.client {
|
|
|
9551
9549
|
type?: string;
|
|
9552
9550
|
}
|
|
9553
9551
|
interface ResourceStatus {
|
|
9552
|
+
/** [Output Only] Accelerators status show results of GPU scans. These scans are specialized diagnostic tests designed to uncover latent manufacturing defects or other issues that could potentially lead to data corruption or impede the customer's ability to efficiently execute GPU workloads. */
|
|
9553
|
+
acceleratorStatus?: ResourceStatusAcceleratorStatus[];
|
|
9554
9554
|
/** [Output Only] Contains last termination details why the instance was terminated. */
|
|
9555
9555
|
lastInstanceTerminationDetails?: ResourceStatusLastInstanceTerminationDetails;
|
|
9556
9556
|
/** [Output Only] An opaque ID of the host on which the VM is running. */
|
|
@@ -9564,6 +9564,29 @@ declare namespace gapi.client {
|
|
|
9564
9564
|
shutdownDetails?: ResourceStatusShutdownDetails;
|
|
9565
9565
|
upcomingMaintenance?: UpcomingMaintenance;
|
|
9566
9566
|
}
|
|
9567
|
+
interface ResourceStatusAcceleratorStatus {
|
|
9568
|
+
/** The details of scans that passed for an accelerator. */
|
|
9569
|
+
passedScans?: ResourceStatusAcceleratorStatusPassedScan[];
|
|
9570
|
+
/** The details of recommended scans for an accelerator. */
|
|
9571
|
+
recommendedScans?: ResourceStatusAcceleratorStatusRecommendedScan[];
|
|
9572
|
+
/** The serial number of the accelerator. */
|
|
9573
|
+
serialNumber?: string;
|
|
9574
|
+
/** The UUID of the accelerator. */
|
|
9575
|
+
uuid?: string;
|
|
9576
|
+
}
|
|
9577
|
+
interface ResourceStatusAcceleratorStatusPassedScan {
|
|
9578
|
+
/** The end time of the passed scan in RFC3339 text format. */
|
|
9579
|
+
endTime?: string;
|
|
9580
|
+
name?: string;
|
|
9581
|
+
/** The start time of the passed scan in RFC3339 text format. */
|
|
9582
|
+
startTime?: string;
|
|
9583
|
+
version?: string;
|
|
9584
|
+
}
|
|
9585
|
+
interface ResourceStatusAcceleratorStatusRecommendedScan {
|
|
9586
|
+
estimatedDuration?: Duration;
|
|
9587
|
+
name?: string;
|
|
9588
|
+
version?: string;
|
|
9589
|
+
}
|
|
9567
9590
|
interface ResourceStatusLastInstanceTerminationDetails {
|
|
9568
9591
|
/** Reason for termination */
|
|
9569
9592
|
terminationReason?: string;
|
|
@@ -9745,6 +9768,8 @@ declare namespace gapi.client {
|
|
|
9745
9768
|
name?: string;
|
|
9746
9769
|
/** A list of NAT services created in this router. */
|
|
9747
9770
|
nats?: RouterNat[];
|
|
9771
|
+
/** URI of the ncc_gateway to which this router associated. */
|
|
9772
|
+
nccGateway?: string;
|
|
9748
9773
|
/** URI of the network to which this router belongs. */
|
|
9749
9774
|
network?: string;
|
|
9750
9775
|
/** [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. */
|
|
@@ -11913,10 +11938,14 @@ declare namespace gapi.client {
|
|
|
11913
11938
|
internalIpv6Prefix?: string;
|
|
11914
11939
|
/** The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange. */
|
|
11915
11940
|
ipCidrRange?: string;
|
|
11941
|
+
/** Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify a sub-PDP when creating a dual stack subnetwork with external access using BYOIP: - Full resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region /publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/ sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name */
|
|
11942
|
+
ipCollection?: string;
|
|
11916
11943
|
/** The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. */
|
|
11917
11944
|
ipv6AccessType?: string;
|
|
11918
11945
|
/** [Output Only] This field is for internal use. */
|
|
11919
11946
|
ipv6CidrRange?: string;
|
|
11947
|
+
/** [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY: The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint types. Such a subnetwork gets its IPv6 range from Google IP Pool directly. */
|
|
11948
|
+
ipv6GceEndpoint?: string;
|
|
11920
11949
|
/** [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. */
|
|
11921
11950
|
kind?: string;
|
|
11922
11951
|
/** This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging. */
|