GET
/
v1
/
risks
{
  "risks": [
    {
      "name": "<string>",
      "source": "SOURCE_UNSPECIFIED",
      "title": "<string>",
      "level": 123,
      "active": true,
      "condition": {
        "id": "<string>",
        "constExpr": {
          "nullValue": "NULL_VALUE",
          "boolValue": true,
          "int64Value": "<string>",
          "uint64Value": "<string>",
          "doubleValue": 123,
          "stringValue": "<string>",
          "bytesValue": "<string>",
          "durationValue": "<string>",
          "timestampValue": "2023-11-07T05:31:56Z"
        },
        "identExpr": {
          "name": "<string>"
        },
        "selectExpr": {
          "operand": {},
          "field": "<string>",
          "testOnly": true
        },
        "callExpr": {
          "target": {},
          "function": "<string>",
          "args": [
            {}
          ]
        },
        "listExpr": {
          "elements": [
            {}
          ],
          "optionalIndices": [
            123
          ]
        },
        "structExpr": {
          "messageName": "<string>",
          "entries": [
            {
              "id": "<string>",
              "fieldKey": "<string>",
              "mapKey": {},
              "value": {},
              "optionalEntry": true
            }
          ]
        },
        "comprehensionExpr": {
          "iterVar": "<string>",
          "iterVar2": "<string>",
          "iterRange": {},
          "accuVar": "<string>",
          "accuInit": {},
          "loopCondition": {},
          "loopStep": {},
          "result": {}
        }
      }
    }
  ],
  "nextPageToken": "<string>"
}

Query Parameters

pageSize
integer

Not used. The maximum number of risks to return. The service may return fewer than this value. If unspecified, at most 10 risks will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken
string

Not used. A page token, received from a previous ListRisks call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to LiskRisks must match the call that provided the page token.

Response

OK

risks
object[]
nextPageToken
string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.