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

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 +192 -209
  2. package/package.json +1 -1
  3. package/readme.md +10 -10
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: 20240109
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[];
@@ -2300,7 +2302,7 @@ declare namespace gapi.client {
2300
2302
  percent?: number;
2301
2303
  }
2302
2304
  interface ForwardingRule {
2303
- /** This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If set to true, clients can access the internal passthrough Network Load Balancers, the regional internal Application Load Balancer, and the regional internal proxy Network Load Balancer from all regions. If false, only allows access from the local region the load balancer is located at. Note that for INTERNAL_MANAGED forwarding rules, this field cannot be changed after the forwarding rule is created. */
2305
+ /** If set to true, clients can access the internal passthrough Network Load Balancers, the regional internal Application Load Balancer, and the regional internal proxy Network Load Balancer from all regions. If false, only allows access from the local region the load balancer is located at. Note that for INTERNAL_MANAGED forwarding rules, this field cannot be changed after the forwarding rule is created. */
2304
2306
  allowGlobalAccess?: boolean;
2305
2307
  /** This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region. */
2306
2308
  allowPscGlobalAccess?: boolean;
@@ -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 - TDX_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[];
@@ -4656,18 +4658,6 @@ declare namespace gapi.client {
4656
4658
  message?: string;
4657
4659
  };
4658
4660
  }
