Google Cloud Build V1 Client - Class CommentControl (0.12.0)

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 \ PullRequestFilter

Methods

static::name

Parameter
NameDescription
value mixed

static::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;