@maxim_mazurok/gapi.client.compute-alpha 0.0.20240421 → 0.0.20240507
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 +28 -18
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240507
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -139,7 +139,7 @@ declare namespace gapi.client {
|
|
|
139
139
|
networkTier?: string;
|
|
140
140
|
/** [Output Only] The public DNS domain name for the instance. */
|
|
141
141
|
publicDnsName?: string;
|
|
142
|
-
/** The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be
|
|
142
|
+
/** The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6 range. */
|
|
143
143
|
publicPtrDomainName?: string;
|
|
144
144
|
/** [Output Only] The resource URL for the security policy associated with this access config. */
|
|
145
145
|
securityPolicy?: string;
|
|
@@ -472,10 +472,6 @@ declare namespace gapi.client {
|
|
|
472
472
|
/** List of RbacPolicies. */
|
|
473
473
|
policies?: RbacPolicy[];
|
|
474
474
|
}
|
|
475
|
-
interface AuthorizationLoggingOptions {
|
|
476
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
477
|
-
permissionType?: string;
|
|
478
|
-
}
|
|
479
475
|
interface Autoscaler {
|
|
480
476
|
/** The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. */
|
|
481
477
|
autoscalingPolicy?: AutoscalingPolicy;
|
|
@@ -877,6 +873,8 @@ declare namespace gapi.client {
|
|
|
877
873
|
serviceLbPolicy?: string;
|
|
878
874
|
/** Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD 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. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). */
|
|
879
875
|
sessionAffinity?: string;
|
|
876
|
+
/** Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY. */
|
|
877
|
+
strongSessionAffinityCookie?: BackendServiceHttpCookie;
|
|
880
878
|
subsetting?: Subsetting;
|
|
881
879
|
/** 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. */
|
|
882
880
|
timeoutSec?: number;
|
|
@@ -990,6 +988,14 @@ declare namespace gapi.client {
|
|
|
990
988
|
/** Specifying the instance name of a leader is not supported. */
|
|
991
989
|
instance?: string;
|
|
992
990
|
}
|
|
991
|
+
interface BackendServiceHttpCookie {
|
|
992
|
+
/** Name of the cookie. */
|
|
993
|
+
name?: string;
|
|
994
|
+
/** Path to set for the cookie. */
|
|
995
|
+
path?: string;
|
|
996
|
+
/** Lifetime of the cookie. */
|
|
997
|
+
ttl?: Duration;
|
|
998
|
+
}
|
|
993
999
|
interface BackendServiceIAP {
|
|
994
1000
|
/** Whether the serving infrastructure will authenticate and authorize all incoming requests. */
|
|
995
1001
|
enabled?: boolean;
|
|
@@ -2780,7 +2786,7 @@ declare namespace gapi.client {
|
|
|
2780
2786
|
selfLink?: string;
|
|
2781
2787
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
2782
2788
|
selfLinkWithId?: string;
|
|
2783
|
-
/** The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of
|
|
2789
|
+
/** The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. */
|
|
2784
2790
|
sourceRegions?: string[];
|
|
2785
2791
|
sslHealthCheck?: SSLHealthCheck;
|
|
2786
2792
|
tcpHealthCheck?: TCPHealthCheck;
|
|
@@ -3040,7 +3046,7 @@ declare namespace gapi.client {
|
|
|
3040
3046
|
portSpecification?: string;
|
|
3041
3047
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
3042
3048
|
proxyHeader?: string;
|
|
3043
|
-
/** The request path of the HTTP/2 health check request. The default value is /. */
|
|
3049
|
+
/** The request path of the HTTP/2 health check request. The default value is /. Must comply with RFC3986. */
|
|
3044
3050
|
requestPath?: string;
|
|
3045
3051
|
/** Creates a content-based HTTP/2 health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http */
|
|
3046
3052
|
response?: string;
|
|
@@ -3150,7 +3156,7 @@ declare namespace gapi.client {
|
|
|
3150
3156
|
portSpecification?: string;
|
|
3151
3157
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
3152
3158
|
proxyHeader?: string;
|
|
3153
|
-
/** The request path of the HTTP health check request. The default value is /. */
|
|
3159
|
+
/** The request path of the HTTP health check request. The default value is /. Must comply with RFC3986. */
|
|
3154
3160
|
requestPath?: string;
|
|
3155
3161
|
/** Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http */
|
|
3156
3162
|
response?: string;
|
|
@@ -3314,7 +3320,7 @@ declare namespace gapi.client {
|
|
|
3314
3320
|
portSpecification?: string;
|
|
3315
3321
|
/** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */
|
|
3316
3322
|
proxyHeader?: string;
|
|
3317
|
-
/** The request path of the HTTPS health check request. The default value is /. */
|
|
3323
|
+
/** The request path of the HTTPS health check request. The default value is /. Must comply with RFC3986. */
|
|
3318
3324
|
requestPath?: string;
|
|
3319
3325
|
/** Creates a content-based HTTPS health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http */
|
|
3320
3326
|
response?: string;
|
|
@@ -5572,8 +5578,6 @@ declare namespace gapi.client {
|
|
|
5572
5578
|
dataAccess?: LogConfigDataAccessOptions;
|
|
5573
5579
|
}
|
|
5574
5580
|
interface LogConfigCloudAuditOptions {
|
|
5575
|
-
/** This is deprecated and has no effect. Do not use. */
|
|
5576
|
-
authorizationLoggingOptions?: AuthorizationLoggingOptions;
|
|
5577
5581
|
/** This is deprecated and has no effect. Do not use. */
|
|
5578
5582
|
logName?: string;
|
|
5579
5583
|
}
|
|
@@ -8032,15 +8036,11 @@ declare namespace gapi.client {
|
|
|
8032
8036
|
};
|
|
8033
8037
|
}
|
|
8034
8038
|
interface QueuedResourceStatus {
|
|
8035
|
-
/** Additional status detail for the FAILED state. */
|
|
8036
8039
|
failedData?: QueuedResourceStatusFailedData;
|
|
8037
|
-
/** [Output only] Fully qualified URL of the provisioning GCE operation to track the provisioning along with provisioning errors. The referenced operation may not exist after having been deleted or expired. */
|
|
8038
8040
|
provisioningOperations?: string[];
|
|
8039
|
-
/** Constraints for the time when the resource(s) start provisioning. Always exposed as absolute times. */
|
|
8040
8041
|
queuingPolicy?: QueuingPolicy;
|
|
8041
8042
|
}
|
|
8042
8043
|
interface QueuedResourceStatusFailedData {
|
|
8043
|
-
/** The error(s) that caused the QueuedResource to enter the FAILED state. */
|
|
8044
8044
|
error?: {
|
|
8045
8045
|
/** [Output Only] The array of errors encountered while processing this operation. */
|
|
8046
8046
|
errors?: Array<{
|
|
@@ -9622,6 +9622,8 @@ declare namespace gapi.client {
|
|
|
9622
9622
|
provisioningModel?: string;
|
|
9623
9623
|
/** 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. */
|
|
9624
9624
|
terminationTime?: string;
|
|
9625
|
+
/** Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default mode is `OFF`. */
|
|
9626
|
+
windowsLicenseOptimizationMode?: string;
|
|
9625
9627
|
}
|
|
9626
9628
|
interface SchedulingGracefulShutdown {
|
|
9627
9629
|
/** Opts-in for graceful shutdown. */
|
|
@@ -9742,6 +9744,8 @@ declare namespace gapi.client {
|
|
|
9742
9744
|
selfLink?: string;
|
|
9743
9745
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
9744
9746
|
selfLinkWithId?: string;
|
|
9747
|
+
/** User-provided name of the organization security policy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is CLOUD_ARMOR. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */
|
|
9748
|
+
shortName?: string;
|
|
9745
9749
|
/** The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. */
|
|
9746
9750
|
type?: string;
|
|
9747
9751
|
/** Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff" */
|
|
@@ -9804,10 +9808,16 @@ declare namespace gapi.client {
|
|
|
9804
9808
|
attachmentId?: string;
|
|
9805
9809
|
/** [Output Only] The display name of the security policy of the association. */
|
|
9806
9810
|
displayName?: string;
|
|
9811
|
+
/** A list of folders to exclude from the security policy. */
|
|
9812
|
+
excludedFolders?: string[];
|
|
9813
|
+
/** A list of projects to exclude from the security policy. */
|
|
9814
|
+
excludedProjects?: string[];
|
|
9807
9815
|
/** The name for an association. */
|
|
9808
9816
|
name?: string;
|
|
9809
9817
|
/** [Output Only] The security policy ID of the association. */
|
|
9810
9818
|
securityPolicyId?: string;
|
|
9819
|
+
/** [Output Only] The short name of the security policy of the association. */
|
|
9820
|
+
shortName?: string;
|
|
9811
9821
|
}
|
|
9812
9822
|
interface SecurityPolicyCloudArmorConfig {
|
|
9813
9823
|
/** If set to true, enables Cloud Armor Machine Learning. */
|
|
@@ -10498,7 +10508,7 @@ declare namespace gapi.client {
|
|
|
10498
10508
|
region?: string;
|
|
10499
10509
|
}
|
|
10500
10510
|
interface SnapshotSettingsStorageLocationSettings {
|
|
10501
|
-
/** When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are
|
|
10511
|
+
/** When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified. */
|
|
10502
10512
|
locations?: {
|
|
10503
10513
|
[P in string]: SnapshotSettingsStorageLocationSettingsStorageLocationPreference;
|
|
10504
10514
|
};
|
|
@@ -10506,7 +10516,7 @@ declare namespace gapi.client {
|
|
|
10506
10516
|
policy?: string;
|
|
10507
10517
|
}
|
|
10508
10518
|
interface SnapshotSettingsStorageLocationSettingsStorageLocationPreference {
|
|
10509
|
-
/** Name of the location. It should be one of the
|
|
10519
|
+
/** Name of the location. It should be one of the Cloud Storage buckets. Only one location can be specified. */
|
|
10510
10520
|
name?: string;
|
|
10511
10521
|
}
|
|
10512
10522
|
interface SnapshotsScopedList {
|