@maxim_mazurok/gapi.client.compute-alpha 0.0.20230502 → 0.0.20230516

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 (4) hide show
  1. package/index.d.ts +200 -20
  2. package/package.json +1 -1
  3. package/readme.md +10 -0
  4. package/tests.ts +186 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
12
- // Revision: 20230502
12
+ // Revision: 20230516
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -509,6 +509,9 @@ declare namespace gapi.client {
509
509
  /** The VM family that all instances scheduled against this reservation must belong to. */
510
510
  vmFamily?:
511
511
  string;
512
+ /** The workload type of the instances that will target this reservation. */
513
+ workloadType?:
514
+ string;
512
515
  }
513
516
  interface AllocationAggregateReservationReservedResourceInfo {
514
517
  /** Properties of accelerator resources in this reservation. */
@@ -715,7 +718,7 @@ declare namespace gapi.client {
715
718
  */
716
719
  diskType?:
717
720
  string;
718
- /** Whether this disk is using confidential compute mode. see go/confidential-mode-in-arcus for details. */
721
+ /** Whether this disk is using confidential compute mode. */
719
722
  enableConfidentialCompute?:
720
723
  boolean;
721
724
  /**
@@ -1076,9 +1079,10 @@ declare namespace gapi.client {
1076
1079
  }
1077
1080
  interface AutoscalingPolicy {
1078
1081
  /**
1079
- * The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the
1080
- * instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary
1081
- * because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.
1082
+ * The number of seconds that your application takes to initialize on a VM instance. This is referred to as the [initialization period](/compute/docs/autoscaler#cool_down_period).
1083
+ * Specifying an accurate initialization period improves autoscaler decisions. For example, when scaling out, the autoscaler ignores data from VMs that are still initializing because
1084
+ * those VMs might not yet represent normal usage of your application. The default initialization period is 60 seconds. Initialization periods might vary because of numerous factors.
1085
+ * We recommend that you test how long your application takes to initialize. To do this, create a VM and time your application's startup process.
1082
1086
  */
1083
1087
  coolDownPeriodSec?:
1084
1088
  number;
@@ -1103,7 +1107,10 @@ declare namespace gapi.client {
1103
1107
  */
1104
1108
  minNumReplicas?:
1105
1109
  number;
1106
- /** Defines operating mode for this policy. */
1110
+ /**
1111
+ * Defines the operating mode for this policy. The following modes are available: - OFF: Disables the autoscaler but maintains its configuration. - ONLY_SCALE_OUT: Restricts the
1112
+ * autoscaler to add VM instances only. - ON: Enables all autoscaler activities according to its policy. For more information, see "Turning off or restricting an autoscaler"
1113
+ */
1107
1114
  mode?:
1108
1115
  string;
1109
1116
  scaleDownControl?:
@@ -2509,6 +2516,9 @@ declare namespace gapi.client {
2509
2516
  /** A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together. */
2510
2517
  resources?:
2511
2518
  ResourceCommitment[];
2519
+ /** [Output Only] Status information for Commitment resource. */
2520
+ resourceStatus?:
2521
+ CommitmentResourceStatus;
2512
2522
  /** [Output Only] Server-defined URL for the resource. */
2513
2523
  selfLink?:
2514
2524
  string;
@@ -2625,6 +2635,28 @@ declare namespace gapi.client {
2625
2635
  string;
2626
2636
  };
2627
2637
  }
2638
+ interface CommitmentResourceStatus {
2639
+ /** [Output Only] An optional, contains all the needed information of cancellation. */
2640
+ cancellationInformation?:
2641
+ CommitmentResourceStatusCancellationInformation;
2642
+ }
2643
+ interface CommitmentResourceStatusCancellationInformation {
2644
+ /** [Output Only] An optional amount of CUDs canceled so far in the last 365 days. */
2645
+ canceledCommitment?:
2646
+ Money;
2647
+ /** [Output Only] An optional last update time of canceled_commitment. RFC3339 text format. */
2648
+ canceledCommitmentLastUpdatedTimestamp?:
2649
+ string;
2650
+ /** [Output Only] An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account. */
2651
+ cancellationCap?:
2652
+ Money;
2653
+ /** [Output Only] An optional, cancellation fee. */
2654
+ cancellationFee?:
2655
+ Money;
2656
+ /** [Output Only] An optional, cancellation fee expiration time. RFC3339 text format. */
2657
+ cancellationFeeExpirationTimestamp?:
2658
+ string;
2659
+ }
2628
2660
  interface CommitmentsScopedList {
2629
2661
  /** [Output Only] A list of commitments contained in this scope. */
2630
2662
  commitments?:
@@ -2889,7 +2921,7 @@ declare namespace gapi.client {
2889
2921
  */
2890
2922
  diskEncryptionKey?:
2891
2923
  CustomerEncryptionKey;
2892
- /** Whether this disk is using confidential compute mode. see go/confidential-mode-in-arcus for details. */
2924
+ /** Whether this disk is using confidential compute mode. */
2893
2925
  enableConfidentialCompute?:
2894
2926
  boolean;
2895
2927
  /** Specifies whether the disk restored from a source snapshot should erase Windows specific VSS signature. */
@@ -3276,6 +3308,9 @@ declare namespace gapi.client {
3276
3308
  /** Key: disk, value: AsyncReplicationStatus message */
3277
3309
  asyncSecondaryDisks?:
3278
3310
  { [P in string]: DiskResourceStatusAsyncReplicationStatus };
3311
+ /** [Output Only] Space used by data stored in the disk (in bytes). Note that this field is set only when the disk is in a storage pool. */
3312
+ usedBytes?:
3313
+ string;
3279
3314
  }
3280
3315
  interface DiskResourceStatusAsyncReplicationStatus {
3281
3316
  state?:
@@ -4986,8 +5021,8 @@ declare namespace gapi.client {
4986
5021
  interface GuestOsFeature {
4987
5022
  /**
4988
5023
  * 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 -
4989
- * MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest
4990
- * operating system features.
5024
+ * 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
5025
+ * features.
4991
5026
  */
4992
5027
  type?:
4993
5028
  string;
@@ -7090,9 +7125,9 @@ declare namespace gapi.client {
7090
7125
  healthCheck?:
7091
7126
  string;
7092
7127
  /**
7093
- * The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows
7094
- * instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its
7095
- * instances prematurely. This value must be from range [0, 3600].
7128
+ * The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health
7129
+ * checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial
7130
+ * delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
7096
7131
  */
7097
7132
  initialDelaySec?:
7098
7133
  number;
@@ -10470,6 +10505,21 @@ declare namespace gapi.client {
10470
10505
  value?:
10471
10506
  string;
10472
10507
  }
10508
+ interface Money {
10509
+ /** The three-letter currency code defined in ISO 4217. */
10510
+ currencyCode?:
10511
+ string;
10512
+ /**
10513
+ * Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units`
10514
+ * is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and
10515
+ * `nanos`=-750,000,000.
10516
+ */
10517
+ nanos?:
10518
+ number;
10519
+ /** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
10520
+ units?:
10521
+ string;
10522
+ }
10473
10523
  interface MutualTls {
10474
10524
  /**
10475
10525
  * Specifies if the server TLS is configured to be strict or permissive. This field can be set to one of the following: STRICT: Client certificate must be presented, connection is in
@@ -10690,7 +10740,7 @@ declare namespace gapi.client {
10690
10740
  };
10691
10741
  }
10692
10742
  interface NetworkAttachmentConnectedEndpoint {
10693
- /** The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless. */
10743
+ /** The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless. */
10694
10744
  ipAddress?:
10695
10745
  string;
10696
10746
  /** The project id or number of the interface to which the IP was assigned. */
@@ -16812,6 +16862,9 @@ declare namespace gapi.client {
16812
16862
  */
16813
16863
  expr?:
16814
16864
  Expr;
16865
+ /** The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr'). */
16866
+ exprOptions?:
16867
+ SecurityPolicyRuleMatcherExprOptions;
16815
16868
  /**
16816
16869
  * Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 -
16817
16870
  * must specify the corresponding src_ip_range field in config.
@@ -16863,6 +16916,25 @@ declare namespace gapi.client {
16863
16916
  ports?:
16864
16917
  string[];
16865
16918
  }
16919
+ interface SecurityPolicyRuleMatcherExprOptions {
16920
+ /** reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect. */
16921
+ recaptchaOptions?:
16922
+ SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions;
16923
+ }
16924
+ interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions {
16925
+ /**
16926
+ * A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the
16927
+ * security policy is created.
16928
+ */
16929
+ actionTokenSiteKeys?:
16930
+ string[];
16931
+ /**
16932
+ * A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the
16933
+ * security policy is created.
16934
+ */
16935
+ sessionTokenSiteKeys?:
16936
+ string[];
16937
+ }
16866
16938
  interface SecurityPolicyRuleNetworkMatcher {
16867
16939
  /** Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format. */
16868
16940
  destIpRanges?:
@@ -17088,7 +17160,7 @@ declare namespace gapi.client {
17088
17160
  AWSV4Signature;
17089
17161
  /**
17090
17162
  * Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to
17091
- * a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.
17163
+ * a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted.
17092
17164
  */
17093
17165
  clientTlsPolicy?:
17094
17166
  string;
@@ -17100,8 +17172,7 @@ declare namespace gapi.client {
17100
17172
  * its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues.
17101
17173
  * Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server
17102
17174
  * certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with
17103
- * loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has
17104
- * no impact.
17175
+ * loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode).
17105
17176
  */
17106
17177
  subjectAltNames?:
17107
17178
  string[];
@@ -17547,10 +17618,7 @@ declare namespace gapi.client {
17547
17618
  /** [Output Only] Number of bytes downloaded to restore a snapshot to a disk. */
17548
17619
  downloadBytes?:
17549
17620
  string;
17550
- /**
17551
- * Whether this snapshot is created from a confidential compute mode disk. see go/confidential-mode-in-arcus for details. [Output Only]: This field is not set by user, but from source
17552
- * disk.
17553
- */
17621
+ /** Whether this snapshot is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk. */
17554
17622
  enableConfidentialCompute?:
17555
17623
  boolean;
17556
17624
  /** [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. */
@@ -60444,6 +60512,118 @@ declare namespace gapi.client {
60444
60512
  userIp?:
60445
60513
  string;
60446
60514
  }): Request<CommitmentAggregatedList>;
60515
+ /** Calculate cancellation fee for the specified commitment. */
60516
+ calculateCancellationFee(request?: {
60517
+ /** V1 error format. */
60518
+ "$.xgafv"?:
60519
+ string;
60520
+ /** OAuth access token. */
60521
+ access_token?:
60522
+ string;
60523
+ /** Data format for response. */
60524
+ alt?:
60525
+ string;
60526
+ /** JSONP */
60527
+ callback?:
60528
+ string;
60529
+ /** Name of the commitment to delete. */
60530
+ commitment:
60531
+ string;
60532
+ /** Selector specifying which fields to include in a partial response. */
60533
+ fields?:
60534
+ string;
60535
+ /** 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. */
60536
+ key?:
60537
+ string;
60538
+ /** OAuth 2.0 token for the current user. */
60539
+ oauth_token?:
60540
+ string;
60541
+ /** Returns response with indentations and line breaks. */
60542
+ prettyPrint?:
60543
+ boolean;
60544
+ /** Project ID for this request. */
60545
+ project:
60546
+ string;
60547
+ /** 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. */
60548
+ quotaUser?:
60549
+ string;
60550
+ /** Name of the region for this request. */
60551
+ region:
60552
+ string;
60553
+ /**
60554
+ * 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
60555
+ * 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
60556
+ * 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
60557
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
60558
+ */
60559
+ requestId?:
60560
+ string;
60561
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
60562
+ upload_protocol?:
60563
+ string;
60564
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
60565
+ uploadType?:
60566
+ string;
60567
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
60568
+ userIp?:
60569
+ string;
60570
+ }): Request<Operation>;
60571
+ /** Cancel the specified commitment. */
60572
+ cancel(request?: {
60573
+ /** V1 error format. */
60574
+ "$.xgafv"?:
60575
+ string;
60576
+ /** OAuth access token. */
60577
+ access_token?:
60578
+ string;
60579
+ /** Data format for response. */
60580
+ alt?:
60581
+ string;
60582
+ /** JSONP */
60583
+ callback?:
60584
+ string;
60585
+ /** Name of the commitment to delete. */
60586
+ commitment:
60587
+ string;
60588
+ /** Selector specifying which fields to include in a partial response. */
60589
+ fields?:
60590
+ string;
60591
+ /** 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. */
60592
+ key?:
60593
+ string;
60594
+ /** OAuth 2.0 token for the current user. */
60595
+ oauth_token?:
60596
+ string;
60597
+ /** Returns response with indentations and line breaks. */
60598
+ prettyPrint?:
60599
+ boolean;
60600
+ /** Project ID for this request. */
60601
+ project:
60602
+ string;
60603
+ /** 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. */
60604
+ quotaUser?:
60605
+ string;
60606
+ /** Name of the region for this request. */
60607
+ region:
60608
+ string;
60609
+ /**
60610
+ * 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
60611
+ * 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
60612
+ * 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
60613
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
60614
+ */
60615
+ requestId?:
60616
+ string;
60617
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
60618
+ upload_protocol?:
60619
+ string;
60620
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
60621
+ uploadType?:
60622
+ string;
60623
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
60624
+ userIp?:
60625
+ string;
60626
+ }): Request<Operation>;
60447
60627
  /** Returns the specified commitment resource. */
60448
60628
  get(request?: {
60449
60629
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20230502",
3
+ "version": "0.0.20230516",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -2556,6 +2556,16 @@ Retrieves an aggregated list of commitments by region.
2556
2556
  */
2557
2557
  await gapi.client.compute.regionCommitments.aggregatedList({ project: "project", });
2558
2558
 
2559
+ /*
2560
+ Calculate cancellation fee for the specified commitment.
2561
+ */
2562
+ await gapi.client.compute.regionCommitments.calculateCancellationFee({ commitment: "commitment", project: "project", region: "region", });
2563
+
2564
+ /*
2565
+ Cancel the specified commitment.
2566
+ */
2567
+ await gapi.client.compute.regionCommitments.cancel({ commitment: "commitment", project: "project", region: "region", });
2568
+
2559
2569
  /*
2560
2570
  Returns the specified commitment resource.
2561
2571
  */
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230502
6
+ // Revision: 20230516
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -2457,6 +2457,7 @@ gapi.load('client', async () => {
2457
2457
  state: "Test string",
2458
2458
  }
2459
2459
  },
2460
+ usedBytes: "Test string",
2460
2461
  },
2461
2462
  satisfiesPzs: true,
2462
2463
  selfLink: "Test string",
@@ -2774,6 +2775,7 @@ gapi.load('client', async () => {
2774
2775
  state: "Test string",
2775
2776
  }
2776
2777
  },
2778
+ usedBytes: "Test string",
2777
2779
  },
2778
2780
  satisfiesPzs: true,
2779
2781
  selfLink: "Test string",
@@ -13053,6 +13055,16 @@ gapi.load('client', async () => {
13053
13055
  location: "Test string",
13054
13056
  title: "Test string",
13055
13057
  },
13058
+ exprOptions: {
13059
+ recaptchaOptions: {
13060
+ actionTokenSiteKeys: [
13061
+ "Test string"
13062
+ ],
13063
+ sessionTokenSiteKeys: [
13064
+ "Test string"
13065
+ ],
13066
+ },
13067
+ },
13056
13068
  versionedExpr: "Test string",
13057
13069
  },
13058
13070
  networkMatch: {
@@ -13296,6 +13308,16 @@ gapi.load('client', async () => {
13296
13308
  location: "Test string",
13297
13309
  title: "Test string",
13298
13310
  },
13311
+ exprOptions: {
13312
+ recaptchaOptions: {
13313
+ actionTokenSiteKeys: [
13314
+ "Test string"
13315
+ ],
13316
+ sessionTokenSiteKeys: [
13317
+ "Test string"
13318
+ ],
13319
+ },
13320
+ },
13299
13321
  versionedExpr: "Test string",
13300
13322
  },
13301
13323
  networkMatch: {
@@ -13548,6 +13570,16 @@ gapi.load('client', async () => {
13548
13570
  location: "Test string",
13549
13571
  title: "Test string",
13550
13572
  },
13573
+ exprOptions: {
13574
+ recaptchaOptions: {
13575
+ actionTokenSiteKeys: [
13576
+ "Test string"
13577
+ ],
13578
+ sessionTokenSiteKeys: [
13579
+ "Test string"
13580
+ ],
13581
+ },
13582
+ },
13551
13583
  versionedExpr: "Test string",
13552
13584
  },
13553
13585
  networkMatch: {
@@ -13726,6 +13758,16 @@ gapi.load('client', async () => {
13726
13758
  location: "Test string",
13727
13759
  title: "Test string",
13728
13760
  },
13761
+ exprOptions: {
13762
+ recaptchaOptions: {
13763
+ actionTokenSiteKeys: [
13764
+ "Test string"
13765
+ ],
13766
+ sessionTokenSiteKeys: [
13767
+ "Test string"
13768
+ ],
13769
+ },
13770
+ },
13729
13771
  versionedExpr: "Test string",
13730
13772
  },
13731
13773
  networkMatch: {
@@ -16050,6 +16092,20 @@ gapi.load('client', async () => {
16050
16092
  project: "Test string",
16051
16093
  returnPartialSuccess: true,
16052
16094
  });
16095
+ /** Calculate cancellation fee for the specified commitment. */
16096
+ await gapi.client.compute.regionCommitments.calculateCancellationFee({
16097
+ commitment: "Test string",
16098
+ project: "Test string",
16099
+ region: "Test string",
16100
+ requestId: "Test string",
16101
+ });
16102
+ /** Cancel the specified commitment. */
16103
+ await gapi.client.compute.regionCommitments.cancel({
16104
+ commitment: "Test string",
16105
+ project: "Test string",
16106
+ region: "Test string",
16107
+ requestId: "Test string",
16108
+ });
16053
16109
  /** Returns the specified commitment resource. */
16054
16110
  await gapi.client.compute.regionCommitments.get({
16055
16111
  commitment: "Test string",
@@ -16100,6 +16156,7 @@ gapi.load('client', async () => {
16100
16156
  }
16101
16157
  ],
16102
16158
  vmFamily: "Test string",
16159
+ workloadType: "Test string",
16103
16160
  },
16104
16161
  commitment: "Test string",
16105
16162
  creationTimestamp: "Test string",
@@ -16171,6 +16228,27 @@ gapi.load('client', async () => {
16171
16228
  type: "Test string",
16172
16229
  }
16173
16230
  ],
16231
+ resourceStatus: {
16232
+ cancellationInformation: {
16233
+ canceledCommitment: {
16234
+ currencyCode: "Test string",
16235
+ nanos: 42,
16236
+ units: "Test string",
16237
+ },
16238
+ canceledCommitmentLastUpdatedTimestamp: "Test string",
16239
+ cancellationCap: {
16240
+ currencyCode: "Test string",
16241
+ nanos: 42,
16242
+ units: "Test string",
16243
+ },
16244
+ cancellationFee: {
16245
+ currencyCode: "Test string",
16246
+ nanos: 42,
16247
+ units: "Test string",
16248
+ },
16249
+ cancellationFeeExpirationTimestamp: "Test string",
16250
+ },
16251
+ },
16174
16252
  selfLink: "Test string",
16175
16253
  selfLinkWithId: "Test string",
16176
16254
  splitSourceCommitment: "Test string",
@@ -16249,6 +16327,7 @@ gapi.load('client', async () => {
16249
16327
  }
16250
16328
  ],
16251
16329
  vmFamily: "Test string",
16330
+ workloadType: "Test string",
16252
16331
  },
16253
16332
  commitment: "Test string",
16254
16333
  creationTimestamp: "Test string",
@@ -16320,6 +16399,27 @@ gapi.load('client', async () => {
16320
16399
  type: "Test string",
16321
16400
  }
16322
16401
  ],
16402
+ resourceStatus: {
16403
+ cancellationInformation: {
16404
+ canceledCommitment: {
16405
+ currencyCode: "Test string",
16406
+ nanos: 42,
16407
+ units: "Test string",
16408
+ },
16409
+ canceledCommitmentLastUpdatedTimestamp: "Test string",
16410
+ cancellationCap: {
16411
+ currencyCode: "Test string",
16412
+ nanos: 42,
16413
+ units: "Test string",
16414
+ },
16415
+ cancellationFee: {
16416
+ currencyCode: "Test string",
16417
+ nanos: 42,
16418
+ units: "Test string",
16419
+ },
16420
+ cancellationFeeExpirationTimestamp: "Test string",
16421
+ },
16422
+ },
16323
16423
  selfLink: "Test string",
16324
16424
  selfLinkWithId: "Test string",
16325
16425
  splitSourceCommitment: "Test string",
@@ -16355,6 +16455,7 @@ gapi.load('client', async () => {
16355
16455
  }
16356
16456
  ],
16357
16457
  vmFamily: "Test string",
16458
+ workloadType: "Test string",
16358
16459
  },
16359
16460
  commitment: "Test string",
16360
16461
  creationTimestamp: "Test string",
@@ -16622,6 +16723,7 @@ gapi.load('client', async () => {
16622
16723
  state: "Test string",
16623
16724
  }
16624
16725
  },
16726
+ usedBytes: "Test string",
16625
16727
  },
16626
16728
  satisfiesPzs: true,
16627
16729
  selfLink: "Test string",
@@ -16939,6 +17041,7 @@ gapi.load('client', async () => {
16939
17041
  state: "Test string",
16940
17042
  }
16941
17043
  },
17044
+ usedBytes: "Test string",
16942
17045
  },
16943
17046
  satisfiesPzs: true,
16944
17047
  selfLink: "Test string",
@@ -20212,6 +20315,16 @@ gapi.load('client', async () => {
20212
20315
  location: "Test string",
20213
20316
  title: "Test string",
20214
20317
  },
20318
+ exprOptions: {
20319
+ recaptchaOptions: {
20320
+ actionTokenSiteKeys: [
20321
+ "Test string"
20322
+ ],
20323
+ sessionTokenSiteKeys: [
20324
+ "Test string"
20325
+ ],
20326
+ },
20327
+ },
20215
20328
  versionedExpr: "Test string",
20216
20329
  },
20217
20330
  networkMatch: {
@@ -20452,6 +20565,16 @@ gapi.load('client', async () => {
20452
20565
  location: "Test string",
20453
20566
  title: "Test string",
20454
20567
  },
20568
+ exprOptions: {
20569
+ recaptchaOptions: {
20570
+ actionTokenSiteKeys: [
20571
+ "Test string"
20572
+ ],
20573
+ sessionTokenSiteKeys: [
20574
+ "Test string"
20575
+ ],
20576
+ },
20577
+ },
20455
20578
  versionedExpr: "Test string",
20456
20579
  },
20457
20580
  networkMatch: {
@@ -20702,6 +20825,16 @@ gapi.load('client', async () => {
20702
20825
  location: "Test string",
20703
20826
  title: "Test string",
20704
20827
  },
20828
+ exprOptions: {
20829
+ recaptchaOptions: {
20830
+ actionTokenSiteKeys: [
20831
+ "Test string"
20832
+ ],
20833
+ sessionTokenSiteKeys: [
20834
+ "Test string"
20835
+ ],
20836
+ },
20837
+ },
20705
20838
  versionedExpr: "Test string",
20706
20839
  },
20707
20840
  networkMatch: {
@@ -20883,6 +21016,16 @@ gapi.load('client', async () => {
20883
21016
  location: "Test string",
20884
21017
  title: "Test string",
20885
21018
  },
21019
+ exprOptions: {
21020
+ recaptchaOptions: {
21021
+ actionTokenSiteKeys: [
21022
+ "Test string"
21023
+ ],
21024
+ sessionTokenSiteKeys: [
21025
+ "Test string"
21026
+ ],
21027
+ },
21028
+ },
20886
21029
  versionedExpr: "Test string",
20887
21030
  },
20888
21031
  networkMatch: {
@@ -24136,6 +24279,7 @@ gapi.load('client', async () => {
24136
24279
  }
24137
24280
  ],
24138
24281
  vmFamily: "Test string",
24282
+ workloadType: "Test string",
24139
24283
  },
24140
24284
  commitment: "Test string",
24141
24285
  creationTimestamp: "Test string",
@@ -24363,6 +24507,7 @@ gapi.load('client', async () => {
24363
24507
  }
24364
24508
  ],
24365
24509
  vmFamily: "Test string",
24510
+ workloadType: "Test string",
24366
24511
  },
24367
24512
  commitment: "Test string",
24368
24513
  creationTimestamp: "Test string",
@@ -25597,6 +25742,16 @@ gapi.load('client', async () => {
25597
25742
  location: "Test string",
25598
25743
  title: "Test string",
25599
25744
  },
25745
+ exprOptions: {
25746
+ recaptchaOptions: {
25747
+ actionTokenSiteKeys: [
25748
+ "Test string"
25749
+ ],
25750
+ sessionTokenSiteKeys: [
25751
+ "Test string"
25752
+ ],
25753
+ },
25754
+ },
25600
25755
  versionedExpr: "Test string",
25601
25756
  },
25602
25757
  networkMatch: {
@@ -25843,6 +25998,16 @@ gapi.load('client', async () => {
25843
25998
  location: "Test string",
25844
25999
  title: "Test string",
25845
26000
  },
26001
+ exprOptions: {
26002
+ recaptchaOptions: {
26003
+ actionTokenSiteKeys: [
26004
+ "Test string"
26005
+ ],
26006
+ sessionTokenSiteKeys: [
26007
+ "Test string"
26008
+ ],
26009
+ },
26010
+ },
25846
26011
  versionedExpr: "Test string",
25847
26012
  },
25848
26013
  networkMatch: {
@@ -26100,6 +26265,16 @@ gapi.load('client', async () => {
26100
26265
  location: "Test string",
26101
26266
  title: "Test string",
26102
26267
  },
26268
+ exprOptions: {
26269
+ recaptchaOptions: {
26270
+ actionTokenSiteKeys: [
26271
+ "Test string"
26272
+ ],
26273
+ sessionTokenSiteKeys: [
26274
+ "Test string"
26275
+ ],
26276
+ },
26277
+ },
26103
26278
  versionedExpr: "Test string",
26104
26279
  },
26105
26280
  networkMatch: {
@@ -26280,6 +26455,16 @@ gapi.load('client', async () => {
26280
26455
  location: "Test string",
26281
26456
  title: "Test string",
26282
26457
  },
26458
+ exprOptions: {
26459
+ recaptchaOptions: {
26460
+ actionTokenSiteKeys: [
26461
+ "Test string"
26462
+ ],
26463
+ sessionTokenSiteKeys: [
26464
+ "Test string"
26465
+ ],
26466
+ },
26467
+ },
26283
26468
  versionedExpr: "Test string",
26284
26469
  },
26285
26470
  networkMatch: {