Google Cloud Build V1 Client - Class CommentControl (0.5.1)

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

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
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;