Skip to content

Commit 20b7a43

Browse files
Generator: Update SDK /services/cdn (#3696)
Co-authored-by: Ruben Hoenle <[email protected]>
1 parent 0a623df commit 20b7a43

File tree

146 files changed

+2938
-1319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+2938
-1319
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,32 @@
2828
- **Feature:** Add support for list runner labels operation
2929
- new API client methods `ListRunnerLabels` and `ListRunnerLabelsExecute`
3030
- new model struct `RunnerLabel`
31+
- `cdn`: [v2.0.0](services/cdn/CHANGELOG.md#v200)
32+
- **Feature:** Switch from `v1beta` CDN API version to `v1beta2` version.
33+
- **Breaking change:** Changed spelling from `WAF` to `Waf` in model struct names
34+
- `WAFStatusRuleBlock` -> `WafStatusRuleBlock`
35+
- `WAFRuleGroup` -> `WafRuleGroup`
36+
- `WAFRuleCollection` -> `WafRuleCollection`
37+
- `WAFRule` -> `WafRule`
38+
- `NullableListWAFCollectionsResponse` -> `NullableListWafCollectionsResponse`
39+
- **Breaking change:** Changed spelling from model struct named `GenericJSONResponse` to `GenericJsonResponse`
40+
- **Breaking change:** Removal of fields from model structs
41+
- Remove `Description` field from `ErrorDetails` model struct
42+
- Remove `Domain` field from `PutCustomDomainResponse` and `GetCustomDomainResponse` model structs
43+
- Remove `OccuredAt` field from `GetCacheInfoResponseHistoryEntry` model struct
44+
- **Breaking change:** Renaming of fields in model structs
45+
- Rename `DistributionID` field to `DistributionId` in `DistributionLogsRecord` model struct
46+
- Rename `BlockedIPs` field to `BlockedIps` in `CreateDistributionPayload`, `ConfigPatch` and `Config` model structs
47+
- **Breaking change:** Removal of API client methods `GetLogsSearchFilters`, `GetLogsSearchFiltersExecute`
48+
- **Breaking change:** Removal of request structs `GetLogsSearchFiltersRequest`
49+
- **Feature:** Add fields to model structs
50+
- Add `Backend` field to `CreateDistributionPayload` model struct
51+
- Add `BucketBackend` field to `ConfigBackend` model struct
52+
- Add `BucketBackendPatch` field to `ConfigPatchBackend` model struct
53+
- **Feature:** New model structs
54+
- New Loki model structs: `LokiLogSinkCredentials`, `LokiLogSinkCreate`, `LokiLogSinkPatch`
55+
- New Backend model structs: `HttpBackendCreate`, `BucketBackendCreate`, `BucketBackend`, `BucketBackendPatch`, `CreateDistributionPayloadBackend`
56+
- Other new model structs: `BucketCredentials`
3157

3258
## Release (2025-10-13)
3359
- `observability`: [v0.15.0](services/observability/CHANGELOG.md#v0150)

services/cdn/CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
## v2.0.0
2+
- **Feature:** Switch from `v1beta` CDN API version to `v1beta2` version.
3+
- **Breaking change:** Changed spelling from `WAF` to `Waf` in model struct names
4+
- `WAFStatusRuleBlock` -> `WafStatusRuleBlock`
5+
- `WAFRuleGroup` -> `WafRuleGroup`
6+
- `WAFRuleCollection` -> `WafRuleCollection`
7+
- `WAFRule` -> `WafRule`
8+
- `NullableListWAFCollectionsResponse` -> `NullableListWafCollectionsResponse`
9+
- **Breaking change:** Changed spelling from model struct named `GenericJSONResponse` to `GenericJsonResponse`
10+
- **Breaking change:** Removal of fields from model structs
11+
- Remove `Description` field from `ErrorDetails` model struct
12+
- Remove `Domain` field from `PutCustomDomainResponse` and `GetCustomDomainResponse` model structs
13+
- Remove `OccuredAt` field from `GetCacheInfoResponseHistoryEntry` model struct
14+
- **Breaking change:** Renaming of fields in model structs
15+
- Rename `DistributionID` field to `DistributionId` in `DistributionLogsRecord` model struct
16+
- Rename `BlockedIPs` field to `BlockedIps` in `CreateDistributionPayload`, `ConfigPatch` and `Config` model structs
17+
- **Breaking change:** Removal of API client methods `GetLogsSearchFilters`, `GetLogsSearchFiltersExecute`
18+
- **Breaking change:** Removal of request structs `GetLogsSearchFiltersRequest`
19+
- **Feature:** Add fields to model structs
20+
- Add `Backend` field to `CreateDistributionPayload` model struct
21+
- Add `BucketBackend` field to `ConfigBackend` model struct
22+
- Add `BucketBackendPatch` field to `ConfigPatchBackend` model struct
23+
- **Feature:** New model structs
24+
- New Loki model structs: `LokiLogSinkCredentials`, `LokiLogSinkCreate`, `LokiLogSinkPatch`
25+
- New Backend model structs: `HttpBackendCreate`, `BucketBackendCreate`, `BucketBackend`, `BucketBackendPatch`, `CreateDistributionPayloadBackend`
26+
- Other new model structs: `BucketCredentials`
27+
128
## v1.6.0
229
- **Feature:** Add models: `DistributionWaf`, `WafConfig`, `WAFConfigPatch`, `WAFMode`, `WAFRule`, `WAFRuleCollection`, `WAFRuleGroup` and `WAFStatusRuleBlock`
330
- **Feature:** Add `Waf` attribute to `Config` and `Distribution`

services/cdn/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.6.0
1+
v2.0.0

services/cdn/api_default.go

Lines changed: 133 additions & 346 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/cdn/api_default_test.go

Lines changed: 17 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/cdn/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/cdn/configuration.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)