@maxim_mazurok/gapi.client.compute-alpha 0.0.20220823 → 0.0.20220831
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 +571 -34
- package/package.json +1 -1
- package/readme.md +40 -0
- package/tests.ts +221 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220831
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -232,10 +232,9 @@ declare namespace gapi.client {
|
|
|
232
232
|
* The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar
|
|
233
233
|
* resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) -
|
|
234
234
|
* VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating
|
|
235
|
-
* addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
* internal addresses can use this purpose.
|
|
235
|
+
* addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over
|
|
236
|
+
* Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding
|
|
237
|
+
* rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
|
|
239
238
|
*/
|
|
240
239
|
purpose?: string;
|
|
241
240
|
/**
|
|
@@ -1551,11 +1550,21 @@ declare namespace gapi.client {
|
|
|
1551
1550
|
name?: string;
|
|
1552
1551
|
}
|
|
1553
1552
|
interface BackendServiceLogConfig {
|
|
1554
|
-
/**
|
|
1553
|
+
/** Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. */
|
|
1555
1554
|
enable?: boolean;
|
|
1555
|
+
/**
|
|
1556
|
+
* This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs.
|
|
1557
|
+
* One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
|
|
1558
|
+
*/
|
|
1559
|
+
optional?: string;
|
|
1560
|
+
/**
|
|
1561
|
+
* This field can only be specified if logging is enabled for this backend service and "logConfig.optional" was set to CUSTOM. Contains a list of optional fields you want to include in
|
|
1562
|
+
* the logs. For example: serverInstance, serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace
|
|
1563
|
+
*/
|
|
1564
|
+
optionalFields?: string[];
|
|
1556
1565
|
/**
|
|
1557
1566
|
* This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load
|
|
1558
|
-
* balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is
|
|
1567
|
+
* balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
|
|
1559
1568
|
*/
|
|
1560
1569
|
sampleRate?: number;
|
|
1561
1570
|
}
|
|
@@ -1679,17 +1688,18 @@ declare namespace gapi.client {
|
|
|
1679
1688
|
/**
|
|
1680
1689
|
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
|
|
1681
1690
|
* the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
|
|
1682
|
-
* account.
|
|
1683
|
-
*
|
|
1684
|
-
*
|
|
1685
|
-
* `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
1686
|
-
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
1687
|
-
* `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
|
|
1688
|
-
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
|
|
1689
|
-
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
|
|
1690
|
-
* account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
1691
|
-
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
|
|
1692
|
-
* the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
|
|
1691
|
+
* account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific
|
|
1692
|
+
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
1693
|
+
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
1694
|
+
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
1695
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
1696
|
+
* identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
|
|
1697
|
+
* `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
|
|
1698
|
+
* a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
|
|
1699
|
+
* reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
1700
|
+
* identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
|
|
1701
|
+
* `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
|
|
1702
|
+
* example, `google.com` or `example.com`.
|
|
1693
1703
|
*/
|
|
1694
1704
|
members?: string[];
|
|
1695
1705
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
@@ -2982,9 +2992,9 @@ declare namespace gapi.client {
|
|
|
2982
2992
|
description?: string;
|
|
2983
2993
|
/**
|
|
2984
2994
|
* Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is
|
|
2985
|
-
* created. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with
|
|
2986
|
-
* and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase
|
|
2987
|
-
* letter, or digit, except the last character, which cannot be a dash.
|
|
2995
|
+
* created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with
|
|
2996
|
+
* 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
|
|
2997
|
+
* letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
|
2988
2998
|
*/
|
|
2989
2999
|
displayName?: string;
|
|
2990
3000
|
/**
|
|
@@ -2997,9 +3007,9 @@ declare namespace gapi.client {
|
|
|
2997
3007
|
id?: string;
|
|
2998
3008
|
/** [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies */
|
|
2999
3009
|
kind?: string;
|
|
3000
|
-
/**
|
|
3010
|
+
/** Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by GCP which uniquely identifies the Organization Firewall Policy. */
|
|
3001
3011
|
name?: string;
|
|
3002
|
-
/** [Output Only] The parent of the firewall policy. */
|
|
3012
|
+
/** [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies. */
|
|
3003
3013
|
parent?: string;
|
|
3004
3014
|
/**
|
|
3005
3015
|
* [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP
|
|
@@ -3018,10 +3028,10 @@ declare namespace gapi.client {
|
|
|
3018
3028
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
3019
3029
|
selfLinkWithId?: string;
|
|
3020
3030
|
/**
|
|
3021
|
-
* User-provided name of the Organization firewall
|
|
3022
|
-
* cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be
|
|
3023
|
-
* `[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
|
|
3024
|
-
* character, which cannot be a dash.
|
|
3031
|
+
* User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to
|
|
3032
|
+
* network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be
|
|
3033
|
+
* 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
|
|
3034
|
+
* dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
|
3025
3035
|
*/
|
|
3026
3036
|
shortName?: string;
|
|
3027
3037
|
/**
|
|
@@ -6487,8 +6497,7 @@ declare namespace gapi.client {
|
|
|
6487
6497
|
* Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments.
|
|
6488
6498
|
* Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from,
|
|
6489
6499
|
* such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs
|
|
6490
|
-
* cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *
|
|
6491
|
-
* Not currently available publicly.
|
|
6500
|
+
* cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option.
|
|
6492
6501
|
*/
|
|
6493
6502
|
encryption?: string;
|
|
6494
6503
|
/** [Output Only] Google reference ID, to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. [Deprecated] This field is not used. */
|
|
@@ -7789,6 +7798,145 @@ declare namespace gapi.client {
|
|
|
7789
7798
|
/** [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. */
|
|
7790
7799
|
subnetworks?: string[];
|
|
7791
7800
|
}
|
|
7801
|
+
interface NetworkAttachment {
|
|
7802
|
+
/** [Output Only] An array of connections for all the producers connected to this network attachment. */
|
|
7803
|
+
connectionEndpoints?: NetworkAttachmentConnectedEndpoint[];
|
|
7804
|
+
connectionPreference?: string;
|
|
7805
|
+
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
7806
|
+
creationTimestamp?: string;
|
|
7807
|
+
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
7808
|
+
description?: string;
|
|
7809
|
+
/**
|
|
7810
|
+
* [Output Only] Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in
|
|
7811
|
+
* order to patch.
|
|
7812
|
+
*/
|
|
7813
|
+
fingerprint?: string;
|
|
7814
|
+
/** [Output Only] The unique identifier for the resource type. The server generates this identifier. */
|
|
7815
|
+
id?: string;
|
|
7816
|
+
/** [Output Only] Type of the resource. */
|
|
7817
|
+
kind?: string;
|
|
7818
|
+
/**
|
|
7819
|
+
* 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
|
|
7820
|
+
* 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
|
|
7821
|
+
* dash, lowercase letter, or digit, except the last character, which cannot be a dash.
|
|
7822
|
+
*/
|
|
7823
|
+
name?: string;
|
|
7824
|
+
/** [Output Only] The URL of the network which the Network Attachment belongs to. */
|
|
7825
|
+
network?: string;
|
|
7826
|
+
/** Projects that are allowed to connect to this network attachment. The project can be specified using its id or number. */
|
|
7827
|
+
producerAcceptLists?: string[];
|
|
7828
|
+
/** Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number. */
|
|
7829
|
+
producerRejectLists?: string[];
|
|
7830
|
+
/**
|
|
7831
|
+
* [Output Only] URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It
|
|
7832
|
+
* is not settable as a field in the request body.
|
|
7833
|
+
*/
|
|
7834
|
+
region?: string;
|
|
7835
|
+
/** [Output Only] Server-defined URL for the resource. */
|
|
7836
|
+
selfLink?: string;
|
|
7837
|
+
/** [Output Only] Server-defined URL for this resource's resource id. */
|
|
7838
|
+
selfLinkWithId?: string;
|
|
7839
|
+
/** An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment. */
|
|
7840
|
+
subnetworks?: string[];
|
|
7841
|
+
}
|
|
7842
|
+
interface NetworkAttachmentAggregatedList {
|
|
7843
|
+
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
7844
|
+
id?: string;
|
|
7845
|
+
/** A list of NetworkAttachmentsScopedList resources. */
|
|
7846
|
+
items?: { [P in string]: NetworkAttachmentsScopedList };
|
|
7847
|
+
kind?: string;
|
|
7848
|
+
/**
|
|
7849
|
+
* [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
|
|
7850
|
+
* query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
|
|
7851
|
+
*/
|
|
7852
|
+
nextPageToken?: string;
|
|
7853
|
+
/** [Output Only] Server-defined URL for this resource. */
|
|
7854
|
+
selfLink?: string;
|
|
7855
|
+
/** [Output Only] Informational warning message. */
|
|
7856
|
+
warning?: {
|
|
7857
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
7858
|
+
code?: string;
|
|
7859
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
7860
|
+
data?: Array<{
|
|
7861
|
+
/**
|
|
7862
|
+
* [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,
|
|
7863
|
+
* 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
|
|
7864
|
+
* about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
|
|
7865
|
+
*/
|
|
7866
|
+
key?: string;
|
|
7867
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
7868
|
+
value?: string;
|
|
7869
|
+
}>;
|
|
7870
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
7871
|
+
message?: string;
|
|
7872
|
+
};
|
|
7873
|
+
}
|
|
7874
|
+
interface NetworkAttachmentConnectedEndpoint {
|
|
7875
|
+
/** The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless. */
|
|
7876
|
+
ipAddress?: string;
|
|
7877
|
+
/** The project id or number of the interface to which the IP was assigned. */
|
|
7878
|
+
projectIdOrNum?: string;
|
|
7879
|
+
/** Alias IP ranges from the same subnetwork */
|
|
7880
|
+
secondaryIpCidrRanges?: string[];
|
|
7881
|
+
/** The status of a connected endpoint to this network attachment. */
|
|
7882
|
+
status?: string;
|
|
7883
|
+
/** The subnetwork used to assign the IP to the producer instance network interface. */
|
|
7884
|
+
subnetwork?: string;
|
|
7885
|
+
}
|
|
7886
|
+
interface NetworkAttachmentList {
|
|
7887
|
+
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
7888
|
+
id?: string;
|
|
7889
|
+
/** A list of NetworkAttachment resources. */
|
|
7890
|
+
items?: NetworkAttachment[];
|
|
7891
|
+
kind?: string;
|
|
7892
|
+
/**
|
|
7893
|
+
* [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
|
|
7894
|
+
* query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
|
|
7895
|
+
*/
|
|
7896
|
+
nextPageToken?: string;
|
|
7897
|
+
/** [Output Only] Server-defined URL for this resource. */
|
|
7898
|
+
selfLink?: string;
|
|
7899
|
+
/** [Output Only] Informational warning message. */
|
|
7900
|
+
warning?: {
|
|
7901
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
7902
|
+
code?: string;
|
|
7903
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
7904
|
+
data?: Array<{
|
|
7905
|
+
/**
|
|
7906
|
+
* [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,
|
|
7907
|
+
* 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
|
|
7908
|
+
* about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
|
|
7909
|
+
*/
|
|
7910
|
+
key?: string;
|
|
7911
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
7912
|
+
value?: string;
|
|
7913
|
+
}>;
|
|
7914
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
7915
|
+
message?: string;
|
|
7916
|
+
};
|
|
7917
|
+
}
|
|
7918
|
+
interface NetworkAttachmentsScopedList {
|
|
7919
|
+
/** A list of NetworkAttachments contained in this scope. */
|
|
7920
|
+
networkAttachments?: NetworkAttachment[];
|
|
7921
|
+
/** Informational warning which replaces the list of network attachments when the list is empty. */
|
|
7922
|
+
warning?: {
|
|
7923
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
7924
|
+
code?: string;
|
|
7925
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
7926
|
+
data?: Array<{
|
|
7927
|
+
/**
|
|
7928
|
+
* [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,
|
|
7929
|
+
* 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
|
|
7930
|
+
* about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
|
|
7931
|
+
*/
|
|
7932
|
+
key?: string;
|
|
7933
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
7934
|
+
value?: string;
|
|
7935
|
+
}>;
|
|
7936
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
7937
|
+
message?: string;
|
|
7938
|
+
};
|
|
7939
|
+
}
|
|
7792
7940
|
interface NetworkEdgeSecurityService {
|
|
7793
7941
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
7794
7942
|
creationTimestamp?: string;
|
|
@@ -11251,7 +11399,7 @@ declare namespace gapi.client {
|
|
|
11251
11399
|
creationTimestamp?: string;
|
|
11252
11400
|
/** An optional description of this resource. Provide this property when you create the resource. */
|
|
11253
11401
|
description?: string;
|
|
11254
|
-
/** Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
|
|
11402
|
+
/** Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments). */
|
|
11255
11403
|
encryptedInterconnectRouter?: boolean;
|
|
11256
11404
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
11257
11405
|
id?: string;
|
|
@@ -15151,15 +15299,15 @@ declare namespace gapi.client {
|
|
|
15151
15299
|
/** [Output Only] Numeric identifier for this VPN interface associated with the VPN gateway. */
|
|
15152
15300
|
id?: number;
|
|
15153
15301
|
/**
|
|
15154
|
-
* URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for
|
|
15155
|
-
*
|
|
15302
|
+
* URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud
|
|
15303
|
+
* Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
|
|
15156
15304
|
*/
|
|
15157
15305
|
interconnectAttachment?: string;
|
|
15158
15306
|
/**
|
|
15159
15307
|
* [Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The
|
|
15160
15308
|
* two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP
|
|
15161
|
-
* addresses. For
|
|
15162
|
-
* (non
|
|
15309
|
+
* addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular
|
|
15310
|
+
* (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
|
|
15163
15311
|
*/
|
|
15164
15312
|
ipAddress?: string;
|
|
15165
15313
|
}
|
|
@@ -34676,6 +34824,393 @@ declare namespace gapi.client {
|
|
|
34676
34824
|
zone: string;
|
|
34677
34825
|
}): Request<MachineTypeList>;
|
|
34678
34826
|
}
|
|
34827
|
+
interface NetworkAttachmentsResource {
|
|
34828
|
+
/** Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project. */
|
|
34829
|
+
aggregatedList(request?: {
|
|
34830
|
+
/** V1 error format. */
|
|
34831
|
+
"$.xgafv"?: string;
|
|
34832
|
+
/** OAuth access token. */
|
|
34833
|
+
access_token?: string;
|
|
34834
|
+
/** Data format for response. */
|
|
34835
|
+
alt?: string;
|
|
34836
|
+
/** JSONP */
|
|
34837
|
+
callback?: string;
|
|
34838
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
34839
|
+
fields?: string;
|
|
34840
|
+
/**
|
|
34841
|
+
* A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
|
|
34842
|
+
* 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
|
|
34843
|
+
* 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
|
|
34844
|
+
* 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
|
|
34845
|
+
* 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
|
|
34846
|
+
* with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
|
|
34847
|
+
* 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
|
|
34848
|
+
* separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
|
34849
|
+
* expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
|
|
34850
|
+
* (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
|
|
34851
|
+
* with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
|
|
34852
|
+
* 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
|
|
34853
|
+
* must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
|
|
34854
|
+
*/
|
|
34855
|
+
filter?: string;
|
|
34856
|
+
/**
|
|
34857
|
+
* Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has
|
|
34858
|
+
* no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or
|
|
34859
|
+
* false, only scopes of the scope types where the resource type is expected to be found will be included.
|
|
34860
|
+
*/
|
|
34861
|
+
includeAllScopes?: boolean;
|
|
34862
|
+
/** 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. */
|
|
34863
|
+
key?: string;
|
|
34864
|
+
/**
|
|
34865
|
+
* 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
|
|
34866
|
+
* be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
34867
|
+
*/
|
|
34868
|
+
maxResults?: number;
|
|
34869
|
+
/** OAuth 2.0 token for the current user. */
|
|
34870
|
+
oauth_token?: string;
|
|
34871
|
+
/**
|
|
34872
|
+
* 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
|
|
34873
|
+
* on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
|
|
34874
|
+
* 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.
|
|
34875
|
+
*/
|
|
34876
|
+
orderBy?: string;
|
|
34877
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
34878
|
+
pageToken?: string;
|
|
34879
|
+
/** Returns response with indentations and line breaks. */
|
|
34880
|
+
prettyPrint?: boolean;
|
|
34881
|
+
/** Project ID for this request. */
|
|
34882
|
+
project: string;
|
|
34883
|
+
/** 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. */
|
|
34884
|
+
quotaUser?: string;
|
|
34885
|
+
/** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
|
|
34886
|
+
returnPartialSuccess?: boolean;
|
|
34887
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
34888
|
+
upload_protocol?: string;
|
|
34889
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
34890
|
+
uploadType?: string;
|
|
34891
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
34892
|
+
userIp?: string;
|
|
34893
|
+
}): Request<NetworkAttachmentAggregatedList>;
|
|
34894
|
+
/** Deletes the specified NetworkAttachment in the given scope */
|
|
34895
|
+
delete(request?: {
|
|
34896
|
+
/** V1 error format. */
|
|
34897
|
+
"$.xgafv"?: string;
|
|
34898
|
+
/** OAuth access token. */
|
|
34899
|
+
access_token?: string;
|
|
34900
|
+
/** Data format for response. */
|
|
34901
|
+
alt?: string;
|
|
34902
|
+
/** JSONP */
|
|
34903
|
+
callback?: string;
|
|
34904
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
34905
|
+
fields?: string;
|
|
34906
|
+
/** 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. */
|
|
34907
|
+
key?: string;
|
|
34908
|
+
/** Name of the NetworkAttachment resource to delete. */
|
|
34909
|
+
networkAttachment: string;
|
|
34910
|
+
/** OAuth 2.0 token for the current user. */
|
|
34911
|
+
oauth_token?: string;
|
|
34912
|
+
/** Returns response with indentations and line breaks. */
|
|
34913
|
+
prettyPrint?: boolean;
|
|
34914
|
+
/** Project ID for this request. */
|
|
34915
|
+
project: string;
|
|
34916
|
+
/** 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. */
|
|
34917
|
+
quotaUser?: string;
|
|
34918
|
+
/** Name of the region of this request. */
|
|
34919
|
+
region: string;
|
|
34920
|
+
/**
|
|
34921
|
+
* 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
|
|
34922
|
+
* 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
|
|
34923
|
+
* 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
|
|
34924
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
|
34925
|
+
* MixerMutationRequestBuilder
|
|
34926
|
+
*/
|
|
34927
|
+
requestId?: string;
|
|
34928
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
34929
|
+
upload_protocol?: string;
|
|
34930
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
34931
|
+
uploadType?: string;
|
|
34932
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
34933
|
+
userIp?: string;
|
|
34934
|
+
}): Request<Operation>;
|
|
34935
|
+
/** Returns the specified NetworkAttachment resource in the given scope. */
|
|
34936
|
+
get(request?: {
|
|
34937
|
+
/** V1 error format. */
|
|
34938
|
+
"$.xgafv"?: string;
|
|
34939
|
+
/** OAuth access token. */
|
|
34940
|
+
access_token?: string;
|
|
34941
|
+
/** Data format for response. */
|
|
34942
|
+
alt?: string;
|
|
34943
|
+
/** JSONP */
|
|
34944
|
+
callback?: string;
|
|
34945
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
34946
|
+
fields?: string;
|
|
34947
|
+
/** 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. */
|
|
34948
|
+
key?: string;
|
|
34949
|
+
/** Name of the NetworkAttachment resource to return. */
|
|
34950
|
+
networkAttachment: string;
|
|
34951
|
+
/** OAuth 2.0 token for the current user. */
|
|
34952
|
+
oauth_token?: string;
|
|
34953
|
+
/** Returns response with indentations and line breaks. */
|
|
34954
|
+
prettyPrint?: boolean;
|
|
34955
|
+
/** Project ID for this request. */
|
|
34956
|
+
project: string;
|
|
34957
|
+
/** 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. */
|
|
34958
|
+
quotaUser?: string;
|
|
34959
|
+
/** Name of the region of this request. */
|
|
34960
|
+
region: string;
|
|
34961
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
34962
|
+
upload_protocol?: string;
|
|
34963
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
34964
|
+
uploadType?: string;
|
|
34965
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
34966
|
+
userIp?: string;
|
|
34967
|
+
}): Request<NetworkAttachment>;
|
|
34968
|
+
/** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */
|
|
34969
|
+
getIamPolicy(request?: {
|
|
34970
|
+
/** V1 error format. */
|
|
34971
|
+
"$.xgafv"?: string;
|
|
34972
|
+
/** OAuth access token. */
|
|
34973
|
+
access_token?: string;
|
|
34974
|
+
/** Data format for response. */
|
|
34975
|
+
alt?: string;
|
|
34976
|
+
/** JSONP */
|
|
34977
|
+
callback?: string;
|
|
34978
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
34979
|
+
fields?: string;
|
|
34980
|
+
/** 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. */
|
|
34981
|
+
key?: string;
|
|
34982
|
+
/** OAuth 2.0 token for the current user. */
|
|
34983
|
+
oauth_token?: string;
|
|
34984
|
+
/** Requested IAM Policy version. */
|
|
34985
|
+
optionsRequestedPolicyVersion?: number;
|
|
34986
|
+
/** Returns response with indentations and line breaks. */
|
|
34987
|
+
prettyPrint?: boolean;
|
|
34988
|
+
/** Project ID for this request. */
|
|
34989
|
+
project: string;
|
|
34990
|
+
/** 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. */
|
|
34991
|
+
quotaUser?: string;
|
|
34992
|
+
/** The name of the region for this request. */
|
|
34993
|
+
region: string;
|
|
34994
|
+
/** Name or id of the resource for this request. */
|
|
34995
|
+
resource: string;
|
|
34996
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
34997
|
+
upload_protocol?: string;
|
|
34998
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
34999
|
+
uploadType?: string;
|
|
35000
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
35001
|
+
userIp?: string;
|
|
35002
|
+
}): Request<Policy>;
|
|
35003
|
+
/** Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request. */
|
|
35004
|
+
insert(request: {
|
|
35005
|
+
/** V1 error format. */
|
|
35006
|
+
"$.xgafv"?: string;
|
|
35007
|
+
/** OAuth access token. */
|
|
35008
|
+
access_token?: string;
|
|
35009
|
+
/** Data format for response. */
|
|
35010
|
+
alt?: string;
|
|
35011
|
+
/** JSONP */
|
|
35012
|
+
callback?: string;
|
|
35013
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35014
|
+
fields?: string;
|
|
35015
|
+
/** 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. */
|
|
35016
|
+
key?: string;
|
|
35017
|
+
/** OAuth 2.0 token for the current user. */
|
|
35018
|
+
oauth_token?: string;
|
|
35019
|
+
/** Returns response with indentations and line breaks. */
|
|
35020
|
+
prettyPrint?: boolean;
|
|
35021
|
+
/** Project ID for this request. */
|
|
35022
|
+
project: string;
|
|
35023
|
+
/** 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. */
|
|
35024
|
+
quotaUser?: string;
|
|
35025
|
+
/** Name of the region of this request. */
|
|
35026
|
+
region: string;
|
|
35027
|
+
/**
|
|
35028
|
+
* 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
|
|
35029
|
+
* 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
|
|
35030
|
+
* 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
|
|
35031
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
|
35032
|
+
* MixerMutationRequestBuilder
|
|
35033
|
+
*/
|
|
35034
|
+
requestId?: string;
|
|
35035
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35036
|
+
upload_protocol?: string;
|
|
35037
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35038
|
+
uploadType?: string;
|
|
35039
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
35040
|
+
userIp?: string;
|
|
35041
|
+
/** Request body */
|
|
35042
|
+
resource: NetworkAttachment;
|
|
35043
|
+
}): Request<Operation>;
|
|
35044
|
+
insert(request: {
|
|
35045
|
+
/** V1 error format. */
|
|
35046
|
+
"$.xgafv"?: string;
|
|
35047
|
+
/** OAuth access token. */
|
|
35048
|
+
access_token?: string;
|
|
35049
|
+
/** Data format for response. */
|
|
35050
|
+
alt?: string;
|
|
35051
|
+
/** JSONP */
|
|
35052
|
+
callback?: string;
|
|
35053
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35054
|
+
fields?: string;
|
|
35055
|
+
/** 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. */
|
|
35056
|
+
key?: string;
|
|
35057
|
+
/** OAuth 2.0 token for the current user. */
|
|
35058
|
+
oauth_token?: string;
|
|
35059
|
+
/** Returns response with indentations and line breaks. */
|
|
35060
|
+
prettyPrint?: boolean;
|
|
35061
|
+
/** Project ID for this request. */
|
|
35062
|
+
project: string;
|
|
35063
|
+
/** 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. */
|
|
35064
|
+
quotaUser?: string;
|
|
35065
|
+
/** Name of the region of this request. */
|
|
35066
|
+
region: string;
|
|
35067
|
+
/**
|
|
35068
|
+
* 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
|
|
35069
|
+
* 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
|
|
35070
|
+
* 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
|
|
35071
|
+
* commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
|
35072
|
+
* MixerMutationRequestBuilder
|
|
35073
|
+
*/
|
|
35074
|
+
requestId?: string;
|
|
35075
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35076
|
+
upload_protocol?: string;
|
|
35077
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35078
|
+
uploadType?: string;
|
|
35079
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
35080
|
+
userIp?: string;
|
|
35081
|
+
},
|
|
35082
|
+
body: NetworkAttachment): Request<Operation>;
|
|
35083
|
+
/** Lists the NetworkAttachments for a project in the given scope. */
|
|
35084
|
+
list(request?: {
|
|
35085
|
+
/** V1 error format. */
|
|
35086
|
+
"$.xgafv"?: string;
|
|
35087
|
+
/** OAuth access token. */
|
|
35088
|
+
access_token?: string;
|
|
35089
|
+
/** Data format for response. */
|
|
35090
|
+
alt?: string;
|
|
35091
|
+
/** JSONP */
|
|
35092
|
+
callback?: string;
|
|
35093
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35094
|
+
fields?: string;
|
|
35095
|
+
/**
|
|
35096
|
+
* A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
|
|
35097
|
+
* 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
|
|
35098
|
+
* 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
|
|
35099
|
+
* 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
|
|
35100
|
+
* 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
|
|
35101
|
+
* with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
|
|
35102
|
+
* 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
|
|
35103
|
+
* separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
|
35104
|
+
* expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
|
|
35105
|
+
* (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
|
|
35106
|
+
* with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
|
|
35107
|
+
* 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
|
|
35108
|
+
* must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
|
|
35109
|
+
*/
|
|
35110
|
+
filter?: string;
|
|
35111
|
+
/** 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. */
|
|
35112
|
+
key?: string;
|
|
35113
|
+
/**
|
|
35114
|
+
* 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
|
|
35115
|
+
* be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
35116
|
+
*/
|
|
35117
|
+
maxResults?: number;
|
|
35118
|
+
/** OAuth 2.0 token for the current user. */
|
|
35119
|
+
oauth_token?: string;
|
|
35120
|
+
/**
|
|
35121
|
+
* 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
|
|
35122
|
+
* on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
|
|
35123
|
+
* 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.
|
|
35124
|
+
*/
|
|
35125
|
+
orderBy?: string;
|
|
35126
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
35127
|
+
pageToken?: string;
|
|
35128
|
+
/** Returns response with indentations and line breaks. */
|
|
35129
|
+
prettyPrint?: boolean;
|
|
35130
|
+
/** Project ID for this request. */
|
|
35131
|
+
project: string;
|
|
35132
|
+
/** 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. */
|
|
35133
|
+
quotaUser?: string;
|
|
35134
|
+
/** Name of the region of this request. */
|
|
35135
|
+
region: string;
|
|
35136
|
+
/** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
|
|
35137
|
+
returnPartialSuccess?: boolean;
|
|
35138
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35139
|
+
upload_protocol?: string;
|
|
35140
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35141
|
+
uploadType?: string;
|
|
35142
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
35143
|
+
userIp?: string;
|
|
35144
|
+
}): Request<NetworkAttachmentList>;
|
|
35145
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. */
|
|
35146
|
+
setIamPolicy(request: {
|
|
35147
|
+
/** V1 error format. */
|
|
35148
|
+
"$.xgafv"?: string;
|
|
35149
|
+
/** OAuth access token. */
|
|
35150
|
+
access_token?: string;
|
|
35151
|
+
/** Data format for response. */
|
|
35152
|
+
alt?: string;
|
|
35153
|
+
/** JSONP */
|
|
35154
|
+
callback?: string;
|
|
35155
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35156
|
+
fields?: string;
|
|
35157
|
+
/** 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. */
|
|
35158
|
+
key?: string;
|
|
35159
|
+
/** OAuth 2.0 token for the current user. */
|
|
35160
|
+
oauth_token?: string;
|
|
35161
|
+
/** Returns response with indentations and line breaks. */
|
|
35162
|
+
prettyPrint?: boolean;
|
|
35163
|
+
/** Project ID for this request. */
|
|
35164
|
+
project: string;
|
|
35165
|
+
/** 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. */
|
|
35166
|
+
quotaUser?: string;
|
|
35167
|
+
/** The name of the region for this request. */
|
|
35168
|
+
region: string;
|
|
35169
|
+
/** Name or id of the resource for this request. */
|
|
35170
|
+
resource: string;
|
|
35171
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35172
|
+
upload_protocol?: string;
|
|
35173
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35174
|
+
uploadType?: string;
|
|
35175
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
35176
|
+
userIp?: string;
|
|
35177
|
+
},
|
|
35178
|
+
body: RegionSetPolicyRequest): Request<Policy>;
|
|
35179
|
+
/** Returns permissions that a caller has on the specified resource. */
|
|
35180
|
+
testIamPermissions(request: {
|
|
35181
|
+
/** V1 error format. */
|
|
35182
|
+
"$.xgafv"?: string;
|
|
35183
|
+
/** OAuth access token. */
|
|
35184
|
+
access_token?: string;
|
|
35185
|
+
/** Data format for response. */
|
|
35186
|
+
alt?: string;
|
|
35187
|
+
/** JSONP */
|
|
35188
|
+
callback?: string;
|
|
35189
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35190
|
+
fields?: string;
|
|
35191
|
+
/** 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. */
|
|
35192
|
+
key?: string;
|
|
35193
|
+
/** OAuth 2.0 token for the current user. */
|
|
35194
|
+
oauth_token?: string;
|
|
35195
|
+
/** Returns response with indentations and line breaks. */
|
|
35196
|
+
prettyPrint?: boolean;
|
|
35197
|
+
/** Project ID for this request. */
|
|
35198
|
+
project: string;
|
|
35199
|
+
/** 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. */
|
|
35200
|
+
quotaUser?: string;
|
|
35201
|
+
/** The name of the region for this request. */
|
|
35202
|
+
region: string;
|
|
35203
|
+
/** Name or id of the resource for this request. */
|
|
35204
|
+
resource: string;
|
|
35205
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35206
|
+
upload_protocol?: string;
|
|
35207
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35208
|
+
uploadType?: string;
|
|
35209
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
35210
|
+
userIp?: string;
|
|
35211
|
+
},
|
|
35212
|
+
body: TestPermissionsRequest): Request<TestPermissionsResponse>;
|
|
35213
|
+
}
|
|
34679
35214
|
interface NetworkEdgeSecurityServicesResource {
|
|
34680
35215
|
/** Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. */
|
|
34681
35216
|
aggregatedList(request?: {
|
|
@@ -63288,6 +63823,8 @@ declare namespace gapi.client {
|
|
|
63288
63823
|
|
|
63289
63824
|
const machineTypes: MachineTypesResource;
|
|
63290
63825
|
|
|
63826
|
+
const networkAttachments: NetworkAttachmentsResource;
|
|
63827
|
+
|
|
63291
63828
|
const networkEdgeSecurityServices: NetworkEdgeSecurityServicesResource;
|
|
63292
63829
|
|
|
63293
63830
|
const networkEndpointGroups: NetworkEndpointGroupsResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1781,6 +1781,46 @@ Retrieves a list of machine types available to the specified project.
|
|
|
1781
1781
|
*/
|
|
1782
1782
|
await gapi.client.compute.machineTypes.list({ project: "project", zone: "zone", });
|
|
1783
1783
|
|
|
1784
|
+
/*
|
|
1785
|
+
Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project.
|
|
1786
|
+
*/
|
|
1787
|
+
await gapi.client.compute.networkAttachments.aggregatedList({ project: "project", });
|
|
1788
|
+
|
|
1789
|
+
/*
|
|
1790
|
+
Deletes the specified NetworkAttachment in the given scope
|
|
1791
|
+
*/
|
|
1792
|
+
await gapi.client.compute.networkAttachments.delete({ networkAttachment: "networkAttachment", project: "project", region: "region", });
|
|
1793
|
+
|
|
1794
|
+
/*
|
|
1795
|
+
Returns the specified NetworkAttachment resource in the given scope.
|
|
1796
|
+
*/
|
|
1797
|
+
await gapi.client.compute.networkAttachments.get({ networkAttachment: "networkAttachment", project: "project", region: "region", });
|
|
1798
|
+
|
|
1799
|
+
/*
|
|
1800
|
+
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
|
|
1801
|
+
*/
|
|
1802
|
+
await gapi.client.compute.networkAttachments.getIamPolicy({ project: "project", region: "region", resource: "resource", });
|
|
1803
|
+
|
|
1804
|
+
/*
|
|
1805
|
+
Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request.
|
|
1806
|
+
*/
|
|
1807
|
+
await gapi.client.compute.networkAttachments.insert({ project: "project", region: "region", });
|
|
1808
|
+
|
|
1809
|
+
/*
|
|
1810
|
+
Lists the NetworkAttachments for a project in the given scope.
|
|
1811
|
+
*/
|
|
1812
|
+
await gapi.client.compute.networkAttachments.list({ project: "project", region: "region", });
|
|
1813
|
+
|
|
1814
|
+
/*
|
|
1815
|
+
Sets the access control policy on the specified resource. Replaces any existing policy.
|
|
1816
|
+
*/
|
|
1817
|
+
await gapi.client.compute.networkAttachments.setIamPolicy({ project: "project", region: "region", resource: "resource", });
|
|
1818
|
+
|
|
1819
|
+
/*
|
|
1820
|
+
Returns permissions that a caller has on the specified resource.
|
|
1821
|
+
*/
|
|
1822
|
+
await gapi.client.compute.networkAttachments.testIamPermissions({ project: "project", region: "region", resource: "resource", });
|
|
1823
|
+
|
|
1784
1824
|
/*
|
|
1785
1825
|
Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project.
|
|
1786
1826
|
*/
|
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: 20220831
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -964,6 +964,10 @@ gapi.load('client', async () => {
|
|
|
964
964
|
localityLbPolicy: "Test string",
|
|
965
965
|
logConfig: {
|
|
966
966
|
enable: true,
|
|
967
|
+
optional: "Test string",
|
|
968
|
+
optionalFields: [
|
|
969
|
+
"Test string"
|
|
970
|
+
],
|
|
967
971
|
sampleRate: 42,
|
|
968
972
|
},
|
|
969
973
|
maxStreamDuration: {
|
|
@@ -1387,6 +1391,10 @@ gapi.load('client', async () => {
|
|
|
1387
1391
|
localityLbPolicy: "Test string",
|
|
1388
1392
|
logConfig: {
|
|
1389
1393
|
enable: true,
|
|
1394
|
+
optional: "Test string",
|
|
1395
|
+
optionalFields: [
|
|
1396
|
+
"Test string"
|
|
1397
|
+
],
|
|
1390
1398
|
sampleRate: 42,
|
|
1391
1399
|
},
|
|
1392
1400
|
maxStreamDuration: {
|
|
@@ -1930,6 +1938,10 @@ gapi.load('client', async () => {
|
|
|
1930
1938
|
localityLbPolicy: "Test string",
|
|
1931
1939
|
logConfig: {
|
|
1932
1940
|
enable: true,
|
|
1941
|
+
optional: "Test string",
|
|
1942
|
+
optionalFields: [
|
|
1943
|
+
"Test string"
|
|
1944
|
+
],
|
|
1933
1945
|
sampleRate: 42,
|
|
1934
1946
|
},
|
|
1935
1947
|
maxStreamDuration: {
|
|
@@ -11102,6 +11114,202 @@ gapi.load('client', async () => {
|
|
|
11102
11114
|
returnPartialSuccess: true,
|
|
11103
11115
|
zone: "Test string",
|
|
11104
11116
|
});
|
|
11117
|
+
/** Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project. */
|
|
11118
|
+
await gapi.client.compute.networkAttachments.aggregatedList({
|
|
11119
|
+
filter: "Test string",
|
|
11120
|
+
includeAllScopes: true,
|
|
11121
|
+
maxResults: 42,
|
|
11122
|
+
orderBy: "Test string",
|
|
11123
|
+
pageToken: "Test string",
|
|
11124
|
+
project: "Test string",
|
|
11125
|
+
returnPartialSuccess: true,
|
|
11126
|
+
});
|
|
11127
|
+
/** Deletes the specified NetworkAttachment in the given scope */
|
|
11128
|
+
await gapi.client.compute.networkAttachments.delete({
|
|
11129
|
+
networkAttachment: "Test string",
|
|
11130
|
+
project: "Test string",
|
|
11131
|
+
region: "Test string",
|
|
11132
|
+
requestId: "Test string",
|
|
11133
|
+
});
|
|
11134
|
+
/** Returns the specified NetworkAttachment resource in the given scope. */
|
|
11135
|
+
await gapi.client.compute.networkAttachments.get({
|
|
11136
|
+
networkAttachment: "Test string",
|
|
11137
|
+
project: "Test string",
|
|
11138
|
+
region: "Test string",
|
|
11139
|
+
});
|
|
11140
|
+
/** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */
|
|
11141
|
+
await gapi.client.compute.networkAttachments.getIamPolicy({
|
|
11142
|
+
optionsRequestedPolicyVersion: 42,
|
|
11143
|
+
project: "Test string",
|
|
11144
|
+
region: "Test string",
|
|
11145
|
+
resource: "Test string",
|
|
11146
|
+
});
|
|
11147
|
+
/** Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request. */
|
|
11148
|
+
await gapi.client.compute.networkAttachments.insert({
|
|
11149
|
+
project: "Test string",
|
|
11150
|
+
region: "Test string",
|
|
11151
|
+
requestId: "Test string",
|
|
11152
|
+
}, {
|
|
11153
|
+
connectionEndpoints: [
|
|
11154
|
+
{
|
|
11155
|
+
ipAddress: "Test string",
|
|
11156
|
+
projectIdOrNum: "Test string",
|
|
11157
|
+
secondaryIpCidrRanges: [
|
|
11158
|
+
"Test string"
|
|
11159
|
+
],
|
|
11160
|
+
status: "Test string",
|
|
11161
|
+
subnetwork: "Test string",
|
|
11162
|
+
}
|
|
11163
|
+
],
|
|
11164
|
+
connectionPreference: "Test string",
|
|
11165
|
+
creationTimestamp: "Test string",
|
|
11166
|
+
description: "Test string",
|
|
11167
|
+
fingerprint: "Test string",
|
|
11168
|
+
id: "Test string",
|
|
11169
|
+
kind: "Test string",
|
|
11170
|
+
name: "Test string",
|
|
11171
|
+
network: "Test string",
|
|
11172
|
+
producerAcceptLists: [
|
|
11173
|
+
"Test string"
|
|
11174
|
+
],
|
|
11175
|
+
producerRejectLists: [
|
|
11176
|
+
"Test string"
|
|
11177
|
+
],
|
|
11178
|
+
region: "Test string",
|
|
11179
|
+
selfLink: "Test string",
|
|
11180
|
+
selfLinkWithId: "Test string",
|
|
11181
|
+
subnetworks: [
|
|
11182
|
+
"Test string"
|
|
11183
|
+
],
|
|
11184
|
+
});
|
|
11185
|
+
/** Lists the NetworkAttachments for a project in the given scope. */
|
|
11186
|
+
await gapi.client.compute.networkAttachments.list({
|
|
11187
|
+
filter: "Test string",
|
|
11188
|
+
maxResults: 42,
|
|
11189
|
+
orderBy: "Test string",
|
|
11190
|
+
pageToken: "Test string",
|
|
11191
|
+
project: "Test string",
|
|
11192
|
+
region: "Test string",
|
|
11193
|
+
returnPartialSuccess: true,
|
|
11194
|
+
});
|
|
11195
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. */
|
|
11196
|
+
await gapi.client.compute.networkAttachments.setIamPolicy({
|
|
11197
|
+
project: "Test string",
|
|
11198
|
+
region: "Test string",
|
|
11199
|
+
resource: "Test string",
|
|
11200
|
+
}, {
|
|
11201
|
+
bindings: [
|
|
11202
|
+
{
|
|
11203
|
+
bindingId: "Test string",
|
|
11204
|
+
condition: {
|
|
11205
|
+
description: "Test string",
|
|
11206
|
+
expression: "Test string",
|
|
11207
|
+
location: "Test string",
|
|
11208
|
+
title: "Test string",
|
|
11209
|
+
},
|
|
11210
|
+
members: [
|
|
11211
|
+
"Test string"
|
|
11212
|
+
],
|
|
11213
|
+
role: "Test string",
|
|
11214
|
+
}
|
|
11215
|
+
],
|
|
11216
|
+
etag: "Test string",
|
|
11217
|
+
policy: {
|
|
11218
|
+
auditConfigs: [
|
|
11219
|
+
{
|
|
11220
|
+
auditLogConfigs: [
|
|
11221
|
+
{
|
|
11222
|
+
exemptedMembers: [
|
|
11223
|
+
"Test string"
|
|
11224
|
+
],
|
|
11225
|
+
ignoreChildExemptions: true,
|
|
11226
|
+
logType: "Test string",
|
|
11227
|
+
}
|
|
11228
|
+
],
|
|
11229
|
+
exemptedMembers: [
|
|
11230
|
+
"Test string"
|
|
11231
|
+
],
|
|
11232
|
+
service: "Test string",
|
|
11233
|
+
}
|
|
11234
|
+
],
|
|
11235
|
+
bindings: [
|
|
11236
|
+
{
|
|
11237
|
+
bindingId: "Test string",
|
|
11238
|
+
condition: {
|
|
11239
|
+
description: "Test string",
|
|
11240
|
+
expression: "Test string",
|
|
11241
|
+
location: "Test string",
|
|
11242
|
+
title: "Test string",
|
|
11243
|
+
},
|
|
11244
|
+
members: [
|
|
11245
|
+
"Test string"
|
|
11246
|
+
],
|
|
11247
|
+
role: "Test string",
|
|
11248
|
+
}
|
|
11249
|
+
],
|
|
11250
|
+
etag: "Test string",
|
|
11251
|
+
rules: [
|
|
11252
|
+
{
|
|
11253
|
+
action: "Test string",
|
|
11254
|
+
conditions: [
|
|
11255
|
+
{
|
|
11256
|
+
iam: "Test string",
|
|
11257
|
+
op: "Test string",
|
|
11258
|
+
svc: "Test string",
|
|
11259
|
+
sys: "Test string",
|
|
11260
|
+
values: [
|
|
11261
|
+
"Test string"
|
|
11262
|
+
],
|
|
11263
|
+
}
|
|
11264
|
+
],
|
|
11265
|
+
description: "Test string",
|
|
11266
|
+
ins: [
|
|
11267
|
+
"Test string"
|
|
11268
|
+
],
|
|
11269
|
+
logConfigs: [
|
|
11270
|
+
{
|
|
11271
|
+
cloudAudit: {
|
|
11272
|
+
authorizationLoggingOptions: {
|
|
11273
|
+
permissionType: "Test string",
|
|
11274
|
+
},
|
|
11275
|
+
logName: "Test string",
|
|
11276
|
+
},
|
|
11277
|
+
counter: {
|
|
11278
|
+
customFields: [
|
|
11279
|
+
{
|
|
11280
|
+
name: "Test string",
|
|
11281
|
+
value: "Test string",
|
|
11282
|
+
}
|
|
11283
|
+
],
|
|
11284
|
+
field: "Test string",
|
|
11285
|
+
metric: "Test string",
|
|
11286
|
+
},
|
|
11287
|
+
dataAccess: {
|
|
11288
|
+
logMode: "Test string",
|
|
11289
|
+
},
|
|
11290
|
+
}
|
|
11291
|
+
],
|
|
11292
|
+
notIns: [
|
|
11293
|
+
"Test string"
|
|
11294
|
+
],
|
|
11295
|
+
permissions: [
|
|
11296
|
+
"Test string"
|
|
11297
|
+
],
|
|
11298
|
+
}
|
|
11299
|
+
],
|
|
11300
|
+
version: 42,
|
|
11301
|
+
},
|
|
11302
|
+
});
|
|
11303
|
+
/** Returns permissions that a caller has on the specified resource. */
|
|
11304
|
+
await gapi.client.compute.networkAttachments.testIamPermissions({
|
|
11305
|
+
project: "Test string",
|
|
11306
|
+
region: "Test string",
|
|
11307
|
+
resource: "Test string",
|
|
11308
|
+
}, {
|
|
11309
|
+
permissions: [
|
|
11310
|
+
"Test string"
|
|
11311
|
+
],
|
|
11312
|
+
});
|
|
11105
11313
|
/** Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. */
|
|
11106
11314
|
await gapi.client.compute.networkEdgeSecurityServices.aggregatedList({
|
|
11107
11315
|
filter: "Test string",
|
|
@@ -14241,6 +14449,10 @@ gapi.load('client', async () => {
|
|
|
14241
14449
|
localityLbPolicy: "Test string",
|
|
14242
14450
|
logConfig: {
|
|
14243
14451
|
enable: true,
|
|
14452
|
+
optional: "Test string",
|
|
14453
|
+
optionalFields: [
|
|
14454
|
+
"Test string"
|
|
14455
|
+
],
|
|
14244
14456
|
sampleRate: 42,
|
|
14245
14457
|
},
|
|
14246
14458
|
maxStreamDuration: {
|
|
@@ -14666,6 +14878,10 @@ gapi.load('client', async () => {
|
|
|
14666
14878
|
localityLbPolicy: "Test string",
|
|
14667
14879
|
logConfig: {
|
|
14668
14880
|
enable: true,
|
|
14881
|
+
optional: "Test string",
|
|
14882
|
+
optionalFields: [
|
|
14883
|
+
"Test string"
|
|
14884
|
+
],
|
|
14669
14885
|
sampleRate: 42,
|
|
14670
14886
|
},
|
|
14671
14887
|
maxStreamDuration: {
|
|
@@ -15205,6 +15421,10 @@ gapi.load('client', async () => {
|
|
|
15205
15421
|
localityLbPolicy: "Test string",
|
|
15206
15422
|
logConfig: {
|
|
15207
15423
|
enable: true,
|
|
15424
|
+
optional: "Test string",
|
|
15425
|
+
optionalFields: [
|
|
15426
|
+
"Test string"
|
|
15427
|
+
],
|
|
15208
15428
|
sampleRate: 42,
|
|
15209
15429
|
},
|
|
15210
15430
|
maxStreamDuration: {
|