- HTTP request
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- SignalProductsFilters
- DatabaseResourceIssue
- Try it!
v1beta.queryIssues provides a list of issues and recommendations that a user has access to and that are within the requested scope.
HTTP request
POST https://databasecenter.googleapis.com/v1beta:queryIssues
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"parent": string,
"filter": string,
"signalProductsFilters": [
{
object ( |
| Fields | |
|---|---|
parent |
Required. Parent can be a project, a folder, or an organization. The list is limited to the one attached to resources within the The allowed values are:
|
filter |
Optional. Supported fields are: 'product', |
signalProductsFilters[] |
Optional. Filters based on signal and product. The filter list will be ORed across pairs and ANDed within a signal and products pair. |
orderBy |
Optional. Following fields are sortable: SignalType Product Location IssueSeverity The default order is ascending. Add "DESC" after the field name to indicate descending order. Add "ASC" after the field name to indicate ascending order. It only supports a single field at a time. |
pageSize |
Optional. If unspecified, at most 50 issues 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 |
Response body
QueryIssuesResponse is the response containing a list of issues.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"resourceIssues": [
{
object ( |
| Fields | |
|---|---|
resourceIssues[] |
List of issues and resource details. |
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.fleetHealthStats.list
For more information, see the IAM documentation.
SignalProductsFilters
SignalProductsFilters represents a signal and list of supported products.
| JSON representation |
|---|
{ "signalType": enum ( |
| Fields | |
|---|---|
signalType |
Optional. The type of signal. |
products[] |
Optional. Product type of the resource. The version of the product will be ignored in filtering. |
DatabaseResourceIssue
DatabaseResource and Issue associated with it.
| JSON representation |
|---|
{ "signal": { object ( |
| Fields | |
|---|---|
signal |
Signal associated with the issue. |
resource |
Resource associated with the issue. |