@maxim_mazurok/gapi.client.compute-alpha 0.0.20240813 → 0.0.20240820
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +141 -166
- package/package.json +1 -1
- package/readme.md +5 -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:
|
|
12
|
+
// Revision: 20240820
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -673,7 +673,7 @@ declare namespace gapi.client {
|
|
|
673
673
|
balancingMode?: string;
|
|
674
674
|
/** 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
675
|
capacityScaler?: number;
|
|
676
|
-
/** List of custom metrics that are used for CUSTOM_METRICS BalancingMode
|
|
676
|
+
/** List of custom metrics that are used for CUSTOM_METRICS BalancingMode. */
|
|
677
677
|
customMetrics?: BackendCustomMetric[];
|
|
678
678
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
679
679
|
description?: string;
|
|
@@ -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-64 characters long
|
|
836
|
+
/** 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
837
|
name?: string;
|
|
838
838
|
}
|
|
839
839
|
interface BackendService {
|
|
@@ -2584,12 +2584,20 @@ declare namespace gapi.client {
|
|
|
2584
2584
|
autoCreatedReservationsDuration?: Duration;
|
|
2585
2585
|
/** 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
2586
|
autoDeleteAutoCreatedReservations?: boolean;
|
|
2587
|
+
/** If not present, then FR will not deliver a new commitment or update an existing commitment. */
|
|
2588
|
+
commitmentInfo?: FutureReservationCommitmentInfo;
|
|
2587
2589
|
/** [Output Only] The creation timestamp for this future reservation in RFC3339 text format. */
|
|
2588
2590
|
creationTimestamp?: string;
|
|
2591
|
+
/** Type of the deployment requested as part of future reservation. */
|
|
2592
|
+
deploymentType?: string;
|
|
2589
2593
|
/** An optional description of this resource. Provide this property when you create the future reservation. */
|
|
2590
2594
|
description?: string;
|
|
2595
|
+
/** 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 . */
|
|
2596
|
+
enableOpportunisticMaintenance?: boolean;
|
|
2591
2597
|
/** [Output Only] A unique identifier for this future reservation. The server defines this identifier. */
|
|
2592
2598
|
id?: string;
|
|
2599
|
+
/** Action to take during reservation termination. */
|
|
2600
|
+
instanceTerminationAction?: string;
|
|
2593
2601
|
/** [Output Only] Type of the resource. Always compute#futureReservation for future reservations. */
|
|
2594
2602
|
kind?: string;
|
|
2595
2603
|
/** 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 +2606,10 @@ declare namespace gapi.client {
|
|
|
2598
2606
|
namePrefix?: string;
|
|
2599
2607
|
/** Planning state before being submitted for evaluation */
|
|
2600
2608
|
planningStatus?: string;
|
|
2609
|
+
/** 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. */
|
|
2610
|
+
reservationName?: string;
|
|
2611
|
+
/** 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. */
|
|
2612
|
+
schedulingType?: string;
|
|
2601
2613
|
/** [Output Only] Server-defined fully-qualified URL for this resource. */
|
|
2602
2614
|
selfLink?: string;
|
|
2603
2615
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
@@ -2615,6 +2627,14 @@ declare namespace gapi.client {
|
|
|
2615
2627
|
/** [Output Only] URL of the Zone where this future reservation resides. */
|
|
2616
2628
|
zone?: string;
|
|
2617
2629
|
}
|
|
2630
|
+
interface FutureReservationCommitmentInfo {
|
|
2631
|
+
/** name of the commitment where capacity is being delivered to. In the form of "projects/{project-id}/locations/{region-name}/commitment/{name}" */
|
|
2632
|
+
commitmentName?: string;
|
|
2633
|
+
/** 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. */
|
|
2634
|
+
commitmentPlan?: string;
|
|
2635
|
+
/** 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. */
|
|
2636
|
+
previousCommitmentTerms?: string;
|
|
2637
|
+
}
|
|
2618
2638
|
interface FutureReservationsAggregatedListResponse {
|
|
2619
2639
|
etag?: string;
|
|
2620
2640
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
@@ -5045,6 +5065,8 @@ declare namespace gapi.client {
|
|
|
5045
5065
|
bandwidthPercentagePolicy?: InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy;
|
|
5046
5066
|
/** A description for the AAI profile on this interconnect. */
|
|
5047
5067
|
profileDescription?: string;
|
|
5068
|
+
/** Optional field to specify a list of shape average percentages to be applied in conjunction with StrictPriorityPolicy or BandwidthPercentagePolicy. */
|
|
5069
|
+
shapeAveragePercentages?: InterconnectApplicationAwareInterconnectBandwidthPercentage[];
|
|
5048
5070
|
strictPriorityPolicy?: any;
|
|
5049
5071
|
}
|
|
5050
5072
|
interface InterconnectApplicationAwareInterconnectBandwidthPercentage {
|
|
@@ -5630,6 +5652,10 @@ declare namespace gapi.client {
|
|
|
5630
5652
|
valuePrefix?: string;
|
|
5631
5653
|
}
|
|
5632
5654
|
interface License {
|
|
5655
|
+
/** Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false. */
|
|
5656
|
+
allowedReplacementLicenses?: string[];
|
|
5657
|
+
/** If true, this license can be appended to an existing disk's set of licenses. */
|
|
5658
|
+
appendableToDisk?: boolean;
|
|
5633
5659
|
/** [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. */
|
|
5634
5660
|
chargesUseFee?: boolean;
|
|
5635
5661
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
@@ -5638,39 +5664,75 @@ declare namespace gapi.client {
|
|
|
5638
5664
|
description?: string;
|
|
5639
5665
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
5640
5666
|
id?: string;
|
|
5667
|
+
/** 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. */
|
|
5668
|
+
incompatibleLicenses?: string[];
|
|
5641
5669
|
/** [Output Only] Type of resource. Always compute#license for licenses. */
|
|
5642
5670
|
kind?: string;
|
|
5643
5671
|
/** [Output Only] The unique code used to attach this license to images, snapshots, and disks. */
|
|
5644
5672
|
licenseCode?: string;
|
|
5673
|
+
/** If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed. */
|
|
5674
|
+
minimumRetention?: Duration;
|
|
5675
|
+
/** If true, this license can only be used on VMs on multi tenant nodes. */
|
|
5676
|
+
multiTenantOnly?: boolean;
|
|
5645
5677
|
/** Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */
|
|
5646
5678
|
name?: string;
|
|
5679
|
+
/** If true, indicates this is an OS license. Only one OS license can be attached to a disk or image at a time. */
|
|
5680
|
+
osLicense?: boolean;
|
|
5681
|
+
/** If true, this license can be removed from a disk's set of licenses, with no replacement license needed. */
|
|
5682
|
+
removableFromDisk?: boolean;
|
|
5683
|
+
/** 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. */
|
|
5684
|
+
requiredCoattachedLicenses?: string[];
|
|
5647
5685
|
resourceRequirements?: LicenseResourceRequirements;
|
|
5648
5686
|
/** [Output Only] Server-defined URL for the resource. */
|
|
5649
5687
|
selfLink?: string;
|
|
5650
5688
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
5651
5689
|
selfLinkWithId?: string;
|
|
5690
|
+
/** If true, this license can only be used on VMs on sole tenant nodes. */
|
|
5691
|
+
soleTenantOnly?: boolean;
|
|
5652
5692
|
/** 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
5693
|
transferable?: boolean;
|
|
5694
|
+
/** [Output Only] Last update timestamp in RFC3339 text format. */
|
|
5695
|
+
updateTimestamp?: string;
|
|
5654
5696
|
}
|
|
5655
5697
|
interface LicenseCode {
|
|
5698
|
+
/** Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false. */
|
|
5699
|
+
allowedReplacementLicenses?: string[];
|
|
5700
|
+
/** If true, this license can be appended to an existing disk's set of licenses. */
|
|
5701
|
+
appendableToDisk?: boolean;
|
|
5656
5702
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
5657
5703
|
creationTimestamp?: string;
|
|
5658
5704
|
/** [Output Only] Description of this License Code. */
|
|
5659
5705
|
description?: string;
|
|
5660
5706
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
5661
5707
|
id?: string;
|
|
5708
|
+
/** 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. */
|
|
5709
|
+
incompatibleLicenses?: string[];
|
|
5662
5710
|
/** [Output Only] Type of resource. Always compute#licenseCode for licenses. */
|
|
5663
5711
|
kind?: string;
|
|
5664
5712
|
/** [Output Only] URL and description aliases of Licenses with the same License Code. */
|
|
5665
5713
|
licenseAlias?: LicenseCodeLicenseAlias[];
|
|
5714
|
+
/** If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed. */
|
|
5715
|
+
minimumRetention?: Duration;
|
|
5716
|
+
/** If true, this license can only be used on VMs on multi tenant nodes. */
|
|
5717
|
+
multiTenantOnly?: boolean;
|
|
5666
5718
|
/** [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer. */
|
|
5667
5719
|
name?: string;
|
|
5720
|
+
/** If true, indicates this is an OS license. Only one OS license can be attached to a disk or image at a time. */
|
|
5721
|
+
osLicense?: boolean;
|
|
5722
|
+
/** If true, this license can be removed from a disk's set of licenses, with no replacement license needed. */
|
|
5723
|
+
removableFromDisk?: boolean;
|
|
5724
|
+
/** 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. */
|
|
5725
|
+
requiredCoattachedLicenses?: string[];
|
|
5668
5726
|
/** [Output Only] Server-defined URL for the resource. */
|
|
5669
5727
|
selfLink?: string;
|
|
5728
|
+
/** If true, this license can only be used on VMs on sole tenant nodes. */
|
|
5729
|
+
soleTenantOnly?: boolean;
|
|
5670
5730
|
/** [Output Only] Current state of this License Code. */
|
|
5671
5731
|
state?: string;
|
|
5672
5732
|
/** [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred. */
|
|
5673
5733
|
transferable?: boolean;
|
|
5734
|
+
/** [Output Only] Last update timestamp in RFC3339 text format. */
|
|
5735
|
+
updateTimestamp?: string;
|
|
5674
5736
|
}
|
|
5675
5737
|
interface LicenseCodeLicenseAlias {
|
|
5676
5738
|
/** [Output Only] Description of this License Code. */
|
|
@@ -6177,8 +6239,6 @@ declare namespace gapi.client {
|
|
|
6177
6239
|
name?: string;
|
|
6178
6240
|
/** 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
6241
|
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
6242
|
/** 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
6243
|
networkProfile?: string;
|
|
6184
6244
|
/** [Output Only] A list of network peerings for the resource. */
|
|
@@ -6723,93 +6783,6 @@ declare namespace gapi.client {
|
|
|
6723
6783
|
externalIpEgressBandwidthTier?: string;
|
|
6724
6784
|
totalEgressBandwidthTier?: string;
|
|
6725
6785
|
}
|
|
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
6786
|
interface NetworkProfile {
|
|
6814
6787
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
6815
6788
|
creationTimestamp?: string;
|
|
@@ -8591,6 +8564,35 @@ declare namespace gapi.client {
|
|
|
8591
8564
|
/** The list of per-instance configurations to insert or patch on this managed instance group. */
|
|
8592
8565
|
perInstanceConfigs?: PerInstanceConfig[];
|
|
8593
8566
|
}
|
|
8567
|
+
interface RegionInstanceGroupManagerResizeRequestsListResponse {
|
|
8568
|
+
etag?: string;
|
|
8569
|
+
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
8570
|
+
id?: string;
|
|
8571
|
+
/** A list of Resize Request resources. */
|
|
8572
|
+
items?: InstanceGroupManagerResizeRequest[];
|
|
8573
|
+
/** [Output Only] Type of the resource. Always compute#regionInstanceGroupManagerResizeRequestList for a list of Resize Requests. */
|
|
8574
|
+
kind?: string;
|
|
8575
|
+
/** [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. */
|
|
8576
|
+
nextPageToken?: string;
|
|
8577
|
+
/** [Output Only] Server-defined URL for this resource. */
|
|
8578
|
+
selfLink?: string;
|
|
8579
|
+
/** [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder */
|
|
8580
|
+
unreachables?: string[];
|
|
8581
|
+
/** [Output Only] Informational warning message. */
|
|
8582
|
+
warning?: {
|
|
8583
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
8584
|
+
code?: string;
|
|
8585
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
8586
|
+
data?: Array<{
|
|
8587
|
+
/** [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). */
|
|
8588
|
+
key?: string;
|
|
8589
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
8590
|
+
value?: string;
|
|
8591
|
+
}>;
|
|
8592
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
8593
|
+
message?: string;
|
|
8594
|
+
};
|
|
8595
|
+
}
|
|
8594
8596
|
interface RegionInstanceGroupManagersAbandonInstancesRequest {
|
|
8595
8597
|
/** 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
8598
|
instances?: string[];
|
|
@@ -8811,6 +8813,8 @@ declare namespace gapi.client {
|
|
|
8811
8813
|
interface RequestMirrorPolicy {
|
|
8812
8814
|
/** 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
8815
|
backendService?: string;
|
|
8816
|
+
/** The percentage of requests to be mirrored to `backend_service`. */
|
|
8817
|
+
mirrorPercent?: number;
|
|
8814
8818
|
}
|
|
8815
8819
|
interface Reservation {
|
|
8816
8820
|
/** Reservation for aggregated resources, providing shape flexibility. */
|
|
@@ -9941,6 +9945,8 @@ declare namespace gapi.client {
|
|
|
9941
9945
|
provisioningModel?: string;
|
|
9942
9946
|
/** 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
9947
|
terminationTime?: string;
|
|
9948
|
+
/** Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default mode is `OFF`. */
|
|
9949
|
+
windowsLicenseOptimizationMode?: string;
|
|
9944
9950
|
}
|
|
9945
9951
|
interface SchedulingGracefulShutdown {
|
|
9946
9952
|
/** Opts-in for graceful shutdown. */
|
|
@@ -33033,78 +33039,6 @@ declare namespace gapi.client {
|
|
|
33033
33039
|
body: TestPermissionsRequest
|
|
33034
33040
|
): Request<TestPermissionsResponse>;
|
|
33035
33041
|
}
|
|
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
33042
|
interface NetworkProfilesResource {
|
|
33109
33043
|
/** Returns the specified network profile. */
|
|
33110
33044
|
get(request?: {
|
|
@@ -41097,6 +41031,49 @@ declare namespace gapi.client {
|
|
|
41097
41031
|
},
|
|
41098
41032
|
body: InstanceGroupManagerResizeRequest
|
|
41099
41033
|
): Request<Operation>;
|
|
41034
|
+
/** Retrieves a list of Resize Requests that are contained in the managed instance group. */
|
|
41035
|
+
list(request?: {
|
|
41036
|
+
/** V1 error format. */
|
|
41037
|
+
'$.xgafv'?: string;
|
|
41038
|
+
/** OAuth access token. */
|
|
41039
|
+
access_token?: string;
|
|
41040
|
+
/** Data format for response. */
|
|
41041
|
+
alt?: string;
|
|
41042
|
+
/** JSONP */
|
|
41043
|
+
callback?: string;
|
|
41044
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
41045
|
+
fields?: string;
|
|
41046
|
+
/** 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. */
|
|
41047
|
+
filter?: string;
|
|
41048
|
+
/** The name of the managed instance group. The name should conform to RFC1035. */
|
|
41049
|
+
instanceGroupManager: string;
|
|
41050
|
+
/** 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. */
|
|
41051
|
+
key?: string;
|
|
41052
|
+
/** 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`) */
|
|
41053
|
+
maxResults?: number;
|
|
41054
|
+
/** OAuth 2.0 token for the current user. */
|
|
41055
|
+
oauth_token?: string;
|
|
41056
|
+
/** 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. */
|
|
41057
|
+
orderBy?: string;
|
|
41058
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
41059
|
+
pageToken?: string;
|
|
41060
|
+
/** Returns response with indentations and line breaks. */
|
|
41061
|
+
prettyPrint?: boolean;
|
|
41062
|
+
/** Project ID for this request. */
|
|
41063
|
+
project: string;
|
|
41064
|
+
/** 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. */
|
|
41065
|
+
quotaUser?: string;
|
|
41066
|
+
/** Name of the region scoping this request. Name should conform to RFC1035. */
|
|
41067
|
+
region: string;
|
|
41068
|
+
/** 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. */
|
|
41069
|
+
returnPartialSuccess?: boolean;
|
|
41070
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
41071
|
+
upload_protocol?: string;
|
|
41072
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
41073
|
+
uploadType?: string;
|
|
41074
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
41075
|
+
userIp?: string;
|
|
41076
|
+
}): Request<RegionInstanceGroupManagerResizeRequestsListResponse>;
|
|
41100
41077
|
}
|
|
41101
41078
|
interface RegionInstanceGroupManagersResource {
|
|
41102
41079
|
/** 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. */
|
|
@@ -59511,8 +59488,6 @@ declare namespace gapi.client {
|
|
|
59511
59488
|
|
|
59512
59489
|
const networkFirewallPolicies: NetworkFirewallPoliciesResource;
|
|
59513
59490
|
|
|
59514
|
-
const networkPlacements: NetworkPlacementsResource;
|
|
59515
|
-
|
|
59516
59491
|
const networkProfiles: NetworkProfilesResource;
|
|
59517
59492
|
|
|
59518
59493
|
const networks: NetworksResource;
|
package/package.json
CHANGED
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
|
*/
|
|
@@ -2920,6 +2910,11 @@ Creates a new Resize Request that starts provisioning VMs immediately or queues
|
|
|
2920
2910
|
*/
|
|
2921
2911
|
await gapi.client.compute.regionInstanceGroupManagerResizeRequests.insert({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", });
|
|
2922
2912
|
|
|
2913
|
+
/*
|
|
2914
|
+
Retrieves a list of Resize Requests that are contained in the managed instance group.
|
|
2915
|
+
*/
|
|
2916
|
+
await gapi.client.compute.regionInstanceGroupManagerResizeRequests.list({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", });
|
|
2917
|
+
|
|
2923
2918
|
/*
|
|
2924
2919
|
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
2920
|
*/
|