4659
- interface InstantSnapshotExportParams {
4660
- /** An optional base instant snapshot that this resource is compared against. If not specified, all blocks of this resource are exported. The base instant snapshot and this resource must be created from the same disk. The base instant snapshot must be created earlier in time than this resource. */
4661
- baseInstantSnapshot?: string;
4662
- /** The name of an existing bucket in Cloud Storage where the changed blocks will be stored. The Google Service Account must have read and write access to this bucket. The bucket has to be in the same region as this resource. */
4663
- bucketName?: string;
4664
- /** Encryption key used to encrypt the instant snapshot. */
4665
- encryptionKey?: CustomerEncryptionKey;
4666
- /** Name of the output Bigstore object storing the changed blocks. Object name must be less than 1024 bytes in length. */
4667
- objectName?: string;
4668
- /** The format of the output file. */
4669
- outputType?: string;
4670
- }
4671
4661
  interface InstantSnapshotList {
4672
4662
  /** [Output Only] Unique identifier for the resource; defined by the server. */
4673
4663
  id?: string;
@@ -4698,10 +4688,6 @@ declare namespace gapi.client {
4698
4688
  /** [Output Only] The storage size of this instant snapshot. */
4699
4689
  storageSizeBytes?: string;
4700
4690
  }
4701
- interface InstantSnapshotsExportRequest {
4702
- /** Parameters to export the changed blocks. */
4703
- exportParams?: InstantSnapshotExportParams;
4704
- }
4705
4691
  interface InstantSnapshotsScopedList {
4706
4692
  /** [Output Only] A list of instantSnapshots contained in this scope. */
4707
4693
  instantSnapshots?: InstantSnapshot[];
@@ -4839,6 +4825,8 @@ declare namespace gapi.client {
4839
4825
  labels?: {[P in string]: string};
4840
4826
  /** 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
4827
  mtu?: number;
4828
+ /** Whether or not to permit multicast traffic for this attachment. Multicast packets will be dropped if this is not enabled. */
4829
+ multicastEnabled?: boolean;
4842
4830
  /** 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
4831
  name?: string;
4844
4832
  /** [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. */
@@ -6070,7 +6058,7 @@ declare namespace gapi.client {
6070
6058
  clientPort?: number;
6071
6059
  /** Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. */
6072
6060
  fqdn?: string;
6073
- /** The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035. */
6061
+ /** The name or a URL of a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for regional NEGs). The name must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing instance. */
6074
6062
  instance?: string;
6075
6063
  /** Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used. */
6076
6064
  ipAddress?: string;
@@ -7238,11 +7226,11 @@ declare namespace gapi.client {
7238
7226
  };
7239
7227
  }
7240
7228
  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. */
7229
+ /** 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
7230
  cidrRanges?: string[];
7243
7231
  /** Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. */
7244
7232
  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. */
7233
+ /** 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
7234
  IPProtocols?: string[];
7247
7235
  }
7248
7236
  interface PacketMirroringForwardingRuleInfo {
@@ -8217,10 +8205,6 @@ declare namespace gapi.client {
8217
8205
  /** The list of named ports to set for this instance group. */
8218
8206
  namedPorts?: NamedPort[];
8219
8207
  }
8220
- interface RegionInstantSnapshotsExportRequest {
8221
- /** Parameters to export the changed blocks. */
8222
- exportParams?: InstantSnapshotExportParams;
8223
- }
8224
8208
  interface RegionList {
8225
8209
  /** [Output Only] Unique identifier for the resource; defined by the server. */
8226
8210
  id?: string;
@@ -9470,7 +9454,7 @@ declare namespace gapi.client {
9470
9454
  ddosProtectionConfig?: SecurityPolicyDdosProtectionConfig;
9471
9455
  /** An optional description of this resource. Provide this property when you create the resource. */
9472
9456
  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. */
9457
+ /** 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
9458
  displayName?: string;
9475
9459
  /** 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
9460
  fingerprint?: string;
@@ -9688,7 +9672,7 @@ declare namespace gapi.client {
9688
9672
  ports?: string[];
9689
9673
  }
9690
9674
  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. */
9675
+ /** reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect. */
9692
9676
  recaptchaOptions?: SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions;
9693
9677
  }
9694
9678
  interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions {
@@ -10229,9 +10213,21 @@ declare namespace gapi.client {
10229
10213
  };
10230
10214
  }
10231
10215
  interface SnapshotSettings {
10216
+ /** (Regional snapshots use only)Policy of which location is allowed to access snapshot. */
10217
+ accessLocation?: SnapshotSettingsAccessLocation;
10232
10218
  /** 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
10219
  storageLocation?: SnapshotSettingsStorageLocationSettings;
10234
10220
  }
10221
+ interface SnapshotSettingsAccessLocation {
10222
+ /** List of regions that can restore a regional snapshot from the current region */
10223
+ locations?: {
10224
+ [P in string]: SnapshotSettingsAccessLocationAccessLocationPreference;
10225
+ };
10226
+ }
10227
+ interface SnapshotSettingsAccessLocationAccessLocationPreference {
10228
+ /** Accessible region name */
10229
+ region?: string;
10230
+ }
10235
10231
  interface SnapshotSettingsStorageLocationSettings {
10236
10232
  /** When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations. */
10237
10233
  locations?: {
@@ -10606,9 +10602,15 @@ declare namespace gapi.client {
10606
10602
  name?: string;
10607
10603
  /** Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. */
10608
10604
  performanceProvisioningType?: string;
10609
- /** Provsioned IOPS of the storage pool. */
10610
- provisionedIops?: string;
10605
+ /** Size, in GiB, of the storage pool. */
10606
+ poolProvisionedCapacityGb?: string;
10607
+ /** Provsioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced. */
10608
+ poolProvisionedIops?: string;
10611
10609
  /** Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput. */
10610
+ poolProvisionedThroughput?: string;
10611
+ /** DEPRECATED -- use "pool provisioned IOPS". */
10612
+ provisionedIops?: string;
10613
+ /** DEPRECATED -- use "pool provisioned throughput". */
10612
10614
  provisionedThroughput?: string;
10613
10615
  /** [Output Only] Status information for the storage pool resource. */
10614
10616
  resourceStatus?: StoragePoolResourceStatus;
@@ -10616,7 +10618,7 @@ declare namespace gapi.client {
10616
10618
  selfLink?: string;
10617
10619
  /** [Output Only] Server-defined URL for this resource's resource id. */
10618
10620
  selfLinkWithId?: string;
10619
- /** Size, in GiB, of the storage pool. */
10621
+ /** DEPRECATED -- use "pool provisioned capacity gb". */
10620
10622
  sizeGb?: string;
10621
10623
  /** [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
10624
  state?: string;
@@ -10739,21 +10741,39 @@ declare namespace gapi.client {
10739
10741
  };
10740
10742
  }
10741
10743
  interface StoragePoolResourceStatus {
10742
- /** [Output Only] Sum of all the disks' provisioned IOPS. */
10744
+ /** DEPRECATED -- use "total_provisioned_disk_iops". */
10743
10745
  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. */
10746
+ /** DEPRECATED -- use "total provisioned disk size gb". */
10745
10747
  aggregateDiskSizeGb?: string;
10748
+ /** [Output Only] Number of disks used. */
10749
+ diskCount?: string;
10746
10750
  /** [Output Only] Timestamp of the last successful resize in RFC3339 text format. */
10747
10751
  lastResizeTimestamp?: string;
10748
- /** [Output Only] Maximum allowed aggregate disk size in gigabytes. */
10752
+ /** DEPRECATED -- use "max provisioned disk size gb" */
10749
10753
  maxAggregateDiskSizeGb?: string;
10750
- /** [Output Only] Number of disks used. */
10754
+ /** [Output Only] Maximum allowed aggregate disk size in gigabytes. */
10755
+ maxTotalProvisionedDiskCapacityGb?: string;
10756
+ /** DEPRECATED -- use "disk count". */
10751
10757
  numberOfDisks?: string;
10752
- /** [Output Only] Space used by data stored in disks within the storage pool (in bytes). */
10758
+ /** [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. */
10759
+ poolUsedCapacityBytes?: string;
10760
+ /** Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. */
10761
+ poolUsedIops?: string;
10762
+ /** [Output Only] Sum of all the disks' provisioned throughput in MB/s. */
10763
+ poolUsedThroughput?: string;
10764
+ /** [Output Only] Amount of data written into the pool, before it is compacted. */
10765
+ poolUserWrittenBytes?: string;
10766
+ /** [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. */
10767
+ totalProvisionedDiskCapacityGb?: string;
10768
+ /** [Output Only] Sum of all the disks' provisioned IOPS. */
10769
+ totalProvisionedDiskIops?: string;
10770
+ /** [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. */
10771
+ totalProvisionedDiskThroughput?: string;
10772
+ /** DEPRECATED -- use "pool used capacity". */
10753
10773
  usedBytes?: string;
10754
- /** [Output Only] Space used by compressed and deduped data stored in disks within the storage pool (in bytes). */
10774
+ /** DEPRECATED -- do not use, will be removed. */
10755
10775
  usedReducedBytes?: string;
10756
- /** [Output Only] Sum of all the disks' provisioned throughput in MB/s. */
10776
+ /** DEPRECATED -- use "pool used throughput". */
10757
10777
  usedThroughput?: string;
10758
10778
  }
10759
10779
  interface StoragePoolsScopedList {
@@ -10785,17 +10805,19 @@ declare namespace gapi.client {
10785
10805
  id?: string;
10786
10806
  /** [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types. */
10787
10807
  kind?: string;
10808
+ /** [Output Only] Maximum storage pool size in GB. */
10809
+ maxPoolProvisionedCapacityGb?: string;
10788
10810
  /** [Output Only] Maximum provisioned IOPS. */
10789
- maxProvisionedIops?: string;
10811
+ maxPoolProvisionedIops?: string;
10790
10812
  /** [Output Only] Maximum provisioned throughput. */
10791
- maxProvisionedThroughput?: string;
10792
- /** [Output Only] Maximum storage pool size in GB. */
10793
- maxSizeGb?: string;
10813
+ maxPoolProvisionedThroughput?: string;
10814
+ /** [Output Only] Minimum storage pool size in GB. */
10815
+ minPoolProvisionedCapacityGb?: string;
10794
10816
  /** [Output Only] Minimum provisioned IOPS. */
10795
- minProvisionedIops?: string;
10817
+ minPoolProvisionedIops?: string;
10796
10818
  /** [Output Only] Minimum provisioned throughput. */
10797
- minProvisionedThroughput?: string;
10798
- /** [Output Only] Minimum storage pool size in GB. */
10819
+ minPoolProvisionedThroughput?: string;
10820
+ /** [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead. */
10799
10821
  minSizeGb?: string;
10800
10822
  /** [Output Only] Name of the resource. */
10801
10823
  name?: string;
@@ -10929,13 +10951,13 @@ declare namespace gapi.client {
10929
10951
  privateIpGoogleAccess?: boolean;
10930
10952
  /** This field is for internal use. This field can be both set at resource creation time and updated using patch. */
10931
10953
  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. */
10954
+ /** 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
10955
  purpose?: string;
10934
10956
  /** URL of the region where the Subnetwork resides. This field can be set only at resource creation time. */
10935
10957
  region?: string;
10936
10958
  /** The URL of the reserved internal range. */
10937
10959
  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. */
10960
+ /** 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
10961
  role?: string;
10940
10962
  /** 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
10963
  secondaryIpRanges?: SubnetworkSecondaryRange[];
@@ -12108,9 +12130,9 @@ declare namespace gapi.client {
12108
12130
  ipv6AccessType?: string;
12109
12131
  /** Network URL. */
12110
12132
  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. */
12133
+ /** 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
12134
  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. */
12135
+ /** 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
12136
  role?: string;
12115
12137
  /** Secondary IP ranges. */
12116
12138
  secondaryIpRanges?: UsableSubnetworkSecondaryRange[];
@@ -13879,7 +13901,7 @@ declare namespace gapi.client {
13879
13901
  access_token?: string;
13880
13902
  /** Data format for response. */
13881
13903
  alt?: string;
13882
- /** Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. */
13904
+ /** Name of the BackendBucket resource to which the security policy should be set. The name should conform to RFC1035. */
13883
13905
  backendBucket: string;
13884
13906
  /** JSONP */
13885
13907
  callback?: string;
@@ -13914,7 +13936,7 @@ declare namespace gapi.client {
13914
13936
  access_token?: string;
13915
13937
  /** Data format for response. */
13916
13938
  alt?: string;
13917
- /** Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. */
13939
+ /** Name of the BackendBucket resource to which the security policy should be set. The name should conform to RFC1035. */
13918
13940
  backendBucket: string;
13919
13941
  /** JSONP */
13920
13942
  callback?: string;
@@ -24080,7 +24102,7 @@ declare namespace gapi.client {
24080
24102
  /** The name of the zone for this request. */
24081
24103
  zone: string;
24082
24104
  /** Request body */
24083
- resource: InstancesAddNetworkInterfaceRequest;
24105
+ resource: NetworkInterface;
24084
24106
  }): Request<Operation>;
24085
24107
  addNetworkInterface(
24086
24108
  request: {
@@ -24117,7 +24139,7 @@ declare namespace gapi.client {
24117
24139
  /** The name of the zone for this request. */
24118
24140
  zone: string;
24119
24141
  },
24120
- body: InstancesAddNetworkInterfaceRequest
24142
+ body: NetworkInterface
24121
24143
  ): Request<Operation>;
24122
24144
  /** 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
24145
  addResourcePolicies(request: {
@@ -27561,80 +27583,6 @@ declare namespace gapi.client {
27561
27583
  /** The name of the zone for this request. */
27562
27584
  zone: string;
27563
27585
  }): Request<Operation>;
27564
- /** Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format. */
27565
- export(request: {
27566
- /** V1 error format. */
27567
- '$.xgafv'?: string;
27568
- /** OAuth access token. */
27569
- access_token?: string;
27570
- /** Data format for response. */
27571
- alt?: string;
27572
- /** JSONP */
27573
- callback?: string;
27574
- /** Selector specifying which fields to include in a partial response. */
27575
- fields?: string;
27576
- /** Name of the instant snapshot to export. */
27577
- instantSnapshot: string;
27578
- /** 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. */
27579
- key?: string;
27580
- /** OAuth 2.0 token for the current user. */
27581
- oauth_token?: string;
27582
- /** Returns response with indentations and line breaks. */
27583
- prettyPrint?: boolean;
27584
- /** Project ID for this request. */
27585
- project: string;
27586
- /** 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. */
27587
- quotaUser?: string;
27588
- /** 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). */
27589
- requestId?: string;
27590
- /** Upload protocol for media (e.g. "raw", "multipart"). */
27591
- upload_protocol?: string;
27592
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27593
- uploadType?: string;
27594
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
27595
- userIp?: string;
27596
- /** The name of the zone for this request. */
27597
- zone: string;
27598
- /** Request body */
27599
- resource: InstantSnapshotsExportRequest;
27600
- }): Request<Operation>;
27601
- export(
27602
- request: {
27603
- /** V1 error format. */
27604
- '$.xgafv'?: string;
27605
- /** OAuth access token. */
27606
- access_token?: string;
27607
- /** Data format for response. */
27608
- alt?: string;
27609
- /** JSONP */
27610
- callback?: string;
27611
- /** Selector specifying which fields to include in a partial response. */
27612
- fields?: string;
27613
- /** Name of the instant snapshot to export. */
27614
- instantSnapshot: string;
27615
- /** 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. */
27616
- key?: string;
27617
- /** OAuth 2.0 token for the current user. */
27618
- oauth_token?: string;
27619
- /** Returns response with indentations and line breaks. */
27620
- prettyPrint?: boolean;
27621
- /** Project ID for this request. */
27622
- project: string;
27623
- /** 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. */
27624
- quotaUser?: string;
27625
- /** 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). */
27626
- requestId?: string;
27627
- /** Upload protocol for media (e.g. "raw", "multipart"). */
27628
- upload_protocol?: string;
27629
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27630
- uploadType?: string;
27631
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
27632
- userIp?: string;
27633
- /** The name of the zone for this request. */
27634
- zone: string;
27635
- },
27636
- body: InstantSnapshotsExportRequest
27637
- ): Request<Operation>;
27638
27586
  /** Returns the specified InstantSnapshot resource in the specified zone. */
27639
27587
  get(request?: {
27640
27588
  /** V1 error format. */
@@ -41814,80 +41762,6 @@ declare namespace gapi.client {
41814
41762
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
41815
41763
  userIp?: string;
41816
41764
  }): Request<Operation>;
41817
- /** Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format. */
41818
- export(request: {
41819
- /** V1 error format. */
41820
- '$.xgafv'?: string;
41821
- /** OAuth access token. */
41822
- access_token?: string;
41823
- /** Data format for response. */
41824
- alt?: string;
41825
- /** JSONP */
41826
- callback?: string;
41827
- /** Selector specifying which fields to include in a partial response. */
41828
- fields?: string;
41829
- /** Name of the instant snapshot to export. */
41830
- instantSnapshot: string;
41831
- /** 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. */
41832
- key?: string;
41833
- /** OAuth 2.0 token for the current user. */
41834
- oauth_token?: string;
41835
- /** Returns response with indentations and line breaks. */
41836
- prettyPrint?: boolean;
41837
- /** Project ID for this request. */
41838
- project: string;
41839
- /** 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. */
41840
- quotaUser?: string;
41841
- /** The name of the zone for this request. */
41842
- region: string;
41843
- /** 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). */
41844
- requestId?: string;
41845
- /** Upload protocol for media (e.g. "raw", "multipart"). */
41846
- upload_protocol?: string;
41847
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41848
- uploadType?: string;
41849
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
41850
- userIp?: string;
41851
- /** Request body */
41852
- resource: RegionInstantSnapshotsExportRequest;
41853
- }): Request<Operation>;
41854
- export(
41855
- request: {
41856
- /** V1 error format. */
41857
- '$.xgafv'?: string;
41858
- /** OAuth access token. */
41859
- access_token?: string;
41860
- /** Data format for response. */
41861
- alt?: string;
41862
- /** JSONP */
41863
- callback?: string;
41864
- /** Selector specifying which fields to include in a partial response. */
41865
- fields?: string;
41866
- /** Name of the instant snapshot to export. */
41867
- instantSnapshot: string;
41868
- /** 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. */
41869
- key?: string;
41870
- /** OAuth 2.0 token for the current user. */
41871
- oauth_token?: string;
41872
- /** Returns response with indentations and line breaks. */
41873
- prettyPrint?: boolean;
41874
- /** Project ID for this request. */
41875
- project: string;
41876
- /** 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. */
41877
- quotaUser?: string;
41878
- /** The name of the zone for this request. */
41879
- region: string;
41880
- /** 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). */
41881
- requestId?: string;
41882
- /** Upload protocol for media (e.g. "raw", "multipart"). */
41883
- upload_protocol?: string;
41884
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41885
- uploadType?: string;
41886
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
41887
- userIp?: string;
41888
- },
41889
- body: RegionInstantSnapshotsExportRequest
41890
- ): Request<Operation>;
41891
41765
  /** Returns the specified InstantSnapshot resource in the specified region. */
41892
41766
  get(request?: {
41893
41767
  /** V1 error format. */
@@ -44732,6 +44606,113 @@ declare namespace gapi.client {
44732
44606
  body: TestPermissionsRequest
44733
44607
  ): Request<TestPermissionsResponse>;
44734
44608
  }
44609
+ interface RegionSnapshotSettingsResource {
44610
+ /** Get region snapshot settings. */
44611
+ get(request?: {
44612
+ /** V1 error format. */
44613
+ '$.xgafv'?: string;
44614
+ /** OAuth access token. */
44615
+ access_token?: string;
44616
+ /** Data format for response. */
44617
+ alt?: string;
44618
+ /** JSONP */
44619
+ callback?: string;
44620
+ /** Selector specifying which fields to include in a partial response. */
44621
+ fields?: string;
44622
+ /** 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. */
44623
+ key?: string;
44624
+ /** OAuth 2.0 token for the current user. */
44625
+ oauth_token?: string;
44626
+ /** Returns response with indentations and line breaks. */
44627
+ prettyPrint?: boolean;
44628
+ /** Project ID for this request. */
44629
+ project: string;
44630
+ /** 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. */
44631
+ quotaUser?: string;
44632
+ /** Name of the region for this request. */
44633
+ region: string;
44634
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44635
+ upload_protocol?: string;
44636
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44637
+ uploadType?: string;
44638
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
44639
+ userIp?: string;
44640
+ }): Request<SnapshotSettings>;
44641
+ /** Patch region snapshot settings. */
44642
+ patch(request: {
44643
+ /** V1 error format. */
44644
+ '$.xgafv'?: string;
44645
+ /** OAuth access token. */
44646
+ access_token?: string;
44647
+ /** Data format for response. */
44648
+ alt?: string;
44649
+ /** JSONP */
44650
+ callback?: string;
44651
+ /** Selector specifying which fields to include in a partial response. */
44652
+ fields?: string;
44653
+ /** 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. */
44654
+ key?: string;
44655
+ /** OAuth 2.0 token for the current user. */
44656
+ oauth_token?: string;
44657
+ /** Returns response with indentations and line breaks. */
44658
+ prettyPrint?: boolean;
44659
+ /** Project ID for this request. */
44660
+ project: string;
44661
+ /** 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. */
44662
+ quotaUser?: string;
44663
+ /** Name of the region for this request. */
44664
+ region: string;
44665
+ /** 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). */
44666
+ requestId?: string;
44667
+ /** update_mask indicates fields to be updated as part of this request. */
44668
+ updateMask?: string;
44669
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44670
+ upload_protocol?: string;
44671
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44672
+ uploadType?: string;
44673
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
44674
+ userIp?: string;
44675
+ /** Request body */
44676
+ resource: SnapshotSettings;
44677
+ }): Request<Operation>;
44678
+ patch(
44679
+ request: {
44680
+ /** V1 error format. */
44681
+ '$.xgafv'?: string;
44682
+ /** OAuth access token. */
44683
+ access_token?: string;
44684
+ /** Data format for response. */
44685
+ alt?: string;
44686
+ /** JSONP */
44687
+ callback?: string;
44688
+ /** Selector specifying which fields to include in a partial response. */
44689
+ fields?: string;
44690
+ /** 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. */
44691
+ key?: string;
44692
+ /** OAuth 2.0 token for the current user. */
44693
+ oauth_token?: string;
44694
+ /** Returns response with indentations and line breaks. */
44695
+ prettyPrint?: boolean;
44696
+ /** Project ID for this request. */
44697
+ project: string;
44698
+ /** 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. */
44699
+ quotaUser?: string;
44700
+ /** Name of the region for this request. */
44701
+ region: string;
44702
+ /** 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). */
44703
+ requestId?: string;
44704
+ /** update_mask indicates fields to be updated as part of this request. */
44705
+ updateMask?: string;
44706
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44707
+ upload_protocol?: string;
44708
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44709
+ uploadType?: string;
44710
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
44711
+ userIp?: string;
44712
+ },
44713
+ body: SnapshotSettings
44714
+ ): Request<Operation>;
44715
+ }
44735
44716
  interface RegionSslCertificatesResource {
44736
44717
  /** Deletes the specified SslCertificate resource in the region. */
44737
44718
  delete(request?: {
@@ -57426,6 +57407,8 @@ declare namespace gapi.client {
57426
57407
 
57427
57408
  const regionSecurityPolicies: RegionSecurityPoliciesResource;
57428
57409
 
57410
+ const regionSnapshotSettings: RegionSnapshotSettingsResource;
57411
+
57429
57412
  const regionSnapshots: RegionSnapshotsResource;
57430
57413
 
57431
57414
  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.20240109",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -1570,11 +1570,6 @@ Deletes the specified InstantSnapshot resource. Keep in mind that deleting a sin
1570
1570
  */
1571
1571
  await gapi.client.compute.instantSnapshots.delete({ instantSnapshot: "instantSnapshot", project: "project", zone: "zone", });
1572
1572
 
1573
- /*
1574
- Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format.
1575
- */
1576
- await gapi.client.compute.instantSnapshots.export({ instantSnapshot: "instantSnapshot", project: "project", zone: "zone", });
1577
-
1578
1573
  /*
1579
1574
  Returns the specified InstantSnapshot resource in the specified zone.
1580
1575
  */
@@ -3015,11 +3010,6 @@ Deletes the specified InstantSnapshot resource. Keep in mind that deleting a sin
3015
3010
  */
3016
3011
  await gapi.client.compute.regionInstantSnapshots.delete({ instantSnapshot: "instantSnapshot", project: "project", region: "region", });
3017
3012
 
3018
- /*
3019
- Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format.
3020
- */
3021
- await gapi.client.compute.regionInstantSnapshots.export({ instantSnapshot: "instantSnapshot", project: "project", region: "region", });
3022
-
3023
3013
  /*
3024
3014
  Returns the specified InstantSnapshot resource in the specified region.
3025
3015
  */
@@ -3325,6 +3315,16 @@ Returns permissions that a caller has on the specified resource.
3325
3315
  */
3326
3316
  await gapi.client.compute.regionSnapshots.testIamPermissions({ project: "project", region: "region", resource: "resource", });
3327
3317
 
3318
+ /*
3319
+ Get region snapshot settings.
3320
+ */
3321
+ await gapi.client.compute.regionSnapshotSettings.get({ project: "project", region: "region", });
3322
+
3323
+ /*
3324
+ Patch region snapshot settings.
3325
+ */
3326
+ await gapi.client.compute.regionSnapshotSettings.patch({ project: "project", region: "region", });
3327
+
3328
3328
  /*
3329
3329
  Deletes the specified SslCertificate resource in the region.
3330
3330
  */