v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
Budgets

List budgets

Returns a list of budgets that your account has access to. Budgets are listed in reverse chronological order by default.

get/analytics/v1/budgets

Query parameters

maxResultsstring

The maximum number of results to return in a single page. Leverage the page tokens to iterate through the entire collection.

pageTokenstring

Page token, returned by a previous call, to request the next page of results

filterstring

An expression for filtering the results of the request. The syntax is "key:[<value>]". Available keys: owner, lastModified in ms (>lasModified). Multiple filters can be connected using a pipe |. Note that using different keys in the same filter results in "AND," while using the same key multiple times in the same filter results in "OR".

minCreationTimestring

Min value for reports creation time, in milliseconds since the POSIX epoch. If set, only reports created after or at this timestamp are returned.

maxCreationTimestring

Max value for reports creation time, in milliseconds since the POSIX epoch. If set, only reports created before or at this timestamp are returned.

Response

OK - The request succeeded.

pageTokenstring

Page token, returned by a previous call, to request the next page of results

rowCountinteger

Budgets rows count

Example response

{
  "budgets": [
    {
      "scopes": [
        {
          "id": "cloud_provider",
          "type": "fixed",
          "inverse": false,
          "values": [
            "google-cloud"
          ]
        }
      ]
    }
  ]
}