Skip to content

Commit

Permalink
docs: [recaptchaenterprise] fix CreateAssessmentRequest comment (#5663)
Browse files Browse the repository at this point in the history
* docs: fix CreateAssessmentRequest comment
docs: update API title in docs overview

PiperOrigin-RevId: 671473962

Source-Link: googleapis/googleapis@eb4c1ec

Source-Link: googleapis/googleapis-gen@3647184
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlY2FwdGNoYWVudGVycHJpc2UvLk93bEJvdC55YW1sIiwiaCI6IjM2NDcxODRjNDEzYzU0NDBmMzI1OGQ4MGUwZDU2YjI2YWZkMTQzYjEifQ==

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Sep 12, 2024
1 parent c0995a2 commit 5a26698
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ service RecaptchaEnterpriseServiceV1Beta1 {

// The create assessment request message.
message CreateAssessmentRequest {
// Required. The name of the project in which the assessment is created,
// Required. The name of the project in which the assessment will be created,
// in the format `projects/{project_number}`.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
Expand Down Expand Up @@ -290,7 +290,7 @@ message AnnotateAssessmentRequest {
}
];

// Optional. The annotation that is assigned to the Event. This field can
// Optional. The annotation that will be assigned to the Event. This field can
// be left empty to provide reasons that apply to an event without concluding
// whether the event is legitimate or fraudulent.
Annotation annotation = 2 [(google.api.field_behavior) = OPTIONAL];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function main(name) {
*/
// const name = 'abc123'
/**
* Optional. The annotation that is assigned to the Event. This field can
* Optional. The annotation that will be assigned to the Event. This field can
* be left empty to provide reasons that apply to an event without concluding
* whether the event is legitimate or fraudulent.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function main(parent, assessment) {
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The name of the project in which the assessment is created,
* Required. The name of the project in which the assessment will be created,
* in the format `projects/{project_number}`.
*/
// const parent = 'abc123'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ export class RecaptchaEnterpriseServiceV1Beta1Client {
* @param {Object} request
* The request object that will be sent.
* @param {string} request.parent
* Required. The name of the project in which the assessment is created,
* Required. The name of the project in which the assessment will be created,
* in the format `projects/{project_number}`.
* @param {google.cloud.recaptchaenterprise.v1beta1.Assessment} request.assessment
* Required. The assessment details.
Expand Down Expand Up @@ -482,7 +482,7 @@ export class RecaptchaEnterpriseServiceV1Beta1Client {
* Required. The resource name of the Assessment, in the format
* `projects/{project_number}/assessments/{assessment_id}`.
* @param {google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.Annotation} [request.annotation]
* Optional. The annotation that is assigned to the Event. This field can
* Optional. The annotation that will be assigned to the Event. This field can
* be left empty to provide reasons that apply to an event without concluding
* whether the event is legitimate or fraudulent.
* @param {number[]} [request.reasons]
Expand Down

0 comments on commit 5a26698

Please sign in to comment.