@maxim_mazurok/gapi.client.compute-alpha 0.0.20240707 → 0.0.20240723
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 +121 -21
- package/package.json +1 -1
- package/readme.md +5 -0
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: 20240723
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -279,7 +279,7 @@ declare namespace gapi.client {
|
|
|
279
279
|
performanceMonitoringUnit?: string;
|
|
280
280
|
/** The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. */
|
|
281
281
|
threadsPerCore?: number;
|
|
282
|
-
/** Turbo mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the default turbo mode. */
|
|
282
|
+
/** Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode. */
|
|
283
283
|
turboMode?: string;
|
|
284
284
|
/** The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width. */
|
|
285
285
|
visibleCoreCount?: number;
|
|
@@ -727,6 +727,8 @@ declare namespace gapi.client {
|
|
|
727
727
|
selfLink?: string;
|
|
728
728
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
729
729
|
selfLinkWithId?: string;
|
|
730
|
+
/** [Output Only] List of resources referencing that backend bucket. */
|
|
731
|
+
usedBy?: BackendBucketUsedBy[];
|
|
730
732
|
}
|
|
731
733
|
interface BackendBucketCdnPolicy {
|
|
732
734
|
/** Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. */
|
|
@@ -796,6 +798,36 @@ declare namespace gapi.client {
|
|
|
796
798
|
message?: string;
|
|
797
799
|
};
|
|
798
800
|
}
|
|
801
|
+
interface BackendBucketListUsable {
|
|
802
|
+
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
803
|
+
id?: string;
|
|
804
|
+
/** A list of BackendBucket resources. */
|
|
805
|
+
items?: BackendBucket[];
|
|
806
|
+
/** [Output Only] Type of resource. Always compute#usableBackendBucketList for lists of usable backend buckets. */
|
|
807
|
+
kind?: string;
|
|
808
|
+
/** [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. */
|
|
809
|
+
nextPageToken?: string;
|
|
810
|
+
/** [Output Only] Server-defined URL for this resource. */
|
|
811
|
+
selfLink?: string;
|
|
812
|
+
/** [Output Only] Informational warning message. */
|
|
813
|
+
warning?: {
|
|
814
|
+
/** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
|
|
815
|
+
code?: string;
|
|
816
|
+
/** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
|
|
817
|
+
data?: Array<{
|
|
818
|
+
/** [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). */
|
|
819
|
+
key?: string;
|
|
820
|
+
/** [Output Only] A warning data value corresponding to the key. */
|
|
821
|
+
value?: string;
|
|
822
|
+
}>;
|
|
823
|
+
/** [Output Only] A human-readable description of the warning code. */
|
|
824
|
+
message?: string;
|
|
825
|
+
};
|
|
826
|
+
}
|
|
827
|
+
interface BackendBucketUsedBy {
|
|
828
|
+
/** [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket. */
|
|
829
|
+
reference?: string;
|
|
830
|
+
}
|
|
799
831
|
interface BackendCustomMetric {
|
|
800
832
|
/** If true, the metric data is collected and reported to Cloud Monitoring, but is not used for load balancing. */
|
|
801
833
|
dryRun?: boolean;
|
|
@@ -855,7 +887,7 @@ declare namespace gapi.client {
|
|
|
855
887
|
loadBalancingScheme?: string;
|
|
856
888
|
/** A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration. */
|
|
857
889
|
localityLbPolicies?: BackendServiceLocalityLoadBalancingPolicyConfig[];
|
|
858
|
-
/** The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not
|
|
890
|
+
/** The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. */
|
|
859
891
|
localityLbPolicy?: string;
|
|
860
892
|
/** This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. */
|
|
861
893
|
logConfig?: BackendServiceLogConfig;
|
|
@@ -898,6 +930,8 @@ declare namespace gapi.client {
|
|
|
898
930
|
subsetting?: Subsetting;
|
|
899
931
|
/** The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration. */
|
|
900
932
|
timeoutSec?: number;
|
|
933
|
+
/** Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2. */
|
|
934
|
+
tlsSettings?: BackendServiceTlsSettings;
|
|
901
935
|
/** [Output Only] List of resources referencing given backend service. */
|
|
902
936
|
usedBy?: BackendServiceUsedBy[];
|
|
903
937
|
/** 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 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 backends in regional networks in the same scope as the backend service. Note: if not specified then GLOBAL_VPC_NETWORK will be used. */
|
|
@@ -1146,6 +1180,20 @@ declare namespace gapi.client {
|
|
|
1146
1180
|
message?: string;
|
|
1147
1181
|
};
|
|
1148
1182
|
}
|
|
1183
|
+
interface BackendServiceTlsSettings {
|
|
1184
|
+
/** Reference to the BackendAuthenticationConfig resource from the networksecurity.googleapis.com namespace. Can be used in authenticating TLS connections to the backend, as specified by the authenticationMode field. Can only be specified if authenticationMode is not NONE. */
|
|
1185
|
+
authenticationConfig?: string;
|
|
1186
|
+
/** Server Name Indication - see RFC3546 section 3.1. If set, the load balancer sends this string as the SNI hostname in the TLS connection to the backend, and requires that this string match a Subject Alternative Name (SAN) in the backend's server certificate. With a Regional Internet NEG backend, if the SNI is specified here, the load balancer uses it regardless of whether the Regional Internet NEG is specified with FQDN or IP address and port. When both sni and subjectAltNames[] are specified, the load balancer matches the backend certificate's SAN only to subjectAltNames[]. */
|
|
1187
|
+
sni?: string;
|
|
1188
|
+
/** A list of Subject Alternative Names (SANs) that the Load Balancer verifies during a TLS handshake with the backend. When the server presents its X.509 certificate to the Load Balancer, the Load Balancer inspects the certificate's SAN field, and requires that at least one SAN match one of the subjectAltNames in the list. This field is limited to 5 entries. When both sni and subjectAltNames[] are specified, the load balancer matches the backend certificate's SAN only to subjectAltNames[]. */
|
|
1189
|
+
subjectAltNames?: BackendServiceTlsSettingsSubjectAltName[];
|
|
1190
|
+
}
|
|
1191
|
+
interface BackendServiceTlsSettingsSubjectAltName {
|
|
1192
|
+
/** The SAN specified as a DNS Name. */
|
|
1193
|
+
dnsName?: string;
|
|
1194
|
+
/** The SAN specified as a URI. */
|
|
1195
|
+
uniformResourceIdentifier?: string;
|
|
1196
|
+
}
|
|
1149
1197
|
interface BackendServiceUsedBy {
|
|
1150
1198
|
/** [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule. */
|
|
1151
1199
|
reference?: string;
|
|
@@ -3753,7 +3801,7 @@ declare namespace gapi.client {
|
|
|
3753
3801
|
allInstancesConfig?: InstanceGroupManagerAllInstancesConfig;
|
|
3754
3802
|
/** The autohealing policy for this managed instance group. You can specify only one value. */
|
|
3755
3803
|
autoHealingPolicies?: InstanceGroupManagerAutoHealingPolicy[];
|
|
3756
|
-
/** The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,
|
|
3804
|
+
/** The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?)) */
|
|
3757
3805
|
baseInstanceName?: string;
|
|
3758
3806
|
/** [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. */
|
|
3759
3807
|
creationTimestamp?: string;
|
|
@@ -3985,6 +4033,8 @@ declare namespace gapi.client {
|
|
|
3985
4033
|
name?: string;
|
|
3986
4034
|
/** This field is deprecated, ResizeRequests would not be provisioned immediately and would stay in the queue until explicitly cancelled. When set, defines queing parameters for the requested deferred capacity. When unset, the request starts provisioning immediately, or fails if immediate provisioning is not possible. */
|
|
3987
4035
|
queuingPolicy?: QueuingPolicy;
|
|
4036
|
+
/** [Output Only] The URL of a region where the resize request is located. Populated only for regional resize requests. */
|
|
4037
|
+
region?: string;
|
|
3988
4038
|
/** Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. */
|
|
3989
4039
|
requestedRunDuration?: Duration;
|
|
3990
4040
|
/** The number of instances to be created by this resize request. The group's target size will be increased by this number. */
|
|
@@ -4751,6 +4801,10 @@ declare namespace gapi.client {
|
|
|
4751
4801
|
sourceDisk?: string;
|
|
4752
4802
|
/** [Output Only] The ID value of the disk used to create this InstantSnapshot. This value may be used to determine whether the InstantSnapshot was taken from the current or a previous instance of a given disk name. */
|
|
4753
4803
|
sourceDiskId?: string;
|
|
4804
|
+
/** [Output Only] URL of the source instant snapshot this instant snapshot is part of. Note that the source instant snapshot group must be in the same zone/region as the instant snapshot to be created. This can be a full or valid partial URL. */
|
|
4805
|
+
sourceInstantSnapshotGroup?: string;
|
|
4806
|
+
/** [Output Only] The ID value of the source instant snapshot group this InstantSnapshot is part of. This value may be used to determine whether the InstantSnapshot was created as part of an InstantSnapshotGroup creation. */
|
|
4807
|
+
sourceInstantSnapshotGroupId?: string;
|
|
4754
4808
|
/** [Output Only] The status of the instantSnapshot. This can be CREATING, DELETING, FAILED, or READY. */
|
|
4755
4809
|
status?: string;
|
|
4756
4810
|
/** [Output Only] URL of the zone where the instant snapshot resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
|
|
@@ -4802,6 +4856,7 @@ declare namespace gapi.client {
|
|
|
4802
4856
|
selfLink?: string;
|
|
4803
4857
|
/** [Output Only] Server-defined URL for this resource's resource id. */
|
|
4804
4858
|
selfLinkWithId?: string;
|
|
4859
|
+
sourceConsistencyGroup?: string;
|
|
4805
4860
|
/** [Output Only] */
|
|
4806
4861
|
status?: string;
|
|
4807
4862
|
/** [Output Only] URL of the zone where the instant snapshot group resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */
|
|
@@ -9531,6 +9586,8 @@ declare namespace gapi.client {
|
|
|
9531
9586
|
minPortsPerVm?: number;
|
|
9532
9587
|
/** Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035. */
|
|
9533
9588
|
name?: string;
|
|
9589
|
+
/** List of Subnetwork resources whose traffic should be translated by NAT64 Gateway. It is used only when LIST_OF_IPV6_SUBNETWORKS is selected for the SubnetworkIpRangeToNat64Option above. */
|
|
9590
|
+
nat64subnetworks?: RouterNatSubnetworkToNat64[];
|
|
9534
9591
|
/** Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. */
|
|
9535
9592
|
natIpAllocateOption?: string;
|
|
9536
9593
|
/** A list of URLs of the IP resources used for this Nat service. These IP addresses must be valid static external IP addresses assigned to the project. */
|
|
@@ -9539,6 +9596,8 @@ declare namespace gapi.client {
|
|
|
9539
9596
|
rules?: RouterNatRule[];
|
|
9540
9597
|
/** Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there should not be any other Router.Nat section in any Router for this network in this region. */
|
|
9541
9598
|
sourceSubnetworkIpRangesToNat?: string;
|
|
9599
|
+
/** Specify the Nat option for NAT64, which can take one of the following values: - ALL_IPV6_SUBNETWORKS: All of the IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_IPV6_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field nat64_subnetwork below) The default is NAT64_OPTION_UNSPECIFIED. Note that if this field contains NAT64_ALL_V6_SUBNETWORKS no other Router.Nat section in this region can also enable NAT64 for any Subnetworks in this network. Other Router.Nat sections can still be present to enable NAT44 only. */
|
|
9600
|
+
sourceSubnetworkIpRangesToNat64?: string;
|
|
9542
9601
|
/** A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. */
|
|
9543
9602
|
subnetworks?: RouterNatSubnetworkToNat[];
|
|
9544
9603
|
/** Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. */
|
|
@@ -9586,6 +9645,10 @@ declare namespace gapi.client {
|
|
|
9586
9645
|
/** Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] */
|
|
9587
9646
|
sourceIpRangesToNat?: string[];
|
|
9588
9647
|
}
|
|
9648
|
+
interface RouterNatSubnetworkToNat64 {
|
|
9649
|
+
/** URL for the subnetwork resource that will use NAT64. */
|
|
9650
|
+
name?: string;
|
|
9651
|
+
}
|
|
9589
9652
|
interface RoutersGetNamedSetResponse {
|
|
9590
9653
|
/** end_interface: MixerGetResponseWithEtagBuilder */
|
|
9591
9654
|
etag?: string;
|
|
@@ -9902,8 +9965,6 @@ declare namespace gapi.client {
|
|
|
9902
9965
|
provisioningModel?: string;
|
|
9903
9966
|
/** Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. */
|
|
9904
9967
|
terminationTime?: string;
|
|
9905
|
-
/** Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default mode is `OFF`. */
|
|
9906
|
-
windowsLicenseOptimizationMode?: string;
|
|
9907
9968
|
}
|
|
9908
9969
|
interface SchedulingGracefulShutdown {
|
|
9909
9970
|
/** Opts-in for graceful shutdown. */
|
|
@@ -11846,7 +11907,7 @@ declare namespace gapi.client {
|
|
|
11846
11907
|
authorization?: string;
|
|
11847
11908
|
/** Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact. */
|
|
11848
11909
|
authorizationPolicy?: string;
|
|
11849
|
-
/** URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for
|
|
11910
|
+
/** URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for Global external Application Load Balancer or Classic Application Load Balancer. For other products use Certificate Manager Certificates instead. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. */
|
|
11850
11911
|
certificateMap?: string;
|
|
11851
11912
|
/** [Output Only] Creation timestamp in RFC3339 text format. */
|
|
11852
11913
|
creationTimestamp?: string;
|
|
@@ -11876,7 +11937,7 @@ declare namespace gapi.client {
|
|
|
11876
11937
|
selfLinkWithId?: string;
|
|
11877
11938
|
/** Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED. For details which ServerTlsPolicy resources are accepted with INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED loadBalancingScheme consult ServerTlsPolicy documentation. If left blank, communications are not encrypted. */
|
|
11878
11939
|
serverTlsPolicy?: string;
|
|
11879
|
-
/** URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL
|
|
11940
|
+
/** URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API. Certificate Manager Certificates are not supported by Global external Application Load Balancer or Classic Application Load Balancer, use certificate_map instead. Currently, you may specify up to 15 Classic SSL Certificates. Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis.com/projects/{project}/locations/{ location}/certificates/{resourceName}. - https://certificatemanager.googleapis.com/v1alpha1/projects/{project }/locations/{location}/certificates/{resourceName}. */
|
|
11880
11941
|
sslCertificates?: string[];
|
|
11881
11942
|
/** URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured. */
|
|
11882
11943
|
sslPolicy?: string;
|
|
@@ -12545,7 +12606,7 @@ declare namespace gapi.client {
|
|
|
12545
12606
|
defaultCustomErrorResponsePolicy?: CustomErrorResponsePolicy;
|
|
12546
12607
|
/** defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. */
|
|
12547
12608
|
defaultRouteAction?: HttpRouteAction;
|
|
12548
|
-
/** The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if
|
|
12609
|
+
/** The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any defaultRouteAction.weightedBackendServices. Conversely, if defaultRouteAction specifies any defaultRouteAction.weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. */
|
|
12549
12610
|
defaultService?: string;
|
|
12550
12611
|
/** When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. */
|
|
12551
12612
|
defaultUrlRedirect?: HttpRedirectAction;
|
|
@@ -14409,6 +14470,45 @@ declare namespace gapi.client {
|
|
|
14409
14470
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
14410
14471
|
userIp?: string;
|
|
14411
14472
|
}): Request<BackendBucketList>;
|
|
14473
|
+
/** Retrieves a list of all usable backend buckets in the specified project. */
|
|
14474
|
+
listUsable(request?: {
|
|
14475
|
+
/** V1 error format. */
|
|
14476
|
+
'$.xgafv'?: string;
|
|
14477
|
+
/** OAuth access token. */
|
|
14478
|
+
access_token?: string;
|
|
14479
|
+
/** Data format for response. */
|
|
14480
|
+
alt?: string;
|
|
14481
|
+
/** JSONP */
|
|
14482
|
+
callback?: string;
|
|
14483
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14484
|
+
fields?: string;
|
|
14485
|
+
/** A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. */
|
|
14486
|
+
filter?: string;
|
|
14487
|
+
/** 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. */
|
|
14488
|
+
key?: string;
|
|
14489
|
+
/** The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) */
|
|
14490
|
+
maxResults?: number;
|
|
14491
|
+
/** OAuth 2.0 token for the current user. */
|
|
14492
|
+
oauth_token?: string;
|
|
14493
|
+
/** Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. */
|
|
14494
|
+
orderBy?: string;
|
|
14495
|
+
/** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
|
|
14496
|
+
pageToken?: string;
|
|
14497
|
+
/** Returns response with indentations and line breaks. */
|
|
14498
|
+
prettyPrint?: boolean;
|
|
14499
|
+
/** Project ID for this request. */
|
|
14500
|
+
project: string;
|
|
14501
|
+
/** 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. */
|
|
14502
|
+
quotaUser?: string;
|
|
14503
|
+
/** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. */
|
|
14504
|
+
returnPartialSuccess?: boolean;
|
|
14505
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14506
|
+
upload_protocol?: string;
|
|
14507
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14508
|
+
uploadType?: string;
|
|
14509
|
+
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
14510
|
+
userIp?: string;
|
|
14511
|
+
}): Request<BackendBucketListUsable>;
|
|
14412
14512
|
/** Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. */
|
|
14413
14513
|
patch(request: {
|
|
14414
14514
|
/** V1 error format. */
|
|
@@ -20176,7 +20276,7 @@ declare namespace gapi.client {
|
|
|
20176
20276
|
key?: string;
|
|
20177
20277
|
/** OAuth 2.0 token for the current user. */
|
|
20178
20278
|
oauth_token?: string;
|
|
20179
|
-
/** Name of the Operations resource to delete. */
|
|
20279
|
+
/** Name of the Operations resource to delete, or its unique numeric identifier. */
|
|
20180
20280
|
operation: string;
|
|
20181
20281
|
/** Returns response with indentations and line breaks. */
|
|
20182
20282
|
prettyPrint?: boolean;
|
|
@@ -20207,7 +20307,7 @@ declare namespace gapi.client {
|
|
|
20207
20307
|
key?: string;
|
|
20208
20308
|
/** OAuth 2.0 token for the current user. */
|
|
20209
20309
|
oauth_token?: string;
|
|
20210
|
-
/** Name of the Operations resource to return. */
|
|
20310
|
+
/** Name of the Operations resource to return, or its unique numeric identifier. */
|
|
20211
20311
|
operation: string;
|
|
20212
20312
|
/** Returns response with indentations and line breaks. */
|
|
20213
20313
|
prettyPrint?: boolean;
|
|
@@ -20277,7 +20377,7 @@ declare namespace gapi.client {
|
|
|
20277
20377
|
key?: string;
|
|
20278
20378
|
/** OAuth 2.0 token for the current user. */
|
|
20279
20379
|
oauth_token?: string;
|
|
20280
|
-
/** Name of the Operations resource to return. */
|
|
20380
|
+
/** Name of the Operations resource to return, or its unique numeric identifier. */
|
|
20281
20381
|
operation: string;
|
|
20282
20382
|
/** Returns response with indentations and line breaks. */
|
|
20283
20383
|
prettyPrint?: boolean;
|
|
@@ -20310,7 +20410,7 @@ declare namespace gapi.client {
|
|
|
20310
20410
|
key?: string;
|
|
20311
20411
|
/** OAuth 2.0 token for the current user. */
|
|
20312
20412
|
oauth_token?: string;
|
|
20313
|
-
/** Name of the Operations resource to delete. */
|
|
20413
|
+
/** Name of the Operations resource to delete, or its unique numeric identifier. */
|
|
20314
20414
|
operation: string;
|
|
20315
20415
|
/** Parent ID for this request. */
|
|
20316
20416
|
parentId?: string;
|
|
@@ -20341,7 +20441,7 @@ declare namespace gapi.client {
|
|
|
20341
20441
|
key?: string;
|
|
20342
20442
|
/** OAuth 2.0 token for the current user. */
|
|
20343
20443
|
oauth_token?: string;
|
|
20344
|
-
/** Name of the Operations resource to return. */
|
|
20444
|
+
/** Name of the Operations resource to return, or its unique numeric identifier. */
|
|
20345
20445
|
operation: string;
|
|
20346
20446
|
/** Parent ID for this request. */
|
|
20347
20447
|
parentId?: string;
|
|
@@ -28350,7 +28450,7 @@ declare namespace gapi.client {
|
|
|
28350
28450
|
callback?: string;
|
|
28351
28451
|
/** Selector specifying which fields to include in a partial response. */
|
|
28352
28452
|
fields?: string;
|
|
28353
|
-
/** Name of the
|
|
28453
|
+
/** Name of the InstantSnapshotGroup resource to return. */
|
|
28354
28454
|
instantSnapshotGroup: string;
|
|
28355
28455
|
/** 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. */
|
|
28356
28456
|
key?: string;
|
|
@@ -45495,7 +45595,7 @@ declare namespace gapi.client {
|
|
|
45495
45595
|
key?: string;
|
|
45496
45596
|
/** OAuth 2.0 token for the current user. */
|
|
45497
45597
|
oauth_token?: string;
|
|
45498
|
-
/** Name of the Operations resource to delete. */
|
|
45598
|
+
/** Name of the Operations resource to delete, or its unique numeric identifier. */
|
|
45499
45599
|
operation: string;
|
|
45500
45600
|
/** Returns response with indentations and line breaks. */
|
|
45501
45601
|
prettyPrint?: boolean;
|
|
@@ -45528,7 +45628,7 @@ declare namespace gapi.client {
|
|
|
45528
45628
|
key?: string;
|
|
45529
45629
|
/** OAuth 2.0 token for the current user. */
|
|
45530
45630
|
oauth_token?: string;
|
|
45531
|
-
/** Name of the Operations resource to return. */
|
|
45631
|
+
/** Name of the Operations resource to return, or its unique numeric identifier. */
|
|
45532
45632
|
operation: string;
|
|
45533
45633
|
/** Returns response with indentations and line breaks. */
|
|
45534
45634
|
prettyPrint?: boolean;
|
|
@@ -45602,7 +45702,7 @@ declare namespace gapi.client {
|
|
|
45602
45702
|
key?: string;
|
|
45603
45703
|
/** OAuth 2.0 token for the current user. */
|
|
45604
45704
|
oauth_token?: string;
|
|
45605
|
-
/** Name of the Operations resource to return. */
|
|
45705
|
+
/** Name of the Operations resource to return, or its unique numeric identifier. */
|
|
45606
45706
|
operation: string;
|
|
45607
45707
|
/** Returns response with indentations and line breaks. */
|
|
45608
45708
|
prettyPrint?: boolean;
|
|
@@ -59071,7 +59171,7 @@ declare namespace gapi.client {
|
|
|
59071
59171
|
key?: string;
|
|
59072
59172
|
/** OAuth 2.0 token for the current user. */
|
|
59073
59173
|
oauth_token?: string;
|
|
59074
|
-
/** Name of the Operations resource to delete. */
|
|
59174
|
+
/** Name of the Operations resource to delete, or its unique numeric identifier. */
|
|
59075
59175
|
operation: string;
|
|
59076
59176
|
/** Returns response with indentations and line breaks. */
|
|
59077
59177
|
prettyPrint?: boolean;
|
|
@@ -59104,7 +59204,7 @@ declare namespace gapi.client {
|
|
|
59104
59204
|
key?: string;
|
|
59105
59205
|
/** OAuth 2.0 token for the current user. */
|
|
59106
59206
|
oauth_token?: string;
|
|
59107
|
-
/** Name of the Operations resource to return. */
|
|
59207
|
+
/** Name of the Operations resource to return, or its unique numeric identifier. */
|
|
59108
59208
|
operation: string;
|
|
59109
59209
|
/** Returns response with indentations and line breaks. */
|
|
59110
59210
|
prettyPrint?: boolean;
|
|
@@ -59178,7 +59278,7 @@ declare namespace gapi.client {
|
|
|
59178
59278
|
key?: string;
|
|
59179
59279
|
/** OAuth 2.0 token for the current user. */
|
|
59180
59280
|
oauth_token?: string;
|
|
59181
|
-
/** Name of the Operations resource to return. */
|
|
59281
|
+
/** Name of the Operations resource to return, or its unique numeric identifier. */
|
|
59182
59282
|
operation: string;
|
|
59183
59283
|
/** Returns response with indentations and line breaks. */
|
|
59184
59284
|
prettyPrint?: boolean;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -215,6 +215,11 @@ Retrieves the list of BackendBucket resources available to the specified project
|
|
|
215
215
|
*/
|
|
216
216
|
await gapi.client.compute.backendBuckets.list({ project: "project", });
|
|
217
217
|
|
|
218
|
+
/*
|
|
219
|
+
Retrieves a list of all usable backend buckets in the specified project.
|
|
220
|
+
*/
|
|
221
|
+
await gapi.client.compute.backendBuckets.listUsable({ project: "project", });
|
|
222
|
+
|
|
218
223
|
/*
|
|
219
224
|
Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
|
|
220
225
|
*/
|