Google Cloud Developer Connect V1 Client - Class State (0.9.0)

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

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Default value.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

OPEN

Value: 1

The PR is open.

Generated from protobuf enum OPEN = 1;

CLOSED

Value: 2

The PR is closed.

Generated from protobuf enum CLOSED = 2;

MERGED

Value: 3

The PR is merged.

Generated from protobuf enum MERGED = 3;

DECLINED

Value: 4

The 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;