Skip to content

Commit 4fe0674

Browse files
feat: [recaptchaenterprise] add AssessmentEnvironment for CreateAssessement to explicitly describe the environment of the assessment (#5639)
* feat: add AssessmentEnvironment for CreateAssessement to explicitly describe the environment of the assessment PiperOrigin-RevId: 668000366 Source-Link: googleapis/googleapis@14d1fe2 Source-Link: googleapis/googleapis-gen@a53bb74 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlY2FwdGNoYWVudGVycHJpc2UvLk93bEJvdC55YW1sIiwiaCI6ImE1M2JiNzRjMGEzMTE4NjBjNzAzMTg1MDlkYjE3NjdkZmViNWU1ODAifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 8d709ae commit 4fe0674

4 files changed

Lines changed: 411 additions & 0 deletions

File tree

packages/google-cloud-recaptchaenterprise/protos/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
20502072
message IpOverrideData {
20512073
// Enum that represents the type of IP override.

packages/google-cloud-recaptchaenterprise/protos/protos.d.ts

Lines changed: 109 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)