@maxim_mazurok/gapi.client.cloudbilling-v1beta 0.0.20221206 → 0.0.20230130

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 +19 -1
  2. package/package.json +1 -1
  3. package/tests.ts +69 -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://cloudbilling.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20221206
12
+ // Revision: 20230130
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -206,6 +206,18 @@ declare namespace gapi.client {
206
206
  /** The type of the guest accelerator cards. For example: "nvidia-tesla-t4". */
207
207
  acceleratorType?: string;
208
208
  }
209
+ interface InterRegionEgress {
210
+ /** Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress data goes to. */
211
+ destinationRegion?: string;
212
+ /** VM to VM egress usage. Expected units such as "GiBy/s, By/s, etc." */
213
+ egressRate?: Usage;
214
+ /** Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress data comes from. */
215
+ sourceRegion?: string;
216
+ }
217
+ interface IntraRegionEgress {
218
+ /** VM to VM egress usage. Expected units such as "GiBy/s, By/s, etc." */
219
+ egressRate?: Usage;
220
+ }
209
221
  interface MachineType {
210
222
  customMachineType?: CustomMachineType;
211
223
  predefinedMachineType?: PredefinedMachineType;
@@ -377,6 +389,10 @@ declare namespace gapi.client {
377
389
  /** The number of vCPUs. The number of vCPUs must be an integer of 0 or more and can be even or odd. */
378
390
  virtualCpuCount?: string;
379
391
  }
392
+ interface VmToVmEgressWorkload {
393
+ interRegionEgress?: InterRegionEgress;
394
+ intraRegionEgress?: IntraRegionEgress;
395
+ }
380
396
  interface Workload {
381
397
  /** Usage on Google Cloud CDN Egress. */
382
398
  cloudCdnEgressWorkload?: CloudCdnEgressWorkload;
@@ -398,6 +414,8 @@ declare namespace gapi.client {
398
414
  premiumTierEgressWorkload?: PremiumTierEgressWorkload;
399
415
  /** Usage on Standard Tier Internet Egress. */
400
416
  standardTierEgressWorkload?: StandardTierEgressWorkload;
417
+ /** Usage on Vm to Vm Egress. */
418
+ vmToVmEgressWorkload?: VmToVmEgressWorkload;
401
419
  }
402
420
  interface WorkloadCostEstimate {
403
421
  /** The name of the workload, as specified in the `CostScenario`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbilling-v1beta",
3
- "version": "0.0.20221206",
3
+ "version": "0.0.20230130",
4
4
  "description": "TypeScript typings for Cloud Billing API v1beta",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20221206
6
+ // Revision: 20230130
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -341,6 +341,40 @@ gapi.load('client', async () => {
341
341
  },
342
342
  sourceRegion: "Test string",
343
343
  },
344
+ vmToVmEgressWorkload: {
345
+ interRegionEgress: {
346
+ destinationRegion: "Test string",
347
+ egressRate: {
348
+ usageRateTimeline: {
349
+ unit: "Test string",
350
+ usageRateTimelineEntries: [
351
+ {
352
+ effectiveTime: {
353
+ estimationTimeFrameOffset: "Test string",
354
+ },
355
+ usageRate: 42,
356
+ }
357
+ ],
358
+ },
359
+ },
360
+ sourceRegion: "Test string",
361
+ },
362
+ intraRegionEgress: {
363
+ egressRate: {
364
+ usageRateTimeline: {
365
+ unit: "Test string",
366
+ usageRateTimelineEntries: [
367
+ {
368
+ effectiveTime: {
369
+ estimationTimeFrameOffset: "Test string",
370
+ },
371
+ usageRate: 42,
372
+ }
373
+ ],
374
+ },
375
+ },
376
+ },
377
+ },
344
378
  }
345
379
  ],
346
380
  },
@@ -652,6 +686,40 @@ gapi.load('client', async () => {
652
686
  },
653
687
  sourceRegion: "Test string",
654
688
  },
689
+ vmToVmEgressWorkload: {
690
+ interRegionEgress: {
691
+ destinationRegion: "Test string",
692
+ egressRate: {
693
+ usageRateTimeline: {
694
+ unit: "Test string",
695
+ usageRateTimelineEntries: [
696
+ {
697
+ effectiveTime: {
698
+ estimationTimeFrameOffset: "Test string",
699
+ },
700
+ usageRate: 42,
701
+ }
702
+ ],
703
+ },
704
+ },
705
+ sourceRegion: "Test string",
706
+ },
707
+ intraRegionEgress: {
708
+ egressRate: {
709
+ usageRateTimeline: {
710
+ unit: "Test string",
711
+ usageRateTimelineEntries: [
712
+ {
713
+ effectiveTime: {
714
+ estimationTimeFrameOffset: "Test string",
715
+ },
716
+ usageRate: 42,
717
+ }
718
+ ],
719
+ },
720
+ },
721
+ },
722
+ },
655
723
  }
656
724
  ],
657
725
  },