Skip to content

Commit b99f12a

Browse files
Google APIscopybara-github
authored andcommitted
docs: minor doc fixes
PiperOrigin-RevId: 668754916
1 parent b83ceb6 commit b99f12a

4 files changed

Lines changed: 21 additions & 21 deletions

File tree

google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ service RecaptchaEnterpriseService {
130130
// Adds an IP override to a key. The following restrictions hold:
131131
// * The maximum number of IP overrides per key is 100.
132132
// * For any conflict (such as IP already exists or IP part of an existing
133-
// IP range), an error will be returned.
133+
// IP range), an error is returned.
134134
rpc AddIpOverride(AddIpOverrideRequest) returns (AddIpOverrideResponse) {
135135
option (google.api.http) = {
136136
post: "/v1/{name=projects/*/keys/*}:addIpOverride"
@@ -239,7 +239,7 @@ service RecaptchaEnterpriseService {
239239

240240
// The create assessment request message.
241241
message CreateAssessmentRequest {
242-
// Required. The name of the project in which the assessment will be created,
242+
// Required. The name of the project in which the assessment is created,
243243
// in the format `projects/{project}`.
244244
string parent = 1 [
245245
(google.api.field_behavior) = REQUIRED,
@@ -469,7 +469,7 @@ message AnnotateAssessmentRequest {
469469
}
470470
];
471471

472-
// Optional. The annotation that will be assigned to the Event. This field can
472+
// Optional. The annotation that is assigned to the Event. This field can
473473
// be left empty to provide reasons that apply to an event without concluding
474474
// whether the event is legitimate or fraudulent.
475475
Annotation annotation = 2 [(google.api.field_behavior) = OPTIONAL];
@@ -726,7 +726,7 @@ message Event {
726726
[deprecated = true, (google.api.field_behavior) = OPTIONAL];
727727

728728
// Optional. Flag for a reCAPTCHA express request for an assessment without a
729-
// token. If enabled, `site_key` must reference an Express site key.
729+
// token. If enabled, `site_key` must reference an express key.
730730
bool express = 14 [(google.api.field_behavior) = OPTIONAL];
731731

732732
// Optional. The URI resource the user requested that triggered an assessment.
@@ -744,12 +744,12 @@ message Event {
744744
repeated string headers = 11 [(google.api.field_behavior) = OPTIONAL];
745745

746746
// Optional. Flag for enabling firewall policy config assessment.
747-
// If this flag is enabled, the firewall policy will be evaluated and a
748-
// suggested firewall action will be returned in the response.
747+
// If this flag is enabled, the firewall policy is evaluated and a
748+
// suggested firewall action is returned in the response.
749749
bool firewall_policy_evaluation = 12 [(google.api.field_behavior) = OPTIONAL];
750750

751751
// Optional. Data describing a payment transaction to be assessed. Sending
752-
// this data enables reCAPTCHA Enterprise Fraud Prevention and the
752+
// this data enables reCAPTCHA Fraud Prevention and the
753753
// FraudPreventionAssessment component in the response.
754754
TransactionData transaction_data = 13
755755
[(google.api.field_behavior) = OPTIONAL];
@@ -1197,7 +1197,7 @@ message AccountDefenderAssessment {
11971197

11981198
// The create key request message.
11991199
message CreateKeyRequest {
1200-
// Required. The name of the project in which the key will be created, in the
1200+
// Required. The name of the project in which the key is created, in the
12011201
// format `projects/{project}`.
12021202
string parent = 1 [
12031203
(google.api.field_behavior) = REQUIRED,
@@ -1212,7 +1212,7 @@ message CreateKeyRequest {
12121212

12131213
// The list keys request message.
12141214
message ListKeysRequest {
1215-
// Required. The name of the project that contains the keys that will be
1215+
// Required. The name of the project that contains the keys that are
12161216
// listed, in the format `projects/{project}`.
12171217
string parent = 1 [
12181218
(google.api.field_behavior) = REQUIRED,
@@ -1270,7 +1270,7 @@ message UpdateKeyRequest {
12701270
Key key = 1 [(google.api.field_behavior) = REQUIRED];
12711271

12721272
// Optional. The mask to control which fields of the key get updated. If the
1273-
// mask is not present, all fields will be updated.
1273+
// mask is not present, all fields are updated.
12741274
google.protobuf.FieldMask update_mask = 2
12751275
[(google.api.field_behavior) = OPTIONAL];
12761276
}
@@ -1350,7 +1350,7 @@ message UpdateFirewallPolicyRequest {
13501350
FirewallPolicy firewall_policy = 1 [(google.api.field_behavior) = REQUIRED];
13511351

13521352
// Optional. The mask to control which fields of the policy get updated. If
1353-
// the mask is not present, all fields will be updated.
1353+
// the mask is not present, all fields are updated.
13541354
google.protobuf.FieldMask update_mask = 2
13551355
[(google.api.field_behavior) = OPTIONAL];
13561356
}
@@ -1444,11 +1444,11 @@ message Metrics {
14441444
// Inclusive start time aligned to a day (UTC).
14451445
google.protobuf.Timestamp start_time = 1;
14461446

1447-
// Metrics will be continuous and in order by dates, and in the granularity
1447+
// Metrics are continuous and in order by dates, and in the granularity
14481448
// of day. All Key types should have score-based data.
14491449
repeated ScoreMetrics score_metrics = 2;
14501450

1451-
// Metrics will be continuous and in order by dates, and in the granularity
1451+
// Metrics are continuous and in order by dates, and in the granularity
14521452
// of day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have
14531453
// challenge-based data.
14541454
repeated ChallengeMetrics challenge_metrics = 3;
@@ -1493,7 +1493,7 @@ message Key {
14931493
// Settings for keys that can be used by iOS apps.
14941494
IOSKeySettings ios_settings = 5;
14951495

1496-
// Settings for keys that can be used by reCAPTCHA Express.
1496+
// Settings specific to keys that can be used for reCAPTCHA Express.
14971497
ExpressKeySettings express_settings = 11;
14981498
}
14991499

@@ -1698,13 +1698,13 @@ message ChallengeMetrics {
16981698

16991699
// Policy config assessment.
17001700
message FirewallPolicyAssessment {
1701-
// Output only. If the processing of a policy config fails, an error will be
1702-
// populated and the firewall_policy will be left empty.
1701+
// Output only. If the processing of a policy config fails, an error is
1702+
// populated and the firewall_policy is left empty.
17031703
google.rpc.Status error = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
17041704

17051705
// Output only. The policy that matched the request. If more than one policy
17061706
// may match, this is the first match. If no policy matches the incoming
1707-
// request, the policy field will be left empty.
1707+
// request, the policy field is left empty.
17081708
FirewallPolicy firewall_policy = 8
17091709
[(google.api.field_behavior) = OUTPUT_ONLY];
17101710
}

google/cloud/recaptchaenterprise/v1/recaptchaenterprise_v1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ documentation:
1010
summary: |-
1111
Help protect your website from fraudulent activity, spam, and abuse without
1212
creating friction.
13-
overview: reCAPTCHA Enterprise Overview
13+
overview: reCAPTCHA Overview
1414

1515
authentication:
1616
rules:

google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ service RecaptchaEnterpriseServiceV1Beta1 {
6060

6161
// The create assessment request message.
6262
message CreateAssessmentRequest {
63-
// Required. The name of the project in which the assessment will be created,
63+
// Required. The name of the project in which the assessment is created,
6464
// in the format `projects/{project_number}`.
6565
string parent = 1 [
6666
(google.api.field_behavior) = REQUIRED,
@@ -290,7 +290,7 @@ message AnnotateAssessmentRequest {
290290
}
291291
];
292292

293-
// Optional. The annotation that will be assigned to the Event. This field can
293+
// Optional. The annotation that is assigned to the Event. This field can
294294
// be left empty to provide reasons that apply to an event without concluding
295295
// whether the event is legitimate or fraudulent.
296296
Annotation annotation = 2 [(google.api.field_behavior) = OPTIONAL];

google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise_v1beta1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ documentation:
1010
summary: |-
1111
Help protect your website from fraudulent activity, spam, and abuse without
1212
creating friction.
13-
overview: reCAPTCHA Enterprise Overview
13+
overview: reCAPTCHA Overview
1414

1515
authentication:
1616
rules:

0 commit comments

Comments
 (0)