SegmentGroupUpdate
Segment Group Update resource for Zscaler Private Access V2.
Resource operations
This resource does not support standard CRUDL methods. Each action listed below is a custom action that takes explicit keyword arguments and returns a value.
Quick Start
import zssdk
from zssdk.zscore.config import Config
config = Config(api_version="v2")
import logging
# Enable debug logging for SegmentGroupUpdate
logging.getLogger('zssdk.zpa').setLevel(logging.DEBUG)
logging.basicConfig(level=logging.DEBUG)
session = zssdk.Session(
config=config,
vanity_domain="your-vanity-domain",
client_id="your-client-id",
client_secret="your-client-secret",
)
# Call update_segment_group on SegmentGroupUpdate
resource = session.zpa.SegmentGroupUpdate()
result = resource.update_segment_group(customer_id=3600)
print(result)
# Debug output shows HTTP request/response details
Actions
update_segment_group()
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
customer_id | long | Yes | - |
microtenant_id | long | No | - |
microtenant_name | string | No | - |
name | string | No | - |
description | string | No | - |
enabled | boolean | No | - |
added_apps | int64Collection | No | - |
deleted_apps | int64Collection | No | - |
config_space | string | No | - |
tcp_keep_alive_enabled | integer | No | - |
Example:
resource = session.zpa.SegmentGroupUpdate()
result = resource.update_segment_group(customer_id=3600)
print(result)
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
modified_time | integer | No | - |
creation_time | integer | No | - |
modified_by | string | No | - |
id | string | No | - |
microtenant_id | long | No | - |
microtenant_name | string | No | - |
name | string | No | - |
description | string | No | - |
enabled | boolean | No | - |
added_apps | int64Collection | No | - |
deleted_apps | int64Collection | No | - |
config_space | string | No | - |
tcp_keep_alive_enabled | integer | No | - |
Related
- SegmentGroupUpdate - Data structure definition
- Logging guide - enable verbose logs while debugging this resource