PullRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)Message representing a SCM Pull Request.
Attributes |
|
|---|---|
| Name | Description |
id |
str
Required. The ID of the PR. |
title |
str
Required. The title of the PR. |
body |
str
Optional. The body description of the PR. |
head_ref |
str
Required. The source commit SHA of the head branch. |
base_ref |
str
Required. The target commit SHA of the base branch. |
author |
str
Output only. The username of the author. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the PR was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the PR was updated. |
merge_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the PR was merged. |
close_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the PR was closed. |
decline_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the PR was declined. Only set for SCM providers that support declining pull requests. Never set for GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise, where a pull request closed without being merged is CLOSED.
|
state |
google.cloud.developerconnect_v1.types.PullRequest.State
Output only. The current state of the PR. |
mergeability |
google.cloud.developerconnect_v1.types.PullRequest.Mergeability
Output only. The mergeability state of the pull request. |
html_url |
str
Output only. The HTML URL of the pull request on the SCM provider. |
Classes
Mergeability
Mergeability(value)The mergeability state of a pull request.
State
State(value)The state of the PR.