gcloud alpha source-manager pull-requests comments update

NAME
gcloud alpha source-manager pull-requests comments update - update a Secure Source Manager pull request comment
SYNOPSIS
gcloud alpha source-manager pull-requests comments update (PULL_REQUEST_COMMENT : --pull-request=PULL_REQUEST --region=REGION --repository=REPOSITORY) --body=BODY [--async] [--endpoint-mode=ENDPOINT_MODE] [GCLOUD_WIDE_FLAG …]
DESCRIPTION
(ALPHA) Update a Secure Source Manager pull request comment.
EXAMPLES
To update the body of a comment 123 on pull request 1 in repository my-repo and location us-central1, run the following command:
gcloud alpha source-manager pull-requests comments update 123 --pull-request=1 --repository=my-repo --region=us-central1 --body='New message'
POSITIONAL ARGUMENTS
Pull request comment resource - The Secure Source Manager pull request comment to update. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument pull_request_comment on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

This must be specified.

PULL_REQUEST_COMMENT
ID of the pull_request_comment or fully qualified identifier for the pull_request_comment.

To set the pull_request_comment attribute:

  • provide the argument pull_request_comment on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--pull-request=PULL_REQUEST
Secure Source Manager pull request.

To set the pull-request attribute:

  • provide the argument pull_request_comment on the command line with a fully specified name;
  • provide the argument --pull-request on the command line.
--region=REGION
Secure Source Manager location.

To set the region attribute:

  • provide the argument pull_request_comment on the command line with a fully specified name;
  • provide the argument --region on the command line.
--repository=REPOSITORY
Secure Source Manager repository.

To set the repository attribute:

  • provide the argument pull_request_comment on the command line with a fully specified name;
  • provide the argument --repository on the command line.
REQUIRED FLAGS
--body=BODY
The new body of the pull request comment.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--endpoint-mode=ENDPOINT_MODE
Specifies endpoint mode for a given command. Regional endpoints provide enhanced data residency and reliability by ensuring your request is handled entirely within the specified Google Cloud region. This differs from global endpoints, which may process parts of the request outside the target region. Overrides the default regional/endpoint_mode property value for this command invocation. ENDPOINT_MODE must be one of:
global
(Default) Use global rather than regional endpoints.
regional
Only use regional endpoints. An error will be raised if a regional endpoint is not available for a given command.
regional-preferred
Use regional endpoints when available, otherwise use global endpoints. Recommended for most users.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.