EndUserNotification
End User Notification resource for Internet Access.
Resource operations
This resource supports the following standard methods: load(), update(). They operate on the instance state — set properties with dot notation, then call the method with no arguments. Any other action listed below is a custom action that takes explicit keyword arguments and returns a value.
Quick Start
import zssdk
import logging
# Enable debug logging for EndUserNotification
logging.getLogger('zssdk.zia').setLevel(logging.DEBUG)
logging.basicConfig(level=logging.DEBUG)
session = zssdk.Session(
vanity_domain="your-vanity-domain",
client_id="your-client-id",
client_secret="your-client-secret",
)
# Call get_feature_enablement_status on EndUserNotification
resource = session.zia.EndUserNotification()
result = resource.get_feature_enablement_status(template_type="value")
print(result)
# Debug output shows HTTP request/response details
Actions
get_feature_enablement_status()
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
template_type | string | Yes | - |
product_type | string | No | - |
Returns: EunTemplateFeatureEnablementStatus
Example:
resource = session.zia.EndUserNotification()
result = resource.get_feature_enablement_status(template_type="value")
print(result)
load()
Fetches an existing EndUserNotification by id. Only the id identifier is required; load() takes no other arguments.
Returns: EndUserNotification
Example:
resource = session.zia.EndUserNotification()
resource.load()
print(resource.aup_frequency)
update()
Updates an existing EndUserNotification. Call load() first, modify properties, then call update() — this method takes no arguments.
Properties for update:
| Name | Type | Required | Description |
|---|---|---|---|
aup_custom_frequency | integer | No | - |
aup_day_offset | integer | No | - |
aup_frequency | string | No | - |
aup_message | string | No | - |
caution_again_after | integer | No | - |
caution_custom_text | string | No | - |
caution_per_domain | boolean | No | - |
custom_text | string | No | - |
display_comp_logo | boolean | No | - |
display_comp_name | boolean | No | - |
display_reason | boolean | No | - |
idp_proxy_notification_text | string | No | - |
notification_type | string | No | - |
org_policy_link | string | Yes | - |
quarantine_custom_notification_text | string | No | - |
redirect_url | string | No | - |
security_review_custom_location | string | No | - |
security_review_enabled | boolean | No | - |
security_review_submit_to_security_cloud | boolean | No | - |
security_review_text | string | No | - |
support_email | string | No | - |
support_phone | string | No | - |
url_cat_review_custom_location | string | No | - |
url_cat_review_enabled | boolean | No | - |
url_cat_review_submit_to_security_cloud | boolean | No | - |
url_cat_review_text | string | No | - |
web_dlp_review_custom_location | string | No | - |
web_dlp_review_enabled | boolean | No | - |
web_dlp_review_submit_to_security_cloud | boolean | No | - |
web_dlp_review_text | string | No | - |
Returns: EndUserNotification
Example:
resource = session.zia.EndUserNotification(id="your-resource-id")
resource.load()
resource.aup_frequency = "Updated value"
resource.update()
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
aup_custom_frequency | integer | No | - |
aup_day_offset | integer | No | - |
aup_frequency | string | No | - |
aup_message | string | No | - |
caution_again_after | integer | No | - |
caution_custom_text | string | No | - |
caution_per_domain | boolean | No | - |
custom_text | string | No | - |
display_comp_logo | boolean | No | - |
display_comp_name | boolean | No | - |
display_reason | boolean | No | - |
idp_proxy_notification_text | string | No | - |
notification_type | string | No | - |
org_policy_link | string | Yes | - |
quarantine_custom_notification_text | string | No | - |
redirect_url | string | No | - |
security_review_custom_location | string | No | - |
security_review_enabled | boolean | No | - |
security_review_submit_to_security_cloud | boolean | No | - |
security_review_text | string | No | - |
support_email | string | No | - |
support_phone | string | No | - |
url_cat_review_custom_location | string | No | - |
url_cat_review_enabled | boolean | No | - |
url_cat_review_submit_to_security_cloud | boolean | No | - |
url_cat_review_text | string | No | - |
web_dlp_review_custom_location | string | No | - |
web_dlp_review_enabled | boolean | No | - |
web_dlp_review_submit_to_security_cloud | boolean | No | - |
web_dlp_review_text | string | No | - |
Related
- EndUserNotification - Data structure definition
- Logging guide - enable verbose logs while debugging this resource