SmartWebSecurity CustomPage API, gRPC: CustomPageService.List
Retrieves the list of CustomPage resources in the specified folder.
gRPC request
rpc List (ListCustomPagesRequest) returns (ListCustomPagesResponse)
ListCustomPagesRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string",
"order_by": "string"
}
|
Field |
Description |
|
folder_id |
string Required field. ID of the folder to list custom pages in. |
|
page_size |
int64 The maximum number of results per page to return. Acceptable values are 0 to 1000, inclusive. |
|
page_token |
string Page token. Set to the The maximum string length in characters is 100. |
|
filter |
string A filter expression that filters custom pages listed in the response. The maximum string length in characters is 1000. |
|
order_by |
string By which column the listing should be ordered and in which direction. The maximum string length in characters is 100. |
ListCustomPagesResponse
{
"custom_pages": [
{
"id": "string",
"folder_id": "string",
"cloud_id": "string",
"labels": "map<string, string>",
"name": "string",
"description": "string",
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp",
"content": "string",
"content_type": "string",
"status_code": "StatusCode",
"headers": "map<string, string>"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
custom_pages[] |
List of custom page resources. |
|
next_page_token |
string Token for getting the next page of the list. |
CustomPage
A custom page resource.
|
Field |
Description |
|
id |
string ID of the custom page. |
|
folder_id |
string ID of the folder that the custom page belongs to. |
|
cloud_id |
string ID of the cloud that the custom page belongs to. |
|
labels |
object (map<string, string>) Resource 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 Name of the custom page. The string length in characters must be 1-50. Value must match the regular expression |
|
description |
string Description of the custom page. The maximum string length in characters is 512. |
|
created_at |
Time when the custom page was created. |
|
updated_at |
Time when the custom page was last updated. |
|
content |
string Content of the custom page. |
|
content_type |
string MIME type of the custom page content. Value must match the regular expression |
|
status_code |
enum StatusCode HTTP status code returned with the custom page.
|
|
headers |
object (map<string, string>) HTTP response headers returned with the custom page. The maximum string length in characters for each value is 256. The string length in characters for each key must be 1-128. Each key must match the regular expression |