Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class CreatePullRequestRequest.
CreatePullRequestRequest is the request to create a pull request.
Generated from protobuf message google.cloud.securesourcemanager.v1.CreatePullRequestRequest
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The repository that the pull request is created from. Format: |
↳ pull_request |
PullRequest
Required. The pull request to create. |
getParent
Required. The repository that the pull request is created from. Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The repository that the pull request is created from. Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPullRequest
Required. The pull request to create.
| Returns | |
|---|---|
| Type | Description |
PullRequest|null |
|
hasPullRequest
clearPullRequest
setPullRequest
Required. The pull request to create.
| Parameter | |
|---|---|
| Name | Description |
var |
PullRequest
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The repository that the pull request is created from. Format:
|
pullRequest |
PullRequest
Required. The pull request to create. |
| Returns | |
|---|---|
| Type | Description |
CreatePullRequestRequest |
|