@maxim_mazurok/gapi.client.cloudbilling-v1beta 0.0.20231201 → 0.0.20231215

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 (2) hide show
  1. package/index.d.ts +106 -22
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudbilling.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20231201
12
+ // Revision: 20231215
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -35,9 +35,9 @@ declare namespace gapi.client {
35
35
  sourceRegion?: string;
36
36
  }
37
37
  interface CloudCdnEgressWorkload {
38
- /** The destination for the cache egress charges. */
38
+ /** The destination for the cache data transfer. */
39
39
  cacheEgressDestination?: string;
40
- /** Cache egress usage. The rate of data cache egressed in the destination. For example : units such as "GiBy/s" or "TBy/mo". */
40
+ /** Cache data transfer usage. The rate of data cache transferred to the destination. Use units such as GiBy/s or TiBy/mo, based on [The Unified Code for Units of Measure](https://ucum.org/ucum.html) standard. */
41
41
  cacheEgressRate?: Usage;
42
42
  }
43
43
  interface CloudCdnWorkload {
@@ -51,9 +51,9 @@ declare namespace gapi.client {
51
51
  cacheLookUpRate?: Usage;
52
52
  }
53
53
  interface CloudInterconnectEgressWorkload {
54
- /** Data egress usage. This usage applies when you move or copy data from one Google Cloud service to another service. Expected units such as "GiBy/s, By/s, etc." */
54
+ /** Outbound data transfer usage. This usage applies when you move or copy data from one Google Cloud service to another service. The units are GiBy/s, By/s, and so on, based on [The Unified Code for Units of Measure](https://ucum.org/ucum.html) standard. */
55
55
  egressRate?: Usage;
56
- /** Locations in the [Interconnect connection location table](https://cloud.google.com/vpc/network-pricing#interconnect-pricing). This is the interconnect egress charges. */
56
+ /** Locations in the [Interconnect connection location table](https://cloud.google.com/vpc/network-pricing#interconnect-pricing). These are the Interconnect Data Transfer charges. */
57
57
  interconnectConnectionLocation?: string;
58
58
  }
59
59
  interface CloudInterconnectWorkload {
@@ -69,15 +69,15 @@ declare namespace gapi.client {
69
69
  interface CloudStorageEgressWorkload {
70
70
  /** Where the data is sent to. */
71
71
  destinationContinent?: string;
72
- /** Egress usage rate. This usage applies when you move or copy data from one Cloud Storage bucket to another or when another Google Cloud service accesses data in your Cloud Storage bucket. Expected units such as "GiBy/s, By/s, ..." */
72
+ /** Data transfer usage rate. This usage applies when you move or copy data from one Cloud Storage bucket to another or when another Google Cloud service accesses data in your Cloud Storage bucket. The expected units are GiBy/s, By/s, and so on, based on [The Unified Code for Units of Measure](https://ucum.org/ucum.html) standard. */
73
73
  egressRate?: Usage;
74
74
  /** Where the data comes from. */
75
75
  sourceContinent?: string;
76
76
  }
77
77
  interface CloudStorageWorkload {
78
- /** Data retrieval usage. A retrieval cost applies when data or metadata is read, copied, or rewritten . For example: units such as "GiBy/s" or "By/s". */
78
+ /** Data retrieval usage. A retrieval cost applies when data or metadata is read, copied, or rewritten . For example: units such as "GiB/s" or "B/s". */
79
79
  dataRetrieval?: Usage;
80
- /** Data storage usage. The amount of data stored in buckets. For example: units such as "GiBy/s" or "TBy/mo". */
80
+ /** Data storage usage. The amount of data stored in buckets. For example: units such as GiBy/s or TiBy/mo, based on [The Unified Code for Units of Measure](https://ucum.org/ucum.html) standard. */
81
81
  dataStored?: Usage;
82
82
  /** Specify dual regions. */
83
83
  dualRegion?: DualRegional;
@@ -230,6 +230,12 @@ declare namespace gapi.client {
230
230
  /** SKU group where the floating discount comes from. */
231
231
  skuGroup?: string;
232
232
  }
233
+ interface GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse {
234
+ /** The returned billing account prices. */
235
+ billingAccountPrices?: GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice[];
236
+ /** Token that can be sent as `page_token` in the subsequent request to retrieve the next page. If this field is empty, there are no subsequent pages. */
237
+ nextPageToken?: string;
238
+ }
233
239
  interface GoogleCloudBillingBillingaccountpricesV1betaListPriceAsCeiling {}
234
240
  interface GoogleCloudBillingBillingaccountpricesV1betaMergedPrice {}
235
241
  interface GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice {
@@ -414,6 +420,12 @@ declare namespace gapi.client {
414
420
  /** Level at which usage is aggregated to compute cost. Example: "ACCOUNT" level indicates that usage is aggregated across all projects in a single account. */
415
421
  level?: string;
416
422
  }
423
+ interface GoogleCloudBillingPricesV1betaListPricesResponse {
424
+ /** Token that can be sent as `page_token` in the subsequent request to retrieve the next page. If this field is empty, there are no subsequent pages. */
425
+ nextPageToken?: string;
426
+ /** The returned publicly listed prices. */
427
+ prices?: GoogleCloudBillingPricesV1betaPrice[];
428
+ }
417
429
  interface GoogleCloudBillingPricesV1betaPrice {
418
430
  /** ISO-4217 currency code for the price. */
419
431
  currencyCode?: string;
@@ -516,15 +528,15 @@ declare namespace gapi.client {
516
528
  acceleratorType?: string;
517
529
  }
518
530
  interface InterRegionEgress {
519
- /** Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress data goes to. */
531
+ /** Which [region](https://cloud.google.com/compute/docs/regions-zones) the data is transferred to. */
520
532
  destinationRegion?: string;
521
- /** VM to VM egress usage. Expected units such as "GiBy/s, By/s, etc." */
533
+ /** VM to VM data transfer usage. The expected units such are GiBy/s, By/s, and so on. */
522
534
  egressRate?: Usage;
523
- /** Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress data comes from. */
535
+ /** Which [region](https://cloud.google.com/compute/docs/regions-zones) the data is transferred from. */
524
536
  sourceRegion?: string;
525
537
  }
526
538
  interface IntraRegionEgress {
527
- /** VM to VM egress usage. Expected units such as "GiBy/s, By/s, etc." */
539
+ /** VM to VM data transfer usage. The expected are GiBy/s, By/s, and so on. */
528
540
  egressRate?: Usage;
529
541
  }
530
542
  interface MachineType {
@@ -560,9 +572,9 @@ declare namespace gapi.client {
560
572
  interface PremiumTierEgressWorkload {
561
573
  /** Where the data is sent to. */
562
574
  destinationContinent?: string;
563
- /** Premium Tier egress usage. Expected units such as "GiBy/s, By/s, etc." */
575
+ /** Premium Tier Data Transfer usage. The expected units are GiBy/s, By/s, and so on, based on [The Unified Code for Units of Measure](https://ucum.org/ucum.html) standard. */
564
576
  egressRate?: Usage;
565
- /** Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress data comes from. */
577
+ /** Which [region](https://cloud.google.com/compute/docs/regions-zones) the data comes from. */
566
578
  sourceRegion?: string;
567
579
  }
568
580
  interface Price {
@@ -624,9 +636,9 @@ declare namespace gapi.client {
624
636
  usageUnit?: string;
625
637
  }
626
638
  interface StandardTierEgressWorkload {
627
- /** Standard tier egress usage. Expected units such as "GiBy/s, By/s, etc." */
639
+ /** Standard Tier Data Transfer usage. The expected units are GiBy/s, By/s, and so on, based on the [The Unified Code for Units of Measure](https://ucum.org/ucum.html) standard. */
628
640
  egressRate?: Usage;
629
- /** Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress data comes from. */
641
+ /** Which [region](https://cloud.google.com/compute/docs/regions-zones) the data is transferred from. */
630
642
  sourceRegion?: string;
631
643
  }
632
644
  interface Usage {
@@ -670,15 +682,15 @@ declare namespace gapi.client {
670
682
  intraRegionEgress?: IntraRegionEgress;
671
683
  }
672
684
  interface Workload {
673
- /** Usage on Google Cloud CDN Egress. */
685
+ /** Usage on Google Cloud CDN Data Transfer. */
674
686
  cloudCdnEgressWorkload?: CloudCdnEgressWorkload;
675
687
  /** Usage on Google Cloud CDN. */
676
688
  cloudCdnWorkload?: CloudCdnWorkload;
677
- /** Usage on Google Cloud Interconnect Egress. */
689
+ /** Usage on Google Cloud Interconnect Data Transfer. */
678
690
  cloudInterconnectEgressWorkload?: CloudInterconnectEgressWorkload;
679
691
  /** Usage on Google Cloud Interconnect. */
680
692
  cloudInterconnectWorkload?: CloudInterconnectWorkload;
681
- /** Usage on a cloud storage egress. */
693
+ /** Usage on Cloud Storage Data Transfer. */
682
694
  cloudStorageEgressWorkload?: CloudStorageEgressWorkload;
683
695
  /** Usage on Google Cloud Storage. */
684
696
  cloudStorageWorkload?: CloudStorageWorkload;
@@ -686,11 +698,11 @@ declare namespace gapi.client {
686
698
  computeVmWorkload?: ComputeVmWorkload;
687
699
  /** Required. A name for this workload. All workloads in a `CostScenario` must have a unique `name`. Each `name` may be at most 128 characters long. */
688
700
  name?: string;
689
- /** Usage on Premium Tier Internet Egress. */
701
+ /** Usage on Premium Tier Internet Data Transfer. */
690
702
  premiumTierEgressWorkload?: PremiumTierEgressWorkload;
691
- /** Usage on Standard Tier Internet Egress. */
703
+ /** Usage on Standard Tier Internet Data Transfer. */
692
704
  standardTierEgressWorkload?: StandardTierEgressWorkload;
693
- /** Usage on Vm to Vm Egress. */
705
+ /** Usage on VM to VM Data Transfer. */
694
706
  vmToVmEgressWorkload?: VmToVmEgressWorkload;
695
707
  }
696
708
  interface WorkloadCostEstimate {
@@ -913,6 +925,41 @@ declare namespace gapi.client {
913
925
  uploadType?: string;
914
926
  }): Request<GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice>;
915
927
  }
928
+ interface PricesResource {
929
+ /** Lists the latest prices for SKUs available to your Cloud Billing account. */
930
+ list(request?: {
931
+ /** V1 error format. */
932
+ '$.xgafv'?: string;
933
+ /** OAuth access token. */
934
+ access_token?: string;
935
+ /** Data format for response. */
936
+ alt?: string;
937
+ /** JSONP */
938
+ callback?: string;
939
+ /** Optional. ISO-4217 currency code for the price. If not specified, currency of billing account will be used. */
940
+ currencyCode?: string;
941
+ /** Selector specifying which fields to include in a partial response. */
942
+ fields?: string;
943
+ /** 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. */
944
+ key?: string;
945
+ /** OAuth 2.0 token for the current user. */
946
+ oauth_token?: string;
947
+ /** Optional. Maximum number of billing account price to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000. */
948
+ pageSize?: number;
949
+ /** Optional. Page token received from a previous ListBillingAccountPrices call to retrieve the next page of results. If this field is empty, the first page is returned. */
950
+ pageToken?: string;
951
+ /** Required. To list all Billing Account SKUs, use `-` as the SKU ID. Format: `billingAccounts/{billing_account}/skus/-` Note: Specifying an actual SKU resource id will return a collection of one Billing Account Price. */
952
+ parent: string;
953
+ /** Returns response with indentations and line breaks. */
954
+ prettyPrint?: boolean;
955
+ /** 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. */
956
+ quotaUser?: string;
957
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
958
+ upload_protocol?: string;
959
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
960
+ uploadType?: string;
961
+ }): Request<GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse>;
962
+ }
916
963
  interface SkusResource {
917
964
  /** Gets a SKU visible to a billing account. */
918
965
  get(request?: {
@@ -975,6 +1022,7 @@ declare namespace gapi.client {
975
1022
  uploadType?: string;
976
1023
  }): Request<GoogleCloudBillingBillingaccountskusV1betaListBillingAccountSkusResponse>;
977
1024
  price: PriceResource;
1025
+ prices: PricesResource;
978
1026
  }
979
1027
  interface BillingAccountsResource {
980
1028
  /** Use custom pricing in the estimate, using a `CostScenario` with a defined `billingAccount`. */
@@ -1189,8 +1237,44 @@ declare namespace gapi.client {
1189
1237
  uploadType?: string;
1190
1238
  }): Request<GoogleCloudBillingPricesV1betaPrice>;
1191
1239
  }
1240
+ interface PricesResource {
1241
+ /** Lists the latest prices for all SKUs. */
1242
+ list(request?: {
1243
+ /** V1 error format. */
1244
+ '$.xgafv'?: string;
1245
+ /** OAuth access token. */
1246
+ access_token?: string;
1247
+ /** Data format for response. */
1248
+ alt?: string;
1249
+ /** JSONP */
1250
+ callback?: string;
1251
+ /** Optional. ISO-4217 currency code for the price. If not specified, USD will be used. */
1252
+ currencyCode?: string;
1253
+ /** Selector specifying which fields to include in a partial response. */
1254
+ fields?: string;
1255
+ /** 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. */
1256
+ key?: string;
1257
+ /** OAuth 2.0 token for the current user. */
1258
+ oauth_token?: string;
1259
+ /** Optional. Maximum number of prices to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000. */
1260
+ pageSize?: number;
1261
+ /** Optional. Page token received from a previous ListPrices call to retrieve the next page of results. If this field is empty, the first page is returned. */
1262
+ pageToken?: string;
1263
+ /** Required. To list the prices for all SKUs, use `-` as the SKU ID. Format: `skus/-` Specifying a specific SKU ID returns a collection with one Price object for the SKU. */
1264
+ parent: string;
1265
+ /** Returns response with indentations and line breaks. */
1266
+ prettyPrint?: boolean;
1267
+ /** 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. */
1268
+ quotaUser?: string;
1269
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1270
+ upload_protocol?: string;
1271
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1272
+ uploadType?: string;
1273
+ }): Request<GoogleCloudBillingPricesV1betaListPricesResponse>;
1274
+ }
1192
1275
  interface SkusResource {
1193
1276
  price: PriceResource;
1277
+ prices: PricesResource;
1194
1278
  }
1195
1279
  interface V1betaResource {
1196
1280
  /** Estimate list prices using a `CostScenario` without a defined `billingAccount`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbilling-v1beta",
3
- "version": "0.0.20231201",
3
+ "version": "0.0.20231215",
4
4
  "description": "TypeScript typings for Cloud Billing API v1beta",
5
5
  "repository": {
6
6
  "type": "git",