SmartWebSecurity MatchList API, gRPC: MatchListService.List
Retrieves the list of MatchList resources in the specified folder.
gRPC request
rpc List (ListMatchListsRequest) returns (ListMatchListsResponse)
ListMatchListsRequest
{
"folder_id": "string"
}
Request message for MatchListService.List.
|
Field |
Description |
|
folder_id |
string Required field. ID of the folder to list match lists in. |
ListMatchListsResponse
{
"lists": [
{
"id": "string",
"folder_id": "string",
"cloud_id": "string",
"labels": "map<string, string>",
"name": "string",
"description": "string",
"list_type": "ListType",
"item_type": "ItemType",
"items": [
{
"value": "string",
"description": "string"
}
],
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp"
}
]
}
Response message for MatchListService.List.
|
Field |
Description |
|
lists[] |
List of match list resources. |
MatchList
A match list resource.
|
Field |
Description |
|
id |
string ID of the match list. |
|
folder_id |
string ID of the folder that the match list belongs to. |
|
cloud_id |
string ID of the cloud that the match list belongs to. |
|
labels |
object (map<string, string>) Labels as The maximum string length in characters for each value is 63. The string length in characters for each key must be 1-63. Each key must match the regular expression |
|
name |
string Required field. Name of the match list. The string length in characters must be 1-50. Value must match the regular expression |
|
description |
string Description of the match list. The maximum string length in characters is 512. |
|
list_type |
enum ListType Required field. Match list type.
|
|
item_type |
enum ItemType Required field. Match list item type.
|
|
items[] |
Match list items. |
|
created_at |
Creation timestamp in RFC3339 |
|
updated_at |
Update timestamp in RFC3339 |
Item
Item
|
Field |
Description |
|
value |
string Required field. Value of the item. The maximum string length in characters is 256. |
|
description |
string Description of the item. The maximum string length in characters is 128. |