@maxim_mazurok/gapi.client.compute-alpha 0.0.20240723 → 0.0.20240730
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 +55 -9
- package/package.json +1 -1
- package/readme.md +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: 20240730
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2332,7 +2332,7 @@ declare namespace gapi.client {
|
|
|
2332
2332
|
};
|
|
2333
2333
|
}
|
|
2334
2334
|
interface FirewallPolicyRule {
|
|
2335
|
-
/** The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". */
|
|
2335
|
+
/** The Action to perform when the client connection triggers the rule. Valid actions for firewall rules are: "allow", "deny", "apply_security_profile_group" and "goto_next". Valid actions for packet mirroring rules are: "mirror", "do_not_mirror" and "goto_next". */
|
|
2336
2336
|
action?: string;
|
|
2337
2337
|
/** An optional description for this resource. */
|
|
2338
2338
|
description?: string;
|
|
@@ -2342,17 +2342,17 @@ declare namespace gapi.client {
|
|
|
2342
2342
|
disabled?: boolean;
|
|
2343
2343
|
/** Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. */
|
|
2344
2344
|
enableLogging?: boolean;
|
|
2345
|
-
/** [Output only] Type of the resource.
|
|
2345
|
+
/** [Output only] Type of the resource. Returns compute#firewallPolicyRule for firewall rules and compute#packetMirroringRule for packet mirroring rules. */
|
|
2346
2346
|
kind?: string;
|
|
2347
2347
|
/** A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. */
|
|
2348
2348
|
match?: FirewallPolicyRuleMatcher;
|
|
2349
|
-
/** An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest
|
|
2349
|
+
/** An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority. */
|
|
2350
2350
|
priority?: number;
|
|
2351
2351
|
/** An optional name for the rule. This field is not a unique identifier and can be updated. */
|
|
2352
2352
|
ruleName?: string;
|
|
2353
2353
|
/** [Output Only] Calculation of the complexity of a single firewall policy rule. */
|
|
2354
2354
|
ruleTupleCount?: number;
|
|
2355
|
-
/** A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action
|
|
2355
|
+
/** A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action is one of 'apply_security_profile_group' or 'mirror'. Cannot be specified for other actions. */
|
|
2356
2356
|
securityProfileGroup?: string;
|
|
2357
2357
|
/** A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. */
|
|
2358
2358
|
targetResources?: string[];
|
|
@@ -2704,6 +2704,8 @@ declare namespace gapi.client {
|
|
|
2704
2704
|
amendmentStatus?: string;
|
|
2705
2705
|
/** Fully qualified urls of the automatically created reservations at start_time. */
|
|
2706
2706
|
autoCreatedReservations?: string[];
|
|
2707
|
+
/** [Output Only] Represents the existing matching usage for the future reservation. */
|
|
2708
|
+
existingMatchingUsageInfo?: FutureReservationStatusExistingMatchingUsageInfo;
|
|
2707
2709
|
/** This count indicates the fulfilled capacity so far. This is set during "PROVISIONING" state. This count also includes capacity delivered as part of existing matching reservations. */
|
|
2708
2710
|
fulfilledCount?: string;
|
|
2709
2711
|
/** [Output Only] This field represents the future reservation before an amendment was requested. If the amendment is declined, the Future Reservation will be reverted to the last known good state. The last known good state is not set when updating a future reservation whose Procurement Status is DRAFTING. */
|
|
@@ -2714,9 +2716,17 @@ declare namespace gapi.client {
|
|
|
2714
2716
|
procurementStatus?: string;
|
|
2715
2717
|
specificSkuProperties?: FutureReservationStatusSpecificSKUProperties;
|
|
2716
2718
|
}
|
|
2719
|
+
interface FutureReservationStatusExistingMatchingUsageInfo {
|
|
2720
|
+
/** Count to represent min(FR total_count, matching_reserved_capacity+matching_unreserved_instances) */
|
|
2721
|
+
count?: string;
|
|
2722
|
+
/** Timestamp when the matching usage was calculated */
|
|
2723
|
+
timestamp?: string;
|
|
2724
|
+
}
|
|
2717
2725
|
interface FutureReservationStatusLastKnownGoodState {
|
|
2718
2726
|
/** [Output Only] The description of the FutureReservation before an amendment was requested. */
|
|
2719
2727
|
description?: string;
|
|
2728
|
+
/** [Output Only] Represents the matching usage for the future reservation before an amendment was requested. */
|
|
2729
|
+
existingMatchingUsageInfo?: FutureReservationStatusExistingMatchingUsageInfo;
|
|
2720
2730
|
futureReservationSpecs?: FutureReservationStatusLastKnownGoodStateFutureReservationSpecs;
|
|
2721
2731
|
/** [Output Only] The lock time of the FutureReservation before an amendment was requested. */
|
|
2722
2732
|
lockTime?: string;
|
|
@@ -3859,6 +3869,8 @@ declare namespace gapi.client {
|
|
|
3859
3869
|
targetPools?: string[];
|
|
3860
3870
|
/** The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number. */
|
|
3861
3871
|
targetSize?: number;
|
|
3872
|
+
/** Configures how target size of MIG is achieved. */
|
|
3873
|
+
targetSizePolicy?: InstanceGroupManagerTargetSizePolicy;
|
|
3862
3874
|
/** The unit of measure for the target size. */
|
|
3863
3875
|
targetSizeUnit?: string;
|
|
3864
3876
|
/** The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method. */
|
|
@@ -4037,7 +4049,7 @@ declare namespace gapi.client {
|
|
|
4037
4049
|
region?: string;
|
|
4038
4050
|
/** Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. */
|
|
4039
4051
|
requestedRunDuration?: Duration;
|
|
4040
|
-
/** The number of instances to be created by this resize request. The group's target size will be increased by this number. */
|
|
4052
|
+
/** The number of instances to be created by this resize request. The group's target size will be increased by this number. This field cannot be used together with 'instances'. */
|
|
4041
4053
|
resizeBy?: number;
|
|
4042
4054
|
/** [Output Only] The URL for this resize request. The server defines this URL. */
|
|
4043
4055
|
selfLink?: string;
|
|
@@ -4266,6 +4278,8 @@ declare namespace gapi.client {
|
|
|
4266
4278
|
allInstancesConfig?: InstanceGroupManagerStatusAllInstancesConfig;
|
|
4267
4279
|
/** [Output Only] The URL of the Autoscaler that targets this instance group manager. */
|
|
4268
4280
|
autoscaler?: string;
|
|
4281
|
+
/** [Output Only] Status of bulk instance operation. */
|
|
4282
|
+
bulkInstanceOperation?: InstanceGroupManagerStatusBulkInstanceOperation;
|
|
4269
4283
|
/** [Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified. */
|
|
4270
4284
|
isStable?: boolean;
|
|
4271
4285
|
/** [Output Only] Stateful status of the given Instance Group Manager. */
|
|
@@ -4279,6 +4293,35 @@ declare namespace gapi.client {
|
|
|
4279
4293
|
/** [Output Only] A bit indicating whether this configuration has been applied to all managed instances in the group. */
|
|
4280
4294
|
effective?: boolean;
|
|
4281
4295
|
}
|
|
4296
|
+
interface InstanceGroupManagerStatusBulkInstanceOperation {
|
|
4297
|
+
/** [Output Only] Informs whether bulk instance operation is in progress. */
|
|
4298
|
+
inProgress?: boolean;
|
|
4299
|
+
/** [Output Only] Information from last progress check of bulk instance operation. */
|
|
4300
|
+
lastProgressCheck?: InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck;
|
|
4301
|
+
}
|
|
4302
|
+
interface InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck {
|
|
4303
|
+
/** [Output Only] Contains errors encountered during bulk instance operation. */
|
|
4304
|
+
error?: {
|
|
4305
|
+
/** [Output Only] The array of errors encountered while processing this operation. */
|
|
4306
|
+
errors?: Array<{
|
|
4307
|
+
/** [Output Only] The error type identifier for this error. */
|
|
4308
|
+
code?: string;
|
|
4309
|
+
/** [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. */
|
|
4310
|
+
errorDetails?: Array<{
|
|
4311
|
+
errorInfo?: ErrorInfo;
|
|
4312
|
+
help?: Help;
|
|
4313
|
+
localizedMessage?: LocalizedMessage;
|
|
4314
|
+
quotaInfo?: QuotaExceededInfo;
|
|
4315
|
+
}>;
|
|
4316
|
+
/** [Output Only] Indicates the field in the request that caused the error. This property is optional. */
|
|
4317
|
+
location?: string;
|
|
4318
|
+
/** [Output Only] An optional, human-readable error message. */
|
|
4319
|
+
message?: string;
|
|
4320
|
+
}>;
|
|
4321
|
+
};
|
|
4322
|
+
/** [Output Only] Timestamp of the last progress check of bulk instance operation. Timestamp is in RFC3339 text format. */
|
|
4323
|
+
timestamp?: string;
|
|
4324
|
+
}
|
|
4282
4325
|
interface InstanceGroupManagerStatusStateful {
|
|
4283
4326
|
/** [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. */
|
|
4284
4327
|
hasStatefulConfig?: boolean;
|
|
@@ -4299,6 +4342,10 @@ declare namespace gapi.client {
|
|
|
4299
4342
|
/** The list of per-instance configurations to insert or patch on this managed instance group. */
|
|
4300
4343
|
perInstanceConfigs?: PerInstanceConfig[];
|
|
4301
4344
|
}
|
|
4345
|
+
interface InstanceGroupManagerTargetSizePolicy {
|
|
4346
|
+
/** Mode in which operations on size are processed. */
|
|
4347
|
+
mode?: string;
|
|
4348
|
+
}
|
|
4302
4349
|
interface InstanceGroupManagerUpdatePolicy {
|
|
4303
4350
|
/** The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. */
|
|
4304
4351
|
instanceRedistributionType?: string;
|
|
@@ -4996,7 +5043,6 @@ declare namespace gapi.client {
|
|
|
4996
5043
|
}
|
|
4997
5044
|
interface InterconnectApplicationAwareInterconnect {
|
|
4998
5045
|
bandwidthPercentagePolicy?: InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy;
|
|
4999
|
-
egressMinBandwidthPercentagePolicy?: InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy;
|
|
5000
5046
|
/** A description for the AAI profile on this interconnect. */
|
|
5001
5047
|
profileDescription?: string;
|
|
5002
5048
|
strictPriorityPolicy?: any;
|
|
@@ -9587,7 +9633,7 @@ declare namespace gapi.client {
|
|
|
9587
9633
|
/** Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035. */
|
|
9588
9634
|
name?: string;
|
|
9589
9635
|
/** List of Subnetwork resources whose traffic should be translated by NAT64 Gateway. It is used only when LIST_OF_IPV6_SUBNETWORKS is selected for the SubnetworkIpRangeToNat64Option above. */
|
|
9590
|
-
|
|
9636
|
+
nat64Subnetworks?: RouterNatSubnetworkToNat64[];
|
|
9591
9637
|
/** Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. */
|
|
9592
9638
|
natIpAllocateOption?: string;
|
|
9593
9639
|
/** A list of URLs of the IP resources used for this Nat service. These IP addresses must be valid static external IP addresses assigned to the project. */
|
|
@@ -43411,7 +43457,7 @@ declare namespace gapi.client {
|
|
|
43411
43457
|
/** Selector specifying which fields to include in a partial response. */
|
|
43412
43458
|
fields?: string;
|
|
43413
43459
|
/** Name of the InstantSnapshotGroup resource to return. */
|
|
43414
|
-
|
|
43460
|
+
instantSnapshotGroup: string;
|
|
43415
43461
|
/** 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. */
|
|
43416
43462
|
key?: string;
|
|
43417
43463
|
/** OAuth 2.0 token for the current user. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -3113,7 +3113,7 @@ await gapi.client.compute.regionInstantSnapshotGroups.delete({ instantSnapshotGr
|
|
|
3113
3113
|
/*
|
|
3114
3114
|
returns the specified InstantSnapshotGroup resource in the specified region.
|
|
3115
3115
|
*/
|
|
3116
|
-
await gapi.client.compute.regionInstantSnapshotGroups.get({
|
|
3116
|
+
await gapi.client.compute.regionInstantSnapshotGroups.get({ instantSnapshotGroup: "instantSnapshotGroup", project: "project", region: "region", });
|
|
3117
3117
|
|
|
3118
3118
|
/*
|
|
3119
3119
|
creates a Regional InstantSnapshotGroup resource
|