You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,9 @@ See the [v7.7.0 Migration Guide](./docs/migration-guides/v7.7.0-migration-guide.
17
17
18
18
These fields were unreadable in the previous type (marshaling panicked with `reflect: call of reflect.Value.SetString on struct Value`). The new `interface{}` type matches the codegen pattern used by sibling merged fields on the same structs (e.g. `Values`, `Fields`, `AllowedMicrosoftOrganizations`); callers should switch on the parent union via `AsUnion()` for a strongly-typed variant.
19
19
20
+
* **zero_trust:** `Devices.DEXTests.{New,Update,List,Get}` response type renamed from `DeviceDEXTest{New,Update,List,Get}Response` to the shared `SchemaHTTP`; field structure unchanged. Nested types renamed accordingly (e.g. `DeviceDEXTestNewResponseData` → `SchemaData`, `DeviceDEXTestNewResponseTargetPolicy` → `SchemaHTTPTargetPolicy`). Callers using `:=` inference and field access continue to compile; callers referencing the removed type names must update to `SchemaHTTP`.
21
+
* **zero_trust:** `Devices.IPProfiles.List` pagination changed from `pagination.SinglePage[IPProfile]` to `pagination.V4PagePaginationArray[IPProfile]`. `.Result` field access and `ListAutoPaging()` iteration continue to work; callers referencing the pagination type by name must update.
Copy file name to clipboardExpand all lines: docs/migration-guides/v7.7.0-migration-guide.md
+75Lines changed: 75 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,8 +158,83 @@ if s, ok := meta.Mode.(ai_gateway.AIGatewayNewResponseSpendLimitsRulesMetadataMo
158
158
159
159
---
160
160
161
+
### `zero_trust`
162
+
163
+
#### 4. Devices.DEXTests response type renamed to SchemaHTTP
164
+
165
+
**What changed:**
166
+
The response types for the four `zero_trust.Devices.DEXTests` methods have been renamed from per-method types to a single shared type, `SchemaHTTP`. The **field structure is unchanged** — only the exported type names differ.
167
+
168
+
**Removed Types:**
169
+
-`DeviceDEXTestNewResponse`
170
+
-`DeviceDEXTestUpdateResponse`
171
+
-`DeviceDEXTestListResponse`
172
+
-`DeviceDEXTestGetResponse`
173
+
- Nested types: `DeviceDEXTestNewResponseData`, `DeviceDEXTestNewResponseTargetPolicy`, and their `Update`/`List`/`Get` counterparts (renamed to `SchemaData`, `SchemaHTTPTargetPolicy`).
174
+
175
+
**Impact:**
176
+
- Code using `:=` type inference and field access (`res.Enabled`, `res.Name`, etc.) continues to compile unchanged.
177
+
- Code that references the removed type names directly — e.g., declaring a typed variable, passing to a helper function with a typed parameter, or type-switching — will no longer compile.
1. Search for `pagination.SinglePage[zero_trust.IPProfile]` (and `SinglePageAutoPager[zero_trust.IPProfile]`) and replace with `V4PagePaginationArray[...]` / `V4PagePaginationArrayAutoPager[...]`.
0 commit comments