PullRequest
import type { PullRequest } from "https://googleapis.deno.dev/v1/securesourcemanager:v1.ts";
Metadata of a PullRequest. PullRequest is the request from a user to merge a branch (head) into another branch (base).
interface PullRequest {
base?: Branch;
body?: string;
readonly closeTime?: Date;
readonly createTime?: Date;
head?: Branch;
readonly name?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "OPEN"
| "CLOSED"
| "MERGED";
title?: string;
readonly updateTime?: Date;
}§Properties
§
readonly closeTime?: Date
[src]Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.
§
readonly name?: string
[src]Output only. A unique identifier for a PullRequest. The number appended at
the end is generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}