File tree 3 files changed +9
-1
lines changed
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 1542
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a80f4311bc6fd36640a80989804f6223d7dc2e224d0fc0aea46c13bb85a147df .yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-bd2b482a83809b029aec6ad87f8bec570c067383f102c15fb9e8483110398194 .yml
Original file line number Diff line number Diff line change @@ -284,8 +284,14 @@ type SiteInfoUpdateParams struct {
284
284
// If enabled, the JavaScript snippet is automatically injected for orange-clouded
285
285
// sites.
286
286
AutoInstall param.Field [bool ] `json:"auto_install"`
287
+ // Enables or disables RUM. This option can be used only when auto_install is set
288
+ // to true.
289
+ Enabled param.Field [bool ] `json:"enabled"`
287
290
// The hostname to use for gray-clouded sites.
288
291
Host param.Field [string ] `json:"host"`
292
+ // If enabled, the JavaScript snippet will not be injected for visitors from the
293
+ // EU.
294
+ Lite param.Field [bool ] `json:"lite"`
289
295
// The zone identifier.
290
296
ZoneTag param.Field [string ] `json:"zone_tag"`
291
297
}
Original file line number Diff line number Diff line change @@ -61,7 +61,9 @@ func TestSiteInfoUpdateWithOptionalParams(t *testing.T) {
61
61
rum.SiteInfoUpdateParams {
62
62
AccountID : cloudflare .F ("023e105f4ecef8ad9ca31a8372d0c353" ),
63
63
AutoInstall : cloudflare .F (true ),
64
+ Enabled : cloudflare .F (true ),
64
65
Host : cloudflare .F ("example.com" ),
66
+ Lite : cloudflare .F (true ),
65
67
ZoneTag : cloudflare .F ("023e105f4ecef8ad9ca31a8372d0c353" ),
66
68
},
67
69
)
You can’t perform that action at this time.
0 commit comments