@maxim_mazurok/gapi.client.compute-alpha 0.0.20240723 → 0.0.20240805

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.
Files changed (3) hide show
  1. package/index.d.ts +60 -267
  2. package/package.json +1 -1
  3. package/readme.md +1 -21
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: 20240723
12
+ // Revision: 20240805
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -833,7 +833,7 @@ declare namespace gapi.client {
833
833
  dryRun?: boolean;
834
834
  /** Optional parameter to define a target utilization for the Custom Metrics balancing mode. The valid range is [0.0, 1.0]. */
835
835
  maxUtilization?: number;
836
- /** Name of a custom utilization signal. The name must be 1-24 characters long, and comply with RFC1035. Specifically, 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, lowercase letter, or digit, except the last character, which cannot be a dash. 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. */
836
+ /** Name of a custom utilization signal. The name must be 1-64 characters long, and comply with relaxed RFC1035. Specifically, 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. */
837
837
  name?: string;
838
838
  }
839
839
  interface BackendService {
@@ -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. Always compute#firewallPolicyRule for firewall policy rules */
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 prority. */
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 = 'apply_security_profile_group' and cannot be specified for other actions. */
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;
@@ -6066,76 +6112,6 @@ declare namespace gapi.client {
6066
6112
  /** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
6067
6113
  units?: string;
6068
6114
  }
6069
- interface MultiMig {
6070
- /** [Output Only] Creation timestamp in RFC3339 text format. */
6071
- creationTimestamp?: string;
6072
- /** An optional description of this resource. Provide this property when you create the resource. */
6073
- description?: string;
6074
- /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
6075
- id?: string;
6076
- /** [Output Only] Type of the resource. Always compute#multiMig for MultiMIGs. */
6077
- kind?: string;
6078
- locationPolicy?: MultiMigLocationPolicy;
6079
- /** 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. */
6080
- name?: string;
6081
- /** User-provided names for Parts of MultiMIG and the Parts themselves. */
6082
- parts?: {[P in string]: MultiMigPart};
6083
- /** [Output Only] URL of the region where the resource resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
6084
- region?: string;
6085
- /** Policy for handling provisioning and other scheduling-related events. */
6086
- schedulingPolicy?: MultiMigSchedulingPolicy;
6087
- /** [Output only] Server-defined URL for the resource. */
6088
- selfLink?: string;
6089
- /** [Output Only] Server-defined URL for this resource with the resource id. */
6090
- selfLinkWithId?: string;
6091
- status?: MultiMigStatus;
6092
- }
6093
- interface MultiMigLocationPolicy {
6094
- /** List of zones where MIGs will be provisioned. Should be valid RFC1035 name */
6095
- provisioningZones?: string[];
6096
- }
6097
- interface MultiMigPart {
6098
- /** Link to an existing InstanceGroupManager that will be adopted by a MultiMIG. */
6099
- instanceGroupManager?: string;
6100
- /** InstanceGroupManager to be created by the multiMig */
6101
- instanceGroupManagerProperties?: InstanceGroupManager;
6102
- }
6103
- interface MultiMigSchedulingPolicy {
6104
- /** How provisioning of MIGs should be scheduled (coordinated or not) */
6105
- provisioning?: string;
6106
- }
6107
- interface MultiMigsList {
6108
- etag?: string;
6109
- /** Unique identifier for the resource; defined by the server. */
6110
- id?: string;
6111
- /** A list of MultiMig resources. */
6112
- items?: MultiMig[];
6113
- /** Type of resource. */
6114
- kind?: string;
6115
- /** This token allows you to get the next page of results for 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. */
6116
- nextPageToken?: string;
6117
- /** [Output only] Server-defined URL for this resource. */
6118
- selfLink?: string;
6119
- /** [Output only] Unreachable resources. */
6120
- unreachables?: string[];
6121
- /** Informational warning message. */
6122
- warning?: {
6123
- /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
6124
- code?: string;
6125
- /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
6126
- data?: Array<{
6127
- /** [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). */
6128
- key?: string;
6129
- /** [Output Only] A warning data value corresponding to the key. */
6130
- value?: string;
6131
- }>;
6132
- /** [Output Only] A human-readable description of the warning code. */
6133
- message?: string;
6134
- };
6135
- }
6136
- interface MultiMigStatus {
6137
- memberInstanceGroupManagers?: string[];
6138
- }
6139
6115
  interface MutualTls {
6140
6116
  /** Specifies if the server TLS is configured to be strict or permissive. This field can be set to one of the following: STRICT: Client certificate must be presented, connection is in TLS. PERMISSIVE: Client certificate can be omitted, connection can be either plaintext or TLS. */
6141
6117
  mode?: string;
@@ -9587,7 +9563,7 @@ declare namespace gapi.client {
9587
9563
  /** Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035. */
9588
9564
  name?: string;
9589
9565
  /** 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
- nat64subnetworks?: RouterNatSubnetworkToNat64[];
9566
+ nat64Subnetworks?: RouterNatSubnetworkToNat64[];
9591
9567
  /** 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
9568
  natIpAllocateOption?: string;
9593
9569
  /** 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. */
@@ -13040,7 +13016,7 @@ declare namespace gapi.client {
13040
13016
  labelFingerprint?: string;
13041
13017
  /** Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. */
13042
13018
  labels?: {[P in string]: string};
13043
- /** Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported. */
13019
+ /** Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. */
13044
13020
  localTrafficSelector?: string[];
13045
13021
  /** 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. */
13046
13022
  name?: string;
@@ -13050,11 +13026,11 @@ declare namespace gapi.client {
13050
13026
  peerExternalGatewayInterface?: number;
13051
13027
  /** URL of the peer side HA VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer Google Cloud VPN gateway. */
13052
13028
  peerGcpGateway?: string;
13053
- /** IP address of the peer VPN gateway. Only IPv4 is supported. */
13029
+ /** IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels. */
13054
13030
  peerIp?: string;
13055
13031
  /** [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
13056
13032
  region?: string;
13057
- /** Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported. */
13033
+ /** Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. */
13058
13034
  remoteTrafficSelector?: string[];
13059
13035
  /** URL of the router resource to be used for dynamic routing. */
13060
13036
  router?: string;
@@ -13066,7 +13042,7 @@ declare namespace gapi.client {
13066
13042
  sharedSecretHash?: string;
13067
13043
  /** [Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. */
13068
13044
  status?: string;
13069
- /** URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. */
13045
+ /** URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This field can be set only for Classic VPN tunnels. */
13070
13046
  targetVpnGateway?: string;
13071
13047
  /** URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created. */
13072
13048
  vpnGateway?: string;
@@ -43411,7 +43387,7 @@ declare namespace gapi.client {
43411
43387
  /** Selector specifying which fields to include in a partial response. */
43412
43388
  fields?: string;
43413
43389
  /** Name of the InstantSnapshotGroup resource to return. */
43414
- instantSnapshot: string;
43390
+ instantSnapshotGroup: string;
43415
43391
  /** 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
43392
  key?: string;
43417
43393
  /** OAuth 2.0 token for the current user. */
@@ -43873,187 +43849,6 @@ declare namespace gapi.client {
43873
43849
  body: TestPermissionsRequest
43874
43850
  ): Request<TestPermissionsResponse>;
43875
43851
  }
43876
- interface RegionMultiMigsResource {
43877
- /** Deletes a regional multiMIG in the specified project. */
43878
- delete(request?: {
43879
- /** V1 error format. */
43880
- '$.xgafv'?: string;
43881
- /** OAuth access token. */
43882
- access_token?: string;
43883
- /** Data format for response. */
43884
- alt?: string;
43885
- /** JSONP */
43886
- callback?: string;
43887
- /** Selector specifying which fields to include in a partial response. */
43888
- fields?: string;
43889
- /** 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. */
43890
- key?: string;
43891
- /** Name of the multiMIG to delete. */
43892
- multiMig: string;
43893
- /** OAuth 2.0 token for the current user. */
43894
- oauth_token?: string;
43895
- /** Returns response with indentations and line breaks. */
43896
- prettyPrint?: boolean;
43897
- /** Project ID for this request. */
43898
- project: string;
43899
- /** 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. */
43900
- quotaUser?: string;
43901
- /** Name of the region for this request. */
43902
- region: string;
43903
- /** 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). */
43904
- requestId?: string;
43905
- /** Upload protocol for media (e.g. "raw", "multipart"). */
43906
- upload_protocol?: string;
43907
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43908
- uploadType?: string;
43909
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
43910
- userIp?: string;
43911
- }): Request<Operation>;
43912
- /** Returns the specified MultiMIG resource. */
43913
- get(request?: {
43914
- /** V1 error format. */
43915
- '$.xgafv'?: string;
43916
- /** OAuth access token. */
43917
- access_token?: string;
43918
- /** Data format for response. */
43919
- alt?: string;
43920
- /** JSONP */
43921
- callback?: string;
43922
- /** Selector specifying which fields to include in a partial response. */
43923
- fields?: string;
43924
- /** 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. */
43925
- key?: string;
43926
- /** Name of the MultiMig resource to return. */
43927
- multiMig: string;
43928
- /** OAuth 2.0 token for the current user. */
43929
- oauth_token?: string;
43930
- /** Returns response with indentations and line breaks. */
43931
- prettyPrint?: boolean;
43932
- /** Project ID for this request. */
43933
- project: string;
43934
- /** 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. */
43935
- quotaUser?: string;
43936
- /** Name of the region for this request. */
43937
- region: string;
43938
- /** Upload protocol for media (e.g. "raw", "multipart"). */
43939
- upload_protocol?: string;
43940
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43941
- uploadType?: string;
43942
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
43943
- userIp?: string;
43944
- }): Request<MultiMig>;
43945
- /** Creates a regional multiMIG in the specified project. */
43946
- insert(request: {
43947
- /** V1 error format. */
43948
- '$.xgafv'?: string;
43949
- /** OAuth access token. */
43950
- access_token?: string;
43951
- /** Data format for response. */
43952
- alt?: string;
43953
- /** JSONP */
43954
- callback?: string;
43955
- /** Selector specifying which fields to include in a partial response. */
43956
- fields?: string;
43957
- /** 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. */
43958
- key?: string;
43959
- /** OAuth 2.0 token for the current user. */
43960
- oauth_token?: string;
43961
- /** Returns response with indentations and line breaks. */
43962
- prettyPrint?: boolean;
43963
- /** Project ID for this request. */
43964
- project: string;
43965
- /** 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. */
43966
- quotaUser?: string;
43967
- /** Name of the region for this request. */
43968
- region: string;
43969
- /** 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). */
43970
- requestId?: string;
43971
- /** Upload protocol for media (e.g. "raw", "multipart"). */
43972
- upload_protocol?: string;
43973
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43974
- uploadType?: string;
43975
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
43976
- userIp?: string;
43977
- /** Request body */
43978
- resource: MultiMig;
43979
- }): Request<Operation>;
43980
- insert(
43981
- request: {
43982
- /** V1 error format. */
43983
- '$.xgafv'?: string;
43984
- /** OAuth access token. */
43985
- access_token?: string;
43986
- /** Data format for response. */
43987
- alt?: string;
43988
- /** JSONP */
43989
- callback?: string;
43990
- /** Selector specifying which fields to include in a partial response. */
43991
- fields?: string;
43992
- /** 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. */
43993
- key?: string;
43994
- /** OAuth 2.0 token for the current user. */
43995
- oauth_token?: string;
43996
- /** Returns response with indentations and line breaks. */
43997
- prettyPrint?: boolean;
43998
- /** Project ID for this request. */
43999
- project: string;
44000
- /** 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. */
44001
- quotaUser?: string;
44002
- /** Name of the region for this request. */
44003
- region: string;
44004
- /** 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). */
44005
- requestId?: string;
44006
- /** Upload protocol for media (e.g. "raw", "multipart"). */
44007
- upload_protocol?: string;
44008
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44009
- uploadType?: string;
44010
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
44011
- userIp?: string;
44012
- },
44013
- body: MultiMig
44014
- ): Request<Operation>;
44015
- /** Retrieves a list of MultiMIGs in a project and region. */
44016
- list(request?: {
44017
- /** V1 error format. */
44018
- '$.xgafv'?: string;
44019
- /** OAuth access token. */
44020
- access_token?: string;
44021
- /** Data format for response. */
44022
- alt?: string;
44023
- /** JSONP */
44024
- callback?: string;
44025
- /** Selector specifying which fields to include in a partial response. */
44026
- fields?: string;
44027
- /** 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. */
44028
- filter?: string;
44029
- /** 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. */
44030
- key?: string;
44031
- /** 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`) */
44032
- maxResults?: number;
44033
- /** OAuth 2.0 token for the current user. */
44034
- oauth_token?: string;
44035
- /** 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. */
44036
- orderBy?: string;
44037
- /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
44038
- pageToken?: string;
44039
- /** Returns response with indentations and line breaks. */
44040
- prettyPrint?: boolean;
44041
- /** Project ID for this request. */
44042
- project: string;
44043
- /** 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. */
44044
- quotaUser?: string;
44045
- /** Name of the region for this request. */
44046
- region: string;
44047
- /** 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. */
44048
- returnPartialSuccess?: boolean;
44049
- /** Upload protocol for media (e.g. "raw", "multipart"). */
44050
- upload_protocol?: string;
44051
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44052
- uploadType?: string;
44053
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
44054
- userIp?: string;
44055
- }): Request<MultiMigsList>;
44056
- }
44057
43852
  interface RegionNetworkEndpointGroupsResource {
44058
43853
  /** Attach a list of network endpoints to the specified network endpoint group. */
44059
43854
  attachNetworkEndpoints(request: {
@@ -59768,8 +59563,6 @@ declare namespace gapi.client {
59768
59563
 
59769
59564
  const regionInstantSnapshots: RegionInstantSnapshotsResource;
59770
59565
 
59771
- const regionMultiMigs: RegionMultiMigsResource;
59772
-
59773
59566
  const regionNetworkEndpointGroups: RegionNetworkEndpointGroupsResource;
59774
59567
 
59775
59568
  const regionNetworkFirewallPolicies: RegionNetworkFirewallPoliciesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20240723",
3
+ "version": "0.0.20240805",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
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({ instantSnapshot: "instantSnapshot", project: "project", region: "region", });
3116
+ await gapi.client.compute.regionInstantSnapshotGroups.get({ instantSnapshotGroup: "instantSnapshotGroup", project: "project", region: "region", });
3117
3117
 
3118
3118
  /*
3119
3119
  creates a Regional InstantSnapshotGroup resource
@@ -3165,26 +3165,6 @@ Returns permissions that a caller has on the specified resource.
3165
3165
  */
3166
3166
  await gapi.client.compute.regionInstantSnapshots.testIamPermissions({ project: "project", region: "region", resource: "resource", });
3167
3167
 
3168
- /*
3169
- Deletes a regional multiMIG in the specified project.
3170
- */
3171
- await gapi.client.compute.regionMultiMigs.delete({ multiMig: "multiMig", project: "project", region: "region", });
3172
-
3173
- /*
3174
- Returns the specified MultiMIG resource.
3175
- */
3176
- await gapi.client.compute.regionMultiMigs.get({ multiMig: "multiMig", project: "project", region: "region", });
3177
-
3178
- /*
3179
- Creates a regional multiMIG in the specified project.
3180
- */
3181
- await gapi.client.compute.regionMultiMigs.insert({ project: "project", region: "region", });
3182
-
3183
- /*
3184
- Retrieves a list of MultiMIGs in a project and region.
3185
- */
3186
- await gapi.client.compute.regionMultiMigs.list({ project: "project", region: "region", });
3187
-
3188
3168
  /*
3189
3169
  Attach a list of network endpoints to the specified network endpoint group.
3190
3170
  */