Skip to content

Commit f3f5b91

Browse files
Google APIscopybara-github
authored andcommitted
docs: marked fields as output only
PiperOrigin-RevId: 747885681
1 parent a056799 commit f3f5b91

1 file changed

Lines changed: 23 additions & 19 deletions

File tree

google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -646,39 +646,43 @@ message FraudPreventionAssessment {
646646
// Information about stolen instrument fraud, where the user is not the
647647
// legitimate owner of the instrument being used for the purchase.
648648
message StolenInstrumentVerdict {
649-
// Probability (0-1) of this transaction being executed with a stolen
650-
// instrument.
651-
float risk = 1;
649+
// Output only. Probability (0-1) of this transaction being executed with a
650+
// stolen instrument.
651+
float risk = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
652652
}
653653

654654
// Information about card testing fraud, where an adversary is testing
655655
// fraudulently obtained cards or brute forcing their details.
656656
message CardTestingVerdict {
657-
// Probability (0-1) of this transaction attempt being part of a card
658-
// testing attack.
659-
float risk = 1;
657+
// Output only. Probability (0-1) of this transaction attempt being part of
658+
// a card testing attack.
659+
float risk = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
660660
}
661661

662662
// Information about behavioral trust of the transaction.
663663
message BehavioralTrustVerdict {
664-
// Probability (0-1) of this transaction attempt being executed in a
665-
// behaviorally trustworthy way.
666-
float trust = 1;
664+
// Output only. Probability (0-1) of this transaction attempt being executed
665+
// in a behaviorally trustworthy way.
666+
float trust = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
667667
}
668668

669-
// Probability (0-1) of this transaction being fraudulent. Summarizes the
670-
// combined risk of attack vectors below.
671-
float transaction_risk = 1;
669+
// Output only. Probability (0-1) of this transaction being fraudulent.
670+
// Summarizes the combined risk of attack vectors below.
671+
float transaction_risk = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
672672

673-
// Assessment of this transaction for risk of a stolen instrument.
674-
StolenInstrumentVerdict stolen_instrument_verdict = 2;
673+
// Output only. Assessment of this transaction for risk of a stolen
674+
// instrument.
675+
StolenInstrumentVerdict stolen_instrument_verdict = 2
676+
[(google.api.field_behavior) = OUTPUT_ONLY];
675677

676-
// Assessment of this transaction for risk of being part of a card testing
677-
// attack.
678-
CardTestingVerdict card_testing_verdict = 3;
678+
// Output only. Assessment of this transaction for risk of being part of a
679+
// card testing attack.
680+
CardTestingVerdict card_testing_verdict = 3
681+
[(google.api.field_behavior) = OUTPUT_ONLY];
679682

680-
// Assessment of this transaction for behavioral trust.
681-
BehavioralTrustVerdict behavioral_trust_verdict = 4;
683+
// Output only. Assessment of this transaction for behavioral trust.
684+
BehavioralTrustVerdict behavioral_trust_verdict = 4
685+
[(google.api.field_behavior) = OUTPUT_ONLY];
682686
}
683687

684688
// Account defender risk assessment.

0 commit comments

Comments
 (0)