gcore 0.2.0__py3-none-any.whl → 0.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gcore might be problematic. Click here for more details.
- gcore/__init__.py +2 -1
- gcore/_base_client.py +44 -2
- gcore/_client.py +9 -0
- gcore/_models.py +2 -0
- gcore/_types.py +2 -0
- gcore/_version.py +1 -1
- gcore/pagination.py +61 -1
- gcore/resources/__init__.py +14 -0
- gcore/resources/cloud/baremetal/flavors.py +11 -137
- gcore/resources/cloud/baremetal/images.py +10 -12
- gcore/resources/cloud/baremetal/servers.py +75 -78
- gcore/resources/cloud/billing_reservations.py +2 -2
- gcore/resources/cloud/file_shares/file_shares.py +7 -8
- gcore/resources/cloud/floating_ips.py +9 -14
- gcore/resources/cloud/gpu_baremetal_clusters/gpu_baremetal_clusters.py +39 -28
- gcore/resources/cloud/gpu_baremetal_clusters/images.py +11 -12
- gcore/resources/cloud/gpu_baremetal_clusters/interfaces.py +2 -2
- gcore/resources/cloud/gpu_baremetal_clusters/servers.py +12 -8
- gcore/resources/cloud/inference/deployments/deployments.py +16 -8
- gcore/resources/cloud/inference/registry_credentials.py +2 -2
- gcore/resources/cloud/inference/secrets.py +8 -8
- gcore/resources/cloud/instances/flavors.py +9 -233
- gcore/resources/cloud/instances/images.py +47 -37
- gcore/resources/cloud/instances/instances.py +107 -100
- gcore/resources/cloud/instances/interfaces.py +6 -6
- gcore/resources/cloud/ip_ranges.py +34 -2
- gcore/resources/cloud/load_balancers/flavors.py +2 -2
- gcore/resources/cloud/load_balancers/l7_policies/l7_policies.py +30 -22
- gcore/resources/cloud/load_balancers/listeners.py +31 -22
- gcore/resources/cloud/load_balancers/load_balancers.py +99 -43
- gcore/resources/cloud/load_balancers/metrics.py +2 -2
- gcore/resources/cloud/load_balancers/pools/health_monitors.py +2 -2
- gcore/resources/cloud/load_balancers/pools/members.py +12 -8
- gcore/resources/cloud/networks/networks.py +83 -19
- gcore/resources/cloud/networks/routers.py +18 -18
- gcore/resources/cloud/networks/subnets.py +55 -15
- gcore/resources/cloud/projects.py +38 -24
- gcore/resources/cloud/quotas/quotas.py +6 -6
- gcore/resources/cloud/quotas/requests.py +8 -8
- gcore/resources/cloud/registries/artifacts.py +4 -4
- gcore/resources/cloud/registries/registries.py +14 -20
- gcore/resources/cloud/registries/repositories.py +4 -4
- gcore/resources/cloud/registries/tags.py +2 -2
- gcore/resources/cloud/registries/users.py +25 -32
- gcore/resources/cloud/reserved_fixed_ips/reserved_fixed_ips.py +26 -26
- gcore/resources/cloud/reserved_fixed_ips/vip.py +10 -10
- gcore/resources/cloud/security_groups/rules.py +6 -6
- gcore/resources/cloud/security_groups/security_groups.py +70 -31
- gcore/resources/cloud/ssh_keys.py +2 -2
- gcore/resources/cloud/tasks.py +102 -94
- gcore/resources/cloud/users/role_assignments.py +16 -18
- gcore/resources/cloud/volumes.py +155 -65
- gcore/resources/iam/__init__.py +47 -0
- gcore/resources/iam/api_tokens.py +521 -0
- gcore/resources/iam/iam.py +199 -0
- gcore/resources/iam/users.py +642 -0
- gcore/resources/waap/__init__.py +84 -0
- gcore/resources/waap/advanced_rules.py +135 -0
- gcore/resources/waap/custom_page_sets.py +805 -0
- gcore/resources/waap/domains/__init__.py +140 -0
- gcore/resources/waap/domains/advanced_rules.py +876 -0
- gcore/resources/waap/domains/analytics/__init__.py +33 -0
- gcore/resources/waap/domains/analytics/analytics.py +676 -0
- gcore/resources/waap/domains/analytics/requests.py +378 -0
- gcore/resources/waap/domains/api_discovery/__init__.py +33 -0
- gcore/resources/waap/domains/api_discovery/api_discovery.py +530 -0
- gcore/resources/waap/domains/api_discovery/scan_results.py +352 -0
- gcore/resources/waap/domains/api_path_groups.py +163 -0
- gcore/resources/waap/domains/api_paths.py +771 -0
- gcore/resources/waap/domains/custom_rules.py +889 -0
- gcore/resources/waap/domains/domains.py +399 -0
- gcore/resources/waap/domains/firewall_rules.py +884 -0
- gcore/resources/waap/domains/insight_silences.py +689 -0
- gcore/resources/waap/domains/insights.py +425 -0
- gcore/resources/waap/domains/policies.py +173 -0
- gcore/resources/waap/domains/settings.py +5 -5
- gcore/resources/waap/ip_info.py +1017 -0
- gcore/resources/waap/organizations.py +217 -0
- gcore/resources/waap/statistics.py +225 -0
- gcore/resources/waap/tags.py +233 -0
- gcore/resources/waap/waap.py +257 -0
- gcore/types/cloud/allowed_address_pairs.py +2 -2
- gcore/types/cloud/baremetal/__init__.py +0 -1
- gcore/types/cloud/baremetal/baremetal_server.py +1 -1
- gcore/types/cloud/baremetal/image_list_params.py +1 -5
- gcore/types/cloud/baremetal/server_create_params.py +13 -17
- gcore/types/cloud/baremetal/server_list_params.py +8 -12
- gcore/types/cloud/baremetal/server_rebuild_params.py +1 -1
- gcore/types/cloud/baremetal_flavor.py +3 -3
- gcore/types/cloud/container_probe_config.py +1 -1
- gcore/types/cloud/container_probe_config_create_param.py +1 -1
- gcore/types/cloud/container_scale_triggers.py +2 -2
- gcore/types/cloud/ddos_profile.py +9 -3
- gcore/types/cloud/file_share_create_params.py +3 -5
- gcore/types/cloud/floating_ip_create_params.py +2 -4
- gcore/types/cloud/floating_ip_detailed.py +1 -1
- gcore/types/cloud/floating_ip_list_params.py +2 -6
- gcore/types/cloud/gpu_baremetal_cluster.py +1 -1
- gcore/types/cloud/gpu_baremetal_cluster_create_params.py +4 -5
- gcore/types/cloud/gpu_baremetal_cluster_delete_params.py +1 -1
- gcore/types/cloud/gpu_baremetal_cluster_rebuild_params.py +1 -1
- gcore/types/cloud/gpu_baremetal_cluster_server.py +1 -1
- gcore/types/cloud/gpu_baremetal_clusters/image_upload_params.py +3 -5
- gcore/types/cloud/gpu_baremetal_clusters/server_attach_interface_params.py +10 -10
- gcore/types/cloud/gpu_baremetal_flavor.py +3 -3
- gcore/types/cloud/health_monitor.py +6 -1
- gcore/types/cloud/image.py +1 -1
- gcore/types/cloud/inference/deployment_create_params.py +4 -4
- gcore/types/cloud/inference/deployment_update_params.py +6 -6
- gcore/types/cloud/inference/inference.py +2 -4
- gcore/types/cloud/instance.py +1 -1
- gcore/types/cloud/instance_create_params.py +15 -18
- gcore/types/cloud/instance_list_params.py +8 -12
- gcore/types/cloud/instances/__init__.py +0 -2
- gcore/types/cloud/instances/image_create_from_volume_params.py +2 -4
- gcore/types/cloud/instances/image_list_params.py +1 -5
- gcore/types/cloud/instances/image_upload_params.py +2 -4
- gcore/types/cloud/instances/instance_flavor.py +3 -3
- gcore/types/cloud/instances/interface_attach_params.py +10 -10
- gcore/types/cloud/load_balancer_create_params.py +25 -19
- gcore/types/cloud/load_balancer_flavor_detail.py +3 -3
- gcore/types/cloud/load_balancer_l7_policy.py +5 -5
- gcore/types/cloud/load_balancer_list_params.py +5 -9
- gcore/types/cloud/load_balancer_listener_detail.py +4 -4
- gcore/types/cloud/load_balancer_update_params.py +24 -0
- gcore/types/cloud/load_balancers/l7_policy_create_params.py +5 -5
- gcore/types/cloud/load_balancers/l7_policy_replace_params.py +5 -5
- gcore/types/cloud/load_balancers/listener_create_params.py +4 -4
- gcore/types/cloud/load_balancers/listener_update_params.py +3 -3
- gcore/types/cloud/load_balancers/pool_create_params.py +10 -5
- gcore/types/cloud/load_balancers/pool_update_params.py +10 -5
- gcore/types/cloud/load_balancers/pools/member_add_params.py +9 -4
- gcore/types/cloud/member.py +8 -3
- gcore/types/cloud/network.py +2 -2
- gcore/types/cloud/network_create_params.py +2 -3
- gcore/types/cloud/network_details.py +2 -2
- gcore/types/cloud/network_list_params.py +5 -6
- gcore/types/cloud/network_update_params.py +28 -2
- gcore/types/cloud/networks/router_list_params.py +2 -2
- gcore/types/cloud/networks/subnet_create_params.py +3 -4
- gcore/types/cloud/networks/subnet_list_params.py +2 -6
- gcore/types/cloud/networks/subnet_update_params.py +25 -0
- gcore/types/cloud/region.py +4 -4
- gcore/types/cloud/registries/__init__.py +1 -0
- gcore/types/cloud/registries/user_create_multiple_params.py +3 -5
- gcore/types/cloud/registries/user_create_params.py +3 -5
- gcore/types/cloud/registries/user_refresh_secret_response.py +31 -0
- gcore/types/cloud/registry_create_params.py +3 -5
- gcore/types/cloud/reserved_fixed_ip_create_params.py +2 -2
- gcore/types/cloud/reserved_fixed_ip_list_params.py +3 -3
- gcore/types/cloud/security_group_list_params.py +3 -7
- gcore/types/cloud/security_group_update_params.py +25 -0
- gcore/types/cloud/session_persistence.py +1 -1
- gcore/types/cloud/ssh_key_created.py +3 -6
- gcore/types/cloud/tag_update_map_param.py +2 -2
- gcore/types/cloud/task.py +1 -1
- gcore/types/cloud/task_list_params.py +49 -45
- gcore/types/cloud/users/role_assignment_create_params.py +1 -1
- gcore/types/cloud/users/role_assignment_update_params.py +1 -1
- gcore/types/cloud/volume_create_params.py +6 -6
- gcore/types/cloud/volume_list_params.py +3 -7
- gcore/types/cloud/volume_update_params.py +29 -3
- gcore/types/iam/__init__.py +17 -0
- gcore/types/iam/account_overview.py +488 -0
- gcore/types/iam/api_token.py +78 -0
- gcore/types/iam/api_token_create.py +15 -0
- gcore/types/iam/api_token_create_params.py +42 -0
- gcore/types/iam/api_token_list.py +81 -0
- gcore/types/iam/api_token_list_params.py +41 -0
- gcore/types/iam/user.py +86 -0
- gcore/types/iam/user_detailed.py +104 -0
- gcore/types/iam/user_invite.py +15 -0
- gcore/types/iam/user_invite_params.py +37 -0
- gcore/types/iam/user_list_params.py +15 -0
- gcore/types/iam/user_update.py +104 -0
- gcore/types/iam/user_update_params.py +52 -0
- gcore/types/waap/__init__.py +97 -2
- gcore/types/waap/custom_page_set_create_params.py +35 -0
- gcore/types/waap/custom_page_set_list_params.py +25 -0
- gcore/types/waap/custom_page_set_preview_params.py +34 -0
- gcore/types/waap/custom_page_set_update_params.py +35 -0
- gcore/types/waap/domain_list_rule_sets_response.py +10 -0
- gcore/types/waap/domains/__init__.py +42 -0
- gcore/types/waap/domains/advanced_rule_create_params.py +80 -0
- gcore/types/waap/domains/advanced_rule_list_params.py +58 -0
- gcore/types/waap/domains/advanced_rule_update_params.py +83 -0
- gcore/types/waap/domains/analytics/__init__.py +5 -0
- gcore/types/waap/domains/analytics/request_list_params.py +53 -0
- gcore/types/waap/domains/analytics_get_event_statistics_params.py +34 -0
- gcore/types/waap/domains/analytics_list_ddos_attacks_params.py +28 -0
- gcore/types/waap/domains/analytics_list_ddos_info_params.py +31 -0
- gcore/types/waap/domains/analytics_list_event_traffic_params.py +26 -0
- gcore/types/waap/domains/analytics_list_event_traffic_response.py +10 -0
- gcore/types/waap/domains/api_discovery/__init__.py +7 -0
- gcore/types/waap/domains/api_discovery/scan_result_get_response.py +29 -0
- gcore/types/waap/domains/api_discovery/scan_result_list_params.py +41 -0
- gcore/types/waap/domains/api_discovery/scan_result_list_response.py +29 -0
- gcore/types/waap/domains/api_discovery_get_settings_response.py +36 -0
- gcore/types/waap/domains/api_discovery_scan_openapi_response.py +10 -0
- gcore/types/waap/domains/api_discovery_update_settings_params.py +34 -0
- gcore/types/waap/domains/api_discovery_update_settings_response.py +36 -0
- gcore/types/waap/domains/api_discovery_upload_openapi_params.py +19 -0
- gcore/types/waap/domains/api_discovery_upload_openapi_response.py +10 -0
- gcore/types/waap/domains/api_path_create_params.py +31 -0
- gcore/types/waap/domains/api_path_create_response.py +50 -0
- gcore/types/waap/domains/api_path_get_response.py +50 -0
- gcore/types/waap/domains/api_path_group_list_response.py +12 -0
- gcore/types/waap/domains/api_path_list_params.py +62 -0
- gcore/types/waap/domains/api_path_list_response.py +50 -0
- gcore/types/waap/domains/api_path_update_params.py +29 -0
- gcore/types/waap/domains/custom_rule_create_params.py +372 -0
- gcore/types/waap/domains/custom_rule_delete_multiple_params.py +13 -0
- gcore/types/waap/domains/custom_rule_list_params.py +35 -0
- gcore/types/waap/domains/custom_rule_update_params.py +375 -0
- gcore/types/waap/domains/firewall_rule_create_params.py +75 -0
- gcore/types/waap/domains/firewall_rule_delete_multiple_params.py +13 -0
- gcore/types/waap/domains/firewall_rule_list_params.py +33 -0
- gcore/types/waap/domains/firewall_rule_update_params.py +78 -0
- gcore/types/waap/domains/insight_list_params.py +34 -0
- gcore/types/waap/domains/insight_replace_params.py +17 -0
- gcore/types/waap/domains/insight_silence_create_params.py +28 -0
- gcore/types/waap/domains/insight_silence_list_params.py +33 -0
- gcore/types/waap/domains/insight_silence_update_params.py +28 -0
- gcore/types/waap/domains/setting_update_params.py +7 -0
- gcore/types/waap/ip_info_get_attack_time_series_params.py +12 -0
- gcore/types/waap/ip_info_get_attack_time_series_response.py +10 -0
- gcore/types/waap/ip_info_get_blocked_requests_params.py +15 -0
- gcore/types/waap/ip_info_get_blocked_requests_response.py +10 -0
- gcore/types/waap/ip_info_get_counts_params.py +19 -0
- gcore/types/waap/ip_info_get_ddos_attack_series_params.py +12 -0
- gcore/types/waap/ip_info_get_params.py +12 -0
- gcore/types/waap/ip_info_get_top_sessions_params.py +15 -0
- gcore/types/waap/ip_info_get_top_sessions_response.py +10 -0
- gcore/types/waap/ip_info_get_top_urls_params.py +15 -0
- gcore/types/waap/ip_info_get_top_urls_response.py +10 -0
- gcore/types/waap/ip_info_get_top_user_agents_params.py +15 -0
- gcore/types/waap/ip_info_get_top_user_agents_response.py +10 -0
- gcore/types/waap/ip_info_list_attacked_countries_params.py +12 -0
- gcore/types/waap/ip_info_list_attacked_countries_response.py +10 -0
- gcore/types/waap/organization_list_params.py +22 -0
- gcore/types/waap/statistic_get_usage_series_params.py +25 -0
- gcore/types/waap/tag_list_params.py +28 -0
- gcore/types/waap/waap_advanced_rule.py +83 -0
- gcore/types/waap/waap_advanced_rule_descriptor.py +49 -0
- gcore/types/waap/waap_advanced_rule_descriptor_list.py +15 -0
- gcore/types/waap/waap_block_csrf_page_data.py +28 -0
- gcore/types/waap/waap_block_csrf_page_data_param.py +28 -0
- gcore/types/waap/waap_block_page_data.py +28 -0
- gcore/types/waap/waap_block_page_data_param.py +28 -0
- gcore/types/waap/waap_blocked_statistics.py +36 -0
- gcore/types/waap/waap_captcha_page_data.py +31 -0
- gcore/types/waap/waap_captcha_page_data_param.py +31 -0
- gcore/types/waap/waap_common_tag.py +16 -0
- gcore/types/waap/waap_cookie_disabled_page_data.py +18 -0
- gcore/types/waap/waap_cookie_disabled_page_data_param.py +18 -0
- gcore/types/waap/waap_count_statistics.py +36 -0
- gcore/types/waap/waap_custom_page_preview.py +10 -0
- gcore/types/waap/waap_custom_page_set.py +36 -0
- gcore/types/waap/waap_custom_rule.py +377 -0
- gcore/types/waap/waap_customer_rule_state.py +7 -0
- gcore/types/waap/waap_ddos_attack.py +16 -0
- gcore/types/waap/waap_ddos_info.py +17 -0
- gcore/types/waap/{waap_api_urls.py → waap_domain_api_settings.py} +9 -2
- gcore/types/waap/waap_domain_policy.py +29 -0
- gcore/types/waap/{waap_domain_settings.py → waap_domain_settings_model.py} +4 -4
- gcore/types/waap/waap_event_statistics.py +15 -0
- gcore/types/waap/waap_firewall_rule.py +78 -0
- gcore/types/waap/waap_get_account_overview_response.py +34 -0
- gcore/types/waap/waap_handshake_page_data.py +25 -0
- gcore/types/waap/waap_handshake_page_data_param.py +25 -0
- gcore/types/waap/waap_insight.py +38 -0
- gcore/types/waap/waap_insight_silence.py +28 -0
- gcore/types/waap/waap_insight_silence_sort_by.py +9 -0
- gcore/types/waap/waap_insight_sort_by.py +20 -0
- gcore/types/waap/waap_insight_status.py +7 -0
- gcore/types/waap/waap_ip_country_attack.py +16 -0
- gcore/types/waap/waap_ip_ddos_info_model.py +23 -0
- gcore/types/waap/waap_ip_info.py +57 -0
- gcore/types/waap/waap_ip_info_counts.py +16 -0
- gcore/types/waap/waap_javascript_disabled_page_data.py +18 -0
- gcore/types/waap/waap_javascript_disabled_page_data_param.py +18 -0
- gcore/types/waap/waap_network_details.py +17 -0
- gcore/types/waap/waap_organization.py +13 -0
- gcore/types/waap/waap_page_type.py +9 -0
- gcore/types/waap/waap_paginated_custom_page_set.py +22 -0
- gcore/types/waap/waap_paginated_ddos_attack.py +22 -0
- gcore/types/waap/waap_paginated_ddos_info.py +22 -0
- gcore/types/waap/waap_paginated_request_summary.py +22 -0
- gcore/types/waap/waap_pattern_matched_tag.py +37 -0
- gcore/types/waap/waap_policy_action.py +7 -0
- gcore/types/waap/waap_policy_mode.py +10 -0
- gcore/types/waap/waap_request_details.py +92 -0
- gcore/types/waap/waap_request_organization.py +13 -0
- gcore/types/waap/waap_request_summary.py +59 -0
- gcore/types/waap/waap_resolution.py +7 -0
- gcore/types/waap/waap_rule_action_type.py +7 -0
- gcore/types/waap/waap_rule_blocked_requests.py +16 -0
- gcore/types/waap/waap_rule_set.py +41 -0
- gcore/types/waap/waap_statistic_item.py +18 -0
- gcore/types/waap/waap_statistics_series.py +16 -0
- gcore/types/waap/waap_tag.py +16 -0
- gcore/types/waap/waap_time_series_attack.py +23 -0
- gcore/types/waap/waap_top_session.py +24 -0
- gcore/types/waap/waap_top_url.py +13 -0
- gcore/types/waap/waap_top_user_agent.py +13 -0
- gcore/types/waap/waap_traffic_metrics.py +68 -0
- gcore/types/waap/waap_traffic_type.py +28 -0
- gcore/types/waap/waap_user_agent_details.py +40 -0
- {gcore-0.2.0.dist-info → gcore-0.4.0.dist-info}/METADATA +40 -3
- {gcore-0.2.0.dist-info → gcore-0.4.0.dist-info}/RECORD +312 -149
- gcore/types/cloud/baremetal/flavor_list_suitable_params.py +0 -22
- gcore/types/cloud/instances/flavor_list_for_resize_params.py +0 -16
- gcore/types/cloud/instances/flavor_list_suitable_params.py +0 -56
- {gcore-0.2.0.dist-info → gcore-0.4.0.dist-info}/WHEEL +0 -0
- {gcore-0.2.0.dist-info → gcore-0.4.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["APITokenCreateParams", "ClientUser", "ClientUserRole"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class APITokenCreateParams(TypedDict, total=False):
|
|
11
|
+
client_user: Required[ClientUser]
|
|
12
|
+
"""API token role."""
|
|
13
|
+
|
|
14
|
+
exp_date: Required[str]
|
|
15
|
+
"""
|
|
16
|
+
Date when the API token becomes expired (ISO 8086/RFC 3339 format), UTC. If
|
|
17
|
+
null, then the API token will never expire.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
name: Required[str]
|
|
21
|
+
"""API token name."""
|
|
22
|
+
|
|
23
|
+
description: str
|
|
24
|
+
"""API token description."""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class ClientUserRole(TypedDict, total=False):
|
|
28
|
+
id: int
|
|
29
|
+
"""Group's ID: Possible values are:
|
|
30
|
+
|
|
31
|
+
- 1 - Administrators* 2 - Users* 5 - Engineers* 3009 - Purge and Prefetch only
|
|
32
|
+
(API+Web)* 3022 - Purge and Prefetch only (API)
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
name: Literal[
|
|
36
|
+
"Users", "Administrators", "Engineers", "Purge and Prefetch only (API)", "Purge and Prefetch only (API+Web)"
|
|
37
|
+
]
|
|
38
|
+
"""Group's name."""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class ClientUser(TypedDict, total=False):
|
|
42
|
+
role: ClientUserRole
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
from typing_extensions import Literal, TypeAlias
|
|
5
|
+
|
|
6
|
+
from ..._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["APITokenList", "APITokenListItem", "APITokenListItemClientUser", "APITokenListItemClientUserRole"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class APITokenListItemClientUserRole(BaseModel):
|
|
12
|
+
id: Optional[int] = None
|
|
13
|
+
"""Group's ID: Possible values are:
|
|
14
|
+
|
|
15
|
+
- 1 - Administrators* 2 - Users* 5 - Engineers* 3009 - Purge and Prefetch only
|
|
16
|
+
(API+Web)* 3022 - Purge and Prefetch only (API)
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
name: Optional[
|
|
20
|
+
Literal[
|
|
21
|
+
"Users", "Administrators", "Engineers", "Purge and Prefetch only (API)", "Purge and Prefetch only (API+Web)"
|
|
22
|
+
]
|
|
23
|
+
] = None
|
|
24
|
+
"""Group's name."""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class APITokenListItemClientUser(BaseModel):
|
|
28
|
+
client_id: Optional[int] = None
|
|
29
|
+
"""Account's ID."""
|
|
30
|
+
|
|
31
|
+
deleted: Optional[bool] = None
|
|
32
|
+
"""Deletion flag. If true, then the API token was deleted."""
|
|
33
|
+
|
|
34
|
+
role: Optional[APITokenListItemClientUserRole] = None
|
|
35
|
+
|
|
36
|
+
user_email: Optional[str] = None
|
|
37
|
+
"""User's email who issued the API token."""
|
|
38
|
+
|
|
39
|
+
user_id: Optional[int] = None
|
|
40
|
+
"""User's ID who issued the API token."""
|
|
41
|
+
|
|
42
|
+
user_name: Optional[str] = None
|
|
43
|
+
"""User's name who issued the API token."""
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class APITokenListItem(BaseModel):
|
|
47
|
+
client_user: APITokenListItemClientUser
|
|
48
|
+
|
|
49
|
+
exp_date: str
|
|
50
|
+
"""
|
|
51
|
+
Date when the API token becomes expired (ISO 8086/RFC 3339 format), UTC. If
|
|
52
|
+
null, then the API token will never expire.
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
name: str
|
|
56
|
+
"""API token name."""
|
|
57
|
+
|
|
58
|
+
id: Optional[int] = None
|
|
59
|
+
"""API token ID."""
|
|
60
|
+
|
|
61
|
+
created: Optional[str] = None
|
|
62
|
+
"""Date when the API token was issued (ISO 8086/RFC 3339 format), UTC."""
|
|
63
|
+
|
|
64
|
+
deleted: Optional[bool] = None
|
|
65
|
+
"""Deletion flag. If true, then the API token was deleted."""
|
|
66
|
+
|
|
67
|
+
description: Optional[str] = None
|
|
68
|
+
"""API token description."""
|
|
69
|
+
|
|
70
|
+
expired: Optional[bool] = None
|
|
71
|
+
"""Expiration flag.
|
|
72
|
+
|
|
73
|
+
If true, then the API token has expired. When an API token expires it will be
|
|
74
|
+
automatically deleted.
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
last_usage: Optional[str] = None
|
|
78
|
+
"""Date when the API token was last used (ISO 8086/RFC 3339 format), UTC."""
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
APITokenList: TypeAlias = List[APITokenListItem]
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["APITokenListParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class APITokenListParams(TypedDict, total=False):
|
|
11
|
+
deleted: bool
|
|
12
|
+
"""The state of API tokens included in the response.
|
|
13
|
+
Two possible values:
|
|
14
|
+
|
|
15
|
+
- True - API token was not deleted.\\** False - API token was deleted.
|
|
16
|
+
|
|
17
|
+
Example, _&deleted=True_
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
issued_by: int
|
|
21
|
+
"""User's ID.
|
|
22
|
+
|
|
23
|
+
Use to get API tokens issued by a particular user.
|
|
24
|
+
Example, _&`issued_by`=1234_
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
not_issued_by: int
|
|
28
|
+
"""User's ID.
|
|
29
|
+
|
|
30
|
+
Use to get API tokens issued by anyone except a particular user.
|
|
31
|
+
Example, _¬_issued_by=1234_
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
role: str
|
|
35
|
+
"""Group's ID. Possible values are:
|
|
36
|
+
|
|
37
|
+
- 1 - Administrators* 2 - Users* 5 - Engineers* 3009 - Purge and Prefetch only
|
|
38
|
+
(API+Web)* 3022 - Purge and Prefetch only (API)
|
|
39
|
+
|
|
40
|
+
Example, _&role=Engineers_
|
|
41
|
+
"""
|
gcore/types/iam/user.py
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
from typing_extensions import Literal
|
|
5
|
+
|
|
6
|
+
from ..._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["User", "Group"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Group(BaseModel):
|
|
12
|
+
id: Optional[int] = None
|
|
13
|
+
"""Group's ID: Possible values are:
|
|
14
|
+
|
|
15
|
+
- 1 - Administrators* 2 - Users* 5 - Engineers* 3009 - Purge and Prefetch only
|
|
16
|
+
(API+Web)* 3022 - Purge and Prefetch only (API)
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
name: Optional[
|
|
20
|
+
Literal[
|
|
21
|
+
"Users", "Administrators", "Engineers", "Purge and Prefetch only (API)", "Purge and Prefetch only (API+Web)"
|
|
22
|
+
]
|
|
23
|
+
] = None
|
|
24
|
+
"""Group's name."""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class User(BaseModel):
|
|
28
|
+
id: Optional[int] = None
|
|
29
|
+
"""User's ID."""
|
|
30
|
+
|
|
31
|
+
activated: Optional[bool] = None
|
|
32
|
+
"""Email confirmation:
|
|
33
|
+
|
|
34
|
+
- `true` – user confirmed the email;
|
|
35
|
+
- `false` – user did not confirm the email.
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
auth_types: Optional[List[Literal["password", "sso", "github", "google-oauth2"]]] = None
|
|
39
|
+
"""System field. List of auth types available for the account."""
|
|
40
|
+
|
|
41
|
+
client: Optional[float] = None
|
|
42
|
+
"""User's account ID."""
|
|
43
|
+
|
|
44
|
+
company: Optional[str] = None
|
|
45
|
+
"""User's company."""
|
|
46
|
+
|
|
47
|
+
deleted: Optional[bool] = None
|
|
48
|
+
"""Deletion flag. If `true` then user was deleted."""
|
|
49
|
+
|
|
50
|
+
email: Optional[str] = None
|
|
51
|
+
"""User's email address."""
|
|
52
|
+
|
|
53
|
+
groups: Optional[List[Group]] = None
|
|
54
|
+
"""User's group in the current account. IAM supports 5 groups:
|
|
55
|
+
|
|
56
|
+
- Users
|
|
57
|
+
- Administrators
|
|
58
|
+
- Engineers
|
|
59
|
+
- Purge and Prefetch only (API)
|
|
60
|
+
- Purge and Prefetch only (API+Web)
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
lang: Optional[Literal["de", "en", "ru", "zh", "az"]] = None
|
|
64
|
+
"""User's language. Defines language of the control panel and email messages."""
|
|
65
|
+
|
|
66
|
+
name: Optional[str] = None
|
|
67
|
+
"""User's name."""
|
|
68
|
+
|
|
69
|
+
phone: Optional[str] = None
|
|
70
|
+
"""User's phone."""
|
|
71
|
+
|
|
72
|
+
reseller: Optional[int] = None
|
|
73
|
+
"""Services provider ID."""
|
|
74
|
+
|
|
75
|
+
sso_auth: Optional[bool] = None
|
|
76
|
+
"""SSO authentication flag. If `true` then user can login via SAML SSO."""
|
|
77
|
+
|
|
78
|
+
two_fa: Optional[bool] = None
|
|
79
|
+
"""Two-step verification:
|
|
80
|
+
|
|
81
|
+
- `true` – user enabled two-step verification;
|
|
82
|
+
- `false` – user disabled two-step verification.
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
user_type: Optional[Literal["common"]] = None
|
|
86
|
+
"""User's type."""
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
from typing_extensions import Literal
|
|
5
|
+
|
|
6
|
+
from ..._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["UserDetailed", "ClientAndRole", "Group"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ClientAndRole(BaseModel):
|
|
12
|
+
client_company_name: str
|
|
13
|
+
|
|
14
|
+
client_id: int
|
|
15
|
+
|
|
16
|
+
user_id: int
|
|
17
|
+
"""User's ID."""
|
|
18
|
+
|
|
19
|
+
user_roles: List[str]
|
|
20
|
+
"""User role in this client."""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class Group(BaseModel):
|
|
24
|
+
id: Optional[int] = None
|
|
25
|
+
"""Group's ID: Possible values are:
|
|
26
|
+
|
|
27
|
+
- 1 - Administrators* 2 - Users* 5 - Engineers* 3009 - Purge and Prefetch only
|
|
28
|
+
(API+Web)* 3022 - Purge and Prefetch only (API)
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
name: Optional[
|
|
32
|
+
Literal[
|
|
33
|
+
"Users", "Administrators", "Engineers", "Purge and Prefetch only (API)", "Purge and Prefetch only (API+Web)"
|
|
34
|
+
]
|
|
35
|
+
] = None
|
|
36
|
+
"""Group's name."""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class UserDetailed(BaseModel):
|
|
40
|
+
id: Optional[int] = None
|
|
41
|
+
"""User's ID."""
|
|
42
|
+
|
|
43
|
+
activated: Optional[bool] = None
|
|
44
|
+
"""Email confirmation:
|
|
45
|
+
|
|
46
|
+
- `true` – user confirmed the email;
|
|
47
|
+
- `false` – user did not confirm the email.
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
auth_types: Optional[List[Literal["password", "sso", "github", "google-oauth2"]]] = None
|
|
51
|
+
"""System field. List of auth types available for the account."""
|
|
52
|
+
|
|
53
|
+
client: Optional[float] = None
|
|
54
|
+
"""User's account ID."""
|
|
55
|
+
|
|
56
|
+
client_and_roles: Optional[List[ClientAndRole]] = None
|
|
57
|
+
"""List of user's clients. User can access to one or more clients."""
|
|
58
|
+
|
|
59
|
+
company: Optional[str] = None
|
|
60
|
+
"""User's company."""
|
|
61
|
+
|
|
62
|
+
deleted: Optional[bool] = None
|
|
63
|
+
"""Deletion flag. If `true` then user was deleted."""
|
|
64
|
+
|
|
65
|
+
email: Optional[str] = None
|
|
66
|
+
"""User's email address."""
|
|
67
|
+
|
|
68
|
+
groups: Optional[List[Group]] = None
|
|
69
|
+
"""User's group in the current account. IAM supports 5 groups:
|
|
70
|
+
|
|
71
|
+
- Users
|
|
72
|
+
- Administrators
|
|
73
|
+
- Engineers
|
|
74
|
+
- Purge and Prefetch only (API)
|
|
75
|
+
- Purge and Prefetch only (API+Web)
|
|
76
|
+
"""
|
|
77
|
+
|
|
78
|
+
is_active: Optional[bool] = None
|
|
79
|
+
"""User activity flag."""
|
|
80
|
+
|
|
81
|
+
lang: Optional[Literal["de", "en", "ru", "zh", "az"]] = None
|
|
82
|
+
"""User's language. Defines language of the control panel and email messages."""
|
|
83
|
+
|
|
84
|
+
name: Optional[str] = None
|
|
85
|
+
"""User's name."""
|
|
86
|
+
|
|
87
|
+
phone: Optional[str] = None
|
|
88
|
+
"""User's phone."""
|
|
89
|
+
|
|
90
|
+
reseller: Optional[int] = None
|
|
91
|
+
"""Services provider ID."""
|
|
92
|
+
|
|
93
|
+
sso_auth: Optional[bool] = None
|
|
94
|
+
"""SSO authentication flag. If `true` then user can login via SAML SSO."""
|
|
95
|
+
|
|
96
|
+
two_fa: Optional[bool] = None
|
|
97
|
+
"""Two-step verification:
|
|
98
|
+
|
|
99
|
+
- `true` – user enabled two-step verification;
|
|
100
|
+
- `false` – user disabled two-step verification.
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
user_type: Optional[Literal["common", "reseller", "seller"]] = None
|
|
104
|
+
"""User's type."""
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from ..._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["UserInvite"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserInvite(BaseModel):
|
|
11
|
+
status: Optional[str] = None
|
|
12
|
+
"""Status of the invitation."""
|
|
13
|
+
|
|
14
|
+
user_id: Optional[int] = None
|
|
15
|
+
"""Invited user ID."""
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["UserInviteParams", "UserRole"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserInviteParams(TypedDict, total=False):
|
|
11
|
+
client_id: Required[int]
|
|
12
|
+
"""ID of account."""
|
|
13
|
+
|
|
14
|
+
email: Required[str]
|
|
15
|
+
"""User email."""
|
|
16
|
+
|
|
17
|
+
user_role: Required[UserRole]
|
|
18
|
+
|
|
19
|
+
lang: Literal["de", "en", "ru", "zh", "az"]
|
|
20
|
+
"""User's language. Defines language of the control panel and email messages."""
|
|
21
|
+
|
|
22
|
+
name: str
|
|
23
|
+
"""User name."""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class UserRole(TypedDict, total=False):
|
|
27
|
+
id: int
|
|
28
|
+
"""Group's ID: Possible values are:
|
|
29
|
+
|
|
30
|
+
- 1 - Administrators* 2 - Users* 5 - Engineers* 3009 - Purge and Prefetch only
|
|
31
|
+
(API+Web)* 3022 - Purge and Prefetch only (API)
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
name: Literal[
|
|
35
|
+
"Users", "Administrators", "Engineers", "Purge and Prefetch only (API)", "Purge and Prefetch only (API+Web)"
|
|
36
|
+
]
|
|
37
|
+
"""Group's name."""
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["UserListParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserListParams(TypedDict, total=False):
|
|
11
|
+
limit: int
|
|
12
|
+
"""The maximum number of items."""
|
|
13
|
+
|
|
14
|
+
offset: int
|
|
15
|
+
"""Offset relative to the beginning of list."""
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
from typing_extensions import Literal
|
|
5
|
+
|
|
6
|
+
from ..._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["UserUpdate", "ClientAndRole", "Group"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ClientAndRole(BaseModel):
|
|
12
|
+
client_company_name: str
|
|
13
|
+
|
|
14
|
+
client_id: int
|
|
15
|
+
|
|
16
|
+
user_id: int
|
|
17
|
+
"""User's ID."""
|
|
18
|
+
|
|
19
|
+
user_roles: List[str]
|
|
20
|
+
"""User role in this client."""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class Group(BaseModel):
|
|
24
|
+
id: Optional[int] = None
|
|
25
|
+
"""Group's ID: Possible values are:
|
|
26
|
+
|
|
27
|
+
- 1 - Administrators* 2 - Users* 5 - Engineers* 3009 - Purge and Prefetch only
|
|
28
|
+
(API+Web)* 3022 - Purge and Prefetch only (API)
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
name: Optional[
|
|
32
|
+
Literal[
|
|
33
|
+
"Users", "Administrators", "Engineers", "Purge and Prefetch only (API)", "Purge and Prefetch only (API+Web)"
|
|
34
|
+
]
|
|
35
|
+
] = None
|
|
36
|
+
"""Group's name."""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class UserUpdate(BaseModel):
|
|
40
|
+
id: Optional[int] = None
|
|
41
|
+
"""User's ID."""
|
|
42
|
+
|
|
43
|
+
activated: Optional[bool] = None
|
|
44
|
+
"""Email confirmation:
|
|
45
|
+
|
|
46
|
+
- `true` – user confirmed the email;
|
|
47
|
+
- `false` – user did not confirm the email.
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
auth_types: Optional[List[Literal["password", "sso", "github", "google-oauth2"]]] = None
|
|
51
|
+
"""System field. List of auth types available for the account."""
|
|
52
|
+
|
|
53
|
+
client: Optional[float] = None
|
|
54
|
+
"""User's account ID."""
|
|
55
|
+
|
|
56
|
+
client_and_roles: Optional[List[ClientAndRole]] = None
|
|
57
|
+
"""List of user's clients. User can access to one or more clients."""
|
|
58
|
+
|
|
59
|
+
company: Optional[str] = None
|
|
60
|
+
"""User's company."""
|
|
61
|
+
|
|
62
|
+
deleted: Optional[bool] = None
|
|
63
|
+
"""Deletion flag. If `true` then user was deleted."""
|
|
64
|
+
|
|
65
|
+
email: Optional[str] = None
|
|
66
|
+
"""User's email address."""
|
|
67
|
+
|
|
68
|
+
groups: Optional[List[Group]] = None
|
|
69
|
+
"""User's group in the current account. IAM supports 5 groups:
|
|
70
|
+
|
|
71
|
+
- Users
|
|
72
|
+
- Administrators
|
|
73
|
+
- Engineers
|
|
74
|
+
- Purge and Prefetch only (API)
|
|
75
|
+
- Purge and Prefetch only (API+Web)
|
|
76
|
+
"""
|
|
77
|
+
|
|
78
|
+
is_active: Optional[bool] = None
|
|
79
|
+
"""User activity flag."""
|
|
80
|
+
|
|
81
|
+
lang: Optional[Literal["de", "en", "ru", "zh", "az"]] = None
|
|
82
|
+
"""User's language. Defines language of the control panel and email messages."""
|
|
83
|
+
|
|
84
|
+
name: Optional[str] = None
|
|
85
|
+
"""User's name."""
|
|
86
|
+
|
|
87
|
+
phone: Optional[str] = None
|
|
88
|
+
"""User's phone."""
|
|
89
|
+
|
|
90
|
+
reseller: Optional[int] = None
|
|
91
|
+
"""Services provider ID."""
|
|
92
|
+
|
|
93
|
+
sso_auth: Optional[bool] = None
|
|
94
|
+
"""SSO authentication flag. If `true` then user can login via SAML SSO."""
|
|
95
|
+
|
|
96
|
+
two_fa: Optional[bool] = None
|
|
97
|
+
"""Two-step verification:
|
|
98
|
+
|
|
99
|
+
- `true` – user enabled two-step verification;
|
|
100
|
+
- `false` – user disabled two-step verification.
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
user_type: Optional[Literal["common", "reseller", "seller"]] = None
|
|
104
|
+
"""User's type."""
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List, Iterable, Optional
|
|
6
|
+
from typing_extensions import Literal, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["UserUpdateParams", "Group"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class UserUpdateParams(TypedDict, total=False):
|
|
12
|
+
auth_types: List[Literal["password", "sso", "github", "google-oauth2"]]
|
|
13
|
+
"""System field. List of auth types available for the account."""
|
|
14
|
+
|
|
15
|
+
company: str
|
|
16
|
+
"""User's company."""
|
|
17
|
+
|
|
18
|
+
email: str
|
|
19
|
+
"""User's email address."""
|
|
20
|
+
|
|
21
|
+
groups: Iterable[Group]
|
|
22
|
+
"""User's group in the current account. IAM supports 5 groups:
|
|
23
|
+
|
|
24
|
+
- Users
|
|
25
|
+
- Administrators
|
|
26
|
+
- Engineers
|
|
27
|
+
- Purge and Prefetch only (API)
|
|
28
|
+
- Purge and Prefetch only (API+Web)
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
lang: Literal["de", "en", "ru", "zh", "az"]
|
|
32
|
+
"""User's language. Defines language of the control panel and email messages."""
|
|
33
|
+
|
|
34
|
+
name: Optional[str]
|
|
35
|
+
"""User's name."""
|
|
36
|
+
|
|
37
|
+
phone: Optional[str]
|
|
38
|
+
"""User's phone."""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class Group(TypedDict, total=False):
|
|
42
|
+
id: int
|
|
43
|
+
"""Group's ID: Possible values are:
|
|
44
|
+
|
|
45
|
+
- 1 - Administrators* 2 - Users* 5 - Engineers* 3009 - Purge and Prefetch only
|
|
46
|
+
(API+Web)* 3022 - Purge and Prefetch only (API)
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
name: Literal[
|
|
50
|
+
"Users", "Administrators", "Engineers", "Purge and Prefetch only (API)", "Purge and Prefetch only (API+Web)"
|
|
51
|
+
]
|
|
52
|
+
"""Group's name."""
|