@maxim_mazurok/gapi.client.compute-alpha 0.0.20231128 → 0.0.20231231

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.
Files changed (3) hide show
  1. package/index.d.ts +181 -32
  2. package/package.json +1 -1
  3. package/readme.md +10 -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: 20231128
12
+ // Revision: 20231231
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1199,17 +1199,19 @@ declare namespace gapi.client {
1199
1199
  type?: string;
1200
1200
  }
1201
1201
  interface BgpRouteNetworkLayerReachabilityInformation {
1202
- /** Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. */
1202
+ /** Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. Deprecated in favor of prefix. */
1203
1203
  destination?: string;
1204
1204
  /** If the BGP session supports multiple paths (RFC 7911), the path identifier for this route. */
1205
1205
  pathId?: number;
1206
+ /** Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. */
1207
+ prefix?: string;
1206
1208
  }
1207
1209
  interface Binding {
1208
1210
  /** This is deprecated and has no effect. Do not use. */
1209
1211
  bindingId?: string;
1210
1212
  /** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
1211
1213
  condition?: Expr;
1212
- /** 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 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 account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service 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]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique 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 `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing 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 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 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 `group:{emailid}` and the recovered group retains the role in the binding. */
1214
+ /** 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 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 account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service 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]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique 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 `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing 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 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 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 `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
1213
1215
  members?: string[];
1214
1216
  /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
1215
1217
  role?: string;
@@ -1344,7 +1346,7 @@ declare namespace gapi.client {
1344
1346
  plan?: string;
1345
1347
  /** [Output Only] URL of the region where this commitment may be used. */
1346
1348
  region?: string;
1347
- /** List of create-on-create reseravtions for this commitment. */
1349
+ /** List of create-on-create reservations for this commitment. */
1348
1350
  reservations?: Reservation[];
1349
1351
  /** A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together. */
1350
1352
  resources?: ResourceCommitment[];
@@ -2705,7 +2707,7 @@ declare namespace gapi.client {
2705
2707
  items?: GuestAttributesEntry[];
2706
2708
  }
2707
2709
  interface GuestOsFeature {
2708
- /** The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. */
2710
+ /** The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - IDPF For more information, see Enabling guest operating system features. */
2709
2711
  type?: string;
2710
2712
  }
2711
2713
  interface HealthCheck {
@@ -2944,6 +2946,9 @@ declare namespace gapi.client {
2944
2946
  instance?: string;
2945
2947
  /** For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip. */
2946
2948
  ipAddress?: string;
2949
+ ipv6Address?: string;
2950
+ /** Health state of the IPv6 address of the instance. */
2951
+ ipv6HealthState?: string;
2947
2952
  /** The named port of the instance group, not necessarily the port that is health-checked. */
2948
2953
  port?: number;
2949
2954
  weight?: string;
@@ -3925,7 +3930,7 @@ declare namespace gapi.client {
3925
3930
  };
3926
3931
  }
3927
3932
  interface InstanceGroupManagerResizeRequestStatus {
3928
- /** Errors encountered during the queueing or provisioning phases of the ResizeRequest. */
3933
+ /** [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. As a contrary to the last_attempt errors, this field is final and errors are never removed from here, as the RR is not going to retry. */
3929
3934
  error?: {
3930
3935
  /** [Output Only] The array of errors encountered while processing this operation. */
3931
3936
  errors?: Array<{
@@ -4077,6 +4082,7 @@ declare namespace gapi.client {
4077
4082
  instances?: string[];
4078
4083
  }
4079
4084
  interface InstanceGroupManagerStandbyPolicy {
4085
+ /** Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0. */
4080
4086
  initialDelaySec?: number;
4081
4087
  /** Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is `MANUAL`. */
4082
4088
  mode?: string;
@@ -4359,10 +4365,6 @@ declare namespace gapi.client {
4359
4365
  /** The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances */
4360
4366
  instance?: string;
4361
4367
  }
4362
- interface InstancesAddNetworkInterfaceRequest {
4363
- /** The new network interface to add. */
4364
- network_interface?: NetworkInterface;
4365
- }
4366
4368
  interface InstancesAddResourcePoliciesRequest {
4367
4369
  /** Resource policies to be added to this instance. */
4368
4370
  resourcePolicies?: string[];
@@ -4839,6 +4841,8 @@ declare namespace gapi.client {
4839
4841
  labels?: {[P in string]: string};
4840
4842
  /** Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. */
4841
4843
  mtu?: number;
4844
+ /** Whether or not to permit multicast traffic for this attachment. Multicast packets will be dropped if this is not enabled. */
4845
+ multicastEnabled?: boolean;
4842
4846
  /** 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 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. */
4843
4847
  name?: string;
4844
4848
  /** [Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. */
@@ -7238,11 +7242,11 @@ declare namespace gapi.client {
7238
7242
  };
7239
7243
  }
7240
7244
  interface PacketMirroringFilter {
7241
- /** IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. */
7245
+ /** One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview. */
7242
7246
  cidrRanges?: string[];
7243
7247
  /** Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. */
7244
7248
  direction?: string;
7245
- /** Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. */
7249
+ /** Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. */
7246
7250
  IPProtocols?: string[];
7247
7251
  }
7248
7252
  interface PacketMirroringForwardingRuleInfo {
@@ -9470,7 +9474,7 @@ declare namespace gapi.client {
9470
9474
  ddosProtectionConfig?: SecurityPolicyDdosProtectionConfig;
9471
9475
  /** An optional description of this resource. Provide this property when you create the resource. */
9472
9476
  description?: string;
9473
- /** User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. 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. */
9477
+ /** 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 FIREWALL. 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. */
9474
9478
  displayName?: string;
9475
9479
  /** Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy. */
9476
9480
  fingerprint?: string;
@@ -9688,7 +9692,7 @@ declare namespace gapi.client {
9688
9692
  ports?: string[];
9689
9693
  }
9690
9694
  interface SecurityPolicyRuleMatcherExprOptions {
9691
- /** reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect. */
9695
+ /** reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect. */
9692
9696
  recaptchaOptions?: SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions;
9693
9697
  }
9694
9698
  interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions {
@@ -10229,9 +10233,21 @@ declare namespace gapi.client {
10229
10233
  };
10230
10234
  }
10231
10235
  interface SnapshotSettings {
10236
+ /** (Regional snapshots use only)Policy of which location is allowed to access snapshot. */
10237
+ accessLocation?: SnapshotSettingsAccessLocation;
10232
10238
  /** Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out. */
10233
10239
  storageLocation?: SnapshotSettingsStorageLocationSettings;
10234
10240
  }
10241
+ interface SnapshotSettingsAccessLocation {
10242
+ /** List of regions that can restore a regional snapshot from the current region */
10243
+ locations?: {
10244
+ [P in string]: SnapshotSettingsAccessLocationAccessLocationPreference;
10245
+ };
10246
+ }
10247
+ interface SnapshotSettingsAccessLocationAccessLocationPreference {
10248
+ /** Accessible region name */
10249
+ region?: string;
10250
+ }
10235
10251
  interface SnapshotSettingsStorageLocationSettings {
10236
10252
  /** When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations. */
10237
10253
  locations?: {
@@ -10606,9 +10622,15 @@ declare namespace gapi.client {
10606
10622
  name?: string;
10607
10623
  /** Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. */
10608
10624
  performanceProvisioningType?: string;
10609
- /** Provsioned IOPS of the storage pool. */
10610
- provisionedIops?: string;
10625
+ /** Size, in GiB, of the storage pool. */
10626
+ poolProvisionedCapacityGb?: string;
10627
+ /** Provsioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced. */
10628
+ poolProvisionedIops?: string;
10611
10629
  /** Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput. */
10630
+ poolProvisionedThroughput?: string;
10631
+ /** DEPRECATED -- use "pool provisioned IOPS". */
10632
+ provisionedIops?: string;
10633
+ /** DEPRECATED -- use "pool provisioned throughput". */
10612
10634
  provisionedThroughput?: string;
10613
10635
  /** [Output Only] Status information for the storage pool resource. */
10614
10636
  resourceStatus?: StoragePoolResourceStatus;
@@ -10616,7 +10638,7 @@ declare namespace gapi.client {
10616
10638
  selfLink?: string;
10617
10639
  /** [Output Only] Server-defined URL for this resource's resource id. */
10618
10640
  selfLinkWithId?: string;
10619
- /** Size, in GiB, of the storage pool. */
10641
+ /** DEPRECATED -- use "pool provisioned capacity gb". */
10620
10642
  sizeGb?: string;
10621
10643
  /** [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting. */
10622
10644
  state?: string;
@@ -10739,21 +10761,39 @@ declare namespace gapi.client {
10739
10761
  };
10740
10762
  }
10741
10763
  interface StoragePoolResourceStatus {
10742
- /** [Output Only] Sum of all the disks' provisioned IOPS. */
10764
+ /** DEPRECATED -- use "total_provisioned_disk_iops". */
10743
10765
  aggregateDiskProvisionedIops?: string;
10744
- /** [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity. */
10766
+ /** DEPRECATED -- use "total provisioned disk size gb". */
10745
10767
  aggregateDiskSizeGb?: string;
10768
+ /** [Output Only] Number of disks used. */
10769
+ diskCount?: string;
10746
10770
  /** [Output Only] Timestamp of the last successful resize in RFC3339 text format. */
10747
10771
  lastResizeTimestamp?: string;
10748
- /** [Output Only] Maximum allowed aggregate disk size in gigabytes. */
10772
+ /** DEPRECATED -- use "max provisioned disk size gb" */
10749
10773
  maxAggregateDiskSizeGb?: string;
10750
- /** [Output Only] Number of disks used. */
10774
+ /** [Output Only] Maximum allowed aggregate disk size in gigabytes. */
10775
+ maxTotalProvisionedDiskCapacityGb?: string;
10776
+ /** DEPRECATED -- use "disk count". */
10751
10777
  numberOfDisks?: string;
10752
- /** [Output Only] Space used by data stored in disks within the storage pool (in bytes). */
10778
+ /** [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks. */
10779
+ poolUsedCapacityBytes?: string;
10780
+ /** Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. */
10781
+ poolUsedIops?: string;
10782
+ /** [Output Only] Sum of all the disks' provisioned throughput in MB/s. */
10783
+ poolUsedThroughput?: string;
10784
+ /** [Output Only] Amount of data written into the pool, before it is compacted. */
10785
+ poolUserWrittenBytes?: string;
10786
+ /** [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity. */
10787
+ totalProvisionedDiskCapacityGb?: string;
10788
+ /** [Output Only] Sum of all the disks' provisioned IOPS. */
10789
+ totalProvisionedDiskIops?: string;
10790
+ /** [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity. */
10791
+ totalProvisionedDiskThroughput?: string;
10792
+ /** DEPRECATED -- use "pool used capacity". */
10753
10793
  usedBytes?: string;
10754
- /** [Output Only] Space used by compressed and deduped data stored in disks within the storage pool (in bytes). */
10794
+ /** DEPRECATED -- do not use, will be removed. */
10755
10795
  usedReducedBytes?: string;
10756
- /** [Output Only] Sum of all the disks' provisioned throughput in MB/s. */
10796
+ /** DEPRECATED -- use "pool used throughput". */
10757
10797
  usedThroughput?: string;
10758
10798
  }
10759
10799
  interface StoragePoolsScopedList {
@@ -10929,13 +10969,13 @@ declare namespace gapi.client {
10929
10969
  privateIpGoogleAccess?: boolean;
10930
10970
  /** This field is for internal use. This field can be both set at resource creation time and updated using patch. */
10931
10971
  privateIpv6GoogleAccess?: string;
10932
- /** The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY. */
10972
+ /** The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. */
10933
10973
  purpose?: string;
10934
10974
  /** URL of the region where the Subnetwork resides. This field can be set only at resource creation time. */
10935
10975
  region?: string;
10936
10976
  /** The URL of the reserved internal range. */
10937
10977
  reservedInternalRange?: string;
10938
- /** The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. */
10978
+ /** The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. */
10939
10979
  role?: string;
10940
10980
  /** An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request. */
10941
10981
  secondaryIpRanges?: SubnetworkSecondaryRange[];
@@ -12108,9 +12148,9 @@ declare namespace gapi.client {
12108
12148
  ipv6AccessType?: string;
12109
12149
  /** Network URL. */
12110
12150
  network?: string;
12111
- /** The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY. */
12151
+ /** The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. */
12112
12152
  purpose?: string;
12113
- /** The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. */
12153
+ /** The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. */
12114
12154
  role?: string;
12115
12155
  /** Secondary IP ranges. */
12116
12156
  secondaryIpRanges?: UsableSubnetworkSecondaryRange[];
@@ -13879,7 +13919,7 @@ declare namespace gapi.client {
13879
13919
  access_token?: string;
13880
13920
  /** Data format for response. */
13881
13921
  alt?: string;
13882
- /** Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. */
13922
+ /** Name of the BackendBucket resource to which the security policy should be set. The name should conform to RFC1035. */
13883
13923
  backendBucket: string;
13884
13924
  /** JSONP */
13885
13925
  callback?: string;
@@ -13914,7 +13954,7 @@ declare namespace gapi.client {
13914
13954
  access_token?: string;
13915
13955
  /** Data format for response. */
13916
13956
  alt?: string;
13917
- /** Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. */
13957
+ /** Name of the BackendBucket resource to which the security policy should be set. The name should conform to RFC1035. */
13918
13958
  backendBucket: string;
13919
13959
  /** JSONP */
13920
13960
  callback?: string;
@@ -24080,7 +24120,7 @@ declare namespace gapi.client {
24080
24120
  /** The name of the zone for this request. */
24081
24121
  zone: string;
24082
24122
  /** Request body */
24083
- resource: InstancesAddNetworkInterfaceRequest;
24123
+ resource: NetworkInterface;
24084
24124
  }): Request<Operation>;
24085
24125
  addNetworkInterface(
24086
24126
  request: {
@@ -24117,7 +24157,7 @@ declare namespace gapi.client {
24117
24157
  /** The name of the zone for this request. */
24118
24158
  zone: string;
24119
24159
  },
24120
- body: InstancesAddNetworkInterfaceRequest
24160
+ body: NetworkInterface
24121
24161
  ): Request<Operation>;
24122
24162
  /** Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations. */
24123
24163
  addResourcePolicies(request: {
@@ -44732,6 +44772,113 @@ declare namespace gapi.client {
44732
44772
  body: TestPermissionsRequest
44733
44773
  ): Request<TestPermissionsResponse>;
44734
44774
  }
44775
+ interface RegionSnapshotSettingsResource {
44776
+ /** Get region snapshot settings. */
44777
+ get(request?: {
44778
+ /** V1 error format. */
44779
+ '$.xgafv'?: string;
44780
+ /** OAuth access token. */
44781
+ access_token?: string;
44782
+ /** Data format for response. */
44783
+ alt?: string;
44784
+ /** JSONP */
44785
+ callback?: string;
44786
+ /** Selector specifying which fields to include in a partial response. */
44787
+ fields?: string;
44788
+ /** 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. */
44789
+ key?: string;
44790
+ /** OAuth 2.0 token for the current user. */
44791
+ oauth_token?: string;
44792
+ /** Returns response with indentations and line breaks. */
44793
+ prettyPrint?: boolean;
44794
+ /** Project ID for this request. */
44795
+ project: string;
44796
+ /** 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. */
44797
+ quotaUser?: string;
44798
+ /** Name of the region for this request. */
44799
+ region: string;
44800
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44801
+ upload_protocol?: string;
44802
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44803
+ uploadType?: string;
44804
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
44805
+ userIp?: string;
44806
+ }): Request<SnapshotSettings>;
44807
+ /** Patch region snapshot settings. */
44808
+ patch(request: {
44809
+ /** V1 error format. */
44810
+ '$.xgafv'?: string;
44811
+ /** OAuth access token. */
44812
+ access_token?: string;
44813
+ /** Data format for response. */
44814
+ alt?: string;
44815
+ /** JSONP */
44816
+ callback?: string;
44817
+ /** Selector specifying which fields to include in a partial response. */
44818
+ fields?: string;
44819
+ /** 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. */
44820
+ key?: string;
44821
+ /** OAuth 2.0 token for the current user. */
44822
+ oauth_token?: string;
44823
+ /** Returns response with indentations and line breaks. */
44824
+ prettyPrint?: boolean;
44825
+ /** Project ID for this request. */
44826
+ project: string;
44827
+ /** 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. */
44828
+ quotaUser?: string;
44829
+ /** Name of the region for this request. */
44830
+ region: string;
44831
+ /** 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 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 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 commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
44832
+ requestId?: string;
44833
+ /** update_mask indicates fields to be updated as part of this request. */
44834
+ updateMask?: string;
44835
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44836
+ upload_protocol?: string;
44837
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44838
+ uploadType?: string;
44839
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
44840
+ userIp?: string;
44841
+ /** Request body */
44842
+ resource: SnapshotSettings;
44843
+ }): Request<Operation>;
44844
+ patch(
44845
+ request: {
44846
+ /** V1 error format. */
44847
+ '$.xgafv'?: string;
44848
+ /** OAuth access token. */
44849
+ access_token?: string;
44850
+ /** Data format for response. */
44851
+ alt?: string;
44852
+ /** JSONP */
44853
+ callback?: string;
44854
+ /** Selector specifying which fields to include in a partial response. */
44855
+ fields?: string;
44856
+ /** 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. */
44857
+ key?: string;
44858
+ /** OAuth 2.0 token for the current user. */
44859
+ oauth_token?: string;
44860
+ /** Returns response with indentations and line breaks. */
44861
+ prettyPrint?: boolean;
44862
+ /** Project ID for this request. */
44863
+ project: string;
44864
+ /** 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. */
44865
+ quotaUser?: string;
44866
+ /** Name of the region for this request. */
44867
+ region: string;
44868
+ /** 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 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 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 commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
44869
+ requestId?: string;
44870
+ /** update_mask indicates fields to be updated as part of this request. */
44871
+ updateMask?: string;
44872
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44873
+ upload_protocol?: string;
44874
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44875
+ uploadType?: string;
44876
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
44877
+ userIp?: string;
44878
+ },
44879
+ body: SnapshotSettings
44880
+ ): Request<Operation>;
44881
+ }
44735
44882
  interface RegionSslCertificatesResource {
44736
44883
  /** Deletes the specified SslCertificate resource in the region. */
44737
44884
  delete(request?: {
@@ -57426,6 +57573,8 @@ declare namespace gapi.client {
57426
57573
 
57427
57574
  const regionSecurityPolicies: RegionSecurityPoliciesResource;
57428
57575
 
57576
+ const regionSnapshotSettings: RegionSnapshotSettingsResource;
57577
+
57429
57578
  const regionSnapshots: RegionSnapshotsResource;
57430
57579
 
57431
57580
  const regionSslCertificates: RegionSslCertificatesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20231128",
3
+ "version": "0.0.20231231",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -3325,6 +3325,16 @@ Returns permissions that a caller has on the specified resource.
3325
3325
  */
3326
3326
  await gapi.client.compute.regionSnapshots.testIamPermissions({ project: "project", region: "region", resource: "resource", });
3327
3327
 
3328
+ /*
3329
+ Get region snapshot settings.
3330
+ */
3331
+ await gapi.client.compute.regionSnapshotSettings.get({ project: "project", region: "region", });
3332
+
3333
+ /*
3334
+ Patch region snapshot settings.
3335
+ */
3336
+ await gapi.client.compute.regionSnapshotSettings.patch({ project: "project", region: "region", });
3337
+
3328
3338
  /*
3329
3339
  Deletes the specified SslCertificate resource in the region.
3330
3340
  */