SmartWebSecurity CustomPage API, gRPC: CustomPageService.Get
Returns the specified CustomPage resource.
gRPC request
rpc Get (GetCustomPageRequest) returns (CustomPage)
GetCustomPageRequest
{
"custom_page_id": "string"
}
|
Field |
Description |
|
custom_page_id |
string Required field. ID of the custom page to return. |
CustomPage
{
"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>"
}
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 |