- HTTP request
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
v1beta.queryProducts provides a list of all possible products which can be used to filter database resources.
HTTP request
GET https://databasecenter.googleapis.com/v1beta:queryProducts
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
parent |
Required. Parent can be a project, a folder, or an organization. The allowed values are:
|
pageSize |
Optional. If unspecified, at most 50 products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
Optional. A page token, received from a previous |
Request body
The request body must be empty.
Response body
QueryProductsResponse represents the response containing a list of products.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"products": [
{
object ( |
| Fields | |
|---|---|
products[] |
List of database products returned. |
nextPageToken |
A token that can be sent as |
unreachable[] |
Unordered list. List of unreachable regions from where data could not be retrieved. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
databasecenter.products.list
For more information, see the IAM documentation.