Google Cloud Developer Connect V1 Client - Class ModifyGitRepositoryLinkPullRequestRequest (0.9.0)
0.9.0 (latest)
0.8.0
0.7.3
0.6.2
0.5.3
0.4.1
0.3.0
0.2.2
0.1.2
Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class ModifyGitRepositoryLinkPullRequestRequest.
Message for modifying SCM Pull Request.
Generated from protobuf message google.cloud.developerconnect.v1.ModifyGitRepositoryLinkPullRequestRequest
Namespace
Google \ Cloud \ DeveloperConnect \ V1
Methods
__construct
Parameter
Name
Description
data
mixed
getName
Required. The GitRepositoryLink resource name in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Returns
Type
Description
string
setName
Required. The GitRepositoryLink resource name in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPullRequestId
Required. The SCM-specific Pull Request identifier (e.g., "45").
Returns
Type
Description
string
setPullRequestId
Required. The SCM-specific Pull Request identifier (e.g., "45").
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTitle
Optional. The title of the Pull Request.
Returns
Type
Description
string
setTitle
Optional. The title of the Pull Request.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBody
Optional. The body description of the Pull Request.
Returns
Type
Description
string
setBody
Optional. The body description of the Pull Request.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBaseRef
Optional. The target branch to merge into.
Returns
Type
Description
string
setBaseRef
Optional. The target branch to merge into.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getState
Optional. The state of the Pull Request.
Returns
Type
Description
int
Enum of type State .
setState
Optional. The state of the Pull Request.
Parameter
Name
Description
var
int
Enum of type State .
Returns
Type
Description
$this
static::build
Parameters
Name
Description
name
string
Required. The GitRepositoryLink resource name in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*. Please see
DeveloperConnectClient::gitRepositoryLinkName() for help formatting this field.
pullRequestId
string
Required. The SCM-specific Pull Request identifier (e.g., "45").
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-17 UTC."],[],[]]