Skip to content

Commit 0018f12

Browse files
chore(api): update composite API spec
1 parent 271377b commit 0018f12

File tree

3 files changed

+194
-99
lines changed

3 files changed

+194
-99
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1802
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e581e5f97f2de43098da4d30544af20d8a4bcd418981435b48ee862c14317273.yml
3-
openapi_spec_hash: 04daf40bd8b3e63b6caa81de24e765dc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9deae24d13b0c6ab1dee39ca28bfcc3075482843b369d47510976bd2e7c33172.yml
3+
openapi_spec_hash: b494277f0af559cde1530dde36a00371
44
config_hash: 7f7d0989caf43ee0fc1a934907e4db8a

zero_trust/gatewayconfiguration.go

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,12 @@ func (r CustomCertificateSettingsParam) MarshalJSON() (data []byte, err error) {
439439
return apijson.MarshalRoot(r)
440440
}
441441

442-
// Specify user emails settings for the firewall policies.
442+
// Specify user email settings for the firewall policies. When this is enabled, we
443+
// standardize the email addresses in the identity part of the rule, so that they
444+
// match the extended email variants in the firewall policies. When this setting is
445+
// turned off, the email addresses in the identity part of the rule will be matched
446+
// exactly as provided. If your email has `.` or `+` modifiers, you should enable
447+
// this setting.
443448
type ExtendedEmailMatching struct {
444449
// Specify whether to match all variants of user emails (with + or . modifiers)
445450
// used as criteria in Firewall policies.
@@ -473,7 +478,12 @@ func (r extendedEmailMatchingJSON) RawJSON() string {
473478
return r.raw
474479
}
475480

476-
// Specify user emails settings for the firewall policies.
481+
// Specify user email settings for the firewall policies. When this is enabled, we
482+
// standardize the email addresses in the identity part of the rule, so that they
483+
// match the extended email variants in the firewall policies. When this setting is
484+
// turned off, the email addresses in the identity part of the rule will be matched
485+
// exactly as provided. If your email has `.` or `+` modifiers, you should enable
486+
// this setting.
477487
type ExtendedEmailMatchingParam struct {
478488
// Specify whether to match all variants of user emails (with + or . modifiers)
479489
// used as criteria in Firewall policies.
@@ -536,7 +546,12 @@ type GatewayConfigurationSettings struct {
536546
//
537547
// Deprecated: deprecated
538548
CustomCertificate CustomCertificateSettings `json:"custom_certificate,nullable"`
539-
// Specify user emails settings for the firewall policies.
549+
// Specify user email settings for the firewall policies. When this is enabled, we
550+
// standardize the email addresses in the identity part of the rule, so that they
551+
// match the extended email variants in the firewall policies. When this setting is
552+
// turned off, the email addresses in the identity part of the rule will be matched
553+
// exactly as provided. If your email has `.` or `+` modifiers, you should enable
554+
// this setting.
540555
ExtendedEmailMatching ExtendedEmailMatching `json:"extended_email_matching,nullable"`
541556
// Specify FIPS settings.
542557
Fips FipsSettings `json:"fips,nullable"`
@@ -740,7 +755,12 @@ type GatewayConfigurationSettingsParam struct {
740755
//
741756
// Deprecated: deprecated
742757
CustomCertificate param.Field[CustomCertificateSettingsParam] `json:"custom_certificate"`
743-
// Specify user emails settings for the firewall policies.
758+
// Specify user email settings for the firewall policies. When this is enabled, we
759+
// standardize the email addresses in the identity part of the rule, so that they
760+
// match the extended email variants in the firewall policies. When this setting is
761+
// turned off, the email addresses in the identity part of the rule will be matched
762+
// exactly as provided. If your email has `.` or `+` modifiers, you should enable
763+
// this setting.
744764
ExtendedEmailMatching param.Field[ExtendedEmailMatchingParam] `json:"extended_email_matching"`
745765
// Specify FIPS settings.
746766
Fips param.Field[FipsSettingsParam] `json:"fips"`

0 commit comments

Comments
 (0)