@maxim_mazurok/gapi.client.compute-alpha 0.0.20240813 → 0.0.20240827

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 +356 -166
  2. package/package.json +1 -1
  3. package/readme.md +25 -10
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: 20240813
12
+ // Revision: 20240827
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -315,6 +315,8 @@ declare namespace gapi.client {
315
315
  serviceShareType?: string;
316
316
  }
317
317
  interface AllocationResourceStatus {
318
+ /** Indicates number of blocks for accelerator optimized family (applicable beyond A3 only). */
319
+ reservationBlockCount?: number;
318
320
  /** Allocation Properties of this reservation. */
319
321
  specificSkuAllocation?: AllocationResourceStatusSpecificSKUAllocation;
320
322
  }
@@ -673,7 +675,7 @@ declare namespace gapi.client {
673
675
  balancingMode?: string;
674
676
  /** A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service. Not available with backends that don't support using a balancingMode. This includes backends such as global internet NEGs, regional serverless NEGs, and PSC NEGs. */
675
677
  capacityScaler?: number;
676
- /** List of custom metrics that are used for CUSTOM_METRICS BalancingMode and WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy. */
678
+ /** List of custom metrics that are used for CUSTOM_METRICS BalancingMode. */
677
679
  customMetrics?: BackendCustomMetric[];
678
680
  /** An optional description of this resource. Provide this property when you create the resource. */
679
681
  description?: string;
@@ -833,7 +835,7 @@ declare namespace gapi.client {
833
835
  dryRun?: boolean;
834
836
  /** Optional parameter to define a target utilization for the Custom Metrics balancing mode. The valid range is [0.0, 1.0]. */
835
837
  maxUtilization?: number;
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. */
838
+ /** 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. */
837
839
  name?: string;
838
840
  }
839
841
  interface BackendService {
@@ -2584,12 +2586,20 @@ declare namespace gapi.client {
2584
2586
  autoCreatedReservationsDuration?: Duration;
2585
2587
  /** Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false. */
2586
2588
  autoDeleteAutoCreatedReservations?: boolean;
2589
+ /** If not present, then FR will not deliver a new commitment or update an existing commitment. */
2590
+ commitmentInfo?: FutureReservationCommitmentInfo;
2587
2591
  /** [Output Only] The creation timestamp for this future reservation in RFC3339 text format. */
2588
2592
  creationTimestamp?: string;
2593
+ /** Type of the deployment requested as part of future reservation. */
2594
+ deploymentType?: string;
2589
2595
  /** An optional description of this resource. Provide this property when you create the future reservation. */
2590
2596
  description?: string;
2597
+ /** Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the FR by customers, and will be used for reservation and reservation block maintenance . */
2598
+ enableOpportunisticMaintenance?: boolean;
2591
2599
  /** [Output Only] A unique identifier for this future reservation. The server defines this identifier. */
2592
2600
  id?: string;
2601
+ /** Action to take during reservation termination. */
2602
+ instanceTerminationAction?: string;
2593
2603
  /** [Output Only] Type of the resource. Always compute#futureReservation for future reservations. */
2594
2604
  kind?: string;
2595
2605
  /** The name of the resource, provided by the client when initially creating the resource. The resource 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. */
@@ -2598,6 +2608,10 @@ declare namespace gapi.client {
2598
2608
  namePrefix?: string;
2599
2609
  /** Planning state before being submitted for evaluation */
2600
2610
  planningStatus?: string;
2611
+ /** Name of reservations where the capacity is provisioned at the time of delivery of future reservations. If the reservation with the given name does not exist already, it is created automatically at the time of Approval with INACTIVE state till specified start-time. Either provide the reservation_name or a name_prefix. */
2612
+ reservationName?: string;
2613
+ /** Indicates the maintenance type for this group of VMs. This will be set on the reservation via FR, and will be inherited for reservation blocks. */
2614
+ schedulingType?: string;
2601
2615
  /** [Output Only] Server-defined fully-qualified URL for this resource. */
2602
2616
  selfLink?: string;
2603
2617
  /** [Output Only] Server-defined URL for this resource with the resource id. */
@@ -2615,6 +2629,14 @@ declare namespace gapi.client {
2615
2629
  /** [Output Only] URL of the Zone where this future reservation resides. */
2616
2630
  zone?: string;
2617
2631
  }
2632
+ interface FutureReservationCommitmentInfo {
2633
+ /** name of the commitment where capacity is being delivered to. In the form of "projects/{project-id}/locations/{region-name}/commitment/{name}" */
2634
+ commitmentName?: string;
2635
+ /** Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created. */
2636
+ commitmentPlan?: string;
2637
+ /** Only applicable if FR is delivering to the same reservation. If set, all parent commitments will be extended to match the end date of the plan for this commitment. */
2638
+ previousCommitmentTerms?: string;
2639
+ }
2618
2640
  interface FutureReservationsAggregatedListResponse {
2619
2641
  etag?: string;
2620
2642
  /** [Output Only] Unique identifier for the resource; defined by the server. */
@@ -5045,6 +5067,8 @@ declare namespace gapi.client {
5045
5067
  bandwidthPercentagePolicy?: InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy;
5046
5068
  /** A description for the AAI profile on this interconnect. */
5047
5069
  profileDescription?: string;
5070
+ /** Optional field to specify a list of shape average percentages to be applied in conjunction with StrictPriorityPolicy or BandwidthPercentagePolicy. */
5071
+ shapeAveragePercentages?: InterconnectApplicationAwareInterconnectBandwidthPercentage[];
5048
5072
  strictPriorityPolicy?: any;
5049
5073
  }
5050
5074
  interface InterconnectApplicationAwareInterconnectBandwidthPercentage {
@@ -5630,6 +5654,10 @@ declare namespace gapi.client {
5630
5654
  valuePrefix?: string;
5631
5655
  }
5632
5656
  interface License {
5657
+ /** Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false. */
5658
+ allowedReplacementLicenses?: string[];
5659
+ /** If true, this license can be appended to an existing disk's set of licenses. */
5660
+ appendableToDisk?: boolean;
5633
5661
  /** [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. */
5634
5662
  chargesUseFee?: boolean;
5635
5663
  /** [Output Only] Creation timestamp in RFC3339 text format. */
@@ -5638,39 +5666,75 @@ declare namespace gapi.client {
5638
5666
  description?: string;
5639
5667
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
5640
5668
  id?: string;
5669
+ /** Specifies licenseCodes of licenses that are incompatible with this license. If a license is incompatible with this license, it cannot be attached to the same disk or image. */
5670
+ incompatibleLicenses?: string[];
5641
5671
  /** [Output Only] Type of resource. Always compute#license for licenses. */
5642
5672
  kind?: string;
5643
5673
  /** [Output Only] The unique code used to attach this license to images, snapshots, and disks. */
5644
5674
  licenseCode?: string;
5675
+ /** If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed. */
5676
+ minimumRetention?: Duration;
5677
+ /** If true, this license can only be used on VMs on multi tenant nodes. */
5678
+ multiTenantOnly?: boolean;
5645
5679
  /** Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */
5646
5680
  name?: string;
5681
+ /** If true, indicates this is an OS license. Only one OS license can be attached to a disk or image at a time. */
5682
+ osLicense?: boolean;
5683
+ /** If true, this license can be removed from a disk's set of licenses, with no replacement license needed. */
5684
+ removableFromDisk?: boolean;
5685
+ /** Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license. At least one license from the set must be attached to the same disk or image as this license. */
5686
+ requiredCoattachedLicenses?: string[];
5647
5687
  resourceRequirements?: LicenseResourceRequirements;
5648
5688
  /** [Output Only] Server-defined URL for the resource. */
5649
5689
  selfLink?: string;
5650
5690
  /** [Output Only] Server-defined URL for this resource with the resource id. */
5651
5691
  selfLinkWithId?: string;
5692
+ /** If true, this license can only be used on VMs on sole tenant nodes. */
5693
+ soleTenantOnly?: boolean;
5652
5694
  /** If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk. */
5653
5695
  transferable?: boolean;
5696
+ /** [Output Only] Last update timestamp in RFC3339 text format. */
5697
+ updateTimestamp?: string;
5654
5698
  }
5655
5699
  interface LicenseCode {
5700
+ /** Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false. */
5701
+ allowedReplacementLicenses?: string[];
5702
+ /** If true, this license can be appended to an existing disk's set of licenses. */
5703
+ appendableToDisk?: boolean;
5656
5704
  /** [Output Only] Creation timestamp in RFC3339 text format. */
5657
5705
  creationTimestamp?: string;
5658
5706
  /** [Output Only] Description of this License Code. */
5659
5707
  description?: string;
5660
5708
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
5661
5709
  id?: string;
5710
+ /** Specifies licenseCodes of licenses that are incompatible with this license. If a license is incompatible with this license, it cannot be attached to the same disk or image. */
5711
+ incompatibleLicenses?: string[];
5662
5712
  /** [Output Only] Type of resource. Always compute#licenseCode for licenses. */
5663
5713
  kind?: string;
5664
5714
  /** [Output Only] URL and description aliases of Licenses with the same License Code. */
5665
5715
  licenseAlias?: LicenseCodeLicenseAlias[];
5716
+ /** If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed. */
5717
+ minimumRetention?: Duration;
5718
+ /** If true, this license can only be used on VMs on multi tenant nodes. */
5719
+ multiTenantOnly?: boolean;
5666
5720
  /** [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer. */
5667
5721
  name?: string;
5722
+ /** If true, indicates this is an OS license. Only one OS license can be attached to a disk or image at a time. */
5723
+ osLicense?: boolean;
5724
+ /** If true, this license can be removed from a disk's set of licenses, with no replacement license needed. */
5725
+ removableFromDisk?: boolean;
5726
+ /** Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license. At least one license from the set must be attached to the same disk or image as this license. */
5727
+ requiredCoattachedLicenses?: string[];
5668
5728
  /** [Output Only] Server-defined URL for the resource. */
5669
5729
  selfLink?: string;
5730
+ /** If true, this license can only be used on VMs on sole tenant nodes. */
5731
+ soleTenantOnly?: boolean;
5670
5732
  /** [Output Only] Current state of this License Code. */
5671
5733
  state?: string;
5672
5734
  /** [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred. */
5673
5735
  transferable?: boolean;
5736
+ /** [Output Only] Last update timestamp in RFC3339 text format. */
5737
+ updateTimestamp?: string;
5674
5738
  }
5675
5739
  interface LicenseCodeLicenseAlias {
5676
5740
  /** [Output Only] Description of this License Code. */
@@ -6177,8 +6241,6 @@ declare namespace gapi.client {
6177
6241
  name?: string;
6178
6242
  /** The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. */
6179
6243
  networkFirewallPolicyEnforcementOrder?: string;
6180
- /** A full or partial URL of the network placement to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/alpha/projects/{project_id}/global/networkPlacements/{network_placement_name} - projects/{project_id}/global/networkPlacements/{network_placement_name} */
6181
- networkPlacement?: string;
6182
6244
  /** A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/alpha/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name} */
6183
6245
  networkProfile?: string;
6184
6246
  /** [Output Only] A list of network peerings for the resource. */
@@ -6723,93 +6785,6 @@ declare namespace gapi.client {
6723
6785
  externalIpEgressBandwidthTier?: string;
6724
6786
  totalEgressBandwidthTier?: string;
6725
6787
  }
6726
- interface NetworkPlacement {
6727
- /** [Output Only] Creation timestamp in RFC3339 text format. */
6728
- creationTimestamp?: string;
6729
- /** [Output Only] An optional description of this resource. */
6730
- description?: string;
6731
- /** [Output Only] Features supported by the network. */
6732
- features?: NetworkPlacementNetworkFeatures;
6733
- /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
6734
- id?: string;
6735
- /** [Output Only] Type of the resource. Always compute#networkPlacement for network placements. */
6736
- kind?: string;
6737
- /** [Output Only] Name of the resource. */
6738
- name?: string;
6739
- /** [Output Only] Server-defined URL for the resource. */
6740
- selfLink?: string;
6741
- /** [Output Only] Server-defined URL for this resource with the resource id. */
6742
- selfLinkWithId?: string;
6743
- /** [Output Only] Zone to which the network is restricted. */
6744
- zone?: string;
6745
- }
6746
- interface NetworkPlacementNetworkFeatures {
6747
- /** Specifies whether auto mode subnet creation is allowed. */
6748
- allowAutoModeSubnet?: string;
6749
- /** Specifies whether cloud NAT creation is allowed. */
6750
- allowCloudNat?: string;
6751
- /** Specifies whether cloud router creation is allowed. */
6752
- allowCloudRouter?: string;
6753
- /** Specifies which subnetwork purposes are supported. */
6754
- allowedSubnetPurposes?: string[];
6755
- /** Specifies which subnetwork stack types are supported. */
6756
- allowedSubnetStackTypes?: string[];
6757
- /** Specifies whether Cloud Interconnect creation is allowed. */
6758
- allowInterconnect?: string;
6759
- /** Specifies whether cloud load balancing is allowed. */
6760
- allowLoadBalancing?: string;
6761
- /** Specifies whether multi-nic in the same network is allowed. */
6762
- allowMultiNicInSameNetwork?: string;
6763
- /** Specifies whether Packet Mirroring 1.0 is supported. */
6764
- allowPacketMirroring?: string;
6765
- /** Specifies whether private Google access is allowed. */
6766
- allowPrivateGoogleAccess?: string;
6767
- /** Specifies whether PSC creation is allowed. */
6768
- allowPsc?: string;
6769
- /** Specifies whether unicast within the same network is allowed. */
6770
- allowSameNetworkUnicast?: string;
6771
- /** Specifies whether static route creation is allowed. */
6772
- allowStaticRoutes?: string;
6773
- /** Specifies whether VPC peering is allowed. */
6774
- allowVpcPeering?: string;
6775
- /** Specifies whether VPN creation is allowed. */
6776
- allowVpn?: string;
6777
- /** If set, limits the interface types that the network supports. If empty, all interface types are supported. */
6778
- interfaceTypes?: string[];
6779
- /** Specifies which type of multicast is supported. */
6780
- multicast?: string;
6781
- /** Specifies which type of unicast is supported. */
6782
- unicast?: string;
6783
- }
6784
- interface NetworkPlacementsListResponse {
6785
- etag?: string;
6786
- /** [Output Only] Unique identifier for the resource; defined by the server. */
6787
- id?: string;
6788
- /** A list of NetworkPlacement resources. */
6789
- items?: NetworkPlacement[];
6790
- /** [Output Only] Type of resource. Always compute#networkPlacementList for network placements. */
6791
- kind?: string;
6792
- /** [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. */
6793
- nextPageToken?: string;
6794
- /** [Output Only] Server-defined URL for this resource. */
6795
- selfLink?: string;
6796
- /** [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder */
6797
- unreachables?: string[];
6798
- /** [Output Only] Informational warning message. */
6799
- warning?: {
6800
- /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
6801
- code?: string;
6802
- /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
6803
- data?: Array<{
6804
- /** [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). */
6805
- key?: string;
6806
- /** [Output Only] A warning data value corresponding to the key. */
6807
- value?: string;
6808
- }>;
6809
- /** [Output Only] A human-readable description of the warning code. */
6810
- message?: string;
6811
- };
6812
- }
6813
6788
  interface NetworkProfile {
6814
6789
  /** [Output Only] Creation timestamp in RFC3339 text format. */
6815
6790
  creationTimestamp?: string;
@@ -8591,6 +8566,35 @@ declare namespace gapi.client {
8591
8566
  /** The list of per-instance configurations to insert or patch on this managed instance group. */
8592
8567
  perInstanceConfigs?: PerInstanceConfig[];
8593
8568
  }
8569
+ interface RegionInstanceGroupManagerResizeRequestsListResponse {
8570
+ etag?: string;
8571
+ /** [Output Only] Unique identifier for the resource; defined by the server. */
8572
+ id?: string;
8573
+ /** A list of Resize Request resources. */
8574
+ items?: InstanceGroupManagerResizeRequest[];
8575
+ /** [Output Only] Type of the resource. Always compute#regionInstanceGroupManagerResizeRequestList for a list of Resize Requests. */
8576
+ kind?: string;
8577
+ /** [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. */
8578
+ nextPageToken?: string;
8579
+ /** [Output Only] Server-defined URL for this resource. */
8580
+ selfLink?: string;
8581
+ /** [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder */
8582
+ unreachables?: string[];
8583
+ /** [Output Only] Informational warning message. */
8584
+ warning?: {
8585
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
8586
+ code?: string;
8587
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
8588
+ data?: Array<{
8589
+ /** [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). */
8590
+ key?: string;
8591
+ /** [Output Only] A warning data value corresponding to the key. */
8592
+ value?: string;
8593
+ }>;
8594
+ /** [Output Only] A human-readable description of the warning code. */
8595
+ message?: string;
8596
+ };
8597
+ }
8594
8598
  interface RegionInstanceGroupManagersAbandonInstancesRequest {
8595
8599
  /** The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */
8596
8600
  instances?: string[];
@@ -8811,6 +8815,8 @@ declare namespace gapi.client {
8811
8815
  interface RequestMirrorPolicy {
8812
8816
  /** The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. */
8813
8817
  backendService?: string;
8818
+ /** The percentage of requests to be mirrored to `backend_service`. */
8819
+ mirrorPercent?: number;
8814
8820
  }
8815
8821
  interface Reservation {
8816
8822
  /** Reservation for aggregated resources, providing shape flexibility. */
@@ -8823,10 +8829,14 @@ declare namespace gapi.client {
8823
8829
  deleteAfterDuration?: Duration;
8824
8830
  /** Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 text format. */
8825
8831
  deleteAtTime?: string;
8832
+ /** Specifies the deployment strategy for this reservation. */
8833
+ deploymentType?: string;
8826
8834
  /** An optional description of this resource. Provide this property when you create the resource. */
8827
8835
  description?: string;
8828
8836
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
8829
8837
  id?: string;
8838
+ /** Instance termination action that will be invoked when the reservation is deleted. */
8839
+ instanceTerminationAction?: string;
8830
8840
  /** [Output Only] Type of the resource. Always compute#reservations for reservations. */
8831
8841
  kind?: string;
8832
8842
  /** The name of the resource, provided by the client when initially creating the resource. The resource 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. */
@@ -8890,6 +8900,59 @@ declare namespace gapi.client {
8890
8900
  message?: string;
8891
8901
  };
8892
8902
  }
8903
+ interface ReservationBlock {
8904
+ /** [Output Only] Specifies the number of resources that are allocated in this block. It indicates the maximum number of VMs that a user can run on this particular block. */
8905
+ count?: number;
8906
+ /** [Output Only] Creation timestamp in RFC3339 text format. */
8907
+ creationTimestamp?: string;
8908
+ /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
8909
+ id?: string;
8910
+ /** [Output Only] Indicates how many instances are in use on this block. */
8911
+ inUseCount?: number;
8912
+ /** [Output Only] Type of the resource. Always compute#reservationBlock for reservation blocks. */
8913
+ kind?: string;
8914
+ /** [Output Only] Obfuscated location where this reservation block physically resides in format /CCCC/GGGG. This matches the tripod specified in the VM topology information. Example: /USEAB1/0101/ is the location prefix in /USEAB1/0101/031/003 */
8915
+ locationPrefix?: string;
8916
+ /** [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])? */
8917
+ name?: string;
8918
+ /** [Output Only] Server-defined fully-qualified URL for this resource. */
8919
+ selfLink?: string;
8920
+ /** [Output Only] Server-defined URL for this resource with the resource id. */
8921
+ selfLinkWithId?: string;
8922
+ /** [Output Only] Status of the reservation block. */
8923
+ status?: string;
8924
+ /** [Output Only] Zone in which the reservation block resides. */
8925
+ zone?: string;
8926
+ }
8927
+ interface ReservationBlocksGetResponse {
8928
+ resource?: ReservationBlock;
8929
+ }
8930
+ interface ReservationBlocksListResponse {
8931
+ /** Unique identifier for the resource; defined by the server. */
8932
+ id?: string;
8933
+ /** A list of reservation block resources. */
8934
+ items?: ReservationBlock[];
8935
+ /** Type of the resource. Always compute#reservationBlock for a list of reservation blocks. */
8936
+ kind?: string;
8937
+ /** 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. */
8938
+ nextPageToken?: string;
8939
+ /** Server-defined URL for this resource. */
8940
+ selfLink?: string;
8941
+ /** Informational warning message. */
8942
+ warning?: {
8943
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
8944
+ code?: string;
8945
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
8946
+ data?: Array<{
8947
+ /** [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). */
8948
+ key?: string;
8949
+ /** [Output Only] A warning data value corresponding to the key. */
8950
+ value?: string;
8951
+ }>;
8952
+ /** [Output Only] A human-readable description of the warning code. */
8953
+ message?: string;
8954
+ };
8955
+ }
8893
8956
  interface ReservationList {
8894
8957
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
8895
8958
  id?: string;
@@ -9941,6 +10004,8 @@ declare namespace gapi.client {
9941
10004
  provisioningModel?: string;
9942
10005
  /** Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. */
9943
10006
  terminationTime?: string;
10007
+ /** Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default mode is `OFF`. */
10008
+ windowsLicenseOptimizationMode?: string;
9944
10009
  }
9945
10010
  interface SchedulingGracefulShutdown {
9946
10011
  /** Opts-in for graceful shutdown. */
@@ -33033,78 +33098,6 @@ declare namespace gapi.client {
33033
33098
  body: TestPermissionsRequest
33034
33099
  ): Request<TestPermissionsResponse>;
33035
33100
  }
33036
- interface NetworkPlacementsResource {
33037
- /** Returns the specified network placement. */
33038
- get(request?: {
33039
- /** V1 error format. */
33040
- '$.xgafv'?: string;
33041
- /** OAuth access token. */
33042
- access_token?: string;
33043
- /** Data format for response. */
33044
- alt?: string;
33045
- /** JSONP */
33046
- callback?: string;
33047
- /** Selector specifying which fields to include in a partial response. */
33048
- fields?: string;
33049
- /** 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. */
33050
- key?: string;
33051
- /** Name of the network placement to return. */
33052
- networkPlacement: string;
33053
- /** OAuth 2.0 token for the current user. */
33054
- oauth_token?: string;
33055
- /** Returns response with indentations and line breaks. */
33056
- prettyPrint?: boolean;
33057
- /** Project ID for this request. */
33058
- project: string;
33059
- /** 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. */
33060
- quotaUser?: string;
33061
- /** Upload protocol for media (e.g. "raw", "multipart"). */
33062
- upload_protocol?: string;
33063
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33064
- uploadType?: string;
33065
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
33066
- userIp?: string;
33067
- }): Request<NetworkPlacement>;
33068
- /** Retrieves a list of network placements available to the specified project. */
33069
- list(request?: {
33070
- /** V1 error format. */
33071
- '$.xgafv'?: string;
33072
- /** OAuth access token. */
33073
- access_token?: string;
33074
- /** Data format for response. */
33075
- alt?: string;
33076
- /** JSONP */
33077
- callback?: string;
33078
- /** Selector specifying which fields to include in a partial response. */
33079
- fields?: string;
33080
- /** 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. */
33081
- filter?: string;
33082
- /** 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. */
33083
- key?: string;
33084
- /** 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`) */
33085
- maxResults?: number;
33086
- /** OAuth 2.0 token for the current user. */
33087
- oauth_token?: string;
33088
- /** 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. */
33089
- orderBy?: string;
33090
- /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
33091
- pageToken?: string;
33092
- /** Returns response with indentations and line breaks. */
33093
- prettyPrint?: boolean;
33094
- /** Project ID for this request. */
33095
- project: string;
33096
- /** 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. */
33097
- quotaUser?: string;
33098
- /** 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. */
33099
- returnPartialSuccess?: boolean;
33100
- /** Upload protocol for media (e.g. "raw", "multipart"). */
33101
- upload_protocol?: string;
33102
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33103
- uploadType?: string;
33104
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
33105
- userIp?: string;
33106
- }): Request<NetworkPlacementsListResponse>;
33107
- }
33108
33101
  interface NetworkProfilesResource {
33109
33102
  /** Returns the specified network profile. */
33110
33103
  get(request?: {
@@ -40988,6 +40981,80 @@ declare namespace gapi.client {
40988
40981
  ): Request<TestPermissionsResponse>;
40989
40982
  }
40990
40983
  interface RegionInstanceGroupManagerResizeRequestsResource {
40984
+ /** Cancels the specified resize request. Cancelled resize request no longer waits for the resources to be provisioned. Cancel is only possible for requests that are in accepted state. */
40985
+ cancel(request?: {
40986
+ /** V1 error format. */
40987
+ '$.xgafv'?: string;
40988
+ /** OAuth access token. */
40989
+ access_token?: string;
40990
+ /** Data format for response. */
40991
+ alt?: string;
40992
+ /** JSONP */
40993
+ callback?: string;
40994
+ /** Selector specifying which fields to include in a partial response. */
40995
+ fields?: string;
40996
+ /** The name of the managed instance group. Name should conform to RFC1035 or be a resource ID. */
40997
+ instanceGroupManager: string;
40998
+ /** 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. */
40999
+ key?: string;
41000
+ /** OAuth 2.0 token for the current user. */
41001
+ oauth_token?: string;
41002
+ /** Returns response with indentations and line breaks. */
41003
+ prettyPrint?: boolean;
41004
+ /** Project ID for this request. */
41005
+ project: string;
41006
+ /** 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. */
41007
+ quotaUser?: string;
41008
+ /** The name of the region scoping this request. Name should conform to RFC1035. */
41009
+ region: string;
41010
+ /** 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). */
41011
+ requestId?: string;
41012
+ /** The name of the resize request to cancel. Name should conform to RFC1035 or be a resource ID. */
41013
+ resizeRequest: string;
41014
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41015
+ upload_protocol?: string;
41016
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41017
+ uploadType?: string;
41018
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41019
+ userIp?: string;
41020
+ }): Request<Operation>;
41021
+ /** Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously. */
41022
+ delete(request?: {
41023
+ /** V1 error format. */
41024
+ '$.xgafv'?: string;
41025
+ /** OAuth access token. */
41026
+ access_token?: string;
41027
+ /** Data format for response. */
41028
+ alt?: string;
41029
+ /** JSONP */
41030
+ callback?: string;
41031
+ /** Selector specifying which fields to include in a partial response. */
41032
+ fields?: string;
41033
+ /** The name of the managed instance group. Name should conform to RFC1035 or be a resource ID. */
41034
+ instanceGroupManager: string;
41035
+ /** 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. */
41036
+ key?: string;
41037
+ /** OAuth 2.0 token for the current user. */
41038
+ oauth_token?: string;
41039
+ /** Returns response with indentations and line breaks. */
41040
+ prettyPrint?: boolean;
41041
+ /** Project ID for this request. */
41042
+ project: string;
41043
+ /** 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. */
41044
+ quotaUser?: string;
41045
+ /** The name of the region scoping this request. Name should conform to RFC1035. */
41046
+ region: string;
41047
+ /** 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). */
41048
+ requestId?: string;
41049
+ /** The name of the resize request to delete. Name should conform to RFC1035 or be a resource ID. */
41050
+ resizeRequest: string;
41051
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41052
+ upload_protocol?: string;
41053
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41054
+ uploadType?: string;
41055
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41056
+ userIp?: string;
41057
+ }): Request<Operation>;
40991
41058
  /** Returns all of the details about the specified resize request. */
40992
41059
  get(request?: {
40993
41060
  /** V1 error format. */
@@ -41097,6 +41164,49 @@ declare namespace gapi.client {
41097
41164
  },
41098
41165
  body: InstanceGroupManagerResizeRequest
41099
41166
  ): Request<Operation>;
41167
+ /** Retrieves a list of Resize Requests that are contained in the managed instance group. */
41168
+ list(request?: {
41169
+ /** V1 error format. */
41170
+ '$.xgafv'?: string;
41171
+ /** OAuth access token. */
41172
+ access_token?: string;
41173
+ /** Data format for response. */
41174
+ alt?: string;
41175
+ /** JSONP */
41176
+ callback?: string;
41177
+ /** Selector specifying which fields to include in a partial response. */
41178
+ fields?: string;
41179
+ /** 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. */
41180
+ filter?: string;
41181
+ /** The name of the managed instance group. The name should conform to RFC1035. */
41182
+ instanceGroupManager: string;
41183
+ /** 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. */
41184
+ key?: string;
41185
+ /** 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`) */
41186
+ maxResults?: number;
41187
+ /** OAuth 2.0 token for the current user. */
41188
+ oauth_token?: string;
41189
+ /** 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. */
41190
+ orderBy?: string;
41191
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
41192
+ pageToken?: string;
41193
+ /** Returns response with indentations and line breaks. */
41194
+ prettyPrint?: boolean;
41195
+ /** Project ID for this request. */
41196
+ project: string;
41197
+ /** 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. */
41198
+ quotaUser?: string;
41199
+ /** Name of the region scoping this request. Name should conform to RFC1035. */
41200
+ region: string;
41201
+ /** 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. */
41202
+ returnPartialSuccess?: boolean;
41203
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41204
+ upload_protocol?: string;
41205
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41206
+ uploadType?: string;
41207
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
41208
+ userIp?: string;
41209
+ }): Request<RegionInstanceGroupManagerResizeRequestsListResponse>;
41100
41210
  }
41101
41211
  interface RegionInstanceGroupManagersResource {
41102
41212
  /** Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. */
@@ -48559,6 +48669,86 @@ declare namespace gapi.client {
48559
48669
  userIp?: string;
48560
48670
  }): Request<ZoneList>;
48561
48671
  }
48672
+ interface ReservationBlocksResource {
48673
+ /** Retrieves information about the specified reservation block. */
48674
+ get(request?: {
48675
+ /** V1 error format. */
48676
+ '$.xgafv'?: string;
48677
+ /** OAuth access token. */
48678
+ access_token?: string;
48679
+ /** Data format for response. */
48680
+ alt?: string;
48681
+ /** JSONP */
48682
+ callback?: string;
48683
+ /** Selector specifying which fields to include in a partial response. */
48684
+ fields?: string;
48685
+ /** 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. */
48686
+ key?: string;
48687
+ /** OAuth 2.0 token for the current user. */
48688
+ oauth_token?: string;
48689
+ /** Returns response with indentations and line breaks. */
48690
+ prettyPrint?: boolean;
48691
+ /** Project ID for this request. */
48692
+ project: string;
48693
+ /** 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. */
48694
+ quotaUser?: string;
48695
+ /** The name of the reservation. Name should conform to RFC1035 or be a resource ID. */
48696
+ reservation: string;
48697
+ /** The name of the reservation block. Name should conform to RFC1035 or be a resource ID. */
48698
+ reservationBlock: string;
48699
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
48700
+ upload_protocol?: string;
48701
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
48702
+ uploadType?: string;
48703
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
48704
+ userIp?: string;
48705
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
48706
+ zone: string;
48707
+ }): Request<ReservationBlocksGetResponse>;
48708
+ /** Retrieves a list of reservation blocks under a single reservation. */
48709
+ list(request?: {
48710
+ /** V1 error format. */
48711
+ '$.xgafv'?: string;
48712
+ /** OAuth access token. */
48713
+ access_token?: string;
48714
+ /** Data format for response. */
48715
+ alt?: string;
48716
+ /** JSONP */
48717
+ callback?: string;
48718
+ /** Selector specifying which fields to include in a partial response. */
48719
+ fields?: string;
48720
+ /** 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. */
48721
+ filter?: string;
48722
+ /** 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. */
48723
+ key?: string;
48724
+ /** 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`) */
48725
+ maxResults?: number;
48726
+ /** OAuth 2.0 token for the current user. */
48727
+ oauth_token?: string;
48728
+ /** 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. */
48729
+ orderBy?: string;
48730
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
48731
+ pageToken?: string;
48732
+ /** Returns response with indentations and line breaks. */
48733
+ prettyPrint?: boolean;
48734
+ /** Project ID for this request. */
48735
+ project: string;
48736
+ /** 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. */
48737
+ quotaUser?: string;
48738
+ /** The name of the reservation. Name should conform to RFC1035 or be a resource ID. */
48739
+ reservation: string;
48740
+ /** 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. */
48741
+ returnPartialSuccess?: boolean;
48742
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
48743
+ upload_protocol?: string;
48744
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
48745
+ uploadType?: string;
48746
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
48747
+ userIp?: string;
48748
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
48749
+ zone: string;
48750
+ }): Request<ReservationBlocksListResponse>;
48751
+ }
48562
48752
  interface ReservationsResource {
48563
48753
  /** Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. */
48564
48754
  aggregatedList(request?: {
@@ -59511,8 +59701,6 @@ declare namespace gapi.client {
59511
59701
 
59512
59702
  const networkFirewallPolicies: NetworkFirewallPoliciesResource;
59513
59703
 
59514
- const networkPlacements: NetworkPlacementsResource;
59515
-
59516
59704
  const networkProfiles: NetworkProfilesResource;
59517
59705
 
59518
59706
  const networks: NetworksResource;
@@ -59593,6 +59781,8 @@ declare namespace gapi.client {
59593
59781
 
59594
59782
  const regions: RegionsResource;
59595
59783
 
59784
+ const reservationBlocks: ReservationBlocksResource;
59785
+
59596
59786
  const reservations: ReservationsResource;
59597
59787
 
59598
59788
  const resourcePolicies: ResourcePoliciesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20240813",
3
+ "version": "0.0.20240827",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -2110,16 +2110,6 @@ Returns permissions that a caller has on the specified resource.
2110
2110
  */
2111
2111
  await gapi.client.compute.networkFirewallPolicies.testIamPermissions({ project: "project", resource: "resource", });
2112
2112
 
2113
- /*
2114
- Returns the specified network placement.
2115
- */
2116
- await gapi.client.compute.networkPlacements.get({ networkPlacement: "networkPlacement", project: "project", });
2117
-
2118
- /*
2119
- Retrieves a list of network placements available to the specified project.
2120
- */
2121
- await gapi.client.compute.networkPlacements.list({ project: "project", });
2122
-
2123
2113
  /*
2124
2114
  Returns the specified network profile.
2125
2115
  */
@@ -2910,6 +2900,16 @@ Returns permissions that a caller has on the specified resource.
2910
2900
  */
2911
2901
  await gapi.client.compute.regionHealthCheckServices.testIamPermissions({ project: "project", region: "region", resource: "resource", });
2912
2902
 
2903
+ /*
2904
+ Cancels the specified resize request. Cancelled resize request no longer waits for the resources to be provisioned. Cancel is only possible for requests that are in accepted state.
2905
+ */
2906
+ await gapi.client.compute.regionInstanceGroupManagerResizeRequests.cancel({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", resizeRequest: "resizeRequest", });
2907
+
2908
+ /*
2909
+ Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously.
2910
+ */
2911
+ await gapi.client.compute.regionInstanceGroupManagerResizeRequests.delete({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", resizeRequest: "resizeRequest", });
2912
+
2913
2913
  /*
2914
2914
  Returns all of the details about the specified resize request.
2915
2915
  */
@@ -2920,6 +2920,11 @@ Creates a new Resize Request that starts provisioning VMs immediately or queues
2920
2920
  */
2921
2921
  await gapi.client.compute.regionInstanceGroupManagerResizeRequests.insert({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", });
2922
2922
 
2923
+ /*
2924
+ Retrieves a list of Resize Requests that are contained in the managed instance group.
2925
+ */
2926
+ await gapi.client.compute.regionInstanceGroupManagerResizeRequests.list({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", });
2927
+
2923
2928
  /*
2924
2929
  Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
2925
2930
  */
@@ -3650,6 +3655,16 @@ Retrieves the list of Zone resources under the specific region available to the
3650
3655
  */
3651
3656
  await gapi.client.compute.regionZones.list({ project: "project", region: "region", });
3652
3657
 
3658
+ /*
3659
+ Retrieves information about the specified reservation block.
3660
+ */
3661
+ await gapi.client.compute.reservationBlocks.get({ project: "project", reservation: "reservation", reservationBlock: "reservationBlock", zone: "zone", });
3662
+
3663
+ /*
3664
+ Retrieves a list of reservation blocks under a single reservation.
3665
+ */
3666
+ await gapi.client.compute.reservationBlocks.list({ project: "project", reservation: "reservation", zone: "zone", });
3667
+
3653
3668
  /*
3654
3669
  Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
3655
3670
  */