@maxim_mazurok/gapi.client.compute-alpha 0.0.20230711 → 0.0.20230725
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 +205 -14
- package/package.json +1 -1
- package/readme.md +5 -0
- package/tests.ts +73 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230725
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -756,7 +756,7 @@ declare namespace gapi.client {
|
|
|
756
756
|
string;
|
|
757
757
|
/**
|
|
758
758
|
* Required for each regional disk associated with the instance. Specify the URLs of the zones where the disk should be replicated to. You must provide exactly two replica zones, and
|
|
759
|
-
* one zone must be the same as the instance zone.
|
|
759
|
+
* one zone must be the same as the instance zone.
|
|
760
760
|
*/
|
|
761
761
|
replicaZones?:
|
|
762
762
|
string[];
|
|
@@ -1751,6 +1751,8 @@ declare namespace gapi.client {
|
|
|
1751
1751
|
*/
|
|
1752
1752
|
timeoutSec?:
|
|
1753
1753
|
number;
|
|
1754
|
+
usedBys?:
|
|
1755
|
+
BackendServiceUsedBy[];
|
|
1754
1756
|
/**
|
|
1755
1757
|
* The network scope of the backends that can be added to the backend service. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A backend service with the VPC scope
|
|
1756
1758
|
* set to GLOBAL_VPC_NETWORK is only allowed to have backends in global VPC networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the backend service is only allowed to have
|
|
@@ -2045,6 +2047,47 @@ declare namespace gapi.client {
|
|
|
2045
2047
|
string;
|
|
2046
2048
|
};
|
|
2047
2049
|
}
|
|
2050
|
+
interface BackendServiceListUsable {
|
|
2051
|
+
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
2052
|
+
id?:
|
|
2053
|
+
string;
|
|
2054
|
+
/** [Output Only] Type of resource. Always compute#usableBackendServiceList for lists of usable backend services. */
|
|
2055
|
+
kind?:
|
|
2056
|
+
string;
|
|
2057
|
+
/**
|
|
2058
|
+
* [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
|
|
2059
|
+
* query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
|
|
2060
|
+
*/
|
|
2061
|
+
nextPageToken?:
|
|
2062
|
+
string;
|
|
2063
|
+
/** [Output Only] Server-defined URL for this resource. */
|
|
2064
|
+
selfLink?:
|
|
2065
|
+
string;
|
|
2066
|
+
/** [Output Only] Informational warning message. */
|
|
2067
|
+
warning?:
|
|
2068
|
+
{
|
|
2069
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
2070
|
+
code?:
|
|
2071
|
+
string;
|
|
2072
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
2073
|
+
data?:
|
|
2074
|
+
Array<{
|
|
2075
|
+
/**
|
|
2076
|
+
* [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
|
|
2077
|
+
* 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,
|
|
2078
|
+
* or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
|
|
2079
|
+
*/
|
|
2080
|
+
key?:
|
|
2081
|
+
string;
|
|
2082
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
2083
|
+
value?:
|
|
2084
|
+
string;
|
|
2085
|
+
}>;
|
|
2086
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
2087
|
+
message?:
|
|
2088
|
+
string;
|
|
2089
|
+
};
|
|
2090
|
+
}
|
|
2048
2091
|
interface BackendServiceLocalityLoadBalancingPolicyConfig {
|
|
2049
2092
|
customPolicy?:
|
|
2050
2093
|
BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy;
|
|
@@ -2133,6 +2176,10 @@ declare namespace gapi.client {
|
|
|
2133
2176
|
string;
|
|
2134
2177
|
};
|
|
2135
2178
|
}
|
|
2179
|
+
interface BackendServiceUsedBy {
|
|
2180
|
+
reference?:
|
|
2181
|
+
string;
|
|
2182
|
+
}
|
|
2136
2183
|
interface BfdPacket {
|
|
2137
2184
|
/** The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880 */
|
|
2138
2185
|
authenticationPresent?:
|
|
@@ -2914,6 +2961,13 @@ declare namespace gapi.client {
|
|
|
2914
2961
|
RolloutPolicy;
|
|
2915
2962
|
}
|
|
2916
2963
|
interface Disk {
|
|
2964
|
+
/**
|
|
2965
|
+
* The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the
|
|
2966
|
+
* disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid
|
|
2967
|
+
* for Hyperdisk disk types.
|
|
2968
|
+
*/
|
|
2969
|
+
accessMode?:
|
|
2970
|
+
string;
|
|
2917
2971
|
/** The architecture of the disk. Valid values are ARM64 or X86_64. */
|
|
2918
2972
|
architecture?:
|
|
2919
2973
|
string;
|
|
@@ -4372,6 +4426,13 @@ declare namespace gapi.client {
|
|
|
4372
4426
|
*/
|
|
4373
4427
|
IPAddress?:
|
|
4374
4428
|
string;
|
|
4429
|
+
/**
|
|
4430
|
+
* Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating
|
|
4431
|
+
* an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/ project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name
|
|
4432
|
+
* Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
|
|
4433
|
+
*/
|
|
4434
|
+
ipCollection?:
|
|
4435
|
+
string;
|
|
4375
4436
|
/**
|
|
4376
4437
|
* The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for
|
|
4377
4438
|
* different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends).
|
|
@@ -4435,7 +4496,10 @@ declare namespace gapi.client {
|
|
|
4435
4496
|
*/
|
|
4436
4497
|
networkTier?:
|
|
4437
4498
|
string;
|
|
4438
|
-
/**
|
|
4499
|
+
/**
|
|
4500
|
+
* This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field. Once set, this field
|
|
4501
|
+
* is not mutable.
|
|
4502
|
+
*/
|
|
4439
4503
|
noAutomateDnsZone?:
|
|
4440
4504
|
boolean;
|
|
4441
4505
|
/**
|
|
@@ -4507,7 +4571,8 @@ declare namespace gapi.client {
|
|
|
4507
4571
|
* rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the "Target" column
|
|
4508
4572
|
* in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that
|
|
4509
4573
|
* forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For
|
|
4510
|
-
* Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment.
|
|
4574
|
+
* Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service
|
|
4575
|
+
* attachment.
|
|
4511
4576
|
*/
|
|
4512
4577
|
target?:
|
|
4513
4578
|
string;
|
|
@@ -4856,7 +4921,7 @@ declare namespace gapi.client {
|
|
|
4856
4921
|
};
|
|
4857
4922
|
}
|
|
4858
4923
|
interface FutureReservationStatus {
|
|
4859
|
-
/** The current status of the requested amendment. */
|
|
4924
|
+
/** [Output Only] The current status of the requested amendment. */
|
|
4860
4925
|
amendmentStatus?:
|
|
4861
4926
|
string;
|
|
4862
4927
|
/** Fully qualified urls of the automatically created reservations at start_time. */
|
|
@@ -4866,8 +4931,8 @@ declare namespace gapi.client {
|
|
|
4866
4931
|
fulfilledCount?:
|
|
4867
4932
|
string;
|
|
4868
4933
|
/**
|
|
4869
|
-
* This field represents the future reservation before an amendment was requested. If the amendment is declined, the Future Reservation will be reverted to the last known
|
|
4870
|
-
* The last known good state is not set when updating a future reservation whose Procurement Status is DRAFTING.
|
|
4934
|
+
* [Output Only] This field represents the future reservation before an amendment was requested. If the amendment is declined, the Future Reservation will be reverted to the last known
|
|
4935
|
+
* good state. The last known good state is not set when updating a future reservation whose Procurement Status is DRAFTING.
|
|
4871
4936
|
*/
|
|
4872
4937
|
lastKnownGoodState?:
|
|
4873
4938
|
FutureReservationStatusLastKnownGoodState;
|
|
@@ -4884,26 +4949,29 @@ declare namespace gapi.client {
|
|
|
4884
4949
|
FutureReservationStatusSpecificSKUProperties;
|
|
4885
4950
|
}
|
|
4886
4951
|
interface FutureReservationStatusLastKnownGoodState {
|
|
4887
|
-
/** The description of the FutureReservation before an amendment was requested. */
|
|
4952
|
+
/** [Output Only] The description of the FutureReservation before an amendment was requested. */
|
|
4888
4953
|
description?:
|
|
4889
4954
|
string;
|
|
4890
4955
|
futureReservationSpecs?:
|
|
4891
4956
|
FutureReservationStatusLastKnownGoodStateFutureReservationSpecs;
|
|
4892
|
-
/** The
|
|
4957
|
+
/** [Output Only] The lock time of the FutureReservation before an amendment was requested. */
|
|
4958
|
+
lockTime?:
|
|
4959
|
+
string;
|
|
4960
|
+
/** [Output Only] The name prefix of the Future Reservation before an amendment was requested. */
|
|
4893
4961
|
namePrefix?:
|
|
4894
4962
|
string;
|
|
4895
|
-
/** The status of the last known good state for the Future Reservation. */
|
|
4963
|
+
/** [Output Only] The status of the last known good state for the Future Reservation. */
|
|
4896
4964
|
procurementStatus?:
|
|
4897
4965
|
string;
|
|
4898
4966
|
}
|
|
4899
4967
|
interface FutureReservationStatusLastKnownGoodStateFutureReservationSpecs {
|
|
4900
|
-
/** The previous share settings of the Future Reservation. */
|
|
4968
|
+
/** [Output Only] The previous share settings of the Future Reservation. */
|
|
4901
4969
|
shareSettings?:
|
|
4902
4970
|
ShareSettings;
|
|
4903
|
-
/** The previous instance related properties of the Future Reservation. */
|
|
4971
|
+
/** [Output Only] The previous instance related properties of the Future Reservation. */
|
|
4904
4972
|
specificSkuProperties?:
|
|
4905
4973
|
FutureReservationSpecificSKUProperties;
|
|
4906
|
-
/** The previous time window of the Future Reservation. */
|
|
4974
|
+
/** [Output Only] The previous time window of the Future Reservation. */
|
|
4907
4975
|
timeWindow?:
|
|
4908
4976
|
FutureReservationTimeWindow;
|
|
4909
4977
|
}
|
|
@@ -8179,10 +8247,21 @@ declare namespace gapi.client {
|
|
|
8179
8247
|
/** [Output Only] Type of the resource. Always compute#instance_settings for instance settings. */
|
|
8180
8248
|
kind?:
|
|
8181
8249
|
string;
|
|
8250
|
+
/** The metadata key/value pairs assigned to all the instances in the corresponding scope. */
|
|
8251
|
+
metadata?:
|
|
8252
|
+
InstanceSettingsMetadata;
|
|
8182
8253
|
/** [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
|
|
8183
8254
|
zone?:
|
|
8184
8255
|
string;
|
|
8185
8256
|
}
|
|
8257
|
+
interface InstanceSettingsMetadata {
|
|
8258
|
+
/** [Output Only] Type of the resource. Always compute#metadata for metadata. */
|
|
8259
|
+
kind?:
|
|
8260
|
+
string;
|
|
8261
|
+
/** A metadata key/value map. The total size of all keys and values must be less than 512KB. */
|
|
8262
|
+
metadatas?:
|
|
8263
|
+
{ [P in string]: string };
|
|
8264
|
+
}
|
|
8186
8265
|
interface InstancesGetEffectiveFirewallsResponse {
|
|
8187
8266
|
/** Effective firewalls from firewall policies. */
|
|
8188
8267
|
firewallPolicys?:
|
|
@@ -10430,6 +10509,9 @@ declare namespace gapi.client {
|
|
|
10430
10509
|
/** [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created. */
|
|
10431
10510
|
instance?:
|
|
10432
10511
|
string;
|
|
10512
|
+
/** [Output Only] The overrides to instance properties resulting from InstanceFlexibilityPolicy. */
|
|
10513
|
+
instanceFlexibilityOverride?:
|
|
10514
|
+
ManagedInstanceInstanceFlexibilityOverride;
|
|
10433
10515
|
/** [Output Only] Health state of the instance per health-check. */
|
|
10434
10516
|
instanceHealth?:
|
|
10435
10517
|
ManagedInstanceInstanceHealth[];
|
|
@@ -10466,6 +10548,14 @@ declare namespace gapi.client {
|
|
|
10466
10548
|
revision?:
|
|
10467
10549
|
string;
|
|
10468
10550
|
}
|
|
10551
|
+
interface ManagedInstanceInstanceFlexibilityOverride {
|
|
10552
|
+
/** The machine type to be used for this instance. */
|
|
10553
|
+
machineType?:
|
|
10554
|
+
string;
|
|
10555
|
+
/** The provisioning model to be used for this instance. */
|
|
10556
|
+
provisioningModel?:
|
|
10557
|
+
string;
|
|
10558
|
+
}
|
|
10469
10559
|
interface ManagedInstanceInstanceHealth {
|
|
10470
10560
|
/** [Output Only] The current detailed instance health state. */
|
|
10471
10561
|
detailedHealthState?:
|
|
@@ -12649,6 +12739,7 @@ declare namespace gapi.client {
|
|
|
12649
12739
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
12650
12740
|
selfLinkWithId?:
|
|
12651
12741
|
string;
|
|
12742
|
+
/** [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state. */
|
|
12652
12743
|
setCommonInstanceMetadataOperationMetadata?:
|
|
12653
12744
|
SetCommonInstanceMetadataOperationMetadata;
|
|
12654
12745
|
/** [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. */
|
|
@@ -12669,7 +12760,7 @@ declare namespace gapi.client {
|
|
|
12669
12760
|
*/
|
|
12670
12761
|
targetLink?:
|
|
12671
12762
|
string;
|
|
12672
|
-
/** [Output Only] User who requested the operation, for example: `user@example.com`. */
|
|
12763
|
+
/** [Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. */
|
|
12673
12764
|
user?:
|
|
12674
12765
|
string;
|
|
12675
12766
|
/** [Output Only] If warning messages are generated during processing of the operation, this field will be populated. */
|
|
@@ -13701,6 +13792,12 @@ declare namespace gapi.client {
|
|
|
13701
13792
|
string;
|
|
13702
13793
|
}
|
|
13703
13794
|
interface PublicDelegatedPrefix {
|
|
13795
|
+
/**
|
|
13796
|
+
* The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes
|
|
13797
|
+
* either, and it always defaults to 32.
|
|
13798
|
+
*/
|
|
13799
|
+
allocatablePrefixLength?:
|
|
13800
|
+
number;
|
|
13704
13801
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
13705
13802
|
creationTimestamp?:
|
|
13706
13803
|
string;
|
|
@@ -13726,6 +13823,9 @@ declare namespace gapi.client {
|
|
|
13726
13823
|
/** [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes. */
|
|
13727
13824
|
kind?:
|
|
13728
13825
|
string;
|
|
13826
|
+
/** The public delegated prefix mode for IPv6 only. */
|
|
13827
|
+
mode?:
|
|
13828
|
+
string;
|
|
13729
13829
|
/**
|
|
13730
13830
|
* Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63
|
|
13731
13831
|
* 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
|
|
@@ -13880,6 +13980,9 @@ declare namespace gapi.client {
|
|
|
13880
13980
|
};
|
|
13881
13981
|
}
|
|
13882
13982
|
interface PublicDelegatedPrefixPublicDelegatedSubPrefix {
|
|
13983
|
+
/** The allocatable prefix length supported by this PublicDelegatedSubPrefix. */
|
|
13984
|
+
allocatablePrefixLength?:
|
|
13985
|
+
number;
|
|
13883
13986
|
/** Name of the project scoping this PublicDelegatedSubPrefix. */
|
|
13884
13987
|
delegateeProject?:
|
|
13885
13988
|
string;
|
|
@@ -13892,6 +13995,9 @@ declare namespace gapi.client {
|
|
|
13892
13995
|
/** Whether the sub prefix is delegated to create Address resources in the delegatee project. */
|
|
13893
13996
|
isAddress?:
|
|
13894
13997
|
boolean;
|
|
13998
|
+
/** The PublicDelegatedSubPrefix mode for IPv6 only. */
|
|
13999
|
+
mode?:
|
|
14000
|
+
string;
|
|
13895
14001
|
/** The name of the sub public delegated prefix. */
|
|
13896
14002
|
name?:
|
|
13897
14003
|
string;
|
|
@@ -17609,14 +17715,18 @@ declare namespace gapi.client {
|
|
|
17609
17715
|
string;
|
|
17610
17716
|
}
|
|
17611
17717
|
interface SetCommonInstanceMetadataOperationMetadata {
|
|
17718
|
+
/** [Output Only] The client operation id. */
|
|
17612
17719
|
clientOperationId?:
|
|
17613
17720
|
string;
|
|
17721
|
+
/** [Output Only] Status information per location (location name is key). Example key: zones/us-central1-a */
|
|
17614
17722
|
perLocationOperations?:
|
|
17615
17723
|
{ [P in string]: SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo };
|
|
17616
17724
|
}
|
|
17617
17725
|
interface SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo {
|
|
17726
|
+
/** [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated. */
|
|
17618
17727
|
error?:
|
|
17619
17728
|
Status;
|
|
17729
|
+
/** [Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. */
|
|
17620
17730
|
state?:
|
|
17621
17731
|
string;
|
|
17622
17732
|
}
|
|
@@ -60635,6 +60745,87 @@ declare namespace gapi.client {
|
|
|
60635
60745
|
userIp?:
|
|
60636
60746
|
string;
|
|
60637
60747
|
}): Request<BackendServiceList>;
|
|
60748
|
+
/** Retrieves an aggregated list of all usable backend services in the specified project in the given region. */
|
|
60749
|
+
listUsable(request?: {
|
|
60750
|
+
/** V1 error format. */
|
|
60751
|
+
"$.xgafv"?:
|
|
60752
|
+
string;
|
|
60753
|
+
/** OAuth access token. */
|
|
60754
|
+
access_token?:
|
|
60755
|
+
string;
|
|
60756
|
+
/** Data format for response. */
|
|
60757
|
+
alt?:
|
|
60758
|
+
string;
|
|
60759
|
+
/** JSONP */
|
|
60760
|
+
callback?:
|
|
60761
|
+
string;
|
|
60762
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
60763
|
+
fields?:
|
|
60764
|
+
string;
|
|
60765
|
+
/**
|
|
60766
|
+
* A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
|
|
60767
|
+
* and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want
|
|
60768
|
+
* 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
|
|
60769
|
+
* Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match
|
|
60770
|
+
* substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects
|
|
60771
|
+
* with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
|
|
60772
|
+
* 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
|
|
60773
|
+
* separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
|
60774
|
+
* expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
|
|
60775
|
+
* (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
|
|
60776
|
+
* with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
|
|
60777
|
+
* 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
|
|
60778
|
+
* must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
|
|
60779
|
+
*/
|
|
60780
|
+
filter?:
|
|
60781
|
+
string;
|
|
60782
|
+
/** 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. */
|
|
60783
|
+
key?:
|
|
60784
|
+
string;
|
|
60785
|
+
/**
|
|
60786
|
+
* 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
|
|
60787
|
+
* be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
60788
|
+
*/
|
|
60789
|
+
maxResults?:
|
|
60790
|
+
number;
|
|
60791
|
+
/** OAuth 2.0 token for the current user. */
|
|
60792
|
+
oauth_token?:
|
|
60793
|
+
string;
|
|
60794
|
+
/**
|
|
60795
|
+
* 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
|
|
60796
|
+
* on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
|
|
60797
|
+
* 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.
|
|
60798
|
+
*/
|
|
60799
|
+
orderBy?:
|
|
60800
|
+
string;
|
|
60801
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
60802
|
+
pageToken?:
|
|
60803
|
+
string;
|
|
60804
|
+
/** Returns response with indentations and line breaks. */
|
|
60805
|
+
prettyPrint?:
|
|
60806
|
+
boolean;
|
|
60807
|
+
/** Project ID for this request. */
|
|
60808
|
+
project:
|
|
60809
|
+
string;
|
|
60810
|
+
/** 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. */
|
|
60811
|
+
quotaUser?:
|
|
60812
|
+
string;
|
|
60813
|
+
/** Name of the region scoping this request. It must be a string that meets the requirements in RFC1035. */
|
|
60814
|
+
region:
|
|
60815
|
+
string;
|
|
60816
|
+
/** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
|
|
60817
|
+
returnPartialSuccess?:
|
|
60818
|
+
boolean;
|
|
60819
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
60820
|
+
upload_protocol?:
|
|
60821
|
+
string;
|
|
60822
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
60823
|
+
uploadType?:
|
|
60824
|
+
string;
|
|
60825
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
60826
|
+
userIp?:
|
|
60827
|
+
string;
|
|
60828
|
+
}): Request<BackendServiceListUsable>;
|
|
60638
60829
|
/**
|
|
60639
60830
|
* Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH
|
|
60640
60831
|
* semantics and uses the JSON merge patch format and processing rules.
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -2551,6 +2551,11 @@ Retrieves the list of regional BackendService resources available to the specifi
|
|
|
2551
2551
|
*/
|
|
2552
2552
|
await gapi.client.compute.regionBackendServices.list({ project: "project", region: "region", });
|
|
2553
2553
|
|
|
2554
|
+
/*
|
|
2555
|
+
Retrieves an aggregated list of all usable backend services in the specified project in the given region.
|
|
2556
|
+
*/
|
|
2557
|
+
await gapi.client.compute.regionBackendServices.listUsable({ project: "project", region: "region", });
|
|
2558
|
+
|
|
2554
2559
|
/*
|
|
2555
2560
|
Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
|
|
2556
2561
|
*/
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230725
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1245,6 +1245,11 @@ gapi.load('client', async () => {
|
|
|
1245
1245
|
subsetSize: 42,
|
|
1246
1246
|
},
|
|
1247
1247
|
timeoutSec: 42,
|
|
1248
|
+
usedBys: [
|
|
1249
|
+
{
|
|
1250
|
+
reference: "Test string",
|
|
1251
|
+
}
|
|
1252
|
+
],
|
|
1248
1253
|
vpcNetworkScope: "Test string",
|
|
1249
1254
|
});
|
|
1250
1255
|
/** Retrieves the list of BackendService resources available to the specified project. */
|
|
@@ -1684,6 +1689,11 @@ gapi.load('client', async () => {
|
|
|
1684
1689
|
subsetSize: 42,
|
|
1685
1690
|
},
|
|
1686
1691
|
timeoutSec: 42,
|
|
1692
|
+
usedBys: [
|
|
1693
|
+
{
|
|
1694
|
+
reference: "Test string",
|
|
1695
|
+
}
|
|
1696
|
+
],
|
|
1687
1697
|
vpcNetworkScope: "Test string",
|
|
1688
1698
|
});
|
|
1689
1699
|
/** Sets the edge security policy for the specified backend service. */
|
|
@@ -2243,6 +2253,11 @@ gapi.load('client', async () => {
|
|
|
2243
2253
|
subsetSize: 42,
|
|
2244
2254
|
},
|
|
2245
2255
|
timeoutSec: 42,
|
|
2256
|
+
usedBys: [
|
|
2257
|
+
{
|
|
2258
|
+
reference: "Test string",
|
|
2259
|
+
}
|
|
2260
|
+
],
|
|
2246
2261
|
vpcNetworkScope: "Test string",
|
|
2247
2262
|
});
|
|
2248
2263
|
/** Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. */
|
|
@@ -2390,6 +2405,7 @@ gapi.load('client', async () => {
|
|
|
2390
2405
|
sourceImage: "Test string",
|
|
2391
2406
|
zone: "Test string",
|
|
2392
2407
|
}, {
|
|
2408
|
+
accessMode: "Test string",
|
|
2393
2409
|
architecture: "Test string",
|
|
2394
2410
|
asyncPrimaryDisk: {
|
|
2395
2411
|
consistencyGroupPolicy: "Test string",
|
|
@@ -2706,6 +2722,7 @@ gapi.load('client', async () => {
|
|
|
2706
2722
|
updateMask: "Test string",
|
|
2707
2723
|
zone: "Test string",
|
|
2708
2724
|
}, {
|
|
2725
|
+
accessMode: "Test string",
|
|
2709
2726
|
architecture: "Test string",
|
|
2710
2727
|
asyncPrimaryDisk: {
|
|
2711
2728
|
consistencyGroupPolicy: "Test string",
|
|
@@ -3722,6 +3739,7 @@ gapi.load('client', async () => {
|
|
|
3722
3739
|
fingerprint: "Test string",
|
|
3723
3740
|
id: "Test string",
|
|
3724
3741
|
IPAddress: "Test string",
|
|
3742
|
+
ipCollection: "Test string",
|
|
3725
3743
|
IPProtocol: "Test string",
|
|
3726
3744
|
ipVersion: "Test string",
|
|
3727
3745
|
isMirroringCollector: true,
|
|
@@ -3800,6 +3818,7 @@ gapi.load('client', async () => {
|
|
|
3800
3818
|
fingerprint: "Test string",
|
|
3801
3819
|
id: "Test string",
|
|
3802
3820
|
IPAddress: "Test string",
|
|
3821
|
+
ipCollection: "Test string",
|
|
3803
3822
|
IPProtocol: "Test string",
|
|
3804
3823
|
ipVersion: "Test string",
|
|
3805
3824
|
isMirroringCollector: true,
|
|
@@ -4026,6 +4045,7 @@ gapi.load('client', async () => {
|
|
|
4026
4045
|
startTime: "Test string",
|
|
4027
4046
|
},
|
|
4028
4047
|
},
|
|
4048
|
+
lockTime: "Test string",
|
|
4029
4049
|
namePrefix: "Test string",
|
|
4030
4050
|
procurementStatus: "Test string",
|
|
4031
4051
|
},
|
|
@@ -4175,6 +4195,7 @@ gapi.load('client', async () => {
|
|
|
4175
4195
|
startTime: "Test string",
|
|
4176
4196
|
},
|
|
4177
4197
|
},
|
|
4198
|
+
lockTime: "Test string",
|
|
4178
4199
|
namePrefix: "Test string",
|
|
4179
4200
|
procurementStatus: "Test string",
|
|
4180
4201
|
},
|
|
@@ -4304,6 +4325,7 @@ gapi.load('client', async () => {
|
|
|
4304
4325
|
fingerprint: "Test string",
|
|
4305
4326
|
id: "Test string",
|
|
4306
4327
|
IPAddress: "Test string",
|
|
4328
|
+
ipCollection: "Test string",
|
|
4307
4329
|
IPProtocol: "Test string",
|
|
4308
4330
|
ipVersion: "Test string",
|
|
4309
4331
|
isMirroringCollector: true,
|
|
@@ -4380,6 +4402,7 @@ gapi.load('client', async () => {
|
|
|
4380
4402
|
fingerprint: "Test string",
|
|
4381
4403
|
id: "Test string",
|
|
4382
4404
|
IPAddress: "Test string",
|
|
4405
|
+
ipCollection: "Test string",
|
|
4383
4406
|
IPProtocol: "Test string",
|
|
4384
4407
|
ipVersion: "Test string",
|
|
4385
4408
|
isMirroringCollector: true,
|
|
@@ -4654,6 +4677,7 @@ gapi.load('client', async () => {
|
|
|
4654
4677
|
project: "Test string",
|
|
4655
4678
|
requestId: "Test string",
|
|
4656
4679
|
}, {
|
|
4680
|
+
allocatablePrefixLength: 42,
|
|
4657
4681
|
creationTimestamp: "Test string",
|
|
4658
4682
|
description: "Test string",
|
|
4659
4683
|
fingerprint: "Test string",
|
|
@@ -4661,14 +4685,17 @@ gapi.load('client', async () => {
|
|
|
4661
4685
|
ipCidrRange: "Test string",
|
|
4662
4686
|
isLiveMigration: true,
|
|
4663
4687
|
kind: "Test string",
|
|
4688
|
+
mode: "Test string",
|
|
4664
4689
|
name: "Test string",
|
|
4665
4690
|
parentPrefix: "Test string",
|
|
4666
4691
|
publicDelegatedSubPrefixs: [
|
|
4667
4692
|
{
|
|
4693
|
+
allocatablePrefixLength: 42,
|
|
4668
4694
|
delegateeProject: "Test string",
|
|
4669
4695
|
description: "Test string",
|
|
4670
4696
|
ipCidrRange: "Test string",
|
|
4671
4697
|
isAddress: true,
|
|
4698
|
+
mode: "Test string",
|
|
4672
4699
|
name: "Test string",
|
|
4673
4700
|
region: "Test string",
|
|
4674
4701
|
status: "Test string",
|
|
@@ -4697,6 +4724,7 @@ gapi.load('client', async () => {
|
|
|
4697
4724
|
publicDelegatedPrefix: "Test string",
|
|
4698
4725
|
requestId: "Test string",
|
|
4699
4726
|
}, {
|
|
4727
|
+
allocatablePrefixLength: 42,
|
|
4700
4728
|
creationTimestamp: "Test string",
|
|
4701
4729
|
description: "Test string",
|
|
4702
4730
|
fingerprint: "Test string",
|
|
@@ -4704,14 +4732,17 @@ gapi.load('client', async () => {
|
|
|
4704
4732
|
ipCidrRange: "Test string",
|
|
4705
4733
|
isLiveMigration: true,
|
|
4706
4734
|
kind: "Test string",
|
|
4735
|
+
mode: "Test string",
|
|
4707
4736
|
name: "Test string",
|
|
4708
4737
|
parentPrefix: "Test string",
|
|
4709
4738
|
publicDelegatedSubPrefixs: [
|
|
4710
4739
|
{
|
|
4740
|
+
allocatablePrefixLength: 42,
|
|
4711
4741
|
delegateeProject: "Test string",
|
|
4712
4742
|
description: "Test string",
|
|
4713
4743
|
ipCidrRange: "Test string",
|
|
4714
4744
|
isAddress: true,
|
|
4745
|
+
mode: "Test string",
|
|
4715
4746
|
name: "Test string",
|
|
4716
4747
|
region: "Test string",
|
|
4717
4748
|
status: "Test string",
|
|
@@ -8905,6 +8936,12 @@ gapi.load('client', async () => {
|
|
|
8905
8936
|
email: "Test string",
|
|
8906
8937
|
fingerprint: "Test string",
|
|
8907
8938
|
kind: "Test string",
|
|
8939
|
+
metadata: {
|
|
8940
|
+
kind: "Test string",
|
|
8941
|
+
metadatas: {
|
|
8942
|
+
A: "Test string"
|
|
8943
|
+
},
|
|
8944
|
+
},
|
|
8908
8945
|
zone: "Test string",
|
|
8909
8946
|
});
|
|
8910
8947
|
/** Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. */
|
|
@@ -14432,6 +14469,7 @@ gapi.load('client', async () => {
|
|
|
14432
14469
|
region: "Test string",
|
|
14433
14470
|
requestId: "Test string",
|
|
14434
14471
|
}, {
|
|
14472
|
+
allocatablePrefixLength: 42,
|
|
14435
14473
|
creationTimestamp: "Test string",
|
|
14436
14474
|
description: "Test string",
|
|
14437
14475
|
fingerprint: "Test string",
|
|
@@ -14439,14 +14477,17 @@ gapi.load('client', async () => {
|
|
|
14439
14477
|
ipCidrRange: "Test string",
|
|
14440
14478
|
isLiveMigration: true,
|
|
14441
14479
|
kind: "Test string",
|
|
14480
|
+
mode: "Test string",
|
|
14442
14481
|
name: "Test string",
|
|
14443
14482
|
parentPrefix: "Test string",
|
|
14444
14483
|
publicDelegatedSubPrefixs: [
|
|
14445
14484
|
{
|
|
14485
|
+
allocatablePrefixLength: 42,
|
|
14446
14486
|
delegateeProject: "Test string",
|
|
14447
14487
|
description: "Test string",
|
|
14448
14488
|
ipCidrRange: "Test string",
|
|
14449
14489
|
isAddress: true,
|
|
14490
|
+
mode: "Test string",
|
|
14450
14491
|
name: "Test string",
|
|
14451
14492
|
region: "Test string",
|
|
14452
14493
|
status: "Test string",
|
|
@@ -14474,6 +14515,7 @@ gapi.load('client', async () => {
|
|
|
14474
14515
|
region: "Test string",
|
|
14475
14516
|
requestId: "Test string",
|
|
14476
14517
|
}, {
|
|
14518
|
+
allocatablePrefixLength: 42,
|
|
14477
14519
|
creationTimestamp: "Test string",
|
|
14478
14520
|
description: "Test string",
|
|
14479
14521
|
fingerprint: "Test string",
|
|
@@ -14481,14 +14523,17 @@ gapi.load('client', async () => {
|
|
|
14481
14523
|
ipCidrRange: "Test string",
|
|
14482
14524
|
isLiveMigration: true,
|
|
14483
14525
|
kind: "Test string",
|
|
14526
|
+
mode: "Test string",
|
|
14484
14527
|
name: "Test string",
|
|
14485
14528
|
parentPrefix: "Test string",
|
|
14486
14529
|
publicDelegatedSubPrefixs: [
|
|
14487
14530
|
{
|
|
14531
|
+
allocatablePrefixLength: 42,
|
|
14488
14532
|
delegateeProject: "Test string",
|
|
14489
14533
|
description: "Test string",
|
|
14490
14534
|
ipCidrRange: "Test string",
|
|
14491
14535
|
isAddress: true,
|
|
14536
|
+
mode: "Test string",
|
|
14492
14537
|
name: "Test string",
|
|
14493
14538
|
region: "Test string",
|
|
14494
14539
|
status: "Test string",
|
|
@@ -15234,6 +15279,11 @@ gapi.load('client', async () => {
|
|
|
15234
15279
|
subsetSize: 42,
|
|
15235
15280
|
},
|
|
15236
15281
|
timeoutSec: 42,
|
|
15282
|
+
usedBys: [
|
|
15283
|
+
{
|
|
15284
|
+
reference: "Test string",
|
|
15285
|
+
}
|
|
15286
|
+
],
|
|
15237
15287
|
vpcNetworkScope: "Test string",
|
|
15238
15288
|
});
|
|
15239
15289
|
/** Retrieves the list of regional BackendService resources available to the specified project in the given region. */
|
|
@@ -15246,6 +15296,16 @@ gapi.load('client', async () => {
|
|
|
15246
15296
|
region: "Test string",
|
|
15247
15297
|
returnPartialSuccess: true,
|
|
15248
15298
|
});
|
|
15299
|
+
/** Retrieves an aggregated list of all usable backend services in the specified project in the given region. */
|
|
15300
|
+
await gapi.client.compute.regionBackendServices.listUsable({
|
|
15301
|
+
filter: "Test string",
|
|
15302
|
+
maxResults: 42,
|
|
15303
|
+
orderBy: "Test string",
|
|
15304
|
+
pageToken: "Test string",
|
|
15305
|
+
project: "Test string",
|
|
15306
|
+
region: "Test string",
|
|
15307
|
+
returnPartialSuccess: true,
|
|
15308
|
+
});
|
|
15249
15309
|
/**
|
|
15250
15310
|
* Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH
|
|
15251
15311
|
* semantics and uses the JSON merge patch format and processing rules.
|
|
@@ -15675,6 +15735,11 @@ gapi.load('client', async () => {
|
|
|
15675
15735
|
subsetSize: 42,
|
|
15676
15736
|
},
|
|
15677
15737
|
timeoutSec: 42,
|
|
15738
|
+
usedBys: [
|
|
15739
|
+
{
|
|
15740
|
+
reference: "Test string",
|
|
15741
|
+
}
|
|
15742
|
+
],
|
|
15678
15743
|
vpcNetworkScope: "Test string",
|
|
15679
15744
|
});
|
|
15680
15745
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. */
|
|
@@ -16230,6 +16295,11 @@ gapi.load('client', async () => {
|
|
|
16230
16295
|
subsetSize: 42,
|
|
16231
16296
|
},
|
|
16232
16297
|
timeoutSec: 42,
|
|
16298
|
+
usedBys: [
|
|
16299
|
+
{
|
|
16300
|
+
reference: "Test string",
|
|
16301
|
+
}
|
|
16302
|
+
],
|
|
16233
16303
|
vpcNetworkScope: "Test string",
|
|
16234
16304
|
});
|
|
16235
16305
|
/** Retrieves an aggregated list of commitments by region. */
|
|
@@ -16818,6 +16888,7 @@ gapi.load('client', async () => {
|
|
|
16818
16888
|
requestId: "Test string",
|
|
16819
16889
|
sourceImage: "Test string",
|
|
16820
16890
|
}, {
|
|
16891
|
+
accessMode: "Test string",
|
|
16821
16892
|
architecture: "Test string",
|
|
16822
16893
|
asyncPrimaryDisk: {
|
|
16823
16894
|
consistencyGroupPolicy: "Test string",
|
|
@@ -17134,6 +17205,7 @@ gapi.load('client', async () => {
|
|
|
17134
17205
|
requestId: "Test string",
|
|
17135
17206
|
updateMask: "Test string",
|
|
17136
17207
|
}, {
|
|
17208
|
+
accessMode: "Test string",
|
|
17137
17209
|
architecture: "Test string",
|
|
17138
17210
|
asyncPrimaryDisk: {
|
|
17139
17211
|
consistencyGroupPolicy: "Test string",
|