@maxim_mazurok/gapi.client.cloudbilling-v1beta 0.0.20231109 → 0.0.20231115
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.
- package/index.d.ts +5 -5
- package/package.json +1 -1
- package/tests.ts +2 -2
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:
|
|
12
|
+
// Revision: 20231115
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -301,7 +301,7 @@ declare namespace gapi.client {
|
|
|
301
301
|
/** Rate price metadata. Billing account SKUs with `Rate` price are offered by pricing tiers. The price can have 1 or more rate pricing tiers. */
|
|
302
302
|
rate?:
|
|
303
303
|
GoogleCloudBillingBillingaccountpricesV1betaRate;
|
|
304
|
-
/** Type of the price.
|
|
304
|
+
/** Type of the price. The possible values are: ["unspecified", "rate"]. */
|
|
305
305
|
valueType?:
|
|
306
306
|
string;
|
|
307
307
|
}
|
|
@@ -1291,7 +1291,7 @@ declare namespace gapi.client {
|
|
|
1291
1291
|
SkusResource;
|
|
1292
1292
|
}
|
|
1293
1293
|
interface PriceResource {
|
|
1294
|
-
/** Gets the latest price for
|
|
1294
|
+
/** Gets the latest price for SKUs available to your Cloud Billing account. */
|
|
1295
1295
|
get(request?: {
|
|
1296
1296
|
/** V1 error format. */
|
|
1297
1297
|
"$.xgafv"?:
|
|
@@ -1305,7 +1305,7 @@ declare namespace gapi.client {
|
|
|
1305
1305
|
/** JSONP */
|
|
1306
1306
|
callback?:
|
|
1307
1307
|
string;
|
|
1308
|
-
/** Optional. ISO-4217 currency code for the price. If not specified, currency of billing account
|
|
1308
|
+
/** Optional. ISO-4217 currency code for the price. If not specified, the currency of the billing account is used. */
|
|
1309
1309
|
currencyCode?:
|
|
1310
1310
|
string;
|
|
1311
1311
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1314,7 +1314,7 @@ declare namespace gapi.client {
|
|
|
1314
1314
|
/** 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. */
|
|
1315
1315
|
key?:
|
|
1316
1316
|
string;
|
|
1317
|
-
/** Required. Name of the
|
|
1317
|
+
/** Required. Name of the billing account price to retrieve. Format: billingAccounts/{billing_account}/skus/{sku}/price */
|
|
1318
1318
|
name:
|
|
1319
1319
|
string;
|
|
1320
1320
|
/** OAuth 2.0 token for the current user. */
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20231115
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -420,7 +420,7 @@ gapi.load('client', async () => {
|
|
|
420
420
|
pageToken: "Test string",
|
|
421
421
|
parent: "Test string",
|
|
422
422
|
});
|
|
423
|
-
/** Gets the latest price for
|
|
423
|
+
/** Gets the latest price for SKUs available to your Cloud Billing account. */
|
|
424
424
|
await gapi.client.cloudbilling.billingAccounts.skus.price.get({
|
|
425
425
|
currencyCode: "Test string",
|
|
426
426
|
name: "Test string",
|