Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.32.0"
".": "0.33.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 645
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-afac9651736e871ab5942174b1c2b741d31f17c1f4ac61e78f0000f1b3fd8d09.yml
openapi_spec_hash: 9c57a763b4c6b82b581defdcaf5f52df
config_hash: 7552912a8ca7c67b43b97f51b67a5ae7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-9259165aabf370bac0e114d6934e471a5ac10c13bbd4bb8e3a868ab3ac04c1b0.yml
openapi_spec_hash: ae218d74dd0778c09d4ea5f932519e56
config_hash: bc578a7de14c42e33b7d4bd4502218f2
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 0.33.0 (2026-02-13)

Full Changelog: [v0.32.0...v0.33.0](https://github.com/G-Core/gcore-python/compare/v0.32.0...v0.33.0)

### Features

* **api:** aggregated API specs update ([d6b782c](https://github.com/G-Core/gcore-python/commit/d6b782c24f6534edc3c2013d644e0d5f9fdffac5))
* **api:** revert(cdn): remove client_config subresource ([#207](https://github.com/G-Core/gcore-python/issues/207)) ([6bc418a](https://github.com/G-Core/gcore-python/commit/6bc418acdcfed56957b6c571ee2f6f29efa3663e))
* **cdn:** add client_config subresource for terraform ([5359417](https://github.com/G-Core/gcore-python/commit/535941718238395cdfc524c0bc5b59b4109fd8d1))


### Chores

* format all `api.md` files ([6f7ec77](https://github.com/G-Core/gcore-python/commit/6f7ec778e65dce7a413619b85df204268f26d178))

## 0.32.0 (2026-02-11)

Full Changelog: [v0.31.0...v0.32.0](https://github.com/G-Core/gcore-python/compare/v0.31.0...v0.32.0)
Expand Down
2,580 changes: 9 additions & 2,571 deletions api.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gcore"
version = "0.32.0"
version = "0.33.0"
description = "The official Python library for the gcore API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down Expand Up @@ -71,7 +71,7 @@ format = { chain = [
# run formatting again to fix any inconsistencies when imports are stripped
"format:ruff",
]}
"format:docs" = "python scripts/utils/ruffen-docs.py README.md api.md"
"format:docs" = "bash -c 'python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)'"
"format:ruff" = "ruff format"

"lint" = { chain = [
Expand Down
2 changes: 1 addition & 1 deletion src/gcore/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "gcore"
__version__ = "0.32.0" # x-release-please-version
__version__ = "0.33.0" # x-release-please-version
308 changes: 308 additions & 0 deletions src/gcore/resources/cdn/api.md

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions src/gcore/resources/cdn/logs_uploader/policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def create(
format_type: Literal["json", ""] | Omit = omit,
include_empty_logs: bool | Omit = omit,
include_shield_logs: bool | Omit = omit,
log_sample_rate: float | Omit = omit,
name: str | Omit = omit,
retry_interval_minutes: int | Omit = omit,
rotate_interval_minutes: int | Omit = omit,
Expand Down Expand Up @@ -116,6 +117,14 @@ def create(

include_shield_logs: Include logs from origin shielding in the upload.

log_sample_rate: Sampling rate for logs. A value between 0 and 1 that determines the fraction of
log entries to collect.

- **1** - collect all logs (default).
- **0.5** - collect approximately 50% of logs.
- **0** - collect no logs (effectively disables logging without removing the
policy).

name: Name of the policy.

retry_interval_minutes: Interval in minutes to retry failed uploads.
Expand Down Expand Up @@ -152,6 +161,7 @@ def create(
"format_type": format_type,
"include_empty_logs": include_empty_logs,
"include_shield_logs": include_shield_logs,
"log_sample_rate": log_sample_rate,
"name": name,
"retry_interval_minutes": retry_interval_minutes,
"rotate_interval_minutes": rotate_interval_minutes,
Expand Down Expand Up @@ -181,6 +191,7 @@ def update(
format_type: Literal["json", ""] | Omit = omit,
include_empty_logs: bool | Omit = omit,
include_shield_logs: bool | Omit = omit,
log_sample_rate: float | Omit = omit,
name: str | Omit = omit,
retry_interval_minutes: int | Omit = omit,
rotate_interval_minutes: int | Omit = omit,
Expand Down Expand Up @@ -233,6 +244,14 @@ def update(

include_shield_logs: Include logs from origin shielding in the upload.

log_sample_rate: Sampling rate for logs. A value between 0 and 1 that determines the fraction of
log entries to collect.

- **1** - collect all logs (default).
- **0.5** - collect approximately 50% of logs.
- **0** - collect no logs (effectively disables logging without removing the
policy).

name: Name of the policy.

retry_interval_minutes: Interval in minutes to retry failed uploads.
Expand Down Expand Up @@ -269,6 +288,7 @@ def update(
"format_type": format_type,
"include_empty_logs": include_empty_logs,
"include_shield_logs": include_shield_logs,
"log_sample_rate": log_sample_rate,
"name": name,
"retry_interval_minutes": retry_interval_minutes,
"rotate_interval_minutes": rotate_interval_minutes,
Expand Down Expand Up @@ -431,6 +451,7 @@ def replace(
format_type: Literal["json", ""] | Omit = omit,
include_empty_logs: bool | Omit = omit,
include_shield_logs: bool | Omit = omit,
log_sample_rate: float | Omit = omit,
name: str | Omit = omit,
retry_interval_minutes: int | Omit = omit,
rotate_interval_minutes: int | Omit = omit,
Expand Down Expand Up @@ -483,6 +504,14 @@ def replace(

include_shield_logs: Include logs from origin shielding in the upload.

log_sample_rate: Sampling rate for logs. A value between 0 and 1 that determines the fraction of
log entries to collect.

- **1** - collect all logs (default).
- **0.5** - collect approximately 50% of logs.
- **0** - collect no logs (effectively disables logging without removing the
policy).

name: Name of the policy.

retry_interval_minutes: Interval in minutes to retry failed uploads.
Expand Down Expand Up @@ -519,6 +548,7 @@ def replace(
"format_type": format_type,
"include_empty_logs": include_empty_logs,
"include_shield_logs": include_shield_logs,
"log_sample_rate": log_sample_rate,
"name": name,
"retry_interval_minutes": retry_interval_minutes,
"rotate_interval_minutes": rotate_interval_minutes,
Expand Down Expand Up @@ -568,6 +598,7 @@ async def create(
format_type: Literal["json", ""] | Omit = omit,
include_empty_logs: bool | Omit = omit,
include_shield_logs: bool | Omit = omit,
log_sample_rate: float | Omit = omit,
name: str | Omit = omit,
retry_interval_minutes: int | Omit = omit,
rotate_interval_minutes: int | Omit = omit,
Expand Down Expand Up @@ -620,6 +651,14 @@ async def create(

include_shield_logs: Include logs from origin shielding in the upload.

log_sample_rate: Sampling rate for logs. A value between 0 and 1 that determines the fraction of
log entries to collect.

- **1** - collect all logs (default).
- **0.5** - collect approximately 50% of logs.
- **0** - collect no logs (effectively disables logging without removing the
policy).

name: Name of the policy.

retry_interval_minutes: Interval in minutes to retry failed uploads.
Expand Down Expand Up @@ -656,6 +695,7 @@ async def create(
"format_type": format_type,
"include_empty_logs": include_empty_logs,
"include_shield_logs": include_shield_logs,
"log_sample_rate": log_sample_rate,
"name": name,
"retry_interval_minutes": retry_interval_minutes,
"rotate_interval_minutes": rotate_interval_minutes,
Expand Down Expand Up @@ -685,6 +725,7 @@ async def update(
format_type: Literal["json", ""] | Omit = omit,
include_empty_logs: bool | Omit = omit,
include_shield_logs: bool | Omit = omit,
log_sample_rate: float | Omit = omit,
name: str | Omit = omit,
retry_interval_minutes: int | Omit = omit,
rotate_interval_minutes: int | Omit = omit,
Expand Down Expand Up @@ -737,6 +778,14 @@ async def update(

include_shield_logs: Include logs from origin shielding in the upload.

log_sample_rate: Sampling rate for logs. A value between 0 and 1 that determines the fraction of
log entries to collect.

- **1** - collect all logs (default).
- **0.5** - collect approximately 50% of logs.
- **0** - collect no logs (effectively disables logging without removing the
policy).

name: Name of the policy.

retry_interval_minutes: Interval in minutes to retry failed uploads.
Expand Down Expand Up @@ -773,6 +822,7 @@ async def update(
"format_type": format_type,
"include_empty_logs": include_empty_logs,
"include_shield_logs": include_shield_logs,
"log_sample_rate": log_sample_rate,
"name": name,
"retry_interval_minutes": retry_interval_minutes,
"rotate_interval_minutes": rotate_interval_minutes,
Expand Down Expand Up @@ -935,6 +985,7 @@ async def replace(
format_type: Literal["json", ""] | Omit = omit,
include_empty_logs: bool | Omit = omit,
include_shield_logs: bool | Omit = omit,
log_sample_rate: float | Omit = omit,
name: str | Omit = omit,
retry_interval_minutes: int | Omit = omit,
rotate_interval_minutes: int | Omit = omit,
Expand Down Expand Up @@ -987,6 +1038,14 @@ async def replace(

include_shield_logs: Include logs from origin shielding in the upload.

log_sample_rate: Sampling rate for logs. A value between 0 and 1 that determines the fraction of
log entries to collect.

- **1** - collect all logs (default).
- **0.5** - collect approximately 50% of logs.
- **0** - collect no logs (effectively disables logging without removing the
policy).

name: Name of the policy.

retry_interval_minutes: Interval in minutes to retry failed uploads.
Expand Down Expand Up @@ -1023,6 +1082,7 @@ async def replace(
"format_type": format_type,
"include_empty_logs": include_empty_logs,
"include_shield_logs": include_shield_logs,
"log_sample_rate": log_sample_rate,
"name": name,
"retry_interval_minutes": retry_interval_minutes,
"rotate_interval_minutes": rotate_interval_minutes,
Expand Down
Loading