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

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

Constructor.

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").

Returns
Type Description
ModifyGitRepositoryLinkPullRequestRequest