Reference documentation and code samples for the Google Cloud Build V1 Client class CommentControl.
Controls behavior of Pull Request comments.
Protobuf type google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl
Namespace
Google \ Cloud \ Build \ V1 \ PullRequestFilterMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
COMMENTS_DISABLED
Value: 0
Do not require comments on Pull Requests before builds are triggered.
Generated from protobuf enum COMMENTS_DISABLED = 0;
COMMENTS_ENABLED
Value: 1
Enforce that repository owners or collaborators must comment on Pull Requests before builds are triggered.
Generated from protobuf enum COMMENTS_ENABLED = 1;
COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
Value: 2
Enforce that repository owners or collaborators must comment on external contributors' Pull Requests before builds are triggered.
Generated from protobuf enum COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY = 2;