Repository: cloudflare/cloudflare-go
Pull request #1735 (2024-04-10 10:46:06)

feat(api): update via SDK Studio


Patch:
diff --git a/api.md b/api.md
index 9e26ee36c..a1178a922 100644
--- a/api.md
+++ b/api.md
@@ -4674,6 +4674,7 @@ Methods:
 
 Response Types:
 
+- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#UserPolicyCheckGeo">UserPolicyCheckGeo</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#AccessApplicationUserPolicyCheckListResponse">AccessApplicationUserPolicyCheckListResponse</a>
 
 Methods:
@@ -4890,9 +4891,9 @@ Methods:
 
 Response Types:
 
+- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#DeviceExperienceMonitor">DeviceExperienceMonitor</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#NetworkPath">NetworkPath</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#Percentiles">Percentiles</a>
-- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11">UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11</a>
 
 ### Colos
 
@@ -5225,10 +5226,10 @@ Params Types:
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#CustomCertificateSettingsParam">CustomCertificateSettingsParam</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#ExtendedEmailMatchingParam">ExtendedEmailMatchingParam</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#FipsSettingsParam">FipsSettingsParam</a>
+- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#GatewayConfigurationSettingsParam">GatewayConfigurationSettingsParam</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#NotificationSettingsParam">NotificationSettingsParam</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#ProtocolDetectionParam">ProtocolDetectionParam</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#TLSSettingsParam">TLSSettingsParam</a>
-- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam">UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam</a>
 
 Response Types:
 
@@ -5240,10 +5241,10 @@ Response Types:
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#CustomCertificateSettings">CustomCertificateSettings</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#ExtendedEmailMatching">ExtendedEmailMatching</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#FipsSettings">FipsSettings</a>
+- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#GatewayConfigurationSettings">GatewayConfigurationSettings</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#NotificationSettings">NotificationSettings</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#ProtocolDetection">ProtocolDetection</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#TLSSettings">TLSSettings</a>
-- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e">UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#GatewayConfigurationUpdateResponse">GatewayConfigurationUpdateResponse</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#GatewayConfigurationEditResponse">GatewayConfigurationEditResponse</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#GatewayConfigurationGetResponse">GatewayConfigurationGetResponse</a>
@@ -5310,12 +5311,10 @@ Methods:
 Params Types:
 
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#LoggingSettingParam">LoggingSettingParam</a>
-- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam">UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam</a>
 
 Response Types:
 
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#LoggingSetting">LoggingSetting</a>
-- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b">UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b</a>
 
 Methods:
 
@@ -5547,7 +5546,7 @@ Methods:
 
 Response Types:
 
-- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/url_scanner">url_scanner</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/url_scanner#UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6">UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6</a>
+- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/url_scanner">url_scanner</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/url_scanner#URLScannerDomain">URLScannerDomain</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/url_scanner">url_scanner</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/url_scanner#ScanNewResponse">ScanNewResponse</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/url_scanner">url_scanner</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/url_scanner#ScanGetResponse">ScanGetResponse</a>
 - <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/url_scanner">url_scanner</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/url_scanner#ScanHarResponse">ScanHarResponse</a>
diff --git a/url_scanner/scan.go b/url_scanner/scan.go
index 93a885847..a1ea7fa50 100644
--- a/url_scanner/scan.go
+++ b/url_scanner/scan.go
@@ -85,16 +85,16 @@ func (r *ScanService) Screenshot(ctx context.Context, accountID string, scanID s
 	return
 }
 
