@@ -481,8 +481,6 @@ type GatewayConfigurationSettings struct {
481
481
ActivityLog ActivityLogSettings `json:"activity_log,nullable"`
482
482
// Anti-virus settings.
483
483
Antivirus AntiVirusSettings `json:"antivirus,nullable"`
484
- // Setting to enable App Control
485
- AppControlSettings GatewayConfigurationSettingsAppControlSettings `json:"app-control-settings,nullable"`
486
484
// Block page layout settings.
487
485
BlockPage BlockPageSettings `json:"block_page,nullable"`
488
486
// DLP body scanning settings.
@@ -517,7 +515,6 @@ type GatewayConfigurationSettings struct {
517
515
type gatewayConfigurationSettingsJSON struct {
518
516
ActivityLog apijson.Field
519
517
Antivirus apijson.Field
520
- AppControlSettings apijson.Field
521
518
BlockPage apijson.Field
522
519
BodyScanning apijson.Field
523
520
BrowserIsolation apijson.Field
@@ -541,29 +538,6 @@ func (r gatewayConfigurationSettingsJSON) RawJSON() string {
541
538
return r .raw
542
539
}
543
540
544
- // Setting to enable App Control
545
- type GatewayConfigurationSettingsAppControlSettings struct {
546
- // Enable App Control
547
- Enabled bool `json:"enabled"`
548
- JSON gatewayConfigurationSettingsAppControlSettingsJSON `json:"-"`
549
- }
550
-
551
- // gatewayConfigurationSettingsAppControlSettingsJSON contains the JSON metadata
552
- // for the struct [GatewayConfigurationSettingsAppControlSettings]
553
- type gatewayConfigurationSettingsAppControlSettingsJSON struct {
554
- Enabled apijson.Field
555
- raw string
556
- ExtraFields map [string ]apijson.Field
557
- }
558
-
559
- func (r * GatewayConfigurationSettingsAppControlSettings ) UnmarshalJSON (data []byte ) (err error ) {
560
- return apijson .UnmarshalRoot (data , r )
561
- }
562
-
563
- func (r gatewayConfigurationSettingsAppControlSettingsJSON ) RawJSON () string {
564
- return r .raw
565
- }
566
-
567
541
// Certificate settings for Gateway TLS interception. If not specified, the
568
542
// Cloudflare Root CA will be used.
569
543
type GatewayConfigurationSettingsCertificate struct {
@@ -661,8 +635,6 @@ type GatewayConfigurationSettingsParam struct {
661
635
ActivityLog param.Field [ActivityLogSettingsParam ] `json:"activity_log"`
662
636
// Anti-virus settings.
663
637
Antivirus param.Field [AntiVirusSettingsParam ] `json:"antivirus"`
664
- // Setting to enable App Control
665
- AppControlSettings param.Field [GatewayConfigurationSettingsAppControlSettingsParam ] `json:"app-control-settings"`
666
638
// Block page layout settings.
667
639
BlockPage param.Field [BlockPageSettingsParam ] `json:"block_page"`
668
640
// DLP body scanning settings.
@@ -695,16 +667,6 @@ func (r GatewayConfigurationSettingsParam) MarshalJSON() (data []byte, err error
695
667
return apijson .MarshalRoot (r )
696
668
}
697
669
698
- // Setting to enable App Control
699
- type GatewayConfigurationSettingsAppControlSettingsParam struct {
700
- // Enable App Control
701
- Enabled param.Field [bool ] `json:"enabled"`
702
- }
703
-
704
- func (r GatewayConfigurationSettingsAppControlSettingsParam ) MarshalJSON () (data []byte , err error ) {
705
- return apijson .MarshalRoot (r )
706
- }
707
-
708
670
// Certificate settings for Gateway TLS interception. If not specified, the
709
671
// Cloudflare Root CA will be used.
710
672
type GatewayConfigurationSettingsCertificateParam struct {
0 commit comments