Send feedback
Method: skus.list
Stay organized with collections
Save and categorize content based on your preferences.
Lists all publicly listed SKUs
.
HTTP request
GET https://cloudbilling.googleapis.com/v2beta/skus
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters
pageSize
integer
Maximum number of SKUs
to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000.
pageToken
string
Page token received from a previous skus.list
call to retrieve the next page of results. If this field is empty, the first page is returned.
filter
string
Options for how to filter the SKUs
. Currently, only filter on service
is supported. Only !=, = operators are supported. Examples: service = "services/DA34-426B-A397"
Request body
The request body must be empty.
Response body
Response message for skus.list
.
If successful, the response body contains data with the following structure:
JSON representation
{
"skus" : [
{
object (Sku
)
}
] ,
"nextPageToken" : string
}
Fields
skus[]
object (Sku
)
The returned publicly listed SKUs
.
nextPageToken
string
Token that can be sent as pageToken
in the subsequent request to retrieve the next page. If this field is empty, there are no subsequent pages.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-billing
https://www.googleapis.com/auth/cloud-billing.readonly
For more information, see the Authentication Overview .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-07-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2023-07-06 UTC.",
"confidential": False
}