-type UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6 struct {
-	ID              int64                                                `json:"id,required"`
-	Name            string                                               `json:"name,required"`
-	SuperCategoryID int64                                                `json:"super_category_id"`
-	JSON            unnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6JSON `json:"-"`
+type URLScannerDomain struct {
+	ID              int64                `json:"id,required"`
+	Name            string               `json:"name,required"`
+	SuperCategoryID int64                `json:"super_category_id"`
+	JSON            urlScannerDomainJSON `json:"-"`
 }
 
-// unnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6JSON contains the JSON metadata
-// for the struct [UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6]
-type unnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6JSON struct {
+// urlScannerDomainJSON contains the JSON metadata for the struct
+// [URLScannerDomain]
+type urlScannerDomainJSON struct {
 	ID              apijson.Field
 	Name            apijson.Field
 	SuperCategoryID apijson.Field
@@ -102,11 +102,11 @@ type unnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6JSON struct {
 	ExtraFields     map[string]apijson.Field
 }
 
-func (r *UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6) UnmarshalJSON(data []byte) (err error) {
+func (r *URLScannerDomain) UnmarshalJSON(data []byte) (err error) {
 	return apijson.UnmarshalRoot(data, r)
 }
 
-func (r unnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6JSON) RawJSON() string {
+func (r urlScannerDomainJSON) RawJSON() string {
 	return r.raw
 }
 
@@ -303,9 +303,9 @@ func (r scanGetResponseScanMetaProcessorsJSON) RawJSON() string {
 }
 
 type ScanGetResponseScanMetaProcessorsCategories struct {
-	Content []UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6 `json:"content,required"`
-	Risks   []ScanGetResponseScanMetaProcessorsCategoriesRisk  `json:"risks,required"`
-	JSON    scanGetResponseScanMetaProcessorsCategoriesJSON    `json:"-"`
+	Content []URLScannerDomain                                `json:"content,required"`
+	Risks   []ScanGetResponseScanMetaProcessorsCategoriesRisk `json:"risks,required"`
+	JSON    scanGetResponseScanMetaProcessorsCategoriesJSON   `json:"-"`
 }
 
 // scanGetResponseScanMetaProcessorsCategoriesJSON contains the JSON metadata for
@@ -1091,8 +1091,8 @@ func (r scanGetResponseScanDomainsExampleComJSON) RawJSON() string {
 
 type ScanGetResponseScanDomainsExampleComCategories struct {
 	Inherited ScanGetResponseScanDomainsExampleComCategoriesInherited `json:"inherited,required"`
-	Content   []UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6      `json:"content"`
-	Risks     []UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6      `json:"risks"`
+	Content   []URLScannerDomain                                      `json:"content"`
+	Risks     []URLScannerDomain                                      `json:"risks"`
 	JSON      scanGetResponseScanDomainsExampleComCategoriesJSON      `json:"-"`
 }
 
@@ -1115,9 +1115,9 @@ func (r scanGetResponseScanDomainsExampleComCategoriesJSON) RawJSON() string {
 }
 
 type ScanGetResponseScanDomainsExampleComCategoriesInherited struct {
-	Content []UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6          `json:"content"`
+	Content []URLScannerDomain                                          `json:"content"`
 	From    string                                                      `json:"from"`
-	Risks   []UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6          `json:"risks"`
+	Risks   []URLScannerDomain                                          `json:"risks"`
 	JSON    scanGetResponseScanDomainsExampleComCategoriesInheritedJSON `json:"-"`
 }
 
diff --git a/zero_trust/accessapplicationuserpolicycheck.go b/zero_trust/accessapplicationuserpolicycheck.go
index 6076fd637..d0e9c81fa 100644
--- a/zero_trust/accessapplicationuserpolicycheck.go
+++ b/zero_trust/accessapplicationuserpolicycheck.go
@@ -54,6 +54,27 @@ func (r *AccessApplicationUserPolicyCheckService) List(ctx context.Context, appI
 	return
 }
 
+type UserPolicyCheckGeo struct {
+	Country string                 `json:"country"`
+	JSON    userPolicyCheckGeoJSON `json:"-"`
+}
+
+// userPolicyCheckGeoJSON contains the JSON metadata for the struct
+// [UserPolicyCheckGeo]
+type userPolicyCheckGeoJSON struct {
+	Country     apijson.Field
+	raw         string
+	ExtraFields map[string]apijson.Field
+}
+
+func (r *UserPolicyCheckGeo) UnmarshalJSON(data []byte) (err error) {
+	return apijson.UnmarshalRoot(data, r)
+}
+
+func (r userPolicyCheckGeoJSON) RawJSON() string {
+	return r.raw
+}
+
 type AccessApplicationUserPolicyCheckListResponse struct {
 	AppState     AccessApplicationUserPolicyCheckListResponseAppState     `json:"app_state"`
 	UserIdentity AccessApplicationUserPolicyCheckListResponseUserIdentity `json:"user_identity"`
@@ -110,15 +131,15 @@ func (r accessApplicationUserPolicyCheckListResponseAppStateJSON) RawJSON() stri
 }
 
 type AccessApplicationUserPolicyCheckListResponseUserIdentity struct {
-	ID             string                                                      `json:"id"`
-	AccountID      string                                                      `json:"account_id"`
-	DeviceSessions interface{}                                                 `json:"device_sessions"`
-	Email          string                                                      `json:"email"`
-	Geo            AccessApplicationUserPolicyCheckListResponseUserIdentityGeo `json:"geo"`
-	Iat            int64                                                       `json:"iat"`
-	IsGateway      bool                                                        `json:"is_gateway"`
-	IsWARP         bool                                                        `json:"is_warp"`
-	Name           string                                                      `json:"name"`
+	ID             string             `json:"id"`
+	AccountID      string             `json:"account_id"`
+	DeviceSessions interface{}        `json:"device_sessions"`
+	Email          string             `json:"email"`
+	Geo            UserPolicyCheckGeo `json:"geo"`
+	Iat            int64              `json:"iat"`
+	IsGateway      bool               `json:"is_gateway"`
+	IsWARP         bool               `json:"is_warp"`
+	Name           string             `json:"name"`
 	// UUID
 	UserUUID string                                                       `json:"user_uuid"`
 	Version  int64                                                        `json:"version"`
@@ -152,28 +173,6 @@ func (r accessApplicationUserPolicyCheckListResponseUserIdentityJSON) RawJSON()
 	return r.raw
 }
 
-type AccessApplicationUserPolicyCheckListResponseUserIdentityGeo struct {
-	Country string                                                          `json:"country"`
-	JSON    accessApplicationUserPolicyCheckListResponseUserIdentityGeoJSON `json:"-"`
-}
-
-// accessApplicationUserPolicyCheckListResponseUserIdentityGeoJSON contains the
-// JSON metadata for the struct
-// [AccessApplicationUserPolicyCheckListResponseUserIdentityGeo]
-type accessApplicationUserPolicyCheckListResponseUserIdentityGeoJSON struct {
-	Country     apijson.Field
-	raw         string
-	ExtraFields map[string]apijson.Field
-}
-
-func (r *AccessApplicationUserPolicyCheckListResponseUserIdentityGeo) UnmarshalJSON(data []byte) (err error) {
-	return apijson.UnmarshalRoot(data, r)
-}
-
-func (r accessApplicationUserPolicyCheckListResponseUserIdentityGeoJSON) RawJSON() string {
-	return r.raw
-}
-
 type AccessApplicationUserPolicyCheckListParams struct {
 	// The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
 	AccountID param.Field[string] `path:"account_id"`
diff --git a/zero_trust/accessuseractivesession.go b/zero_trust/accessuseractivesession.go
index 973208bb2..a62cbc1a7 100644
--- a/zero_trust/accessuseractivesession.go
+++ b/zero_trust/accessuseractivesession.go
@@ -157,7 +157,7 @@ type AccessUserActiveSessionGetResponse struct {
 	DeviceSessions     map[string]AccessUserActiveSessionGetResponseDeviceSession `json:"device_sessions"`
 	DevicePosture      map[string]AccessUserActiveSessionGetResponseDevicePosture `json:"devicePosture"`
 	Email              string                                                     `json:"email"`
-	Geo                AccessUserActiveSessionGetResponseGeo                      `json:"geo"`
+	Geo                UserPolicyCheckGeo                                         `json:"geo"`
 	Iat                float64                                                    `json:"iat"`
 	IDP                AccessUserActiveSessionGetResponseIDP                      `json:"idp"`
 	IP                 string                                                     `json:"ip"`
@@ -287,27 +287,6 @@ func (r accessUserActiveSessionGetResponseDevicePostureCheckJSON) RawJSON() stri
 	return r.raw
 }
 
-type AccessUserActiveSessionGetResponseGeo struct {
-	Country string                                    `json:"country"`
-	JSON    accessUserActiveSessionGetResponseGeoJSON `json:"-"`
-}
-
-// accessUserActiveSessionGetResponseGeoJSON contains the JSON metadata for the
-// struct [AccessUserActiveSessionGetResponseGeo]
-type accessUserActiveSessionGetResponseGeoJSON struct {
-	Country     apijson.Field
-	raw         string
-	ExtraFields map[string]apijson.Field
-}
-
-func (r *AccessUserActiveSessionGetResponseGeo) UnmarshalJSON(data []byte) (err error) {
-	return apijson.UnmarshalRoot(data, r)
-}
-
-func (r accessUserActiveSessionGetResponseGeoJSON) RawJSON() string {
-	return r.raw
-}
-
 type AccessUserActiveSessionGetResponseIDP struct {
 	ID   string                                    `json:"id"`
 	Type string                                    `json:"type"`
diff --git a/zero_trust/accessuserlastseenidentity.go b/zero_trust/accessuserlastseenidentity.go
index c6c9b5dff..4949df6c6 100644
--- a/zero_trust/accessuserlastseenidentity.go
+++ b/zero_trust/accessuserlastseenidentity.go
@@ -52,7 +52,7 @@ type Identity struct {
 	DeviceSessions     map[string]IdentityDeviceSession `json:"device_sessions"`
 	DevicePosture      map[string]IdentityDevicePosture `json:"devicePosture"`
 	Email              string                           `json:"email"`
-	Geo                IdentityGeo                      `json:"geo"`
+	Geo                UserPolicyCheckGeo               `json:"geo"`
 	Iat                float64                          `json:"iat"`
 	IDP                IdentityIDP                      `json:"idp"`
 	IP                 string                           `json:"ip"`
@@ -179,26 +179,6 @@ func (r identityDevicePostureCheckJSON) RawJSON() string {
 	return r.raw
 }
 
-type IdentityGeo struct {
-	Country string          `json:"country"`
-	JSON    identityGeoJSON `json:"-"`
-}
-
-// identityGeoJSON contains the JSON metadata for the struct [IdentityGeo]
-type identityGeoJSON struct {
-	Country     apijson.Field
-	raw         string
-	ExtraFields map[string]apijson.Field
-}
-
-func (r *IdentityGeo) UnmarshalJSON(data []byte) (err error) {
-	return apijson.UnmarshalRoot(data, r)
-}
-
-func (r identityGeoJSON) RawJSON() string {
-	return r.raw
-}
-
 type IdentityIDP struct {
 	ID   string          `json:"id"`
 	Type string          `json:"type"`
diff --git a/zero_trust/dex.go b/zero_trust/dex.go
index b0c561a59..7f9a503bf 100644
--- a/zero_trust/dex.go
+++ b/zero_trust/dex.go
@@ -36,6 +36,32 @@ func NewDEXService(opts ...option.RequestOption) (r *DEXService) {
 	return
 }
 
+type DeviceExperienceMonitor struct {
+	ID string `json:"id,required"`
+	// Whether the policy is the default for the account
+	Default bool                        `json:"default,required"`
+	Name    string                      `json:"name,required"`
+	JSON    deviceExperienceMonitorJSON `json:"-"`
+}
+
+// deviceExperienceMonitorJSON contains the JSON metadata for the struct
+// [DeviceExperienceMonitor]
+type deviceExperienceMonitorJSON struct {
+	ID          apijson.Field
+	Default     apijson.Field
+	Name        apijson.Field
+	raw         string
+	ExtraFields map[string]apijson.Field
+}
+
+func (r *DeviceExperienceMonitor) UnmarshalJSON(data []byte) (err error) {
+	return apijson.UnmarshalRoot(data, r)
+}
+
+func (r deviceExperienceMonitorJSON) RawJSON() string {
+	return r.raw
+}
+
 type NetworkPath struct {
 	// API Resource UUID tag.
 	ID         string `json:"id,required"`
@@ -216,29 +242,3 @@ func (r *Percentiles) UnmarshalJSON(data []byte) (err error) {
 func (r percentilesJSON) RawJSON() string {
 	return r.raw
 }
-
-type UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11 struct {
-	ID string `json:"id,required"`
-	// Whether the policy is the default for the account
-	Default bool                                                 `json:"default,required"`
-	Name    string                                               `json:"name,required"`
-	JSON    unnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11JSON `json:"-"`
-}
-
-// unnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11JSON contains the JSON metadata
-// for the struct [UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11]
-type unnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11JSON struct {
-	ID          apijson.Field
-	Default     apijson.Field
-	Name        apijson.Field
-	raw         string
-	ExtraFields map[string]apijson.Field
-}
-
-func (r *UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11) UnmarshalJSON(data []byte) (err error) {
-	return apijson.UnmarshalRoot(data, r)
-}
-
-func (r unnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11JSON) RawJSON() string {
-	return r.raw
-}
diff --git a/zero_trust/gatewayconfiguration.go b/zero_trust/gatewayconfiguration.go
index feab2d644..85e0f9cd1 100644
--- a/zero_trust/gatewayconfiguration.go
+++ b/zero_trust/gatewayconfiguration.go
@@ -413,6 +413,84 @@ func (r FipsSettingsParam) MarshalJSON() (data []byte, err error) {
 	return apijson.MarshalRoot(r)
 }
 
+// account settings.
+type GatewayConfigurationSettings struct {
+	// Activity log settings.
+	ActivityLog ActivityLogSettings `json:"activity_log"`
+	// Anti-virus settings.
+	Antivirus AntiVirusSettings `json:"antivirus"`
+	// Block page layout settings.
+	BlockPage BlockPageSettings `json:"block_page"`
+	// DLP body scanning settings.
+	BodyScanning BodyScanningSettings `json:"body_scanning"`
+	// Browser isolation settings.
+	BrowserIsolation BrowserIsolationSettings `json:"browser_isolation"`
+	// Custom certificate settings for BYO-PKI.
+	CustomCertificate CustomCertificateSettings `json:"custom_certificate"`
+	// Extended e-mail matching settings.
+	ExtendedEmailMatching ExtendedEmailMatching `json:"extended_email_matching"`
+	// FIPS settings.
+	Fips FipsSettings `json:"fips"`
+	// Protocol Detection settings.
+	ProtocolDetection ProtocolDetection `json:"protocol_detection"`
+	// TLS interception settings.
+	TLSDecrypt TLSSettings                      `json:"tls_decrypt"`
+	JSON       gatewayConfigurationSettingsJSON `json:"-"`
+}
+
+// gatewayConfigurationSettingsJSON contains the JSON metadata for the struct
+// [GatewayConfigurationSettings]
+type gatewayConfigurationSettingsJSON struct {
+	ActivityLog           apijson.Field
+	Antivirus             apijson.Field
+	BlockPage             apijson.Field
+	BodyScanning          apijson.Field
+	BrowserIsolation      apijson.Field
+	CustomCertificate     apijson.Field
+	ExtendedEmailMatching apijson.Field
+	Fips                  apijson.Field
+	ProtocolDetection     apijson.Field
+	TLSDecrypt            apijson.Field
+	raw                   string
+	ExtraFields           map[string]apijson.Field
+}
+
+func (r *GatewayConfigurationSettings) UnmarshalJSON(data []byte) (err error) {
+	return apijson.UnmarshalRoot(data, r)
+}
+
+func (r gatewayConfigurationSettingsJSON) RawJSON() string {
+	return r.raw
+}
+
+// account settings.
+type GatewayConfigurationSettingsParam struct {
+	// Activity log settings.
+	ActivityLog param.Field[ActivityLogSettingsParam] `json:"activity_log"`
+	// Anti-virus settings.
+	Antivirus param.Field[AntiVirusSettingsParam] `json:"antivirus"`
+	// Block page layout settings.
+	BlockPage param.Field[BlockPageSettingsParam] `json:"block_page"`
+	// DLP body scanning settings.
+	BodyScanning param.Field[BodyScanningSettingsParam] `json:"body_scanning"`
+	// Browser isolation settings.
+	BrowserIsolation param.Field[BrowserIsolationSettingsParam] `json:"browser_isolation"`
+	// Custom certificate settings for BYO-PKI.
+	CustomCertificate param.Field[CustomCertificateSettingsParam] `json:"custom_certificate"`
+	// Extended e-mail matching settings.
+	ExtendedEmailMatching param.Field[ExtendedEmailMatchingParam] `json:"extended_email_matching"`
+	// FIPS settings.
+	Fips param.Field[FipsSettingsParam] `json:"fips"`
+	// Protocol Detection settings.
+	ProtocolDetection param.Field[ProtocolDetectionParam] `json:"protocol_detection"`
+	// TLS interception settings.
+	TLSDecrypt param.Field[TLSSettingsParam] `json:"tls_decrypt"`
+}
+
+func (r GatewayConfigurationSettingsParam) MarshalJSON() (data []byte, err error) {
+	return apijson.MarshalRoot(r)
+}
+
 // Configure a message to display on the user's device when an antivirus search is
 // performed.
 type NotificationSettings struct {
@@ -525,91 +603,13 @@ func (r TLSSettingsParam) MarshalJSON() (data []byte, err error) {
 	return apijson.MarshalRoot(r)
 }
 
-// account settings.
-type UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e struct {
-	// Activity log settings.
-	ActivityLog ActivityLogSettings `json:"activity_log"`
-	// Anti-virus settings.
-	Antivirus AntiVirusSettings `json:"antivirus"`
-	// Block page layout settings.
-	BlockPage BlockPageSettings `json:"block_page"`
-	// DLP body scanning settings.
-	BodyScanning BodyScanningSettings `json:"body_scanning"`
-	// Browser isolation settings.
-	BrowserIsolation BrowserIsolationSettings `json:"browser_isolation"`
-	// Custom certificate settings for BYO-PKI.
-	CustomCertificate CustomCertificateSettings `json:"custom_certificate"`
-	// Extended e-mail matching settings.
-	ExtendedEmailMatching ExtendedEmailMatching `json:"extended_email_matching"`
-	// FIPS settings.
-	Fips FipsSettings `json:"fips"`
-	// Protocol Detection settings.
-	ProtocolDetection ProtocolDetection `json:"protocol_detection"`
-	// TLS interception settings.
-	TLSDecrypt TLSSettings                                          `json:"tls_decrypt"`
-	JSON       unnamedSchemaRef055aaf3918bf29f81c09d394a864182eJSON `json:"-"`
-}
-
-// unnamedSchemaRef055aaf3918bf29f81c09d394a864182eJSON contains the JSON metadata
-// for the struct [UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e]
-type unnamedSchemaRef055aaf3918bf29f81c09d394a864182eJSON struct {
-	ActivityLog           apijson.Field
-	Antivirus             apijson.Field
-	BlockPage             apijson.Field
-	BodyScanning          apijson.Field
-	BrowserIsolation      apijson.Field
-	CustomCertificate     apijson.Field
-	ExtendedEmailMatching apijson.Field
-	Fips                  apijson.Field
-	ProtocolDetection     apijson.Field
-	TLSDecrypt            apijson.Field
-	raw                   string
-	ExtraFields           map[string]apijson.Field
-}
-
-func (r *UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e) UnmarshalJSON(data []byte) (err error) {
-	return apijson.UnmarshalRoot(data, r)
-}
-
-func (r unnamedSchemaRef055aaf3918bf29f81c09d394a864182eJSON) RawJSON() string {
-	return r.raw
-}
-
-// account settings.
-type UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam struct {
-	// Activity log settings.
-	ActivityLog param.Field[ActivityLogSettingsParam] `json:"activity_log"`
-	// Anti-virus settings.
-	Antivirus param.Field[AntiVirusSettingsParam] `json:"antivirus"`
-	// Block page layout settings.
-	BlockPage param.Field[BlockPageSettingsParam] `json:"block_page"`
-	// DLP body scanning settings.
-	BodyScanning param.Field[BodyScanningSettingsParam] `json:"body_scanning"`
-	// Browser isolation settings.
-	BrowserIsolation param.Field[BrowserIsolationSettingsParam] `json:"browser_isolation"`
-	// Custom certificate settings for BYO-PKI.
-	CustomCertificate param.Field[CustomCertificateSettingsParam] `json:"custom_certificate"`
-	// Extended e-mail matching settings.
-	ExtendedEmailMatching param.Field[ExtendedEmailMatchingParam] `json:"extended_email_matching"`
-	// FIPS settings.
-	Fips param.Field[FipsSettingsParam] `json:"fips"`
-	// Protocol Detection settings.
-	ProtocolDetection param.Field[ProtocolDetectionParam] `json:"protocol_detection"`
-	// TLS interception settings.
-	TLSDecrypt param.Field[TLSSettingsParam] `json:"tls_decrypt"`
-}
-
-func (r UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam) MarshalJSON() (data []byte, err error) {
-	return apijson.MarshalRoot(r)
-}
-
 // account settings.
 type GatewayConfigurationUpdateResponse struct {
 	CreatedAt time.Time `json:"created_at" format:"date-time"`
 	// account settings.
-	Settings  UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e `json:"settings"`
-	UpdatedAt time.Time                                        `json:"updated_at" format:"date-time"`
-	JSON      gatewayConfigurationUpdateResponseJSON           `json:"-"`
+	Settings  GatewayConfigurationSettings           `json:"settings"`
+	UpdatedAt time.Time                              `json:"updated_at" format:"date-time"`
+	JSON      gatewayConfigurationUpdateResponseJSON `json:"-"`
 }
 
 // gatewayConfigurationUpdateResponseJSON contains the JSON metadata for the struct
@@ -634,9 +634,9 @@ func (r gatewayConfigurationUpdateResponseJSON) RawJSON() string {
 type GatewayConfigurationEditResponse struct {
 	CreatedAt time.Time `json:"created_at" format:"date-time"`
 	// account settings.
-	Settings  UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e `json:"settings"`
-	UpdatedAt time.Time                                        `json:"updated_at" format:"date-time"`
-	JSON      gatewayConfigurationEditResponseJSON             `json:"-"`
+	Settings  GatewayConfigurationSettings         `json:"settings"`
+	UpdatedAt time.Time                            `json:"updated_at" format:"date-time"`
+	JSON      gatewayConfigurationEditResponseJSON `json:"-"`
 }
 
 // gatewayConfigurationEditResponseJSON contains the JSON metadata for the struct
@@ -661,9 +661,9 @@ func (r gatewayConfigurationEditResponseJSON) RawJSON() string {
 type GatewayConfigurationGetResponse struct {
 	CreatedAt time.Time `json:"created_at" format:"date-time"`
 	// account settings.
-	Settings  UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e `json:"settings"`
-	UpdatedAt time.Time                                        `json:"updated_at" format:"date-time"`
-	JSON      gatewayConfigurationGetResponseJSON              `json:"-"`
+	Settings  GatewayConfigurationSettings        `json:"settings"`
+	UpdatedAt time.Time                           `json:"updated_at" format:"date-time"`
+	JSON      gatewayConfigurationGetResponseJSON `json:"-"`
 }
 
 // gatewayConfigurationGetResponseJSON contains the JSON metadata for the struct
@@ -687,7 +687,7 @@ func (r gatewayConfigurationGetResponseJSON) RawJSON() string {
 type GatewayConfigurationUpdateParams struct {
 	AccountID param.Field[string] `path:"account_id,required"`
 	// account settings.
-	Settings param.Field[UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam] `json:"settings"`
+	Settings param.Field[GatewayConfigurationSettingsParam] `json:"settings"`
 }
 
 func (r GatewayConfigurationUpdateParams) MarshalJSON() (data []byte, err error) {
@@ -741,7 +741,7 @@ func (r GatewayConfigurationUpdateResponseEnvelopeSuccess) IsKnown() bool {
 type GatewayConfigurationEditParams struct {
 	AccountID param.Field[string] `path:"account_id,required"`
 	// account settings.
-	Settings param.Field[UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam] `json:"settings"`
+	Settings param.Field[GatewayConfigurationSettingsParam] `json:"settings"`
 }
 
 func (r GatewayConfigurationEditParams) MarshalJSON() (data []byte, err error) {
diff --git a/zero_trust/gatewaylogging.go b/zero_trust/gatewaylogging.go
index c8756ae34..1957ae2ff 100644
--- a/zero_trust/gatewaylogging.go
+++ b/zero_trust/gatewaylogging.go
@@ -63,8 +63,8 @@ type LoggingSetting struct {
 	// are: source IP, user email, user ID, device ID, URL, referrer, user agent).
 	RedactPii bool `json:"redact_pii"`
 	// Logging settings by rule type.
-	SettingsByRuleType UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b `json:"settings_by_rule_type"`
-	JSON               loggingSettingJSON                               `json:"-"`
+	SettingsByRuleType LoggingSettingSettingsByRuleType `json:"settings_by_rule_type"`
+	JSON               loggingSettingJSON               `json:"-"`
 }
 
 // loggingSettingJSON contains the JSON metadata for the struct [LoggingSetting]
@@ -83,32 +83,20 @@ func (r loggingSettingJSON) RawJSON() string {
 	return r.raw
 }
 
-type LoggingSettingParam struct {
-	// Redact personally identifiable information from activity logging (PII fields
-	// are: source IP, user email, user ID, device ID, URL, referrer, user agent).
-	RedactPii param.Field[bool] `json:"redact_pii"`
-	// Logging settings by rule type.
-	SettingsByRuleType param.Field[UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam] `json:"settings_by_rule_type"`
-}
-
-func (r LoggingSettingParam) MarshalJSON() (data []byte, err error) {
-	return apijson.MarshalRoot(r)
-}
-
 // Logging settings by rule type.
-type UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b struct {
+type LoggingSettingSettingsByRuleType struct {
 	// Logging settings for DNS firewall.
 	DNS interface{} `json:"dns"`
 	// Logging settings for HTTP/HTTPS firewall.
 	HTTP interface{} `json:"http"`
 	// Logging settings for Network firewall.
-	L4   interface{}                                          `json:"l4"`
-	JSON unnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bJSON `json:"-"`
+	L4   interface{}                          `json:"l4"`
+	JSON loggingSettingSettingsByRuleTypeJSON `json:"-"`
 }
 
-// unnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bJSON contains the JSON metadata
-// for the struct [UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b]
-type unnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bJSON struct {
+// loggingSettingSettingsByRuleTypeJSON contains the JSON metadata for the struct
+// [LoggingSettingSettingsByRuleType]
+type loggingSettingSettingsByRuleTypeJSON struct {
 	DNS         apijson.Field
 	HTTP        apijson.Field
 	L4          apijson.Field
@@ -116,16 +104,28 @@ type unnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bJSON struct {
 	ExtraFields map[string]apijson.Field
 }
 
-func (r *UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b) UnmarshalJSON(data []byte) (err error) {
+func (r *LoggingSettingSettingsByRuleType) UnmarshalJSON(data []byte) (err error) {
 	return apijson.UnmarshalRoot(data, r)
 }
 
-func (r unnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bJSON) RawJSON() string {
+func (r loggingSettingSettingsByRuleTypeJSON) RawJSON() string {
 	return r.raw
 }
 
+type LoggingSettingParam struct {
+	// Redact personally identifiable information from activity logging (PII fields
+	// are: source IP, user email, user ID, device ID, URL, referrer, user agent).
+	RedactPii param.Field[bool] `json:"redact_pii"`
+	// Logging settings by rule type.
+	SettingsByRuleType param.Field[LoggingSettingSettingsByRuleTypeParam] `json:"settings_by_rule_type"`
+}
+
+func (r LoggingSettingParam) MarshalJSON() (data []byte, err error) {
+	return apijson.MarshalRoot(r)
+}
+
 // Logging settings by rule type.
-type UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam struct {
+type LoggingSettingSettingsByRuleTypeParam struct {
 	// Logging settings for DNS firewall.
 	DNS param.Field[interface{}] `json:"dns"`
 	// Logging settings for HTTP/HTTPS firewall.
@@ -134,7 +134,7 @@ type UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam struct {
 	L4 param.Field[interface{}] `json:"l4"`
 }
 
-func (r UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam) MarshalJSON() (data []byte, err error) {
+func (r LoggingSettingSettingsByRuleTypeParam) MarshalJSON() (data []byte, err error) {
 	return apijson.MarshalRoot(r)
 }
 


Test patch:
diff --git a/zero_trust/dexhttptest.go b/zero_trust/dexhttptest.go
index b5723d858..ee14a6a1d 100644
--- a/zero_trust/dexhttptest.go
+++ b/zero_trust/dexhttptest.go
@@ -61,10 +61,10 @@ type HTTPDetails struct {
 	// The HTTP method to use when running the test
 	Method string `json:"method"`
 	// The name of the HTTP synthetic application test
-	Name           string                                             `json:"name"`
-	TargetPolicies []UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11 `json:"target_policies"`
-	Targeted       bool                                               `json:"targeted"`
-	JSON           httpDetailsJSON                                    `json:"-"`
+	Name           string                    `json:"name"`
+	TargetPolicies []DeviceExperienceMonitor `json:"target_policies"`
+	Targeted       bool                      `json:"targeted"`
+	JSON           httpDetailsJSON           `json:"-"`
 }
 
 // httpDetailsJSON contains the JSON metadata for the struct [HTTPDetails]
diff --git a/zero_trust/dextest.go b/zero_trust/dextest.go
index 682bf5670..fd935579c 100644
--- a/zero_trust/dextest.go
+++ b/zero_trust/dextest.go
@@ -170,12 +170,12 @@ type TestsTest struct {
 	HTTPResults       TestsTestsHTTPResults         `json:"httpResults,nullable"`
 	HTTPResultsByColo []TestsTestsHTTPResultsByColo `json:"httpResultsByColo"`
 	// for HTTP, the method to use when running the test
-	Method                  string                                             `json:"method"`
-	TargetPolicies          []UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11 `json:"target_policies"`
-	Targeted                bool                                               `json:"targeted"`
-	TracerouteResults       TestsTestsTracerouteResults                        `json:"tracerouteResults,nullable"`
-	TracerouteResultsByColo []TestsTestsTracerouteResultsByColo                `json:"tracerouteResultsByColo"`
-	JSON                    testsTestJSON                                      `json:"-"`
+	Method                  string                              `json:"method"`
+	TargetPolicies          []DeviceExperienceMonitor           `json:"target_policies"`
+	Targeted                bool                                `json:"targeted"`
+	TracerouteResults       TestsTestsTracerouteResults         `json:"tracerouteResults,nullable"`
+	TracerouteResultsByColo []TestsTestsTracerouteResultsByColo `json:"tracerouteResultsByColo"`
+	JSON                    testsTestJSON                       `json:"-"`
 }
 
 // testsTestJSON contains the JSON metadata for the struct [TestsTest]
diff --git a/zero_trust/dextraceroutetest.go b/zero_trust/dextraceroutetest.go
index 2848e0576..61b13a795 100644
--- a/zero_trust/dextraceroutetest.go
+++ b/zero_trust/dextraceroutetest.go
@@ -82,12 +82,12 @@ type Traceroute struct {
 	Interval string         `json:"interval,required"`
 	Kind     TracerouteKind `json:"kind,required"`
 	// The name of the Traceroute synthetic application test
-	Name                  string                                             `json:"name,required"`
-	TargetPolicies        []UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11 `json:"target_policies"`
-	Targeted              bool                                               `json:"targeted"`
-	TracerouteStats       TracerouteTracerouteStats                          `json:"tracerouteStats,nullable"`
-	TracerouteStatsByColo []TracerouteTracerouteStatsByColo                  `json:"tracerouteStatsByColo"`
-	JSON                  tracerouteJSON                                     `json:"-"`
+	Name                  string                            `json:"name,required"`
+	TargetPolicies        []DeviceExperienceMonitor         `json:"target_policies"`
+	Targeted              bool                              `json:"targeted"`
+	TracerouteStats       TracerouteTracerouteStats         `json:"tracerouteStats,nullable"`
+	TracerouteStatsByColo []TracerouteTracerouteStatsByColo `json:"tracerouteStatsByColo"`
+	JSON                  tracerouteJSON                    `json:"-"`
 }
 
 // tracerouteJSON contains the JSON metadata for the struct [Traceroute]
diff --git a/zero_trust/gatewayconfiguration_test.go b/zero_trust/gatewayconfiguration_test.go
index 6410593d4..0d4e17341 100644
--- a/zero_trust/gatewayconfiguration_test.go
+++ b/zero_trust/gatewayconfiguration_test.go
@@ -30,7 +30,7 @@ func TestGatewayConfigurationUpdateWithOptionalParams(t *testing.T) {
 	)
 	_, err := client.ZeroTrust.Gateway.Configurations.Update(context.TODO(), zero_trust.GatewayConfigurationUpdateParams{
 		AccountID: cloudflare.F("699d98642c564d2e855e9661899b7252"),
-		Settings: cloudflare.F(zero_trust.UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam{
+		Settings: cloudflare.F(zero_trust.GatewayConfigurationSettingsParam{
 			ActivityLog: cloudflare.F(zero_trust.ActivityLogSettingsParam{
 				Enabled: cloudflare.F(true),
 			}),
@@ -105,7 +105,7 @@ func TestGatewayConfigurationEditWithOptionalParams(t *testing.T) {
 	)
 	_, err := client.ZeroTrust.Gateway.Configurations.Edit(context.TODO(), zero_trust.GatewayConfigurationEditParams{
 		AccountID: cloudflare.F("699d98642c564d2e855e9661899b7252"),
-		Settings: cloudflare.F(zero_trust.UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam{
+		Settings: cloudflare.F(zero_trust.GatewayConfigurationSettingsParam{
 			ActivityLog: cloudflare.F(zero_trust.ActivityLogSettingsParam{
 				Enabled: cloudflare.F(true),
 			}),
diff --git a/zero_trust/gatewaylogging_test.go b/zero_trust/gatewaylogging_test.go
index 4393fea35..f22907d33 100644
--- a/zero_trust/gatewaylogging_test.go
+++ b/zero_trust/gatewaylogging_test.go
@@ -32,7 +32,7 @@ func TestGatewayLoggingUpdateWithOptionalParams(t *testing.T) {
 		AccountID: cloudflare.F("699d98642c564d2e855e9661899b7252"),
 		LoggingSetting: zero_trust.LoggingSettingParam{
 			RedactPii: cloudflare.F(true),
-			SettingsByRuleType: cloudflare.F(zero_trust.UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam{
+			SettingsByRuleType: cloudflare.F(zero_trust.LoggingSettingSettingsByRuleTypeParam{
 				DNS:  cloudflare.F[any](map[string]interface{}{}),
 				HTTP: cloudflare.F[any](map[string]interface{}{}),
 				L4:   cloudflare.F[any](map[string]interface{}{}),