@@ -138,7 +138,8 @@ func (r *BotManagementService) Get(ctx context.Context, query BotManagementGetPa
138
138
}
139
139
140
140
type BotFightModeConfiguration struct {
141
- // Enable rule to block AI Scrapers and Crawlers.
141
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
142
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
142
143
AIBotsProtection BotFightModeConfigurationAIBotsProtection `json:"ai_bots_protection"`
143
144
// Enable rule to punish AI Scrapers and Crawlers via a link maze.
144
145
CrawlerProtection BotFightModeConfigurationCrawlerProtection `json:"crawler_protection"`
@@ -181,7 +182,8 @@ func (r BotFightModeConfiguration) implementsBotManagementUpdateResponse() {}
181
182
182
183
func (r BotFightModeConfiguration ) implementsBotManagementGetResponse () {}
183
184
184
- // Enable rule to block AI Scrapers and Crawlers.
185
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
186
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
185
187
type BotFightModeConfigurationAIBotsProtection string
186
188
187
189
const (
@@ -256,7 +258,8 @@ func (r botFightModeConfigurationStaleZoneConfigurationJSON) RawJSON() string {
256
258
}
257
259
258
260
type BotFightModeConfigurationParam struct {
259
- // Enable rule to block AI Scrapers and Crawlers.
261
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
262
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
260
263
AIBotsProtection param.Field [BotFightModeConfigurationAIBotsProtection ] `json:"ai_bots_protection"`
261
264
// Enable rule to punish AI Scrapers and Crawlers via a link maze.
262
265
CrawlerProtection param.Field [BotFightModeConfigurationCrawlerProtection ] `json:"crawler_protection"`
@@ -297,7 +300,8 @@ func (r BotFightModeConfigurationStaleZoneConfigurationParam) MarshalJSON() (dat
297
300
}
298
301
299
302
type SubscriptionConfiguration struct {
300
- // Enable rule to block AI Scrapers and Crawlers.
303
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
304
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
301
305
AIBotsProtection SubscriptionConfigurationAIBotsProtection `json:"ai_bots_protection"`
302
306
// Automatically update to the newest bot detection models created by Cloudflare as
303
307
// they are released.
@@ -346,7 +350,8 @@ func (r SubscriptionConfiguration) implementsBotManagementUpdateResponse() {}
346
350
347
351
func (r SubscriptionConfiguration ) implementsBotManagementGetResponse () {}
348
352
349
- // Enable rule to block AI Scrapers and Crawlers.
353
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
354
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
350
355
type SubscriptionConfigurationAIBotsProtection string
351
356
352
357
const (
@@ -421,7 +426,8 @@ func (r subscriptionConfigurationStaleZoneConfigurationJSON) RawJSON() string {
421
426
}
422
427
423
428
type SubscriptionConfigurationParam struct {
424
- // Enable rule to block AI Scrapers and Crawlers.
429
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
430
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
425
431
AIBotsProtection param.Field [SubscriptionConfigurationAIBotsProtection ] `json:"ai_bots_protection"`
426
432
// Automatically update to the newest bot detection models created by Cloudflare as
427
433
// they are released.
@@ -467,7 +473,8 @@ func (r SubscriptionConfigurationStaleZoneConfigurationParam) MarshalJSON() (dat
467
473
}
468
474
469
475
type SuperBotFightModeDefinitelyConfiguration struct {
470
- // Enable rule to block AI Scrapers and Crawlers.
476
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
477
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
471
478
AIBotsProtection SuperBotFightModeDefinitelyConfigurationAIBotsProtection `json:"ai_bots_protection"`
472
479
// Enable rule to punish AI Scrapers and Crawlers via a link maze.
473
480
CrawlerProtection SuperBotFightModeDefinitelyConfigurationCrawlerProtection `json:"crawler_protection"`
@@ -521,7 +528,8 @@ func (r SuperBotFightModeDefinitelyConfiguration) implementsBotManagementUpdateR
521
528
522
529
func (r SuperBotFightModeDefinitelyConfiguration ) implementsBotManagementGetResponse () {}
523
530
524
- // Enable rule to block AI Scrapers and Crawlers.
531
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
532
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
525
533
type SuperBotFightModeDefinitelyConfigurationAIBotsProtection string
526
534
527
535
const (
@@ -617,7 +625,8 @@ func (r superBotFightModeDefinitelyConfigurationStaleZoneConfigurationJSON) RawJ
617
625
}
618
626
619
627
type SuperBotFightModeDefinitelyConfigurationParam struct {
620
- // Enable rule to block AI Scrapers and Crawlers.
628
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
629
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
621
630
AIBotsProtection param.Field [SuperBotFightModeDefinitelyConfigurationAIBotsProtection ] `json:"ai_bots_protection"`
622
631
// Enable rule to punish AI Scrapers and Crawlers via a link maze.
623
632
CrawlerProtection param.Field [SuperBotFightModeDefinitelyConfigurationCrawlerProtection ] `json:"crawler_protection"`
@@ -658,7 +667,8 @@ func (r SuperBotFightModeDefinitelyConfigurationStaleZoneConfigurationParam) Mar
658
667
}
659
668
660
669
type SuperBotFightModeLikelyConfiguration struct {
661
- // Enable rule to block AI Scrapers and Crawlers.
670
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
671
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
662
672
AIBotsProtection SuperBotFightModeLikelyConfigurationAIBotsProtection `json:"ai_bots_protection"`
663
673
// Enable rule to punish AI Scrapers and Crawlers via a link maze.
664
674
CrawlerProtection SuperBotFightModeLikelyConfigurationCrawlerProtection `json:"crawler_protection"`
@@ -715,7 +725,8 @@ func (r SuperBotFightModeLikelyConfiguration) implementsBotManagementUpdateRespo
715
725
716
726
func (r SuperBotFightModeLikelyConfiguration ) implementsBotManagementGetResponse () {}
717
727
718
- // Enable rule to block AI Scrapers and Crawlers.
728
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
729
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
719
730
type SuperBotFightModeLikelyConfigurationAIBotsProtection string
720
731
721
732
const (
@@ -824,7 +835,8 @@ func (r superBotFightModeLikelyConfigurationStaleZoneConfigurationJSON) RawJSON(
824
835
}
825
836
826
837
type SuperBotFightModeLikelyConfigurationParam struct {
827
- // Enable rule to block AI Scrapers and Crawlers.
838
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
839
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
828
840
AIBotsProtection param.Field [SuperBotFightModeLikelyConfigurationAIBotsProtection ] `json:"ai_bots_protection"`
829
841
// Enable rule to punish AI Scrapers and Crawlers via a link maze.
830
842
CrawlerProtection param.Field [SuperBotFightModeLikelyConfigurationCrawlerProtection ] `json:"crawler_protection"`
@@ -863,7 +875,8 @@ func (r SuperBotFightModeLikelyConfigurationStaleZoneConfigurationParam) Marshal
863
875
}
864
876
865
877
type BotManagementUpdateResponse struct {
866
- // Enable rule to block AI Scrapers and Crawlers.
878
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
879
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
867
880
AIBotsProtection BotManagementUpdateResponseAIBotsProtection `json:"ai_bots_protection"`
868
881
// Automatically update to the newest bot detection models created by Cloudflare as
869
882
// they are released.
@@ -977,7 +990,8 @@ func init() {
977
990
)
978
991
}
979
992
980
- // Enable rule to block AI Scrapers and Crawlers.
993
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
994
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
981
995
type BotManagementUpdateResponseAIBotsProtection string
982
996
983
997
const (
@@ -1061,7 +1075,8 @@ func (r BotManagementUpdateResponseSBFMVerifiedBots) IsKnown() bool {
1061
1075
}
1062
1076
1063
1077
type BotManagementGetResponse struct {
1064
- // Enable rule to block AI Scrapers and Crawlers.
1078
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
1079
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
1065
1080
AIBotsProtection BotManagementGetResponseAIBotsProtection `json:"ai_bots_protection"`
1066
1081
// Automatically update to the newest bot detection models created by Cloudflare as
1067
1082
// they are released.
@@ -1175,7 +1190,8 @@ func init() {
1175
1190
)
1176
1191
}
1177
1192
1178
- // Enable rule to block AI Scrapers and Crawlers.
1193
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
1194
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
1179
1195
type BotManagementGetResponseAIBotsProtection string
1180
1196
1181
1197
const (
@@ -1269,7 +1285,8 @@ func (r BotManagementUpdateParams) MarshalJSON() (data []byte, err error) {
1269
1285
}
1270
1286
1271
1287
type BotManagementUpdateParamsBody struct {
1272
- // Enable rule to block AI Scrapers and Crawlers.
1288
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
1289
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
1273
1290
AIBotsProtection param.Field [BotManagementUpdateParamsBodyAIBotsProtection ] `json:"ai_bots_protection"`
1274
1291
// Automatically update to the newest bot detection models created by Cloudflare as
1275
1292
// they are released.
@@ -1315,7 +1332,8 @@ type BotManagementUpdateParamsBodyUnion interface {
1315
1332
implementsBotManagementUpdateParamsBodyUnion ()
1316
1333
}
1317
1334
1318
- // Enable rule to block AI Scrapers and Crawlers.
1335
+ // Enable rule to block AI Scrapers and Crawlers. Please note the value
1336
+ // `only_on_ad_pages` is currently not available for Enterprise customers.
1319
1337
type BotManagementUpdateParamsBodyAIBotsProtection string
1320
1338
1321
1339
const (
0 commit comments