Query parameters that apply to all Google Cloud Billing API operations are shown in the table below.
Notes (on API keys and auth tokens):
- The
keyparameter is required with every request, unless you provide an OAuth 2.0 token with the request. - You must send an authorization token with every request that requires an OAuth scope. OAuth 2.0 is the only supported authorization protocol.
- You can provide an OAuth 2.0 token with any request in one of two ways:
- Using the
access_tokenquery parameter like this:?access_token=oauth2-token - Using the HTTP
Authorizationheader like this:Authorization: Beareroauth2-token
- Using the
All parameters are optional except where noted.
| Parameter | Meaning | Notes |
|---|---|---|
access_token |
OAuth 2.0 token for the current user. |
|
callback |
Callback function. |
|
key |
API key. (REQUIRED*) |
|
prettyPrint |
Returns response with indentations and line breaks. |
|
quotaUser |
Alternative to userIp. |
|
userIp |
IP address of the end user for whom the API call is being made. |
|