gcore 0.14.0__py3-none-any.whl → 0.16.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/_client.py +2 -8
- gcore/_version.py +1 -1
- gcore/resources/cdn/audit_log.py +4 -12
- gcore/resources/cdn/cdn.py +10 -18
- gcore/resources/cdn/certificates.py +16 -40
- gcore/resources/cdn/ip_ranges.py +4 -8
- gcore/resources/cdn/logs/__init__.py +0 -14
- gcore/resources/cdn/logs/logs.py +4 -44
- gcore/resources/cdn/logs_uploader/configs.py +14 -42
- gcore/resources/cdn/logs_uploader/policies.py +14 -42
- gcore/resources/cdn/logs_uploader/targets.py +14 -42
- gcore/resources/cdn/metrics.py +2 -6
- gcore/resources/cdn/network_capacity.py +2 -6
- gcore/resources/cdn/origin_groups.py +12 -32
- gcore/resources/cdn/resources/resources.py +18 -46
- gcore/resources/cdn/resources/rules.py +12 -36
- gcore/resources/cdn/resources/shield.py +4 -12
- gcore/resources/cdn/rule_templates.py +12 -36
- gcore/resources/cdn/shields.py +2 -6
- gcore/resources/cdn/statistics.py +16 -40
- gcore/resources/cdn/trusted_ca_certificates.py +10 -30
- gcore/resources/cloud/audit_logs.py +2 -6
- gcore/resources/cloud/baremetal/flavors.py +2 -6
- gcore/resources/cloud/baremetal/images.py +2 -6
- gcore/resources/cloud/baremetal/servers.py +6 -18
- gcore/resources/cloud/billing_reservations.py +25 -208
- gcore/resources/cloud/cost_reports.py +44 -62
- gcore/resources/cloud/file_shares/access_rules.py +6 -18
- gcore/resources/cloud/file_shares/file_shares.py +37 -44
- gcore/resources/cloud/floating_ips.py +14 -42
- gcore/resources/cloud/gpu_baremetal_clusters/flavors.py +2 -6
- gcore/resources/cloud/gpu_baremetal_clusters/gpu_baremetal_clusters.py +18 -54
- gcore/resources/cloud/gpu_baremetal_clusters/images.py +8 -24
- gcore/resources/cloud/gpu_baremetal_clusters/interfaces.py +2 -6
- gcore/resources/cloud/gpu_baremetal_clusters/servers.py +14 -42
- gcore/resources/cloud/inference/api_keys.py +10 -30
- gcore/resources/cloud/inference/applications/deployments.py +135 -155
- gcore/resources/cloud/inference/applications/templates.py +4 -12
- gcore/resources/cloud/inference/deployments/deployments.py +16 -48
- gcore/resources/cloud/inference/deployments/logs.py +2 -6
- gcore/resources/cloud/inference/flavors.py +4 -12
- gcore/resources/cloud/inference/inference.py +2 -6
- gcore/resources/cloud/inference/registry_credentials.py +10 -30
- gcore/resources/cloud/inference/secrets.py +10 -30
- gcore/resources/cloud/instances/flavors.py +2 -6
- gcore/resources/cloud/instances/images.py +12 -36
- gcore/resources/cloud/instances/instances.py +99 -94
- gcore/resources/cloud/instances/interfaces.py +6 -18
- gcore/resources/cloud/instances/metrics.py +2 -6
- gcore/resources/cloud/ip_ranges.py +2 -6
- gcore/resources/cloud/k8s/clusters/clusters.py +18 -54
- gcore/resources/cloud/k8s/clusters/nodes.py +4 -12
- gcore/resources/cloud/k8s/clusters/pools/nodes.py +4 -12
- gcore/resources/cloud/k8s/clusters/pools/pools.py +12 -36
- gcore/resources/cloud/k8s/flavors.py +2 -6
- gcore/resources/cloud/k8s/k8s.py +2 -6
- gcore/resources/cloud/load_balancers/flavors.py +2 -6
- gcore/resources/cloud/load_balancers/l7_policies/l7_policies.py +10 -30
- gcore/resources/cloud/load_balancers/l7_policies/rules.py +10 -30
- gcore/resources/cloud/load_balancers/listeners.py +26 -46
- gcore/resources/cloud/load_balancers/load_balancers.py +493 -521
- gcore/resources/cloud/load_balancers/metrics.py +8 -12
- gcore/resources/cloud/load_balancers/pools/health_monitors.py +4 -12
- gcore/resources/cloud/load_balancers/pools/members.py +4 -12
- gcore/resources/cloud/load_balancers/pools/pools.py +26 -46
- gcore/resources/cloud/load_balancers/statuses.py +10 -18
- gcore/resources/cloud/networks/networks.py +10 -30
- gcore/resources/cloud/networks/routers.py +14 -42
- gcore/resources/cloud/networks/subnets.py +15 -37
- gcore/resources/cloud/placement_groups.py +8 -24
- gcore/resources/cloud/projects.py +10 -22
- gcore/resources/cloud/quotas/quotas.py +6 -18
- gcore/resources/cloud/quotas/requests.py +8 -24
- gcore/resources/cloud/regions.py +4 -8
- gcore/resources/cloud/registries/artifacts.py +4 -12
- gcore/resources/cloud/registries/registries.py +10 -30
- gcore/resources/cloud/registries/repositories.py +4 -12
- gcore/resources/cloud/registries/tags.py +2 -6
- gcore/resources/cloud/registries/users.py +12 -36
- gcore/resources/cloud/reserved_fixed_ips/reserved_fixed_ips.py +114 -25
- gcore/resources/cloud/reserved_fixed_ips/vip.py +10 -30
- gcore/resources/cloud/secrets.py +8 -24
- gcore/resources/cloud/security_groups/rules.py +6 -18
- gcore/resources/cloud/security_groups/security_groups.py +14 -42
- gcore/resources/cloud/ssh_keys.py +10 -30
- gcore/resources/cloud/tasks.py +14 -26
- gcore/resources/cloud/usage_reports.py +18 -24
- gcore/resources/cloud/users/role_assignments.py +8 -24
- gcore/resources/cloud/volumes.py +20 -60
- gcore/resources/dns/dns.py +4 -8
- gcore/resources/dns/locations.py +8 -20
- gcore/resources/dns/metrics.py +2 -6
- gcore/resources/dns/pickers/pickers.py +2 -2
- gcore/resources/dns/pickers/presets.py +2 -6
- gcore/resources/dns/zones/dnssec.py +4 -12
- gcore/resources/dns/zones/rrsets.py +12 -36
- gcore/resources/dns/zones/zones.py +22 -58
- gcore/resources/fastedge/apps/apps.py +12 -28
- gcore/resources/fastedge/apps/logs.py +2 -6
- gcore/resources/fastedge/binaries.py +8 -24
- gcore/resources/fastedge/fastedge.py +2 -2
- gcore/resources/fastedge/kv_stores.py +10 -22
- gcore/resources/fastedge/secrets.py +12 -36
- gcore/resources/fastedge/statistics.py +4 -12
- gcore/resources/fastedge/templates.py +10 -30
- gcore/resources/iam/api_tokens.py +12 -26
- gcore/resources/iam/iam.py +2 -2
- gcore/resources/iam/users.py +10 -26
- gcore/resources/security/bgp_announces.py +4 -12
- gcore/resources/security/events.py +2 -6
- gcore/resources/security/profile_templates.py +2 -6
- gcore/resources/security/profiles.py +16 -40
- gcore/resources/storage/buckets/buckets.py +6 -18
- gcore/resources/storage/buckets/cors.py +4 -12
- gcore/resources/storage/buckets/lifecycle.py +4 -12
- gcore/resources/storage/buckets/policy.py +6 -18
- gcore/resources/storage/credentials.py +2 -6
- gcore/resources/storage/locations.py +2 -6
- gcore/resources/storage/statistics.py +4 -12
- gcore/resources/storage/storage.py +16 -48
- gcore/resources/streaming/ai_tasks.py +10 -18
- gcore/resources/streaming/broadcasts.py +12 -36
- gcore/resources/streaming/directories.py +10 -30
- gcore/resources/streaming/players.py +12 -28
- gcore/resources/streaming/playlists.py +12 -36
- gcore/resources/streaming/quality_sets.py +4 -12
- gcore/resources/streaming/restreams.py +10 -30
- gcore/resources/streaming/statistics.py +46 -138
- gcore/resources/streaming/streams/overlays.py +12 -36
- gcore/resources/streaming/streams/streams.py +20 -52
- gcore/resources/streaming/videos/subtitles.py +10 -30
- gcore/resources/streaming/videos/videos.py +16 -40
- gcore/resources/waap/advanced_rules.py +2 -6
- gcore/resources/waap/custom_page_sets.py +12 -36
- gcore/resources/waap/domains/advanced_rules.py +12 -36
- gcore/resources/waap/domains/api_discovery.py +12 -36
- gcore/resources/waap/domains/api_path_groups.py +2 -6
- gcore/resources/waap/domains/api_paths.py +10 -30
- gcore/resources/waap/domains/custom_rules.py +14 -42
- gcore/resources/waap/domains/domains.py +12 -32
- gcore/resources/waap/domains/firewall_rules.py +14 -42
- gcore/resources/waap/domains/insight_silences.py +10 -30
- gcore/resources/waap/domains/insights.py +6 -18
- gcore/resources/waap/domains/settings.py +4 -12
- gcore/resources/waap/domains/statistics.py +12 -36
- gcore/resources/waap/insights.py +2 -6
- gcore/resources/waap/ip_info/ip_info.py +16 -48
- gcore/resources/waap/ip_info/metrics.py +2 -6
- gcore/resources/waap/organizations.py +2 -6
- gcore/resources/waap/statistics.py +2 -6
- gcore/resources/waap/tags.py +2 -2
- gcore/resources/waap/waap.py +2 -2
- gcore/types/cdn/cdn_resource.py +20 -0
- gcore/types/cdn/logs/__init__.py +0 -4
- gcore/types/cdn/logs_aggregated_stats.py +1 -1
- gcore/types/cdn/resource_create_params.py +20 -0
- gcore/types/cdn/resource_replace_params.py +20 -0
- gcore/types/cdn/resource_update_params.py +20 -0
- gcore/types/cdn/resources/cdn_resource_rule.py +20 -0
- gcore/types/cdn/resources/rule_create_params.py +20 -0
- gcore/types/cdn/resources/rule_replace_params.py +20 -0
- gcore/types/cdn/resources/rule_update_params.py +20 -0
- gcore/types/cdn/rule_template.py +20 -0
- gcore/types/cdn/rule_template_create_params.py +20 -0
- gcore/types/cdn/rule_template_replace_params.py +20 -0
- gcore/types/cdn/rule_template_update_params.py +20 -0
- gcore/types/cloud/__init__.py +2 -0
- gcore/types/cloud/billing_reservation.py +52 -114
- gcore/types/cloud/billing_reservation_list_params.py +4 -42
- gcore/types/cloud/billing_reservations.py +16 -0
- gcore/types/cloud/cost_report_get_aggregated_params.py +2 -2
- gcore/types/cloud/cost_report_get_detailed_params.py +2 -2
- gcore/types/cloud/gpu_baremetal_clusters/gpu_baremetal_flavor.py +12 -0
- gcore/types/cloud/inference/applications/__init__.py +1 -1
- gcore/types/cloud/inference/applications/{deployment_patch_params.py → deployment_update_params.py} +2 -2
- gcore/types/cloud/instance_list_params.py +1 -1
- gcore/types/cloud/instance_update_params.py +31 -3
- gcore/types/cloud/load_balancer_create_params.py +1 -1
- gcore/types/cloud/load_balancer_listener_detail.py +1 -1
- gcore/types/cloud/load_balancers/listener_create_params.py +1 -1
- gcore/types/cloud/load_balancers/listener_list_params.py +1 -1
- gcore/types/cloud/load_balancers/pool_create_params.py +1 -1
- gcore/types/cloud/load_balancers/pool_list_params.py +1 -1
- gcore/types/cloud/quota_get_all_response.py +8 -8
- gcore/types/cloud/quota_get_by_region_response.py +8 -8
- gcore/types/cloud/quotas/request_create_params.py +4 -4
- gcore/types/cloud/quotas/request_get_response.py +4 -4
- gcore/types/cloud/quotas/request_list_response.py +4 -4
- gcore/types/cloud/reserved_fixed_ip_update_params.py +16 -0
- gcore/types/cloud/task_list_params.py +3 -3
- gcore/types/cloud/usage_report_get_params.py +2 -2
- gcore/types/iam/account_overview.py +24 -26
- gcore/types/iam/api_token.py +24 -24
- gcore/types/iam/api_token_create_params.py +2 -1
- gcore/types/iam/api_token_list.py +24 -24
- gcore/types/iam/user_detailed.py +15 -15
- gcore/types/iam/user_invite.py +2 -4
- gcore/types/iam/user_update.py +15 -15
- gcore/types/security/profile_create_params.py +2 -2
- {gcore-0.14.0.dist-info → gcore-0.16.0.dist-info}/METADATA +1 -1
- {gcore-0.14.0.dist-info → gcore-0.16.0.dist-info}/RECORD +203 -205
- gcore/resources/cdn/logs/settings.py +0 -1081
- gcore/types/cdn/logs/log_settings.py +0 -172
- gcore/types/cdn/logs/setting_create_params.py +0 -200
- gcore/types/cdn/logs/setting_update_params.py +0 -200
- {gcore-0.14.0.dist-info → gcore-0.16.0.dist-info}/WHEEL +0 -0
- {gcore-0.14.0.dist-info → gcore-0.16.0.dist-info}/licenses/LICENSE +0 -0
gcore/resources/waap/insights.py
CHANGED
|
@@ -87,9 +87,7 @@ class InsightsResource(SyncAPIResource):
|
|
|
87
87
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
88
88
|
"""
|
|
89
89
|
return self._get_api_list(
|
|
90
|
-
"/waap/v1/security-insights/types"
|
|
91
|
-
if self._client._base_url_overridden
|
|
92
|
-
else "https://api.gcore.com//waap/v1/security-insights/types",
|
|
90
|
+
"/waap/v1/security-insights/types",
|
|
93
91
|
page=SyncOffsetPage[WaapInsightType],
|
|
94
92
|
options=make_request_options(
|
|
95
93
|
extra_headers=extra_headers,
|
|
@@ -174,9 +172,7 @@ class AsyncInsightsResource(AsyncAPIResource):
|
|
|
174
172
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
175
173
|
"""
|
|
176
174
|
return self._get_api_list(
|
|
177
|
-
"/waap/v1/security-insights/types"
|
|
178
|
-
if self._client._base_url_overridden
|
|
179
|
-
else "https://api.gcore.com//waap/v1/security-insights/types",
|
|
175
|
+
"/waap/v1/security-insights/types",
|
|
180
176
|
page=AsyncOffsetPage[WaapInsightType],
|
|
181
177
|
options=make_request_options(
|
|
182
178
|
extra_headers=extra_headers,
|
|
@@ -95,9 +95,7 @@ class IPInfoResource(SyncAPIResource):
|
|
|
95
95
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
96
96
|
"""
|
|
97
97
|
return self._get(
|
|
98
|
-
"/waap/v1/ip-info/attack-time-series"
|
|
99
|
-
if self._client._base_url_overridden
|
|
100
|
-
else "https://api.gcore.com//waap/v1/ip-info/attack-time-series",
|
|
98
|
+
"/waap/v1/ip-info/attack-time-series",
|
|
101
99
|
options=make_request_options(
|
|
102
100
|
extra_headers=extra_headers,
|
|
103
101
|
extra_query=extra_query,
|
|
@@ -144,9 +142,7 @@ class IPInfoResource(SyncAPIResource):
|
|
|
144
142
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
145
143
|
"""
|
|
146
144
|
return self._get(
|
|
147
|
-
"/waap/v1/ip-info/blocked-requests"
|
|
148
|
-
if self._client._base_url_overridden
|
|
149
|
-
else "https://api.gcore.com//waap/v1/ip-info/blocked-requests",
|
|
145
|
+
"/waap/v1/ip-info/blocked-requests",
|
|
150
146
|
options=make_request_options(
|
|
151
147
|
extra_headers=extra_headers,
|
|
152
148
|
extra_query=extra_query,
|
|
@@ -193,9 +189,7 @@ class IPInfoResource(SyncAPIResource):
|
|
|
193
189
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
194
190
|
"""
|
|
195
191
|
return self._get(
|
|
196
|
-
"/waap/v1/ip-info/ddos"
|
|
197
|
-
if self._client._base_url_overridden
|
|
198
|
-
else "https://api.gcore.com//waap/v1/ip-info/ddos",
|
|
192
|
+
"/waap/v1/ip-info/ddos",
|
|
199
193
|
options=make_request_options(
|
|
200
194
|
extra_headers=extra_headers,
|
|
201
195
|
extra_query=extra_query,
|
|
@@ -235,9 +229,7 @@ class IPInfoResource(SyncAPIResource):
|
|
|
235
229
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
236
230
|
"""
|
|
237
231
|
return self._get(
|
|
238
|
-
"/waap/v1/ip-info/ip-info"
|
|
239
|
-
if self._client._base_url_overridden
|
|
240
|
-
else "https://api.gcore.com//waap/v1/ip-info/ip-info",
|
|
232
|
+
"/waap/v1/ip-info/ip-info",
|
|
241
233
|
options=make_request_options(
|
|
242
234
|
extra_headers=extra_headers,
|
|
243
235
|
extra_query=extra_query,
|
|
@@ -282,9 +274,7 @@ class IPInfoResource(SyncAPIResource):
|
|
|
282
274
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
283
275
|
"""
|
|
284
276
|
return self._get(
|
|
285
|
-
"/waap/v1/ip-info/top-urls"
|
|
286
|
-
if self._client._base_url_overridden
|
|
287
|
-
else "https://api.gcore.com//waap/v1/ip-info/top-urls",
|
|
277
|
+
"/waap/v1/ip-info/top-urls",
|
|
288
278
|
options=make_request_options(
|
|
289
279
|
extra_headers=extra_headers,
|
|
290
280
|
extra_query=extra_query,
|
|
@@ -333,9 +323,7 @@ class IPInfoResource(SyncAPIResource):
|
|
|
333
323
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
334
324
|
"""
|
|
335
325
|
return self._get(
|
|
336
|
-
"/waap/v1/ip-info/top-user-agents"
|
|
337
|
-
if self._client._base_url_overridden
|
|
338
|
-
else "https://api.gcore.com//waap/v1/ip-info/top-user-agents",
|
|
326
|
+
"/waap/v1/ip-info/top-user-agents",
|
|
339
327
|
options=make_request_options(
|
|
340
328
|
extra_headers=extra_headers,
|
|
341
329
|
extra_query=extra_query,
|
|
@@ -384,9 +372,7 @@ class IPInfoResource(SyncAPIResource):
|
|
|
384
372
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
385
373
|
"""
|
|
386
374
|
return self._get(
|
|
387
|
-
"/waap/v1/ip-info/top-sessions"
|
|
388
|
-
if self._client._base_url_overridden
|
|
389
|
-
else "https://api.gcore.com//waap/v1/ip-info/top-sessions",
|
|
375
|
+
"/waap/v1/ip-info/top-sessions",
|
|
390
376
|
options=make_request_options(
|
|
391
377
|
extra_headers=extra_headers,
|
|
392
378
|
extra_query=extra_query,
|
|
@@ -429,9 +415,7 @@ class IPInfoResource(SyncAPIResource):
|
|
|
429
415
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
430
416
|
"""
|
|
431
417
|
return self._get(
|
|
432
|
-
"/waap/v1/ip-info/attack-map"
|
|
433
|
-
if self._client._base_url_overridden
|
|
434
|
-
else "https://api.gcore.com//waap/v1/ip-info/attack-map",
|
|
418
|
+
"/waap/v1/ip-info/attack-map",
|
|
435
419
|
options=make_request_options(
|
|
436
420
|
extra_headers=extra_headers,
|
|
437
421
|
extra_query=extra_query,
|
|
@@ -495,9 +479,7 @@ class AsyncIPInfoResource(AsyncAPIResource):
|
|
|
495
479
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
496
480
|
"""
|
|
497
481
|
return await self._get(
|
|
498
|
-
"/waap/v1/ip-info/attack-time-series"
|
|
499
|
-
if self._client._base_url_overridden
|
|
500
|
-
else "https://api.gcore.com//waap/v1/ip-info/attack-time-series",
|
|
482
|
+
"/waap/v1/ip-info/attack-time-series",
|
|
501
483
|
options=make_request_options(
|
|
502
484
|
extra_headers=extra_headers,
|
|
503
485
|
extra_query=extra_query,
|
|
@@ -544,9 +526,7 @@ class AsyncIPInfoResource(AsyncAPIResource):
|
|
|
544
526
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
545
527
|
"""
|
|
546
528
|
return await self._get(
|
|
547
|
-
"/waap/v1/ip-info/blocked-requests"
|
|
548
|
-
if self._client._base_url_overridden
|
|
549
|
-
else "https://api.gcore.com//waap/v1/ip-info/blocked-requests",
|
|
529
|
+
"/waap/v1/ip-info/blocked-requests",
|
|
550
530
|
options=make_request_options(
|
|
551
531
|
extra_headers=extra_headers,
|
|
552
532
|
extra_query=extra_query,
|
|
@@ -593,9 +573,7 @@ class AsyncIPInfoResource(AsyncAPIResource):
|
|
|
593
573
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
594
574
|
"""
|
|
595
575
|
return await self._get(
|
|
596
|
-
"/waap/v1/ip-info/ddos"
|
|
597
|
-
if self._client._base_url_overridden
|
|
598
|
-
else "https://api.gcore.com//waap/v1/ip-info/ddos",
|
|
576
|
+
"/waap/v1/ip-info/ddos",
|
|
599
577
|
options=make_request_options(
|
|
600
578
|
extra_headers=extra_headers,
|
|
601
579
|
extra_query=extra_query,
|
|
@@ -635,9 +613,7 @@ class AsyncIPInfoResource(AsyncAPIResource):
|
|
|
635
613
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
636
614
|
"""
|
|
637
615
|
return await self._get(
|
|
638
|
-
"/waap/v1/ip-info/ip-info"
|
|
639
|
-
if self._client._base_url_overridden
|
|
640
|
-
else "https://api.gcore.com//waap/v1/ip-info/ip-info",
|
|
616
|
+
"/waap/v1/ip-info/ip-info",
|
|
641
617
|
options=make_request_options(
|
|
642
618
|
extra_headers=extra_headers,
|
|
643
619
|
extra_query=extra_query,
|
|
@@ -682,9 +658,7 @@ class AsyncIPInfoResource(AsyncAPIResource):
|
|
|
682
658
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
683
659
|
"""
|
|
684
660
|
return await self._get(
|
|
685
|
-
"/waap/v1/ip-info/top-urls"
|
|
686
|
-
if self._client._base_url_overridden
|
|
687
|
-
else "https://api.gcore.com//waap/v1/ip-info/top-urls",
|
|
661
|
+
"/waap/v1/ip-info/top-urls",
|
|
688
662
|
options=make_request_options(
|
|
689
663
|
extra_headers=extra_headers,
|
|
690
664
|
extra_query=extra_query,
|
|
@@ -733,9 +707,7 @@ class AsyncIPInfoResource(AsyncAPIResource):
|
|
|
733
707
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
734
708
|
"""
|
|
735
709
|
return await self._get(
|
|
736
|
-
"/waap/v1/ip-info/top-user-agents"
|
|
737
|
-
if self._client._base_url_overridden
|
|
738
|
-
else "https://api.gcore.com//waap/v1/ip-info/top-user-agents",
|
|
710
|
+
"/waap/v1/ip-info/top-user-agents",
|
|
739
711
|
options=make_request_options(
|
|
740
712
|
extra_headers=extra_headers,
|
|
741
713
|
extra_query=extra_query,
|
|
@@ -784,9 +756,7 @@ class AsyncIPInfoResource(AsyncAPIResource):
|
|
|
784
756
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
785
757
|
"""
|
|
786
758
|
return await self._get(
|
|
787
|
-
"/waap/v1/ip-info/top-sessions"
|
|
788
|
-
if self._client._base_url_overridden
|
|
789
|
-
else "https://api.gcore.com//waap/v1/ip-info/top-sessions",
|
|
759
|
+
"/waap/v1/ip-info/top-sessions",
|
|
790
760
|
options=make_request_options(
|
|
791
761
|
extra_headers=extra_headers,
|
|
792
762
|
extra_query=extra_query,
|
|
@@ -829,9 +799,7 @@ class AsyncIPInfoResource(AsyncAPIResource):
|
|
|
829
799
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
830
800
|
"""
|
|
831
801
|
return await self._get(
|
|
832
|
-
"/waap/v1/ip-info/attack-map"
|
|
833
|
-
if self._client._base_url_overridden
|
|
834
|
-
else "https://api.gcore.com//waap/v1/ip-info/attack-map",
|
|
802
|
+
"/waap/v1/ip-info/attack-map",
|
|
835
803
|
options=make_request_options(
|
|
836
804
|
extra_headers=extra_headers,
|
|
837
805
|
extra_query=extra_query,
|
|
@@ -77,9 +77,7 @@ class MetricsResource(SyncAPIResource):
|
|
|
77
77
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
78
78
|
"""
|
|
79
79
|
return self._get(
|
|
80
|
-
"/waap/v1/ip-info/counts"
|
|
81
|
-
if self._client._base_url_overridden
|
|
82
|
-
else "https://api.gcore.com//waap/v1/ip-info/counts",
|
|
80
|
+
"/waap/v1/ip-info/counts",
|
|
83
81
|
options=make_request_options(
|
|
84
82
|
extra_headers=extra_headers,
|
|
85
83
|
extra_query=extra_query,
|
|
@@ -151,9 +149,7 @@ class AsyncMetricsResource(AsyncAPIResource):
|
|
|
151
149
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
152
150
|
"""
|
|
153
151
|
return await self._get(
|
|
154
|
-
"/waap/v1/ip-info/counts"
|
|
155
|
-
if self._client._base_url_overridden
|
|
156
|
-
else "https://api.gcore.com//waap/v1/ip-info/counts",
|
|
152
|
+
"/waap/v1/ip-info/counts",
|
|
157
153
|
options=make_request_options(
|
|
158
154
|
extra_headers=extra_headers,
|
|
159
155
|
extra_query=extra_query,
|
|
@@ -82,9 +82,7 @@ class OrganizationsResource(SyncAPIResource):
|
|
|
82
82
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
83
83
|
"""
|
|
84
84
|
return self._get_api_list(
|
|
85
|
-
"/waap/v1/organizations"
|
|
86
|
-
if self._client._base_url_overridden
|
|
87
|
-
else "https://api.gcore.com//waap/v1/organizations",
|
|
85
|
+
"/waap/v1/organizations",
|
|
88
86
|
page=SyncOffsetPage[WaapOrganization],
|
|
89
87
|
options=make_request_options(
|
|
90
88
|
extra_headers=extra_headers,
|
|
@@ -162,9 +160,7 @@ class AsyncOrganizationsResource(AsyncAPIResource):
|
|
|
162
160
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
163
161
|
"""
|
|
164
162
|
return self._get_api_list(
|
|
165
|
-
"/waap/v1/organizations"
|
|
166
|
-
if self._client._base_url_overridden
|
|
167
|
-
else "https://api.gcore.com//waap/v1/organizations",
|
|
163
|
+
"/waap/v1/organizations",
|
|
168
164
|
page=AsyncOffsetPage[WaapOrganization],
|
|
169
165
|
options=make_request_options(
|
|
170
166
|
extra_headers=extra_headers,
|
|
@@ -87,9 +87,7 @@ class StatisticsResource(SyncAPIResource):
|
|
|
87
87
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
88
88
|
"""
|
|
89
89
|
return self._get(
|
|
90
|
-
"/waap/v1/statistics/series"
|
|
91
|
-
if self._client._base_url_overridden
|
|
92
|
-
else "https://api.gcore.com//waap/v1/statistics/series",
|
|
90
|
+
"/waap/v1/statistics/series",
|
|
93
91
|
options=make_request_options(
|
|
94
92
|
extra_headers=extra_headers,
|
|
95
93
|
extra_query=extra_query,
|
|
@@ -171,9 +169,7 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
171
169
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
172
170
|
"""
|
|
173
171
|
return await self._get(
|
|
174
|
-
"/waap/v1/statistics/series"
|
|
175
|
-
if self._client._base_url_overridden
|
|
176
|
-
else "https://api.gcore.com//waap/v1/statistics/series",
|
|
172
|
+
"/waap/v1/statistics/series",
|
|
177
173
|
options=make_request_options(
|
|
178
174
|
extra_headers=extra_headers,
|
|
179
175
|
extra_query=extra_query,
|
gcore/resources/waap/tags.py
CHANGED
|
@@ -88,7 +88,7 @@ class TagsResource(SyncAPIResource):
|
|
|
88
88
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
89
89
|
"""
|
|
90
90
|
return self._get_api_list(
|
|
91
|
-
"/waap/v1/tags"
|
|
91
|
+
"/waap/v1/tags",
|
|
92
92
|
page=SyncOffsetPage[WaapTag],
|
|
93
93
|
options=make_request_options(
|
|
94
94
|
extra_headers=extra_headers,
|
|
@@ -174,7 +174,7 @@ class AsyncTagsResource(AsyncAPIResource):
|
|
|
174
174
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
175
175
|
"""
|
|
176
176
|
return self._get_api_list(
|
|
177
|
-
"/waap/v1/tags"
|
|
177
|
+
"/waap/v1/tags",
|
|
178
178
|
page=AsyncOffsetPage[WaapTag],
|
|
179
179
|
options=make_request_options(
|
|
180
180
|
extra_headers=extra_headers,
|
gcore/resources/waap/waap.py
CHANGED
|
@@ -147,7 +147,7 @@ class WaapResource(SyncAPIResource):
|
|
|
147
147
|
) -> WaapGetAccountOverviewResponse:
|
|
148
148
|
"""Get information about WAAP service for the client"""
|
|
149
149
|
return self._get(
|
|
150
|
-
"/waap/v1/clients/me"
|
|
150
|
+
"/waap/v1/clients/me",
|
|
151
151
|
options=make_request_options(
|
|
152
152
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
153
153
|
),
|
|
@@ -219,7 +219,7 @@ class AsyncWaapResource(AsyncAPIResource):
|
|
|
219
219
|
) -> WaapGetAccountOverviewResponse:
|
|
220
220
|
"""Get information about WAAP service for the client"""
|
|
221
221
|
return await self._get(
|
|
222
|
-
"/waap/v1/clients/me"
|
|
222
|
+
"/waap/v1/clients/me",
|
|
223
223
|
options=make_request_options(
|
|
224
224
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
225
225
|
),
|
gcore/types/cdn/cdn_resource.py
CHANGED
|
@@ -832,6 +832,26 @@ class OptionsQueryStringForwarding(BaseModel):
|
|
|
832
832
|
of the streaming session.
|
|
833
833
|
"""
|
|
834
834
|
|
|
835
|
+
forward_except_keys: Optional[List[str]] = None
|
|
836
|
+
"""
|
|
837
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
838
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
839
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
840
|
+
omitted during the forwarding process. This is particularly useful for
|
|
841
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
842
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
843
|
+
"""
|
|
844
|
+
|
|
845
|
+
forward_only_keys: Optional[List[str]] = None
|
|
846
|
+
"""
|
|
847
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
848
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
849
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
850
|
+
relevant information is passed along. This is particularly useful for security
|
|
851
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
852
|
+
being included in requests for media chunks.
|
|
853
|
+
"""
|
|
854
|
+
|
|
835
855
|
|
|
836
856
|
class OptionsRedirectHTTPToHTTPS(BaseModel):
|
|
837
857
|
enabled: bool
|
gcore/types/cdn/logs/__init__.py
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from .log_settings import LogSettings as LogSettings
|
|
6
|
-
from .setting_create_params import SettingCreateParams as SettingCreateParams
|
|
7
|
-
from .setting_update_params import SettingUpdateParams as SettingUpdateParams
|
|
@@ -17,7 +17,7 @@ class LogsAggregatedStats(BaseModel):
|
|
|
17
17
|
"""Statistics parameters."""
|
|
18
18
|
|
|
19
19
|
raw_logs_usage: Optional[str] = None
|
|
20
|
-
"""Number of resources that used
|
|
20
|
+
"""Number of resources that used Logs uploader."""
|
|
21
21
|
|
|
22
22
|
resource: Optional[object] = None
|
|
23
23
|
"""Resources IDs by which statistics data is grouped.."""
|
|
@@ -955,6 +955,26 @@ class OptionsQueryStringForwarding(TypedDict, total=False):
|
|
|
955
955
|
of the streaming session.
|
|
956
956
|
"""
|
|
957
957
|
|
|
958
|
+
forward_except_keys: SequenceNotStr[str]
|
|
959
|
+
"""
|
|
960
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
961
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
962
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
963
|
+
omitted during the forwarding process. This is particularly useful for
|
|
964
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
965
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
966
|
+
"""
|
|
967
|
+
|
|
968
|
+
forward_only_keys: SequenceNotStr[str]
|
|
969
|
+
"""
|
|
970
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
971
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
972
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
973
|
+
relevant information is passed along. This is particularly useful for security
|
|
974
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
975
|
+
being included in requests for media chunks.
|
|
976
|
+
"""
|
|
977
|
+
|
|
958
978
|
|
|
959
979
|
class OptionsRedirectHTTPToHTTPS(TypedDict, total=False):
|
|
960
980
|
enabled: Required[bool]
|
|
@@ -933,6 +933,26 @@ class OptionsQueryStringForwarding(TypedDict, total=False):
|
|
|
933
933
|
of the streaming session.
|
|
934
934
|
"""
|
|
935
935
|
|
|
936
|
+
forward_except_keys: SequenceNotStr[str]
|
|
937
|
+
"""
|
|
938
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
939
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
940
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
941
|
+
omitted during the forwarding process. This is particularly useful for
|
|
942
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
943
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
944
|
+
"""
|
|
945
|
+
|
|
946
|
+
forward_only_keys: SequenceNotStr[str]
|
|
947
|
+
"""
|
|
948
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
949
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
950
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
951
|
+
relevant information is passed along. This is particularly useful for security
|
|
952
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
953
|
+
being included in requests for media chunks.
|
|
954
|
+
"""
|
|
955
|
+
|
|
936
956
|
|
|
937
957
|
class OptionsRedirectHTTPToHTTPS(TypedDict, total=False):
|
|
938
958
|
enabled: Required[bool]
|
|
@@ -924,6 +924,26 @@ class OptionsQueryStringForwarding(TypedDict, total=False):
|
|
|
924
924
|
of the streaming session.
|
|
925
925
|
"""
|
|
926
926
|
|
|
927
|
+
forward_except_keys: SequenceNotStr[str]
|
|
928
|
+
"""
|
|
929
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
930
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
931
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
932
|
+
omitted during the forwarding process. This is particularly useful for
|
|
933
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
934
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
935
|
+
"""
|
|
936
|
+
|
|
937
|
+
forward_only_keys: SequenceNotStr[str]
|
|
938
|
+
"""
|
|
939
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
940
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
941
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
942
|
+
relevant information is passed along. This is particularly useful for security
|
|
943
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
944
|
+
being included in requests for media chunks.
|
|
945
|
+
"""
|
|
946
|
+
|
|
927
947
|
|
|
928
948
|
class OptionsRedirectHTTPToHTTPS(TypedDict, total=False):
|
|
929
949
|
enabled: Required[bool]
|
|
@@ -809,6 +809,26 @@ class OptionsQueryStringForwarding(BaseModel):
|
|
|
809
809
|
of the streaming session.
|
|
810
810
|
"""
|
|
811
811
|
|
|
812
|
+
forward_except_keys: Optional[List[str]] = None
|
|
813
|
+
"""
|
|
814
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
815
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
816
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
817
|
+
omitted during the forwarding process. This is particularly useful for
|
|
818
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
819
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
820
|
+
"""
|
|
821
|
+
|
|
822
|
+
forward_only_keys: Optional[List[str]] = None
|
|
823
|
+
"""
|
|
824
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
825
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
826
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
827
|
+
relevant information is passed along. This is particularly useful for security
|
|
828
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
829
|
+
being included in requests for media chunks.
|
|
830
|
+
"""
|
|
831
|
+
|
|
812
832
|
|
|
813
833
|
class OptionsRedirectHTTPToHTTPS(BaseModel):
|
|
814
834
|
enabled: bool
|
|
@@ -885,6 +885,26 @@ class OptionsQueryStringForwarding(TypedDict, total=False):
|
|
|
885
885
|
of the streaming session.
|
|
886
886
|
"""
|
|
887
887
|
|
|
888
|
+
forward_except_keys: SequenceNotStr[str]
|
|
889
|
+
"""
|
|
890
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
891
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
892
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
893
|
+
omitted during the forwarding process. This is particularly useful for
|
|
894
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
895
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
896
|
+
"""
|
|
897
|
+
|
|
898
|
+
forward_only_keys: SequenceNotStr[str]
|
|
899
|
+
"""
|
|
900
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
901
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
902
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
903
|
+
relevant information is passed along. This is particularly useful for security
|
|
904
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
905
|
+
being included in requests for media chunks.
|
|
906
|
+
"""
|
|
907
|
+
|
|
888
908
|
|
|
889
909
|
class OptionsRedirectHTTPToHTTPS(TypedDict, total=False):
|
|
890
910
|
enabled: Required[bool]
|
|
@@ -887,6 +887,26 @@ class OptionsQueryStringForwarding(TypedDict, total=False):
|
|
|
887
887
|
of the streaming session.
|
|
888
888
|
"""
|
|
889
889
|
|
|
890
|
+
forward_except_keys: SequenceNotStr[str]
|
|
891
|
+
"""
|
|
892
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
893
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
894
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
895
|
+
omitted during the forwarding process. This is particularly useful for
|
|
896
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
897
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
898
|
+
"""
|
|
899
|
+
|
|
900
|
+
forward_only_keys: SequenceNotStr[str]
|
|
901
|
+
"""
|
|
902
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
903
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
904
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
905
|
+
relevant information is passed along. This is particularly useful for security
|
|
906
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
907
|
+
being included in requests for media chunks.
|
|
908
|
+
"""
|
|
909
|
+
|
|
890
910
|
|
|
891
911
|
class OptionsRedirectHTTPToHTTPS(TypedDict, total=False):
|
|
892
912
|
enabled: Required[bool]
|
|
@@ -887,6 +887,26 @@ class OptionsQueryStringForwarding(TypedDict, total=False):
|
|
|
887
887
|
of the streaming session.
|
|
888
888
|
"""
|
|
889
889
|
|
|
890
|
+
forward_except_keys: SequenceNotStr[str]
|
|
891
|
+
"""
|
|
892
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
893
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
894
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
895
|
+
omitted during the forwarding process. This is particularly useful for
|
|
896
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
897
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
898
|
+
"""
|
|
899
|
+
|
|
900
|
+
forward_only_keys: SequenceNotStr[str]
|
|
901
|
+
"""
|
|
902
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
903
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
904
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
905
|
+
relevant information is passed along. This is particularly useful for security
|
|
906
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
907
|
+
being included in requests for media chunks.
|
|
908
|
+
"""
|
|
909
|
+
|
|
890
910
|
|
|
891
911
|
class OptionsRedirectHTTPToHTTPS(TypedDict, total=False):
|
|
892
912
|
enabled: Required[bool]
|
gcore/types/cdn/rule_template.py
CHANGED
|
@@ -809,6 +809,26 @@ class OptionsQueryStringForwarding(BaseModel):
|
|
|
809
809
|
of the streaming session.
|
|
810
810
|
"""
|
|
811
811
|
|
|
812
|
+
forward_except_keys: Optional[List[str]] = None
|
|
813
|
+
"""
|
|
814
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
815
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
816
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
817
|
+
omitted during the forwarding process. This is particularly useful for
|
|
818
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
819
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
820
|
+
"""
|
|
821
|
+
|
|
822
|
+
forward_only_keys: Optional[List[str]] = None
|
|
823
|
+
"""
|
|
824
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
825
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
826
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
827
|
+
relevant information is passed along. This is particularly useful for security
|
|
828
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
829
|
+
being included in requests for media chunks.
|
|
830
|
+
"""
|
|
831
|
+
|
|
812
832
|
|
|
813
833
|
class OptionsRedirectHTTPToHTTPS(BaseModel):
|
|
814
834
|
enabled: bool
|
|
@@ -869,6 +869,26 @@ class OptionsQueryStringForwarding(TypedDict, total=False):
|
|
|
869
869
|
of the streaming session.
|
|
870
870
|
"""
|
|
871
871
|
|
|
872
|
+
forward_except_keys: SequenceNotStr[str]
|
|
873
|
+
"""
|
|
874
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
875
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
876
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
877
|
+
omitted during the forwarding process. This is particularly useful for
|
|
878
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
879
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
880
|
+
"""
|
|
881
|
+
|
|
882
|
+
forward_only_keys: SequenceNotStr[str]
|
|
883
|
+
"""
|
|
884
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
885
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
886
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
887
|
+
relevant information is passed along. This is particularly useful for security
|
|
888
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
889
|
+
being included in requests for media chunks.
|
|
890
|
+
"""
|
|
891
|
+
|
|
872
892
|
|
|
873
893
|
class OptionsRedirectHTTPToHTTPS(TypedDict, total=False):
|
|
874
894
|
enabled: Required[bool]
|
|
@@ -869,6 +869,26 @@ class OptionsQueryStringForwarding(TypedDict, total=False):
|
|
|
869
869
|
of the streaming session.
|
|
870
870
|
"""
|
|
871
871
|
|
|
872
|
+
forward_except_keys: SequenceNotStr[str]
|
|
873
|
+
"""
|
|
874
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
875
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
876
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
877
|
+
omitted during the forwarding process. This is particularly useful for
|
|
878
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
879
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
880
|
+
"""
|
|
881
|
+
|
|
882
|
+
forward_only_keys: SequenceNotStr[str]
|
|
883
|
+
"""
|
|
884
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
885
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
886
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
887
|
+
relevant information is passed along. This is particularly useful for security
|
|
888
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
889
|
+
being included in requests for media chunks.
|
|
890
|
+
"""
|
|
891
|
+
|
|
872
892
|
|
|
873
893
|
class OptionsRedirectHTTPToHTTPS(TypedDict, total=False):
|
|
874
894
|
enabled: Required[bool]
|
|
@@ -869,6 +869,26 @@ class OptionsQueryStringForwarding(TypedDict, total=False):
|
|
|
869
869
|
of the streaming session.
|
|
870
870
|
"""
|
|
871
871
|
|
|
872
|
+
forward_except_keys: SequenceNotStr[str]
|
|
873
|
+
"""
|
|
874
|
+
The `forward_except_keys` field provides a mechanism to exclude specific
|
|
875
|
+
parameters from being forwarded from playlist files to media chunk files. By
|
|
876
|
+
listing certain keys in this field, you can ensure that these parameters are
|
|
877
|
+
omitted during the forwarding process. This is particularly useful for
|
|
878
|
+
preventing sensitive or irrelevant information from being included in requests
|
|
879
|
+
for media chunks, thereby enhancing security and optimizing performance.
|
|
880
|
+
"""
|
|
881
|
+
|
|
882
|
+
forward_only_keys: SequenceNotStr[str]
|
|
883
|
+
"""
|
|
884
|
+
The `forward_only_keys` field allows for granular control over which specific
|
|
885
|
+
parameters are forwarded from playlist files to media chunk files. By specifying
|
|
886
|
+
certain keys, only those parameters will be propagated, ensuring that only
|
|
887
|
+
relevant information is passed along. This is particularly useful for security
|
|
888
|
+
and performance optimization, as it prevents unnecessary or sensitive data from
|
|
889
|
+
being included in requests for media chunks.
|
|
890
|
+
"""
|
|
891
|
+
|
|
872
892
|
|
|
873
893
|
class OptionsRedirectHTTPToHTTPS(TypedDict, total=False):
|
|
874
894
|
enabled: Required[bool]
|