Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class State.
The state of the PR.
Protobuf type google.cloud.developerconnect.v1.PullRequest.State
Namespace
Google \ Cloud \ DeveloperConnect \ V1 \ PullRequestMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0Default value.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
OPEN
Value: 1The PR is open.
Generated from protobuf enum OPEN = 1;
CLOSED
Value: 2The PR is closed.
Generated from protobuf enum CLOSED = 2;
MERGED
Value: 3The PR is merged.
Generated from protobuf enum MERGED = 3;
DECLINED
Value: 4The PR is declined. Only used by SCM providers that support declining
pull requests. Never used for GitHub, GitHub Enterprise, GitLab, or
GitLab Enterprise, where a pull request closed without being merged is
CLOSED.
Generated from protobuf enum DECLINED = 4;