billing_groups: [v2] Get a single billing group

Description Usage Arguments Details Examples

Description

This call list all your billing groups without id provided, and will retrieves a single billing group, specified by id.

Usage

1
billing_groups(auth_token = NULL, id = NULL, breakdown = FALSE, ...)

Arguments

auth_token

auth token

id

billing group id

breakdown

This call returns a breakdown of spending per-project for the billing group specified by specified billing group id.

Details

Billing periods:The spending will be shown for the current billing period, unless the billing group specified is a free billing group (i.e. pilot funds that you are using the CGC with), in which case all spending on the account will be shown.

Examples

1
2
3
4
5
6
## list all groups, to check id and details
billing_groups(token, base_url = url)
## check specific billing group by provide id
billing_groups(token, base_url = url, id = "2b255c92-2b54-4fc8-something")
## breakdown specific group
billing_groups(token, base_url = url, id = "2b255c92-2b54-4fc8-something", breakdown = TRUE)

sbgr documentation built on Oct. 5, 2016, 4:14 a.m.