@maxim_mazurok/gapi.client.cloudbilling-v1beta 0.0.20230616 → 0.0.20230710
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 +1142 -33
- package/package.json +1 -1
- package/readme.md +10 -0
- package/tests.ts +71 -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:
|
|
12
|
+
// Revision: 20230710
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -229,6 +229,27 @@ declare namespace gapi.client {
|
|
|
229
229
|
virtualCpuCount?:
|
|
230
230
|
string;
|
|
231
231
|
}
|
|
232
|
+
interface Decimal {
|
|
233
|
+
/**
|
|
234
|
+
* The decimal value, as a string. The string representation consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the
|
|
235
|
+
* integer"), optionally followed by a fraction, optionally followed by an exponent. An empty string **should** be interpreted as `0`. The fraction consists of a decimal point followed
|
|
236
|
+
* by zero or more decimal digits. The string must contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is
|
|
237
|
+
* referred to as the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal
|
|
238
|
+
* values before storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the
|
|
239
|
+
* exponent character to upper-case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`). Services **may** perform additional
|
|
240
|
+
* normalization based on its own needs and the internal decimal implementation selected, such as shifting the decimal point and exponent value together (example: `2.5E-1` <-> `0.25`).
|
|
241
|
+
* Additionally, services **may** preserve trailing zeroes in the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported
|
|
242
|
+
* to divide the integer and the fraction; `,` **should not** be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does
|
|
243
|
+
* support them, values **must** be normalized. The ENBF grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | [Digits] '.'
|
|
244
|
+
* Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range of supported
|
|
245
|
+
* values, the maximum supported precision (total number of digits), and, if applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving
|
|
246
|
+
* out-of-bounds values. Services **may** choose to accept values passed as input even when the value has a higher precision or scale than the service supports, and **should** round
|
|
247
|
+
* the value to fit the supported scale. Alternatively, the service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should**
|
|
248
|
+
* error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of the supported range.
|
|
249
|
+
*/
|
|
250
|
+
value?:
|
|
251
|
+
string;
|
|
252
|
+
}
|
|
232
253
|
interface DualRegional {
|
|
233
254
|
/** The [location name](https://cloud.google.com/storage/docs/locations#available-locations) where the data is stored. For example: "asia1" for dual region. */
|
|
234
255
|
name?:
|
|
@@ -259,6 +280,467 @@ declare namespace gapi.client {
|
|
|
259
280
|
estimationTimeFrameOffset?:
|
|
260
281
|
string;
|
|
261
282
|
}
|
|
283
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo {
|
|
284
|
+
/** Interval at which usage is aggregated to compute cost. Example: "MONTHLY" interval indicates that usage is aggregated every month. */
|
|
285
|
+
interval?:
|
|
286
|
+
string;
|
|
287
|
+
/** Level at which usage is aggregated to compute cost. Example: "ACCOUNT" level indicates that usage is aggregated across all projects in a single account. */
|
|
288
|
+
level?:
|
|
289
|
+
string;
|
|
290
|
+
}
|
|
291
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice {
|
|
292
|
+
/** ISO-4217 currency code for the price. */
|
|
293
|
+
currencyCode?:
|
|
294
|
+
string;
|
|
295
|
+
/** Resource name for the latest billing account price. */
|
|
296
|
+
name?:
|
|
297
|
+
string;
|
|
298
|
+
/** Background information on the origin of the price. */
|
|
299
|
+
priceReason?:
|
|
300
|
+
GoogleCloudBillingBillingaccountpricesV1betaPriceReason;
|
|
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
|
+
rate?:
|
|
303
|
+
GoogleCloudBillingBillingaccountpricesV1betaRate;
|
|
304
|
+
/** Type of the price. It can have values: ["unspecified", "rate"]. */
|
|
305
|
+
valueType?:
|
|
306
|
+
string;
|
|
307
|
+
}
|
|
308
|
+
// tslint:disable-next-line:no-empty-interface
|
|
309
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaDefaultPrice {
|
|
310
|
+
}
|
|
311
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaFixedDiscount {
|
|
312
|
+
/** Percentage of the fixed discount. */
|
|
313
|
+
discountPercent?:
|
|
314
|
+
Decimal;
|
|
315
|
+
/** Type of the fixed discount scope which indicates the source of the discount. It can have values such as 'sku-group'. */
|
|
316
|
+
discountScopeType?:
|
|
317
|
+
string;
|
|
318
|
+
/** Time that the fixed discount is anchored to. */
|
|
319
|
+
fixTime?:
|
|
320
|
+
string;
|
|
321
|
+
/** SKU group where the fixed discount comes from. */
|
|
322
|
+
skuGroup?:
|
|
323
|
+
string;
|
|
324
|
+
}
|
|
325
|
+
// tslint:disable-next-line:no-empty-interface
|
|
326
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaFixedPrice {
|
|
327
|
+
}
|
|
328
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount {
|
|
329
|
+
/** Percentage of the floating discount. */
|
|
330
|
+
discountPercent?:
|
|
331
|
+
Decimal;
|
|
332
|
+
/** Type of the floating discount scope which indicates the source of the discount. It can have values such as 'sku-group'. */
|
|
333
|
+
discountScopeType?:
|
|
334
|
+
string;
|
|
335
|
+
/** SKU group where the floating discount comes from. */
|
|
336
|
+
skuGroup?:
|
|
337
|
+
string;
|
|
338
|
+
}
|
|
339
|
+
// tslint:disable-next-line:no-empty-interface
|
|
340
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaListPriceAsCeiling {
|
|
341
|
+
}
|
|
342
|
+
// tslint:disable-next-line:no-empty-interface
|
|
343
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaMergedPrice {
|
|
344
|
+
}
|
|
345
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice {
|
|
346
|
+
/** The source SKU floating discount is applied on the target SKU's default price. */
|
|
347
|
+
sourceDiscountOnTargetPrice?:
|
|
348
|
+
GoogleCloudBillingBillingaccountpricesV1betaSourceDiscountOnTargetPrice;
|
|
349
|
+
/** Source SKU where the discount is migrated from. */
|
|
350
|
+
sourceSku?:
|
|
351
|
+
string;
|
|
352
|
+
/** Type of the migrated price. It can have values such as 'source-discount-on-target-price'. */
|
|
353
|
+
type?:
|
|
354
|
+
string;
|
|
355
|
+
}
|
|
356
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaPriceReason {
|
|
357
|
+
/** Default price which is the current list price. */
|
|
358
|
+
defaultPrice?:
|
|
359
|
+
any;
|
|
360
|
+
/** Discount off the list price, anchored to the list price as of a fixed time. */
|
|
361
|
+
fixedDiscount?:
|
|
362
|
+
GoogleCloudBillingBillingaccountpricesV1betaFixedDiscount;
|
|
363
|
+
/** Fixed price applicable during the terms of a contract agreement. */
|
|
364
|
+
fixedPrice?:
|
|
365
|
+
any;
|
|
366
|
+
/** Discount off the current list price, not anchored to any list price as of a fixed time. */
|
|
367
|
+
floatingDiscount?:
|
|
368
|
+
GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount;
|
|
369
|
+
/**
|
|
370
|
+
* Contract feature that the list price (DefaultPrice) will be used for the price if the current list price drops lower than the custom fixed price. Available to new contracts after
|
|
371
|
+
* March 21, 2022. Applies to all fixed price SKUs in the contract, including FixedPrice, FixedDiscount, MigratedPrice, and MergedPrice.
|
|
372
|
+
*/
|
|
373
|
+
listPriceAsCeiling?:
|
|
374
|
+
any;
|
|
375
|
+
/** Price after merging from multiple sources. */
|
|
376
|
+
mergedPrice?:
|
|
377
|
+
any;
|
|
378
|
+
/** Price migrated from other SKUs. */
|
|
379
|
+
migratedPrice?:
|
|
380
|
+
GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice;
|
|
381
|
+
/** Type of the price reason. It can values such as 'default-price', 'fixed-price', 'fixed-discount', 'floating-discount', 'migrated-price', 'merged-price', 'list-price-as-ceiling'. */
|
|
382
|
+
type?:
|
|
383
|
+
string;
|
|
384
|
+
}
|
|
385
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaRate {
|
|
386
|
+
/** Aggregation info for tiers such as aggregation level and interval. */
|
|
387
|
+
aggregationInfo?:
|
|
388
|
+
GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo;
|
|
389
|
+
/** All tiers associated with the `Rate` price. */
|
|
390
|
+
tiers?:
|
|
391
|
+
GoogleCloudBillingBillingaccountpricesV1betaRateTier[];
|
|
392
|
+
/** Unit info such as name and quantity. */
|
|
393
|
+
unitInfo?:
|
|
394
|
+
GoogleCloudBillingBillingaccountpricesV1betaUnitInfo;
|
|
395
|
+
}
|
|
396
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaRateTier {
|
|
397
|
+
/** Negotiated contract price specific for a billing account. */
|
|
398
|
+
contractPrice?:
|
|
399
|
+
Money;
|
|
400
|
+
/**
|
|
401
|
+
* Percentage of effective discount calculated using the current list price per pricing tier. Formula used: effective_discount_percent = (list_price - contract_price) / list_price ×
|
|
402
|
+
* 100 If list_price and contract_price are zero, this field is the same as `discount_percent` of FixedDiscount and FloatingDiscount. If your contract does NOT have the feature
|
|
403
|
+
* LIST_PRICE_AS_CEILING enabled, the effective_discount_percent can be negative if the SKU has a FixedDiscount and the current list price is lower than the list price on the date of
|
|
404
|
+
* the contract agreement. See the `FixedDiscount.fix_time` on when the discount was set. If you have questions regarding pricing per SKU, contact your Account team for more details.
|
|
405
|
+
*/
|
|
406
|
+
effectiveDiscountPercent?:
|
|
407
|
+
Decimal;
|
|
408
|
+
/** List price of one tier. */
|
|
409
|
+
listPrice?:
|
|
410
|
+
Money;
|
|
411
|
+
/** Lower bound amount for a tier. Tiers 0-100, 100-200 will be represented with two tiers with `start_amount` 0 and 100. */
|
|
412
|
+
startAmount?:
|
|
413
|
+
Decimal;
|
|
414
|
+
}
|
|
415
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaSourceDiscountOnTargetPrice {
|
|
416
|
+
/** Discount percent of the source SKU that is applied on the target SKU's default price. */
|
|
417
|
+
migratedDiscountPercent?:
|
|
418
|
+
Decimal;
|
|
419
|
+
}
|
|
420
|
+
interface GoogleCloudBillingBillingaccountpricesV1betaUnitInfo {
|
|
421
|
+
/** Shorthand for the unit. Example: GiBy.mo. */
|
|
422
|
+
unit?:
|
|
423
|
+
string;
|
|
424
|
+
/** Human-readable description of the unit. Example: gibibyte month. */
|
|
425
|
+
unitDescription?:
|
|
426
|
+
string;
|
|
427
|
+
/** Unit quantity for the tier. Example: if the RateTier price is $1 per 1000000 Bytes, then `unit_quantity` is set to 1000000. */
|
|
428
|
+
unitQuantity?:
|
|
429
|
+
Decimal;
|
|
430
|
+
}
|
|
431
|
+
interface GoogleCloudBillingBillingaccountservicesV1betaBillingAccountService {
|
|
432
|
+
/** Description of the BillingAccountService. Example: "BigQuery", "Compute Engine". */
|
|
433
|
+
displayName?:
|
|
434
|
+
string;
|
|
435
|
+
/** Resource name for the BillingAccountService. Example: "billingAccounts/012345-567890-ABCDEF/services/DA34-426B-A397". */
|
|
436
|
+
name?:
|
|
437
|
+
string;
|
|
438
|
+
/** Identifier for the service. It is the string after the collection identifier "services/". Example: "DA34-426B-A397". */
|
|
439
|
+
serviceId?:
|
|
440
|
+
string;
|
|
441
|
+
}
|
|
442
|
+
interface GoogleCloudBillingBillingaccountservicesV1betaListBillingAccountServicesResponse {
|
|
443
|
+
/** The returned billing account services. */
|
|
444
|
+
billingAccountServices?:
|
|
445
|
+
GoogleCloudBillingBillingaccountservicesV1betaBillingAccountService[];
|
|
446
|
+
/** 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. */
|
|
447
|
+
nextPageToken?:
|
|
448
|
+
string;
|
|
449
|
+
}
|
|
450
|
+
interface GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku {
|
|
451
|
+
/** BillingAccountService that the BillingAccountSkuGroupSku belongs to. */
|
|
452
|
+
billingAccountService?:
|
|
453
|
+
string;
|
|
454
|
+
/** Description of the BillingAccountSkuGroupSku. Example: "A2 Instance Core running in Hong Kong". */
|
|
455
|
+
displayName?:
|
|
456
|
+
string;
|
|
457
|
+
/** Geographic metadata that applies to the BillingAccountSkuGroupSku. */
|
|
458
|
+
geoTaxonomy?:
|
|
459
|
+
GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomy;
|
|
460
|
+
/** Resource name for the BillingAccountSkuGroupSku. Example: "billingAccounts/012345-567890-ABCDEF/skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301/skus/AA95-CD31-42FE". */
|
|
461
|
+
name?:
|
|
462
|
+
string;
|
|
463
|
+
/** List of product categories that apply to the BillingAccountSkuGroupSku. */
|
|
464
|
+
productTaxonomy?:
|
|
465
|
+
GoogleCloudBillingBillingaccountskugroupskusV1betaProductTaxonomy;
|
|
466
|
+
/** Unique identifier for the SKU. It is the string after the collection identifier "skus/" Example: "AA95-CD31-42FE". */
|
|
467
|
+
skuId?:
|
|
468
|
+
string;
|
|
469
|
+
}
|
|
470
|
+
interface GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomy {
|
|
471
|
+
/** Global geographic metadata with no regions. */
|
|
472
|
+
globalMetadata?:
|
|
473
|
+
any;
|
|
474
|
+
/** Multi-regional geographic metadata with 2 or more regions. */
|
|
475
|
+
multiRegionalMetadata?:
|
|
476
|
+
GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyMultiRegional;
|
|
477
|
+
/** Regional geographic metadata with 1 region. */
|
|
478
|
+
regionalMetadata?:
|
|
479
|
+
GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegional;
|
|
480
|
+
/** Type of geographic taxonomy associated with the billing account SKU group SKU. */
|
|
481
|
+
type?:
|
|
482
|
+
string;
|
|
483
|
+
}
|
|
484
|
+
// tslint:disable-next-line:no-empty-interface
|
|
485
|
+
interface GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyGlobal {
|
|
486
|
+
}
|
|
487
|
+
interface GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyMultiRegional {
|
|
488
|
+
/** Google Cloud regions associated with the multi-regional geographic taxonomy. */
|
|
489
|
+
regions?:
|
|
490
|
+
GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegion[];
|
|
491
|
+
}
|
|
492
|
+
interface GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegion {
|
|
493
|
+
/** Description of a Google Cloud region. Example: "us-west2". */
|
|
494
|
+
region?:
|
|
495
|
+
string;
|
|
496
|
+
}
|
|
497
|
+
interface GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegional {
|
|
498
|
+
/** Google Cloud region associated with the regional geographic taxonomy. */
|
|
499
|
+
region?:
|
|
500
|
+
GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegion;
|
|
501
|
+
}
|
|
502
|
+
interface GoogleCloudBillingBillingaccountskugroupskusV1betaListBillingAccountSkuGroupSkusResponse {
|
|
503
|
+
/** The returned billing account SKU group SKUs. */
|
|
504
|
+
billingAccountSkuGroupSkus?:
|
|
505
|
+
GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku[];
|
|
506
|
+
/** 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. */
|
|
507
|
+
nextPageToken?:
|
|
508
|
+
string;
|
|
509
|
+
}
|
|
510
|
+
interface GoogleCloudBillingBillingaccountskugroupskusV1betaProductTaxonomy {
|
|
511
|
+
/** All product categories that the billing account SKU group SKU belong to. */
|
|
512
|
+
taxonomyCategories?:
|
|
513
|
+
GoogleCloudBillingBillingaccountskugroupskusV1betaTaxonomyCategory[];
|
|
514
|
+
}
|
|
515
|
+
interface GoogleCloudBillingBillingaccountskugroupskusV1betaTaxonomyCategory {
|
|
516
|
+
/** Name of the product category. */
|
|
517
|
+
category?:
|
|
518
|
+
string;
|
|
519
|
+
}
|
|
520
|
+
interface GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup {
|
|
521
|
+
/** Description of the BillingAccountSkuGroup. Example: "A2 VMs (1 Year CUD)". */
|
|
522
|
+
displayName?:
|
|
523
|
+
string;
|
|
524
|
+
/** Resource name for the BillingAccountSkuGroup. Example: "billingAccounts/012345-567890-ABCDEF/skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301". */
|
|
525
|
+
name?:
|
|
526
|
+
string;
|
|
527
|
+
}
|
|
528
|
+
interface GoogleCloudBillingBillingaccountskugroupsV1betaListBillingAccountSkuGroupsResponse {
|
|
529
|
+
/** The returned publicly listed billing account SKU groups. */
|
|
530
|
+
billingAccountSkuGroups?:
|
|
531
|
+
GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup[];
|
|
532
|
+
/** 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. */
|
|
533
|
+
nextPageToken?:
|
|
534
|
+
string;
|
|
535
|
+
}
|
|
536
|
+
interface GoogleCloudBillingBillingaccountskusV1betaBillingAccountSku {
|
|
537
|
+
/** BillingAccountService that the BillingAccountSku belongs to. */
|
|
538
|
+
billingAccountService?:
|
|
539
|
+
string;
|
|
540
|
+
/** Description of the BillingAccountSku. Example: "A2 Instance Core running in Hong Kong". */
|
|
541
|
+
displayName?:
|
|
542
|
+
string;
|
|
543
|
+
/** Geographic metadata that applies to the BillingAccountSku. */
|
|
544
|
+
geoTaxonomy?:
|
|
545
|
+
GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomy;
|
|
546
|
+
/** Resource name for the BillingAccountSku. Example: "billingAccounts/012345-567890-ABCDEF/skus/AA95-CD31-42FE". */
|
|
547
|
+
name?:
|
|
548
|
+
string;
|
|
549
|
+
/** List of product categories that apply to the BillingAccountSku. */
|
|
550
|
+
productTaxonomy?:
|
|
551
|
+
GoogleCloudBillingBillingaccountskusV1betaProductTaxonomy;
|
|
552
|
+
/** Unique identifier for the SKU. It is the string after the collection identifier "skus/" Example: "AA95-CD31-42FE". */
|
|
553
|
+
skuId?:
|
|
554
|
+
string;
|
|
555
|
+
}
|
|
556
|
+
interface GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomy {
|
|
557
|
+
/** Global geographic metadata with no regions. */
|
|
558
|
+
globalMetadata?:
|
|
559
|
+
any;
|
|
560
|
+
/** Multi-regional geographic metadata with 2 or more regions. */
|
|
561
|
+
multiRegionalMetadata?:
|
|
562
|
+
GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyMultiRegional;
|
|
563
|
+
/** Regional geographic metadata with 1 region. */
|
|
564
|
+
regionalMetadata?:
|
|
565
|
+
GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyRegional;
|
|
566
|
+
/** Type of geographic taxonomy associated with the billing account SKU. */
|
|
567
|
+
type?:
|
|
568
|
+
string;
|
|
569
|
+
}
|
|
570
|
+
// tslint:disable-next-line:no-empty-interface
|
|
571
|
+
interface GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyGlobal {
|
|
572
|
+
}
|
|
573
|
+
interface GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyMultiRegional {
|
|
574
|
+
/** Google Cloud regions associated with the multi-regional geographic taxonomy. */
|
|
575
|
+
regions?:
|
|
576
|
+
GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyRegion[];
|
|
577
|
+
}
|
|
578
|
+
interface GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyRegion {
|
|
579
|
+
/** Description of a Google Cloud region. Example: "us-west2". */
|
|
580
|
+
region?:
|
|
581
|
+
string;
|
|
582
|
+
}
|
|
583
|
+
interface GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyRegional {
|
|
584
|
+
/** Google Cloud region associated with the regional geographic taxonomy. */
|
|
585
|
+
region?:
|
|
586
|
+
GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyRegion;
|
|
587
|
+
}
|
|
588
|
+
interface GoogleCloudBillingBillingaccountskusV1betaListBillingAccountSkusResponse {
|
|
589
|
+
/** The returned billing account SKUs. */
|
|
590
|
+
billingAccountSkus?:
|
|
591
|
+
GoogleCloudBillingBillingaccountskusV1betaBillingAccountSku[];
|
|
592
|
+
/** 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. */
|
|
593
|
+
nextPageToken?:
|
|
594
|
+
string;
|
|
595
|
+
}
|
|
596
|
+
interface GoogleCloudBillingBillingaccountskusV1betaProductTaxonomy {
|
|
597
|
+
/** All product categories that the billing account SKU belong to. */
|
|
598
|
+
taxonomyCategories?:
|
|
599
|
+
GoogleCloudBillingBillingaccountskusV1betaTaxonomyCategory[];
|
|
600
|
+
}
|
|
601
|
+
interface GoogleCloudBillingBillingaccountskusV1betaTaxonomyCategory {
|
|
602
|
+
/** Name of the product category. */
|
|
603
|
+
category?:
|
|
604
|
+
string;
|
|
605
|
+
}
|
|
606
|
+
interface GoogleCloudBillingPricesV1betaAggregationInfo {
|
|
607
|
+
/** Interval at which usage is aggregated to compute cost. Example: "MONTHLY" interval indicates that usage is aggregated every month. */
|
|
608
|
+
interval?:
|
|
609
|
+
string;
|
|
610
|
+
/** Level at which usage is aggregated to compute cost. Example: "ACCOUNT" level indicates that usage is aggregated across all projects in a single account. */
|
|
611
|
+
level?:
|
|
612
|
+
string;
|
|
613
|
+
}
|
|
614
|
+
interface GoogleCloudBillingPricesV1betaPrice {
|
|
615
|
+
/** ISO-4217 currency code for the price. */
|
|
616
|
+
currencyCode?:
|
|
617
|
+
string;
|
|
618
|
+
/** Resource name for the latest price. */
|
|
619
|
+
name?:
|
|
620
|
+
string;
|
|
621
|
+
/** Rate price metadata. SKUs with `Rate` price are offered by pricing tiers. The price can have 1 or more rate pricing tiers. */
|
|
622
|
+
rate?:
|
|
623
|
+
GoogleCloudBillingPricesV1betaRate;
|
|
624
|
+
/** Type of the price. It can have values: ["unspecified", "rate"]. */
|
|
625
|
+
valueType?:
|
|
626
|
+
string;
|
|
627
|
+
}
|
|
628
|
+
interface GoogleCloudBillingPricesV1betaRate {
|
|
629
|
+
/** Aggregation info for tiers such as aggregation level and interval. */
|
|
630
|
+
aggregationInfo?:
|
|
631
|
+
GoogleCloudBillingPricesV1betaAggregationInfo;
|
|
632
|
+
/** All tiers associated with the `Rate` price. */
|
|
633
|
+
tiers?:
|
|
634
|
+
GoogleCloudBillingPricesV1betaRateTier[];
|
|
635
|
+
/** Unit info such as name and quantity. */
|
|
636
|
+
unitInfo?:
|
|
637
|
+
GoogleCloudBillingPricesV1betaUnitInfo;
|
|
638
|
+
}
|
|
639
|
+
interface GoogleCloudBillingPricesV1betaRateTier {
|
|
640
|
+
/** List price of one tier. */
|
|
641
|
+
listPrice?:
|
|
642
|
+
Money;
|
|
643
|
+
/** Lower bound amount for a tier. Tiers 0-100, 100-200 will be represented with two tiers with `start_amount` 0 and 100. */
|
|
644
|
+
startAmount?:
|
|
645
|
+
Decimal;
|
|
646
|
+
}
|
|
647
|
+
interface GoogleCloudBillingPricesV1betaUnitInfo {
|
|
648
|
+
/** Shorthand for the unit. Example: GiBy.mo. */
|
|
649
|
+
unit?:
|
|
650
|
+
string;
|
|
651
|
+
/** Human-readable description of the unit. Example: gibibyte month. */
|
|
652
|
+
unitDescription?:
|
|
653
|
+
string;
|
|
654
|
+
/** Unit quantity for the tier. Example: if the RateTier price is $1 per 1000000 Bytes, then `unit_quantity` is set to 1000000. */
|
|
655
|
+
unitQuantity?:
|
|
656
|
+
Decimal;
|
|
657
|
+
}
|
|
658
|
+
interface GoogleCloudBillingSkugroupskusV1betaGeoTaxonomy {
|
|
659
|
+
/** Global geographic metadata with no regions. */
|
|
660
|
+
globalMetadata?:
|
|
661
|
+
any;
|
|
662
|
+
/** Multi-regional geographic metadata with 2 or more regions. */
|
|
663
|
+
multiRegionalMetadata?:
|
|
664
|
+
GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyMultiRegional;
|
|
665
|
+
/** Regional geographic metadata with 1 region. */
|
|
666
|
+
regionalMetadata?:
|
|
667
|
+
GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegional;
|
|
668
|
+
/** Type of geographic taxonomy associated with the SKU group SKU. */
|
|
669
|
+
type?:
|
|
670
|
+
string;
|
|
671
|
+
}
|
|
672
|
+
// tslint:disable-next-line:no-empty-interface
|
|
673
|
+
interface GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyGlobal {
|
|
674
|
+
}
|
|
675
|
+
interface GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyMultiRegional {
|
|
676
|
+
/** Google Cloud regions associated with the multi-regional geographic taxonomy. */
|
|
677
|
+
regions?:
|
|
678
|
+
GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegion[];
|
|
679
|
+
}
|
|
680
|
+
interface GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegion {
|
|
681
|
+
/** Description of a Google Cloud region. Example: "us-west2". */
|
|
682
|
+
region?:
|
|
683
|
+
string;
|
|
684
|
+
}
|
|
685
|
+
interface GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegional {
|
|
686
|
+
/** Google Cloud region associated with the regional geographic taxonomy. */
|
|
687
|
+
region?:
|
|
688
|
+
GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegion;
|
|
689
|
+
}
|
|
690
|
+
interface GoogleCloudBillingSkugroupskusV1betaListSkuGroupSkusResponse {
|
|
691
|
+
/** 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. */
|
|
692
|
+
nextPageToken?:
|
|
693
|
+
string;
|
|
694
|
+
/** The returned SKU group SKUs. */
|
|
695
|
+
skuGroupSkus?:
|
|
696
|
+
GoogleCloudBillingSkugroupskusV1betaSkuGroupSku[];
|
|
697
|
+
}
|
|
698
|
+
interface GoogleCloudBillingSkugroupskusV1betaProductTaxonomy {
|
|
699
|
+
/** All product categories that the SKU group SKU belongs to. */
|
|
700
|
+
taxonomyCategories?:
|
|
701
|
+
GoogleCloudBillingSkugroupskusV1betaTaxonomyCategory[];
|
|
702
|
+
}
|
|
703
|
+
interface GoogleCloudBillingSkugroupskusV1betaSkuGroupSku {
|
|
704
|
+
/** Description of the SkuGroupSku. Example: "A2 Instance Core running in Hong Kong". */
|
|
705
|
+
displayName?:
|
|
706
|
+
string;
|
|
707
|
+
/** Geographic metadata that applies to the SkuGroupSku. */
|
|
708
|
+
geoTaxonomy?:
|
|
709
|
+
GoogleCloudBillingSkugroupskusV1betaGeoTaxonomy;
|
|
710
|
+
/** Resource name for the SkuGroupSku. Example: "skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301/skus/AA95-CD31-42FE". */
|
|
711
|
+
name?:
|
|
712
|
+
string;
|
|
713
|
+
/** List of product categories that apply to the SkuGroupSku. */
|
|
714
|
+
productTaxonomy?:
|
|
715
|
+
GoogleCloudBillingSkugroupskusV1betaProductTaxonomy;
|
|
716
|
+
/** Service that the SkuGroupSku belongs to. */
|
|
717
|
+
service?:
|
|
718
|
+
string;
|
|
719
|
+
/** Unique identifier for the SKU. It is the string after the collection identifier "skus/" Example: "AA95-CD31-42FE". */
|
|
720
|
+
skuId?:
|
|
721
|
+
string;
|
|
722
|
+
}
|
|
723
|
+
interface GoogleCloudBillingSkugroupskusV1betaTaxonomyCategory {
|
|
724
|
+
/** Name of the product category. */
|
|
725
|
+
category?:
|
|
726
|
+
string;
|
|
727
|
+
}
|
|
728
|
+
interface GoogleCloudBillingSkugroupsV1betaListSkuGroupsResponse {
|
|
729
|
+
/** 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. */
|
|
730
|
+
nextPageToken?:
|
|
731
|
+
string;
|
|
732
|
+
/** The returned publicly listed SKU groups. */
|
|
733
|
+
skuGroups?:
|
|
734
|
+
GoogleCloudBillingSkugroupsV1betaSkuGroup[];
|
|
735
|
+
}
|
|
736
|
+
interface GoogleCloudBillingSkugroupsV1betaSkuGroup {
|
|
737
|
+
/** Description of the SKU group. Example: "A2 VMs (1 Year CUD)". */
|
|
738
|
+
displayName?:
|
|
739
|
+
string;
|
|
740
|
+
/** Resource name for the SKU group. Example: "skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301". */
|
|
741
|
+
name?:
|
|
742
|
+
string;
|
|
743
|
+
}
|
|
262
744
|
interface GuestAccelerator {
|
|
263
745
|
/** The number of the guest accelerator cards exposed to each instance. */
|
|
264
746
|
acceleratorCount?:
|
|
@@ -556,9 +1038,9 @@ declare namespace gapi.client {
|
|
|
556
1038
|
workloadTotalCostEstimate?:
|
|
557
1039
|
CostEstimate;
|
|
558
1040
|
}
|
|
559
|
-
interface
|
|
560
|
-
/**
|
|
561
|
-
|
|
1041
|
+
interface ServicesResource {
|
|
1042
|
+
/** Gets a Google Cloud service visible to a billing account. */
|
|
1043
|
+
get(request?: {
|
|
562
1044
|
/** V1 error format. */
|
|
563
1045
|
"$.xgafv"?:
|
|
564
1046
|
string;
|
|
@@ -568,11 +1050,44 @@ declare namespace gapi.client {
|
|
|
568
1050
|
/** Data format for response. */
|
|
569
1051
|
alt?:
|
|
570
1052
|
string;
|
|
571
|
-
/**
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
1053
|
+
/** JSONP */
|
|
1054
|
+
callback?:
|
|
1055
|
+
string;
|
|
1056
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1057
|
+
fields?:
|
|
1058
|
+
string;
|
|
1059
|
+
/** 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. */
|
|
1060
|
+
key?:
|
|
1061
|
+
string;
|
|
1062
|
+
/** Required. The name of the billing account service to retrieve. Format: billingAccounts/{billing_account}/services/{service} */
|
|
1063
|
+
name:
|
|
1064
|
+
string;
|
|
1065
|
+
/** OAuth 2.0 token for the current user. */
|
|
1066
|
+
oauth_token?:
|
|
1067
|
+
string;
|
|
1068
|
+
/** Returns response with indentations and line breaks. */
|
|
1069
|
+
prettyPrint?:
|
|
1070
|
+
boolean;
|
|
1071
|
+
/** 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. */
|
|
1072
|
+
quotaUser?:
|
|
1073
|
+
string;
|
|
1074
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1075
|
+
upload_protocol?:
|
|
1076
|
+
string;
|
|
1077
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1078
|
+
uploadType?:
|
|
1079
|
+
string;
|
|
1080
|
+
}): Request<GoogleCloudBillingBillingaccountservicesV1betaBillingAccountService>;
|
|
1081
|
+
/** Lists services visible to a billing account. */
|
|
1082
|
+
list(request?: {
|
|
1083
|
+
/** V1 error format. */
|
|
1084
|
+
"$.xgafv"?:
|
|
1085
|
+
string;
|
|
1086
|
+
/** OAuth access token. */
|
|
1087
|
+
access_token?:
|
|
1088
|
+
string;
|
|
1089
|
+
/** Data format for response. */
|
|
1090
|
+
alt?:
|
|
576
1091
|
string;
|
|
577
1092
|
/** JSONP */
|
|
578
1093
|
callback?:
|
|
@@ -586,6 +1101,15 @@ declare namespace gapi.client {
|
|
|
586
1101
|
/** OAuth 2.0 token for the current user. */
|
|
587
1102
|
oauth_token?:
|
|
588
1103
|
string;
|
|
1104
|
+
/** Maximum number of billing account service to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000. */
|
|
1105
|
+
pageSize?:
|
|
1106
|
+
number;
|
|
1107
|
+
/** Page token received from a previous ListBillingAccountServices call to retrieve the next page of results. If this field is empty, the first page is returned. */
|
|
1108
|
+
pageToken?:
|
|
1109
|
+
string;
|
|
1110
|
+
/** Required. The billing account to list billing account service from. Format: billingAccounts/{billing_account} */
|
|
1111
|
+
parent:
|
|
1112
|
+
string;
|
|
589
1113
|
/** Returns response with indentations and line breaks. */
|
|
590
1114
|
prettyPrint?:
|
|
591
1115
|
boolean;
|
|
@@ -598,11 +1122,11 @@ declare namespace gapi.client {
|
|
|
598
1122
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
599
1123
|
uploadType?:
|
|
600
1124
|
string;
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
1125
|
+
}): Request<GoogleCloudBillingBillingaccountservicesV1betaListBillingAccountServicesResponse>;
|
|
1126
|
+
}
|
|
1127
|
+
interface SkusResource {
|
|
1128
|
+
/** Gets a SKU that is part of a billing account SKU group. */
|
|
1129
|
+
get(request?: {
|
|
606
1130
|
/** V1 error format. */
|
|
607
1131
|
"$.xgafv"?:
|
|
608
1132
|
string;
|
|
@@ -612,11 +1136,44 @@ declare namespace gapi.client {
|
|
|
612
1136
|
/** Data format for response. */
|
|
613
1137
|
alt?:
|
|
614
1138
|
string;
|
|
615
|
-
/**
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
1139
|
+
/** JSONP */
|
|
1140
|
+
callback?:
|
|
1141
|
+
string;
|
|
1142
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1143
|
+
fields?:
|
|
1144
|
+
string;
|
|
1145
|
+
/** 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. */
|
|
1146
|
+
key?:
|
|
1147
|
+
string;
|
|
1148
|
+
/** Required. The name of the billing account SKU group SKU to retrieve. Format: billingAccounts/{billing_account}/skuGroups/{sku_group}/skus/{sku} */
|
|
1149
|
+
name:
|
|
1150
|
+
string;
|
|
1151
|
+
/** OAuth 2.0 token for the current user. */
|
|
1152
|
+
oauth_token?:
|
|
1153
|
+
string;
|
|
1154
|
+
/** Returns response with indentations and line breaks. */
|
|
1155
|
+
prettyPrint?:
|
|
1156
|
+
boolean;
|
|
1157
|
+
/** 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. */
|
|
1158
|
+
quotaUser?:
|
|
1159
|
+
string;
|
|
1160
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1161
|
+
upload_protocol?:
|
|
1162
|
+
string;
|
|
1163
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1164
|
+
uploadType?:
|
|
1165
|
+
string;
|
|
1166
|
+
}): Request<GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku>;
|
|
1167
|
+
/** Lists SKUs that is part of billing account SKU groups. */
|
|
1168
|
+
list(request?: {
|
|
1169
|
+
/** V1 error format. */
|
|
1170
|
+
"$.xgafv"?:
|
|
1171
|
+
string;
|
|
1172
|
+
/** OAuth access token. */
|
|
1173
|
+
access_token?:
|
|
1174
|
+
string;
|
|
1175
|
+
/** Data format for response. */
|
|
1176
|
+
alt?:
|
|
620
1177
|
string;
|
|
621
1178
|
/** JSONP */
|
|
622
1179
|
callback?:
|
|
@@ -630,6 +1187,15 @@ declare namespace gapi.client {
|
|
|
630
1187
|
/** OAuth 2.0 token for the current user. */
|
|
631
1188
|
oauth_token?:
|
|
632
1189
|
string;
|
|
1190
|
+
/** Maximum number of billing account SKU group SKUs to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000. */
|
|
1191
|
+
pageSize?:
|
|
1192
|
+
number;
|
|
1193
|
+
/** Page token received from a previous ListBillingAccountSkuGroupSkus call to retrieve the next page of results. If this field is empty, the first page is returned. */
|
|
1194
|
+
pageToken?:
|
|
1195
|
+
string;
|
|
1196
|
+
/** Required. The billing account SKU group to list billing account SKU group SKUs from. Format: billingAccounts/{billing_account}/skuGroups/{sku_group} */
|
|
1197
|
+
parent:
|
|
1198
|
+
string;
|
|
633
1199
|
/** Returns response with indentations and line breaks. */
|
|
634
1200
|
prettyPrint?:
|
|
635
1201
|
boolean;
|
|
@@ -642,12 +1208,11 @@ declare namespace gapi.client {
|
|
|
642
1208
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
643
1209
|
uploadType?:
|
|
644
1210
|
string;
|
|
645
|
-
}
|
|
646
|
-
body: EstimateCostScenarioForBillingAccountRequest): Request<EstimateCostScenarioForBillingAccountResponse>;
|
|
1211
|
+
}): Request<GoogleCloudBillingBillingaccountskugroupskusV1betaListBillingAccountSkuGroupSkusResponse>;
|
|
647
1212
|
}
|
|
648
|
-
interface
|
|
649
|
-
/**
|
|
650
|
-
|
|
1213
|
+
interface SkuGroupsResource {
|
|
1214
|
+
/** Gets a SKU group visible to a billing account. */
|
|
1215
|
+
get(request?: {
|
|
651
1216
|
/** V1 error format. */
|
|
652
1217
|
"$.xgafv"?:
|
|
653
1218
|
string;
|
|
@@ -666,6 +1231,9 @@ declare namespace gapi.client {
|
|
|
666
1231
|
/** 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. */
|
|
667
1232
|
key?:
|
|
668
1233
|
string;
|
|
1234
|
+
/** Required. The name of the BillingAccountSkuGroup to retrieve. Format: billingAccounts/{billing_account}/skuGroups/{sku_group} */
|
|
1235
|
+
name:
|
|
1236
|
+
string;
|
|
669
1237
|
/** OAuth 2.0 token for the current user. */
|
|
670
1238
|
oauth_token?:
|
|
671
1239
|
string;
|
|
@@ -681,11 +1249,9 @@ declare namespace gapi.client {
|
|
|
681
1249
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
682
1250
|
uploadType?:
|
|
683
1251
|
string;
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
}): Request<EstimateCostScenarioWithListPriceResponse>;
|
|
688
|
-
estimateCostScenario(request: {
|
|
1252
|
+
}): Request<GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup>;
|
|
1253
|
+
/** Lists SKU groups visible to a billing account. */
|
|
1254
|
+
list(request?: {
|
|
689
1255
|
/** V1 error format. */
|
|
690
1256
|
"$.xgafv"?:
|
|
691
1257
|
string;
|
|
@@ -707,6 +1273,15 @@ declare namespace gapi.client {
|
|
|
707
1273
|
/** OAuth 2.0 token for the current user. */
|
|
708
1274
|
oauth_token?:
|
|
709
1275
|
string;
|
|
1276
|
+
/** Maximum number of billing account SKU groups to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000. */
|
|
1277
|
+
pageSize?:
|
|
1278
|
+
number;
|
|
1279
|
+
/** Page token received from a previous ListBillingAccountSkuGroups call to retrieve the next page of results. If this field is empty, the first page is returned. */
|
|
1280
|
+
pageToken?:
|
|
1281
|
+
string;
|
|
1282
|
+
/** Required. The billing account to list billing account SKU groups from. Format: billingAccounts/{billing_account} */
|
|
1283
|
+
parent:
|
|
1284
|
+
string;
|
|
710
1285
|
/** Returns response with indentations and line breaks. */
|
|
711
1286
|
prettyPrint?:
|
|
712
1287
|
boolean;
|
|
@@ -719,11 +1294,545 @@ declare namespace gapi.client {
|
|
|
719
1294
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
720
1295
|
uploadType?:
|
|
721
1296
|
string;
|
|
722
|
-
}
|
|
723
|
-
|
|
1297
|
+
}): Request<GoogleCloudBillingBillingaccountskugroupsV1betaListBillingAccountSkuGroupsResponse>;
|
|
1298
|
+
skus:
|
|
1299
|
+
SkusResource;
|
|
724
1300
|
}
|
|
725
|
-
|
|
726
|
-
|
|
1301
|
+
interface PriceResource {
|
|
1302
|
+
/** Gets the latest price for the given billing account SKU. */
|
|
1303
|
+
get(request?: {
|
|
1304
|
+
/** V1 error format. */
|
|
1305
|
+
"$.xgafv"?:
|
|
1306
|
+
string;
|
|
1307
|
+
/** OAuth access token. */
|
|
1308
|
+
access_token?:
|
|
1309
|
+
string;
|
|
1310
|
+
/** Data format for response. */
|
|
1311
|
+
alt?:
|
|
1312
|
+
string;
|
|
1313
|
+
/** JSONP */
|
|
1314
|
+
callback?:
|
|
1315
|
+
string;
|
|
1316
|
+
/** Optional. ISO-4217 currency code for the price. If not specified, currency of billing account will be used. */
|
|
1317
|
+
currencyCode?:
|
|
1318
|
+
string;
|
|
1319
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1320
|
+
fields?:
|
|
1321
|
+
string;
|
|
1322
|
+
/** 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. */
|
|
1323
|
+
key?:
|
|
1324
|
+
string;
|
|
1325
|
+
/** Required. Name of the latest billing account price to retrieve. Format: billingAccounts/{billing_account}/skus/{sku}/price */
|
|
1326
|
+
name:
|
|
1327
|
+
string;
|
|
1328
|
+
/** OAuth 2.0 token for the current user. */
|
|
1329
|
+
oauth_token?:
|
|
1330
|
+
string;
|
|
1331
|
+
/** Returns response with indentations and line breaks. */
|
|
1332
|
+
prettyPrint?:
|
|
1333
|
+
boolean;
|
|
1334
|
+
/** 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. */
|
|
1335
|
+
quotaUser?:
|
|
1336
|
+
string;
|
|
1337
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1338
|
+
upload_protocol?:
|
|
1339
|
+
string;
|
|
1340
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1341
|
+
uploadType?:
|
|
1342
|
+
string;
|
|
1343
|
+
}): Request<GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice>;
|
|
1344
|
+
}
|
|
1345
|
+
interface SkusResource {
|
|
1346
|
+
/** Gets a SKU visible to a billing account. */
|
|
1347
|
+
get(request?: {
|
|
1348
|
+
/** V1 error format. */
|
|
1349
|
+
"$.xgafv"?:
|
|
1350
|
+
string;
|
|
1351
|
+
/** OAuth access token. */
|
|
1352
|
+
access_token?:
|
|
1353
|
+
string;
|
|
1354
|
+
/** Data format for response. */
|
|
1355
|
+
alt?:
|
|
1356
|
+
string;
|
|
1357
|
+
/** JSONP */
|
|
1358
|
+
callback?:
|
|
1359
|
+
string;
|
|
1360
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1361
|
+
fields?:
|
|
1362
|
+
string;
|
|
1363
|
+
/** 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. */
|
|
1364
|
+
key?:
|
|
1365
|
+
string;
|
|
1366
|
+
/** Required. The name of the billing account SKU to retrieve. Format: billingAccounts/{billing_account}/skus/{sku} */
|
|
1367
|
+
name:
|
|
1368
|
+
string;
|
|
1369
|
+
/** OAuth 2.0 token for the current user. */
|
|
1370
|
+
oauth_token?:
|
|
1371
|
+
string;
|
|
1372
|
+
/** Returns response with indentations and line breaks. */
|
|
1373
|
+
prettyPrint?:
|
|
1374
|
+
boolean;
|
|
1375
|
+
/** 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. */
|
|
1376
|
+
quotaUser?:
|
|
1377
|
+
string;
|
|
1378
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1379
|
+
upload_protocol?:
|
|
1380
|
+
string;
|
|
1381
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1382
|
+
uploadType?:
|
|
1383
|
+
string;
|
|
1384
|
+
}): Request<GoogleCloudBillingBillingaccountskusV1betaBillingAccountSku>;
|
|
1385
|
+
/** Lists SKUs visible to a billing account. */
|
|
1386
|
+
list(request?: {
|
|
1387
|
+
/** V1 error format. */
|
|
1388
|
+
"$.xgafv"?:
|
|
1389
|
+
string;
|
|
1390
|
+
/** OAuth access token. */
|
|
1391
|
+
access_token?:
|
|
1392
|
+
string;
|
|
1393
|
+
/** Data format for response. */
|
|
1394
|
+
alt?:
|
|
1395
|
+
string;
|
|
1396
|
+
/** JSONP */
|
|
1397
|
+
callback?:
|
|
1398
|
+
string;
|
|
1399
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1400
|
+
fields?:
|
|
1401
|
+
string;
|
|
1402
|
+
/**
|
|
1403
|
+
* Options for how to filter the billing account SKUs. Currently, only filter on `billing_account_service` is supported. Only !=, = operators are supported. Examples: -
|
|
1404
|
+
* billing_account_service = "billingAccounts/012345-567890-ABCDEF/services/DA34-426B-A397"
|
|
1405
|
+
*/
|
|
1406
|
+
filter?:
|
|
1407
|
+
string;
|
|
1408
|
+
/** 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. */
|
|
1409
|
+
key?:
|
|
1410
|
+
string;
|
|
1411
|
+
/** OAuth 2.0 token for the current user. */
|
|
1412
|
+
oauth_token?:
|
|
1413
|
+
string;
|
|
1414
|
+
/** Maximum number of billing account SKUs to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000. */
|
|
1415
|
+
pageSize?:
|
|
1416
|
+
number;
|
|
1417
|
+
/** Page token received from a previous ListBillingAccountSkus call to retrieve the next page of results. If this field is empty, the first page is returned. */
|
|
1418
|
+
pageToken?:
|
|
1419
|
+
string;
|
|
1420
|
+
/** Required. The billing account to list billing account SKU from. Format: billingAccounts/{billing_account} */
|
|
1421
|
+
parent:
|
|
1422
|
+
string;
|
|
1423
|
+
/** Returns response with indentations and line breaks. */
|
|
1424
|
+
prettyPrint?:
|
|
1425
|
+
boolean;
|
|
1426
|
+
/** 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. */
|
|
1427
|
+
quotaUser?:
|
|
1428
|
+
string;
|
|
1429
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1430
|
+
upload_protocol?:
|
|
1431
|
+
string;
|
|
1432
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1433
|
+
uploadType?:
|
|
1434
|
+
string;
|
|
1435
|
+
}): Request<GoogleCloudBillingBillingaccountskusV1betaListBillingAccountSkusResponse>;
|
|
1436
|
+
price:
|
|
1437
|
+
PriceResource;
|
|
1438
|
+
}
|
|
1439
|
+
interface BillingAccountsResource {
|
|
1440
|
+
/** Use custom pricing in the estimate, using a `CostScenario` with a defined `billingAccount`. */
|
|
1441
|
+
estimateCostScenario(request: {
|
|
1442
|
+
/** V1 error format. */
|
|
1443
|
+
"$.xgafv"?:
|
|
1444
|
+
string;
|
|
1445
|
+
/** OAuth access token. */
|
|
1446
|
+
access_token?:
|
|
1447
|
+
string;
|
|
1448
|
+
/** Data format for response. */
|
|
1449
|
+
alt?:
|
|
1450
|
+
string;
|
|
1451
|
+
/**
|
|
1452
|
+
* Resource name of the billing account for the cost estimate. The resource name has the form `billingAccounts/{billing_account_id}`. For example,
|
|
1453
|
+
* `billingAccounts/012345-567890-ABCDEF` is the resource name for billing account `012345-567890-ABCDEF`. Must be specified.
|
|
1454
|
+
*/
|
|
1455
|
+
billingAccount:
|
|
1456
|
+
string;
|
|
1457
|
+
/** JSONP */
|
|
1458
|
+
callback?:
|
|
1459
|
+
string;
|
|
1460
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1461
|
+
fields?:
|
|
1462
|
+
string;
|
|
1463
|
+
/** 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. */
|
|
1464
|
+
key?:
|
|
1465
|
+
string;
|
|
1466
|
+
/** OAuth 2.0 token for the current user. */
|
|
1467
|
+
oauth_token?:
|
|
1468
|
+
string;
|
|
1469
|
+
/** Returns response with indentations and line breaks. */
|
|
1470
|
+
prettyPrint?:
|
|
1471
|
+
boolean;
|
|
1472
|
+
/** 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. */
|
|
1473
|
+
quotaUser?:
|
|
1474
|
+
string;
|
|
1475
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1476
|
+
upload_protocol?:
|
|
1477
|
+
string;
|
|
1478
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1479
|
+
uploadType?:
|
|
1480
|
+
string;
|
|
1481
|
+
/** Request body */
|
|
1482
|
+
resource:
|
|
1483
|
+
EstimateCostScenarioForBillingAccountRequest;
|
|
1484
|
+
}): Request<EstimateCostScenarioForBillingAccountResponse>;
|
|
1485
|
+
estimateCostScenario(request: {
|
|
1486
|
+
/** V1 error format. */
|
|
1487
|
+
"$.xgafv"?:
|
|
1488
|
+
string;
|
|
1489
|
+
/** OAuth access token. */
|
|
1490
|
+
access_token?:
|
|
1491
|
+
string;
|
|
1492
|
+
/** Data format for response. */
|
|
1493
|
+
alt?:
|
|
1494
|
+
string;
|
|
1495
|
+
/**
|
|
1496
|
+
* Resource name of the billing account for the cost estimate. The resource name has the form `billingAccounts/{billing_account_id}`. For example,
|
|
1497
|
+
* `billingAccounts/012345-567890-ABCDEF` is the resource name for billing account `012345-567890-ABCDEF`. Must be specified.
|
|
1498
|
+
*/
|
|
1499
|
+
billingAccount:
|
|
1500
|
+
string;
|
|
1501
|
+
/** JSONP */
|
|
1502
|
+
callback?:
|
|
1503
|
+
string;
|
|
1504
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1505
|
+
fields?:
|
|
1506
|
+
string;
|
|
1507
|
+
/** 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. */
|
|
1508
|
+
key?:
|
|
1509
|
+
string;
|
|
1510
|
+
/** OAuth 2.0 token for the current user. */
|
|
1511
|
+
oauth_token?:
|
|
1512
|
+
string;
|
|
1513
|
+
/** Returns response with indentations and line breaks. */
|
|
1514
|
+
prettyPrint?:
|
|
1515
|
+
boolean;
|
|
1516
|
+
/** 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. */
|
|
1517
|
+
quotaUser?:
|
|
1518
|
+
string;
|
|
1519
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1520
|
+
upload_protocol?:
|
|
1521
|
+
string;
|
|
1522
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1523
|
+
uploadType?:
|
|
1524
|
+
string;
|
|
1525
|
+
},
|
|
1526
|
+
body: EstimateCostScenarioForBillingAccountRequest): Request<EstimateCostScenarioForBillingAccountResponse>;
|
|
1527
|
+
services:
|
|
1528
|
+
ServicesResource;
|
|
1529
|
+
skuGroups:
|
|
1530
|
+
SkuGroupsResource;
|
|
1531
|
+
skus:
|
|
1532
|
+
SkusResource;
|
|
1533
|
+
}
|
|
1534
|
+
interface SkusResource {
|
|
1535
|
+
/** Gets a publicly listed SKU that is part of a publicly listed SKU group. */
|
|
1536
|
+
get(request?: {
|
|
1537
|
+
/** V1 error format. */
|
|
1538
|
+
"$.xgafv"?:
|
|
1539
|
+
string;
|
|
1540
|
+
/** OAuth access token. */
|
|
1541
|
+
access_token?:
|
|
1542
|
+
string;
|
|
1543
|
+
/** Data format for response. */
|
|
1544
|
+
alt?:
|
|
1545
|
+
string;
|
|
1546
|
+
/** JSONP */
|
|
1547
|
+
callback?:
|
|
1548
|
+
string;
|
|
1549
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1550
|
+
fields?:
|
|
1551
|
+
string;
|
|
1552
|
+
/** 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. */
|
|
1553
|
+
key?:
|
|
1554
|
+
string;
|
|
1555
|
+
/** Required. The name of the SKU group SKU to retrieve. Format: skuGroups/{sku_group}/skus/{sku} */
|
|
1556
|
+
name:
|
|
1557
|
+
string;
|
|
1558
|
+
/** OAuth 2.0 token for the current user. */
|
|
1559
|
+
oauth_token?:
|
|
1560
|
+
string;
|
|
1561
|
+
/** Returns response with indentations and line breaks. */
|
|
1562
|
+
prettyPrint?:
|
|
1563
|
+
boolean;
|
|
1564
|
+
/** 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. */
|
|
1565
|
+
quotaUser?:
|
|
1566
|
+
string;
|
|
1567
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1568
|
+
upload_protocol?:
|
|
1569
|
+
string;
|
|
1570
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1571
|
+
uploadType?:
|
|
1572
|
+
string;
|
|
1573
|
+
}): Request<GoogleCloudBillingSkugroupskusV1betaSkuGroupSku>;
|
|
1574
|
+
/** Lists all publicly listed SKUs contained by a publicly listed SKU group. */
|
|
1575
|
+
list(request?: {
|
|
1576
|
+
/** V1 error format. */
|
|
1577
|
+
"$.xgafv"?:
|
|
1578
|
+
string;
|
|
1579
|
+
/** OAuth access token. */
|
|
1580
|
+
access_token?:
|
|
1581
|
+
string;
|
|
1582
|
+
/** Data format for response. */
|
|
1583
|
+
alt?:
|
|
1584
|
+
string;
|
|
1585
|
+
/** JSONP */
|
|
1586
|
+
callback?:
|
|
1587
|
+
string;
|
|
1588
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1589
|
+
fields?:
|
|
1590
|
+
string;
|
|
1591
|
+
/** 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. */
|
|
1592
|
+
key?:
|
|
1593
|
+
string;
|
|
1594
|
+
/** OAuth 2.0 token for the current user. */
|
|
1595
|
+
oauth_token?:
|
|
1596
|
+
string;
|
|
1597
|
+
/** Maximum number of SKU group SKUs to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000. */
|
|
1598
|
+
pageSize?:
|
|
1599
|
+
number;
|
|
1600
|
+
/** Page token received from a previous ListSkuGroupSkus call to retrieve the next page of results. If this field is empty, the first page is returned. */
|
|
1601
|
+
pageToken?:
|
|
1602
|
+
string;
|
|
1603
|
+
/** Required. The SkuGroup to list SkuGroupSku from. Format: skuGroups/{sku_group} */
|
|
1604
|
+
parent:
|
|
1605
|
+
string;
|
|
1606
|
+
/** Returns response with indentations and line breaks. */
|
|
1607
|
+
prettyPrint?:
|
|
1608
|
+
boolean;
|
|
1609
|
+
/** 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. */
|
|
1610
|
+
quotaUser?:
|
|
1611
|
+
string;
|
|
1612
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1613
|
+
upload_protocol?:
|
|
1614
|
+
string;
|
|
1615
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1616
|
+
uploadType?:
|
|
1617
|
+
string;
|
|
1618
|
+
}): Request<GoogleCloudBillingSkugroupskusV1betaListSkuGroupSkusResponse>;
|
|
1619
|
+
}
|
|
1620
|
+
interface SkuGroupsResource {
|
|
1621
|
+
/** Gets a publicly listed SKU group. */
|
|
1622
|
+
get(request?: {
|
|
1623
|
+
/** V1 error format. */
|
|
1624
|
+
"$.xgafv"?:
|
|
1625
|
+
string;
|
|
1626
|
+
/** OAuth access token. */
|
|
1627
|
+
access_token?:
|
|
1628
|
+
string;
|
|
1629
|
+
/** Data format for response. */
|
|
1630
|
+
alt?:
|
|
1631
|
+
string;
|
|
1632
|
+
/** JSONP */
|
|
1633
|
+
callback?:
|
|
1634
|
+
string;
|
|
1635
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1636
|
+
fields?:
|
|
1637
|
+
string;
|
|
1638
|
+
/** 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. */
|
|
1639
|
+
key?:
|
|
1640
|
+
string;
|
|
1641
|
+
/** Required. The name of the SKU group to retrieve. Format: skuGroups/{sku_group} */
|
|
1642
|
+
name:
|
|
1643
|
+
string;
|
|
1644
|
+
/** OAuth 2.0 token for the current user. */
|
|
1645
|
+
oauth_token?:
|
|
1646
|
+
string;
|
|
1647
|
+
/** Returns response with indentations and line breaks. */
|
|
1648
|
+
prettyPrint?:
|
|
1649
|
+
boolean;
|
|
1650
|
+
/** 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. */
|
|
1651
|
+
quotaUser?:
|
|
1652
|
+
string;
|
|
1653
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1654
|
+
upload_protocol?:
|
|
1655
|
+
string;
|
|
1656
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1657
|
+
uploadType?:
|
|
1658
|
+
string;
|
|
1659
|
+
}): Request<GoogleCloudBillingSkugroupsV1betaSkuGroup>;
|
|
1660
|
+
/** Lists all publicly listed SKU groups. */
|
|
1661
|
+
list(request?: {
|
|
1662
|
+
/** V1 error format. */
|
|
1663
|
+
"$.xgafv"?:
|
|
1664
|
+
string;
|
|
1665
|
+
/** OAuth access token. */
|
|
1666
|
+
access_token?:
|
|
1667
|
+
string;
|
|
1668
|
+
/** Data format for response. */
|
|
1669
|
+
alt?:
|
|
1670
|
+
string;
|
|
1671
|
+
/** JSONP */
|
|
1672
|
+
callback?:
|
|
1673
|
+
string;
|
|
1674
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1675
|
+
fields?:
|
|
1676
|
+
string;
|
|
1677
|
+
/** 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. */
|
|
1678
|
+
key?:
|
|
1679
|
+
string;
|
|
1680
|
+
/** OAuth 2.0 token for the current user. */
|
|
1681
|
+
oauth_token?:
|
|
1682
|
+
string;
|
|
1683
|
+
/** Maximum number of SKU groups to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000. */
|
|
1684
|
+
pageSize?:
|
|
1685
|
+
number;
|
|
1686
|
+
/** Page token received from a previous ListSkuGroups call to retrieve the next page of results. If this field is empty, the first page is returned. */
|
|
1687
|
+
pageToken?:
|
|
1688
|
+
string;
|
|
1689
|
+
/** Returns response with indentations and line breaks. */
|
|
1690
|
+
prettyPrint?:
|
|
1691
|
+
boolean;
|
|
1692
|
+
/** 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. */
|
|
1693
|
+
quotaUser?:
|
|
1694
|
+
string;
|
|
1695
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1696
|
+
upload_protocol?:
|
|
1697
|
+
string;
|
|
1698
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1699
|
+
uploadType?:
|
|
1700
|
+
string;
|
|
1701
|
+
}): Request<GoogleCloudBillingSkugroupsV1betaListSkuGroupsResponse>;
|
|
1702
|
+
skus:
|
|
1703
|
+
SkusResource;
|
|
1704
|
+
}
|
|
1705
|
+
interface PriceResource {
|
|
1706
|
+
/** Gets the latest price for the given SKU. */
|
|
1707
|
+
get(request?: {
|
|
1708
|
+
/** V1 error format. */
|
|
1709
|
+
"$.xgafv"?:
|
|
1710
|
+
string;
|
|
1711
|
+
/** OAuth access token. */
|
|
1712
|
+
access_token?:
|
|
1713
|
+
string;
|
|
1714
|
+
/** Data format for response. */
|
|
1715
|
+
alt?:
|
|
1716
|
+
string;
|
|
1717
|
+
/** JSONP */
|
|
1718
|
+
callback?:
|
|
1719
|
+
string;
|
|
1720
|
+
/** Optional. ISO-4217 currency code for the price. If not specified, USD will be used. */
|
|
1721
|
+
currencyCode?:
|
|
1722
|
+
string;
|
|
1723
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1724
|
+
fields?:
|
|
1725
|
+
string;
|
|
1726
|
+
/** 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. */
|
|
1727
|
+
key?:
|
|
1728
|
+
string;
|
|
1729
|
+
/** Required. Name of the latest price to retrieve. Format: skus/{sku}/price */
|
|
1730
|
+
name:
|
|
1731
|
+
string;
|
|
1732
|
+
/** OAuth 2.0 token for the current user. */
|
|
1733
|
+
oauth_token?:
|
|
1734
|
+
string;
|
|
1735
|
+
/** Returns response with indentations and line breaks. */
|
|
1736
|
+
prettyPrint?:
|
|
1737
|
+
boolean;
|
|
1738
|
+
/** 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. */
|
|
1739
|
+
quotaUser?:
|
|
1740
|
+
string;
|
|
1741
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1742
|
+
upload_protocol?:
|
|
1743
|
+
string;
|
|
1744
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1745
|
+
uploadType?:
|
|
1746
|
+
string;
|
|
1747
|
+
}): Request<GoogleCloudBillingPricesV1betaPrice>;
|
|
1748
|
+
}
|
|
1749
|
+
interface SkusResource {
|
|
1750
|
+
price:
|
|
1751
|
+
PriceResource;
|
|
1752
|
+
}
|
|
1753
|
+
interface V1betaResource {
|
|
1754
|
+
/** Estimate list prices using a `CostScenario` without a defined `billingAccount`. */
|
|
1755
|
+
estimateCostScenario(request: {
|
|
1756
|
+
/** V1 error format. */
|
|
1757
|
+
"$.xgafv"?:
|
|
1758
|
+
string;
|
|
1759
|
+
/** OAuth access token. */
|
|
1760
|
+
access_token?:
|
|
1761
|
+
string;
|
|
1762
|
+
/** Data format for response. */
|
|
1763
|
+
alt?:
|
|
1764
|
+
string;
|
|
1765
|
+
/** JSONP */
|
|
1766
|
+
callback?:
|
|
1767
|
+
string;
|
|
1768
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1769
|
+
fields?:
|
|
1770
|
+
string;
|
|
1771
|
+
/** 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. */
|
|
1772
|
+
key?:
|
|
1773
|
+
string;
|
|
1774
|
+
/** OAuth 2.0 token for the current user. */
|
|
1775
|
+
oauth_token?:
|
|
1776
|
+
string;
|
|
1777
|
+
/** Returns response with indentations and line breaks. */
|
|
1778
|
+
prettyPrint?:
|
|
1779
|
+
boolean;
|
|
1780
|
+
/** 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. */
|
|
1781
|
+
quotaUser?:
|
|
1782
|
+
string;
|
|
1783
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1784
|
+
upload_protocol?:
|
|
1785
|
+
string;
|
|
1786
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1787
|
+
uploadType?:
|
|
1788
|
+
string;
|
|
1789
|
+
/** Request body */
|
|
1790
|
+
resource:
|
|
1791
|
+
EstimateCostScenarioWithListPriceRequest;
|
|
1792
|
+
}): Request<EstimateCostScenarioWithListPriceResponse>;
|
|
1793
|
+
estimateCostScenario(request: {
|
|
1794
|
+
/** V1 error format. */
|
|
1795
|
+
"$.xgafv"?:
|
|
1796
|
+
string;
|
|
1797
|
+
/** OAuth access token. */
|
|
1798
|
+
access_token?:
|
|
1799
|
+
string;
|
|
1800
|
+
/** Data format for response. */
|
|
1801
|
+
alt?:
|
|
1802
|
+
string;
|
|
1803
|
+
/** JSONP */
|
|
1804
|
+
callback?:
|
|
1805
|
+
string;
|
|
1806
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1807
|
+
fields?:
|
|
1808
|
+
string;
|
|
1809
|
+
/** 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. */
|
|
1810
|
+
key?:
|
|
1811
|
+
string;
|
|
1812
|
+
/** OAuth 2.0 token for the current user. */
|
|
1813
|
+
oauth_token?:
|
|
1814
|
+
string;
|
|
1815
|
+
/** Returns response with indentations and line breaks. */
|
|
1816
|
+
prettyPrint?:
|
|
1817
|
+
boolean;
|
|
1818
|
+
/** 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. */
|
|
1819
|
+
quotaUser?:
|
|
1820
|
+
string;
|
|
1821
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1822
|
+
upload_protocol?:
|
|
1823
|
+
string;
|
|
1824
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1825
|
+
uploadType?:
|
|
1826
|
+
string;
|
|
1827
|
+
},
|
|
1828
|
+
body: EstimateCostScenarioWithListPriceRequest): Request<EstimateCostScenarioWithListPriceResponse>;
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
const billingAccounts: BillingAccountsResource;
|
|
1832
|
+
|
|
1833
|
+
const skuGroups: SkuGroupsResource;
|
|
1834
|
+
|
|
1835
|
+
const skus: SkusResource;
|
|
727
1836
|
|
|
728
1837
|
const v1beta: V1betaResource;
|
|
729
1838
|
}
|