Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: discovery/googleapis/cloudbilling__v1.json

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/classroom__v1.json ('k') | discovery/googleapis/cloudbuild__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 "response": { 256 "response": {
257 "$ref": "ListProjectBillingInfoResponse" 257 "$ref": "ListProjectBillingInfoResponse"
258 }, 258 },
259 "scopes": [ 259 "scopes": [
260 "https://www.googleapis.com/auth/cloud-platform" 260 "https://www.googleapis.com/auth/cloud-platform"
261 ] 261 ]
262 } 262 }
263 } 263 }
264 } 264 }
265 } 265 }
266 },
267 "services": {
268 "methods": {
269 "list": {
270 "description": "Lists all public cloud services.",
271 "httpMethod": "GET",
272 "id": "cloudbilling.services.list",
273 "parameterOrder": [],
274 "parameters": {
275 "pageSize": {
276 "description": "Requested page size. Defaults to 500 0.",
277 "format": "int32",
278 "location": "query",
279 "type": "integer"
280 },
281 "pageToken": {
282 "description": "A token identifying a page of result s to return. This should be a\n`next_page_token` value returned from a previous `ListServices`\ncall. If unspecified, the first page of results is returned.",
283 "location": "query",
284 "type": "string"
285 }
286 },
287 "path": "v1/services",
288 "response": {
289 "$ref": "ListServicesResponse"
290 }
291 }
292 },
293 "resources": {
294 "skus": {
295 "methods": {
296 "list": {
297 "description": "Lists all publicly available SKUs fo r a given cloud service.",
298 "httpMethod": "GET",
299 "id": "cloudbilling.services.skus.list",
300 "parameterOrder": [
301 "parent"
302 ],
303 "parameters": {
304 "parent": {
305 "description": "The name of the service.\nEx ample: \"services/DA34-426B-A397\"",
306 "location": "path",
307 "pattern": "^services/[^/]+$",
308 "required": true,
309 "type": "string"
310 },
311 "currencyCode": {
312 "description": "The ISO 4217 currency code f or the pricing info in the response proto.\nWill use the conversion rate as of s tart_time.\nOptional. If not specified USD will be used.",
313 "location": "query",
314 "type": "string"
315 },
316 "endTime": {
317 "description": "Optional exclusive end time of the time range for which the pricing\nversions will be returned. Timestamps i n the future are not allowed.\nMaximum allowable time range is 1 month (31 days) . Time range as a whole\nis optional. If not specified, the latest pricing will be returned (up to\n12 hours old at most).",
318 "format": "google-datetime",
319 "location": "query",
320 "type": "string"
321 },
322 "pageSize": {
323 "description": "Requested page size. Default s to 5000.",
324 "format": "int32",
325 "location": "query",
326 "type": "integer"
327 },
328 "startTime": {
329 "description": "Optional inclusive start tim e of the time range for which the pricing\nversions will be returned. Timestamps in the future are not allowed.\nMaximum allowable time range is 1 month (31 day s). Time range as a whole\nis optional. If not specified, the latest pricing wil l be returned (up to\n12 hours old at most).",
330 "format": "google-datetime",
331 "location": "query",
332 "type": "string"
333 },
334 "pageToken": {
335 "description": "A token identifying a page o f results to return. This should be a\n`next_page_token` value returned from a p revious `ListSkus`\ncall. If unspecified, the first page of results is returned. ",
336 "location": "query",
337 "type": "string"
338 }
339 },
340 "path": "v1/{+parent}/skus",
341 "response": {
342 "$ref": "ListSkusResponse"
343 }
344 }
345 }
346 }
347 }
266 } 348 }
267 }, 349 },
268 "revision": "20170711", 350 "revision": "20170813",
269 "rootUrl": "https://cloudbilling.googleapis.com/", 351 "rootUrl": "https://cloudbilling.googleapis.com/",
270 "schemas": { 352 "schemas": {
353 "PricingExpression": {
354 "description": "Expresses a mathematical pricing formula. For Exampl e:-\n\n`usage_unit: GBy`\n`tiered_rates:`\n `[start_usage_amount: 20, unit_pri ce: $10]`\n `[start_usage_amount: 100, unit_price: $5]`\n\nThe above expresses a pricing formula where the first 20GB is free, the\nnext 80GB is priced at $10 per GB followed by $5 per GB for additional\nusage.",
355 "id": "PricingExpression",
356 "properties": {
357 "displayQuantity": {
358 "description": "The recommended quantity of units for displa ying pricing info. When\ndisplaying pricing info it is recommended to display:\n (unit_price * display_quantity) per display_quantity usage_unit.\nThis field doe s not affect the pricing formula and is for display purposes\nonly.\nExample: If the unit_price is \"0.0001 USD\", the usage_unit is \"GB\" and\nthe display_qua ntity is \"1000\" then the recommended way of displaying the\npricing info is \" 0.10 USD per 1000 GB\"",
359 "format": "double",
360 "type": "number"
361 },
362 "baseUnitDescription": {
363 "description": "The base unit in human readable form.\nExamp le: \"byte\".",
364 "type": "string"
365 },
366 "baseUnitConversionFactor": {
367 "description": "Conversion factor for converting from price per usage_unit to price per\nbase_unit, and start_usage_amount to start_usage_am ount in base_unit.\nunit_price / base_unit_conversion_factor = price per base_un it.\nstart_usage_amount * base_unit_conversion_factor = start_usage_amount in\nb ase_unit.",
368 "format": "double",
369 "type": "number"
370 },
371 "usageUnit": {
372 "description": "The short hand for unit of usage this pricin g is specified in.\nExample: usage_unit of \"GiBy\" means that usage is specifie d in \"Gibi Byte\".",
373 "type": "string"
374 },
375 "baseUnit": {
376 "description": "The base unit for the SKU which is the unit used in usage exports.\nExample: \"By\"",
377 "type": "string"
378 },
379 "usageUnitDescription": {
380 "description": "The unit of usage in human readable form.\nE xample: \"gibi byte\".",
381 "type": "string"
382 },
383 "tieredRates": {
384 "description": "The list of tiered rates for this pricing. T he total cost is computed by\napplying each of the tiered rates on usage. This r epeated list is sorted\nby ascending order of start_usage_amount.",
385 "items": {
386 "$ref": "TierRate"
387 },
388 "type": "array"
389 }
390 },
391 "type": "object"
392 },
393 "Sku": {
394 "description": "Encapsulates a single SKU in Google Cloud Platform",
395 "id": "Sku",
396 "properties": {
397 "description": {
398 "description": "A human readable description of the SKU, has a maximum length of 256\ncharacters.",
399 "type": "string"
400 },
401 "serviceRegions": {
402 "description": "List of service regions this SKU is offered at.\nExample: \"asia-east1\"\nService regions can be found at https://cloud.goog le.com/about/locations/",
403 "items": {
404 "type": "string"
405 },
406 "type": "array"
407 },
408 "serviceProviderName": {
409 "description": "Identifies the service provider.\nThis is 'G oogle' for first party services in Google Cloud Platform.",
410 "type": "string"
411 },
412 "pricingInfo": {
413 "description": "A timeline of pricing info for this SKU in c hronological order.",
414 "items": {
415 "$ref": "PricingInfo"
416 },
417 "type": "array"
418 },
419 "skuId": {
420 "description": "The identifier for the SKU.\nExample: \"AA95 -CD31-42FE\"",
421 "type": "string"
422 },
423 "name": {
424 "description": "The resource name for the SKU.\nExample: \"s ervices/DA34-426B-A397/skus/AA95-CD31-42FE\"",
425 "type": "string"
426 },
427 "category": {
428 "$ref": "Category",
429 "description": "The category hierarchy of this SKU, purely f or organizational purpose."
430 }
431 },
432 "type": "object"
433 },
434 "Money": {
435 "description": "Represents an amount of money with its currency type .",
436 "id": "Money",
437 "properties": {
438 "currencyCode": {
439 "description": "The 3-letter currency code defined in ISO 42 17.",
440 "type": "string"
441 },
442 "units": {
443 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
444 "format": "int64",
445 "type": "string"
446 },
447 "nanos": {
448 "description": "Number of nano (10^-9) units of the amount.\ nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negativ e or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000 ,000.",
449 "format": "int32",
450 "type": "integer"
451 }
452 },
453 "type": "object"
454 },
455 "AggregationInfo": {
456 "description": "Represents the aggregation level and interval for pr icing of a single SKU.",
457 "id": "AggregationInfo",
458 "properties": {
459 "aggregationInterval": {
460 "enum": [
461 "AGGREGATION_INTERVAL_UNSPECIFIED",
462 "DAILY",
463 "MONTHLY"
464 ],
465 "enumDescriptions": [
466 "",
467 "",
468 ""
469 ],
470 "type": "string"
471 },
472 "aggregationLevel": {
473 "enum": [
474 "AGGREGATION_LEVEL_UNSPECIFIED",
475 "ACCOUNT",
476 "PROJECT"
477 ],
478 "enumDescriptions": [
479 "",
480 "",
481 ""
482 ],
483 "type": "string"
484 },
485 "aggregationCount": {
486 "description": "The number of intervals to aggregate over.\n Example: If aggregation_level is \"DAILY\" and aggregation_count is 14,\naggrega tion will be over 14 days.",
487 "format": "int32",
488 "type": "integer"
489 }
490 },
491 "type": "object"
492 },
271 "ProjectBillingInfo": { 493 "ProjectBillingInfo": {
272 "description": "Encapsulation of billing information for a Cloud Con sole project. A project\nhas at most one associated billing account at a time (b ut a billing account\ncan be assigned to multiple projects).", 494 "description": "Encapsulation of billing information for a Cloud Con sole project. A project\nhas at most one associated billing account at a time (b ut a billing account\ncan be assigned to multiple projects).",
273 "id": "ProjectBillingInfo", 495 "id": "ProjectBillingInfo",
274 "properties": { 496 "properties": {
275 "billingEnabled": { 497 "billingEnabled": {
276 "description": "True if the project is associated with an op en billing account, to which\nusage on the project is charged. False if the proj ect is associated with a\nclosed billing account, or no billing account at all, and therefore cannot\nuse paid services. This field is read-only.", 498 "description": "True if the project is associated with an op en billing account, to which\nusage on the project is charged. False if the proj ect is associated with a\nclosed billing account, or no billing account at all, and therefore cannot\nuse paid services. This field is read-only.",
277 "type": "boolean" 499 "type": "boolean"
278 }, 500 },
279 "name": { 501 "name": {
280 "description": "The resource name for the `ProjectBillingInf o`; has the form\n`projects/{project_id}/billingInfo`. For example, the resource name for the\nbilling information for project `tokyo-rain-123` would be\n`proje cts/tokyo-rain-123/billingInfo`. This field is read-only.", 502 "description": "The resource name for the `ProjectBillingInf o`; has the form\n`projects/{project_id}/billingInfo`. For example, the resource name for the\nbilling information for project `tokyo-rain-123` would be\n`proje cts/tokyo-rain-123/billingInfo`. This field is read-only.",
281 "type": "string" 503 "type": "string"
282 }, 504 },
283 "projectId": { 505 "projectId": {
284 "description": "The ID of the project that this `ProjectBill ingInfo` represents, such as\n`tokyo-rain-123`. This is a convenience field so t hat you don't need to\nparse the `name` field to obtain a project ID. This field is read-only.", 506 "description": "The ID of the project that this `ProjectBill ingInfo` represents, such as\n`tokyo-rain-123`. This is a convenience field so t hat you don't need to\nparse the `name` field to obtain a project ID. This field is read-only.",
285 "type": "string" 507 "type": "string"
286 }, 508 },
287 "billingAccountName": { 509 "billingAccountName": {
288 "description": "The resource name of the billing account ass ociated with the project, if\nany. For example, `billingAccounts/012345-567890-A BCDEF`.", 510 "description": "The resource name of the billing account ass ociated with the project, if\nany. For example, `billingAccounts/012345-567890-A BCDEF`.",
289 "type": "string" 511 "type": "string"
290 } 512 }
291 }, 513 },
292 "type": "object" 514 "type": "object"
293 }, 515 },
516 "ListBillingAccountsResponse": {
517 "description": "Response message for `ListBillingAccounts`.",
518 "id": "ListBillingAccountsResponse",
519 "properties": {
520 "nextPageToken": {
521 "description": "A token to retrieve the next page of results . To retrieve the next page,\ncall `ListBillingAccounts` again with the `page_to ken` field set to this\nvalue. This field is empty if there are no more results to retrieve.",
522 "type": "string"
523 },
524 "billingAccounts": {
525 "description": "A list of billing accounts.",
526 "items": {
527 "$ref": "BillingAccount"
528 },
529 "type": "array"
530 }
531 },
532 "type": "object"
533 },
534 "ListSkusResponse": {
535 "description": "Response message for `ListSkus`.",
536 "id": "ListSkusResponse",
537 "properties": {
538 "nextPageToken": {
539 "description": "A token to retrieve the next page of results . To retrieve the next page,\ncall `ListSkus` again with the `page_token` field set to this\nvalue. This field is empty if there are no more results to retrieve .",
540 "type": "string"
541 },
542 "skus": {
543 "description": "The list of public SKUs of the given service .",
544 "items": {
545 "$ref": "Sku"
546 },
547 "type": "array"
548 }
549 },
550 "type": "object"
551 },
552 "Service": {
553 "description": "Encapsulates a single service in Google Cloud Platfo rm.",
554 "id": "Service",
555 "properties": {
556 "displayName": {
557 "description": "A human readable display name for this servi ce.",
558 "type": "string"
559 },
560 "serviceId": {
561 "description": "The identifier for the service.\nExample: \" DA34-426B-A397\"",
562 "type": "string"
563 },
564 "name": {
565 "description": "The resource name for the service.\nExample: \"services/DA34-426B-A397\"",
566 "type": "string"
567 }
568 },
569 "type": "object"
570 },
571 "TierRate": {
572 "description": "The price rate indicating starting usage and its cor responding price.",
573 "id": "TierRate",
574 "properties": {
575 "unitPrice": {
576 "$ref": "Money",
577 "description": "The price per unit of usage.\nExample: unit_ price of amount $10 indicates that each unit will cost $10."
578 },
579 "startUsageAmount": {
580 "description": "Usage is priced at this rate only after this amount.\nExample: start_usage_amount of 10 indicates that the usage will be pri ced\nat the unit_price after the first 10 usage_units.",
581 "format": "double",
582 "type": "number"
583 }
584 },
585 "type": "object"
586 },
587 "PricingInfo": {
588 "description": "Represents the pricing information for a SKU at a si ngle point of time.",
589 "id": "PricingInfo",
590 "properties": {
591 "effectiveTime": {
592 "description": "The timestamp from which this pricing was ef fective.",
593 "format": "google-datetime",
594 "type": "string"
595 },
596 "aggregationInfo": {
597 "$ref": "AggregationInfo",
598 "description": "Aggregation Info. This can be left unspecifi ed if the pricing expression\ndoesn't require aggregation."
599 },
600 "currencyConversionRate": {
601 "description": "Conversion rate for currency conversion, fro m USD to the currency specified\nin the request. If the currency is not specifie d this defaults to 1.0.\nExample: USD * currency_conversion_rate = JPY",
602 "format": "double",
603 "type": "number"
604 },
605 "pricingExpression": {
606 "$ref": "PricingExpression",
607 "description": "Expresses the pricing formula. See `PricingE xpression` for an example."
608 },
609 "summary": {
610 "description": "An optional human readable summary of the pr icing information, has a\nmaximum length of 256 characters.",
611 "type": "string"
612 }
613 },
614 "type": "object"
615 },
294 "ListProjectBillingInfoResponse": { 616 "ListProjectBillingInfoResponse": {
295 "description": "Request message for `ListProjectBillingInfoResponse` .", 617 "description": "Request message for `ListProjectBillingInfoResponse` .",
296 "id": "ListProjectBillingInfoResponse", 618 "id": "ListProjectBillingInfoResponse",
297 "properties": { 619 "properties": {
298 "nextPageToken": { 620 "nextPageToken": {
299 "description": "A token to retrieve the next page of results . To retrieve the next page,\ncall `ListProjectBillingInfo` again with the `page _token` field set to this\nvalue. This field is empty if there are no more resul ts to retrieve.", 621 "description": "A token to retrieve the next page of results . To retrieve the next page,\ncall `ListProjectBillingInfo` again with the `page _token` field set to this\nvalue. This field is empty if there are no more resul ts to retrieve.",
300 "type": "string" 622 "type": "string"
301 }, 623 },
302 "projectBillingInfo": { 624 "projectBillingInfo": {
303 "description": "A list of `ProjectBillingInfo` resources rep resenting the projects\nassociated with the billing account.", 625 "description": "A list of `ProjectBillingInfo` resources rep resenting the projects\nassociated with the billing account.",
304 "items": { 626 "items": {
305 "$ref": "ProjectBillingInfo" 627 "$ref": "ProjectBillingInfo"
306 }, 628 },
307 "type": "array" 629 "type": "array"
308 } 630 }
309 }, 631 },
310 "type": "object" 632 "type": "object"
311 }, 633 },
312 "ListBillingAccountsResponse": { 634 "ListServicesResponse": {
313 "description": "Response message for `ListBillingAccounts`.", 635 "description": "Response message for `ListServices`.",
314 "id": "ListBillingAccountsResponse", 636 "id": "ListServicesResponse",
315 "properties": { 637 "properties": {
316 "nextPageToken": { 638 "nextPageToken": {
317 "description": "A token to retrieve the next page of results . To retrieve the next page,\ncall `ListBillingAccounts` again with the `page_to ken` field set to this\nvalue. This field is empty if there are no more results to retrieve.", 639 "description": "A token to retrieve the next page of results . To retrieve the next page,\ncall `ListServices` again with the `page_token` fi eld set to this\nvalue. This field is empty if there are no more results to retr ieve.",
318 "type": "string" 640 "type": "string"
319 }, 641 },
320 "billingAccounts": { 642 "services": {
321 "description": "A list of billing accounts.", 643 "description": "A list of services.",
322 "items": { 644 "items": {
323 "$ref": "BillingAccount" 645 "$ref": "Service"
324 }, 646 },
325 "type": "array" 647 "type": "array"
326 } 648 }
327 }, 649 },
328 "type": "object" 650 "type": "object"
329 }, 651 },
330 "BillingAccount": { 652 "BillingAccount": {
331 "description": "A billing account in [Google Cloud\nConsole](https:/ /console.cloud.google.com/). You can assign a billing account\nto one or more pr ojects.", 653 "description": "A billing account in [Google Cloud\nConsole](https:/ /console.cloud.google.com/). You can assign a billing account\nto one or more pr ojects.",
332 "id": "BillingAccount", 654 "id": "BillingAccount",
333 "properties": { 655 "properties": {
334 "displayName": { 656 "displayName": {
335 "description": "The display name given to the billing accoun t, such as `My Billing\nAccount`. This name is displayed in the Google Cloud Con sole.", 657 "description": "The display name given to the billing accoun t, such as `My Billing\nAccount`. This name is displayed in the Google Cloud Con sole.",
336 "type": "string" 658 "type": "string"
337 }, 659 },
338 "open": { 660 "open": {
339 "description": "True if the billing account is open, and wil l therefore be charged for any\nusage on associated projects. False if the billi ng account is closed, and\ntherefore projects associated with it will be unable to use paid services.", 661 "description": "True if the billing account is open, and wil l therefore be charged for any\nusage on associated projects. False if the billi ng account is closed, and\ntherefore projects associated with it will be unable to use paid services.",
340 "type": "boolean" 662 "type": "boolean"
341 }, 663 },
342 "name": { 664 "name": {
343 "description": "The resource name of the billing account. Th e resource name has the form\n`billingAccounts/{billing_account_id}`. For exampl e,\n`billingAccounts/012345-567890-ABCDEF` would be the resource name for\nbilli ng account `012345-567890-ABCDEF`.", 665 "description": "The resource name of the billing account. Th e resource name has the form\n`billingAccounts/{billing_account_id}`. For exampl e,\n`billingAccounts/012345-567890-ABCDEF` would be the resource name for\nbilli ng account `012345-567890-ABCDEF`.",
344 "type": "string" 666 "type": "string"
345 } 667 }
346 }, 668 },
347 "type": "object" 669 "type": "object"
670 },
671 "Category": {
672 "description": "Represents the category hierarchy of a SKU.",
673 "id": "Category",
674 "properties": {
675 "resourceFamily": {
676 "description": "The type of product the SKU refers to.\nExam ple: \"Compute\", \"Storage\", \"Network\", \"ApplicationServices\" etc.",
677 "type": "string"
678 },
679 "usageType": {
680 "description": "Represents how the SKU is consumed.\nExample : \"OnDemand\", \"Preemptible\", \"Commit1Mo\", \"Commit1Yr\" etc.",
681 "type": "string"
682 },
683 "resourceGroup": {
684 "description": "A group classification for related SKUs.\nEx ample: \"RAM\", \"GPU\", \"Prediction\", \"Ops\", \"GoogleEgress\" etc.",
685 "type": "string"
686 },
687 "serviceDisplayName": {
688 "description": "The display name of the service this SKU bel ongs to.",
689 "type": "string"
690 }
691 },
692 "type": "object"
348 } 693 }
349 }, 694 },
350 "servicePath": "", 695 "servicePath": "",
351 "title": "Google Cloud Billing API", 696 "title": "Google Cloud Billing API",
352 "version": "v1" 697 "version": "v1"
353 } 698 }
OLDNEW
« no previous file with comments | « discovery/googleapis/classroom__v1.json ('k') | discovery/googleapis/cloudbuild__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698