@@ -667,6 +667,12 @@ message Assessment {
667667 // protection need to be enabled.
668668 PhoneFraudAssessment phone_fraud_assessment = 12
669669 [(google.api.field_behavior ) = OUTPUT_ONLY ];
670+
671+ // Optional. The environment creating the assessment. This describes your
672+ // environment (the system invoking CreateAssessment), NOT the environment of
673+ // your user.
674+ AssessmentEnvironment assessment_environment = 14
675+ [(google.api.field_behavior ) = OPTIONAL ];
670676}
671677
672678// The event being assessed.
@@ -2046,6 +2052,22 @@ message WafSettings {
20462052 WafFeature waf_feature = 2 [(google.api.field_behavior ) = REQUIRED ];
20472053}
20482054
2055+ // The environment creating the assessment. This describes your environment
2056+ // (the system invoking CreateAssessment), NOT the environment of your user.
2057+ message AssessmentEnvironment {
2058+ // Optional. Identifies the client module initiating the CreateAssessment
2059+ // request. This can be the link to the client module's project. Examples
2060+ // include:
2061+ // - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager"
2062+ // - "cloud.google.com/recaptcha/docs/implement-waf-akamai"
2063+ // - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare"
2064+ // - "wordpress.org/plugins/recaptcha-something"
2065+ string client = 1 [(google.api.field_behavior ) = OPTIONAL ];
2066+
2067+ // Optional. The version of the client module. For example, "1.0.0".
2068+ string version = 2 [(google.api.field_behavior ) = OPTIONAL ];
2069+ }
2070+
20492071// Information about the IP or IP range override.
20502072message IpOverrideData {
20512073 // Enum that represents the type of IP override.
0 commit comments