Skip to main content

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​

NameTypeDescription
idstringUnique 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​

NameTypeRequiredDescription
cells_usedlongNo-
created_byEntityReferenceNo-
edm_clientEntityReferenceNo-
file_upload_statusstringNo-
filenamestringNo-
last_modified_byEntityReferenceNo-
last_modified_timeintegerNo-
orig_col_countintegerNo-
original_file_namestringNo-
project_namestringNo-
revisionintegerNo-
scheduleAdvancedDataProtectionSchemaScheduleNo-
schedule_presentbooleanNo-
schema_activebooleanNo-
schema_idintegerYes-
schema_statusstringNo-
token_listAdvancedDataProtectionSchemaTokenCollectionNo-
token_update_requiredbooleanNo-