AdvancedDataProtectionSchema
Advanced Data Protection Schema resource for Zscaler Internet Access.
Resource operations
This resource supports the following standard methods: load(). They operate on the instance state — set properties with dot notation, then call the method with no arguments.
Quick Start
import zssdk
import logging
# Enable debug logging for AdvancedDataProtectionSchema
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",
)
# Get a specific AdvancedDataProtectionSchema
resource = session.zia.AdvancedDataProtectionSchema(id="your-resource-id")
resource.load()
print(resource)
# Debug output shows HTTP request/response details
Identifiers
| Name | Type | Description |
|---|---|---|
id | string | Unique identifier |
Actions
load()
Fetches an existing AdvancedDataProtectionSchema by id. Only the id identifier is required; load() takes no other arguments.
Returns: AdvancedDataProtectionSchema
Example:
resource = session.zia.AdvancedDataProtectionSchema(id="your-resource-id")
resource.load()
print(resource.file_upload_status)
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
cells_used | long | No | - |
created_by | EntityReference | No | - |
edm_client | EntityReference | No | - |
file_upload_status | string | No | - |
filename | string | No | - |
last_modified_by | EntityReference | No | - |
last_modified_time | integer | No | - |
orig_col_count | integer | No | - |
original_file_name | string | No | - |
project_name | string | No | - |
revision | integer | No | - |
schedule | AdvancedDataProtectionSchemaSchedule | No | - |
schedule_present | boolean | No | - |
schema_active | boolean | No | - |
schema_id | integer | Yes | - |
schema_status | string | No | - |
token_list | AdvancedDataProtectionSchemaTokenCollection | No | - |
token_update_required | boolean | No | - |
Related
- AdvancedDataProtectionSchema - Data structure definition
- Logging guide - enable verbose logs while debugging this resource