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

Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class FetchGitRepositoryLinkPullRequestListRequest.

Request message for FetchGitRepositoryLinkPullRequestList.

Generated from protobuf message google.cloud.developerconnect.v1.FetchGitRepositoryLinkPullRequestListRequest

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

getFilter

Optional. A filter expression that filters the pull requests returned in the response. Only a single equality comparison on state is supported, for example state = "OPEN". Supported values are OPEN, CLOSED, and MERGED. DECLINED is only supported for SCM providers that support declining pull requests, and returns INVALID_ARGUMENT for GitHub, GitHub Enterprise, GitLab, and GitLab Enterprise. Other values or expressions return INVALID_ARGUMENT. Defaults to state = "OPEN" if unspecified.

Returns
Type Description
string

setFilter

Optional. A filter expression that filters the pull requests returned in the response. Only a single equality comparison on state is supported, for example state = "OPEN". Supported values are OPEN, CLOSED, and MERGED. DECLINED is only supported for SCM providers that support declining pull requests, and returns INVALID_ARGUMENT for GitHub, GitHub Enterprise, GitLab, and GitLab Enterprise. Other values or expressions return INVALID_ARGUMENT. Defaults to state = "OPEN" if unspecified.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Number of results to return in the list. Default is 20. Max is

  1. A page may contain fewer than page_size results even when more results are available; use next_page_token to check for more pages.
Returns
Type Description
int

setPageSize

Optional. Number of results to return in the list. Default is 20. Max is

  1. A page may contain fewer than page_size results even when more results are available; use next_page_token to check for more pages.
Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A page token, received from a previous FetchGitRepositoryLinkPullRequestList call. Provide this to retrieve the subsequent page.

Returns
Type Description
string

setPageToken

Optional. A page token, received from a previous FetchGitRepositoryLinkPullRequestList call. Provide this to retrieve the subsequent page.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
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.

Returns
Type Description
FetchGitRepositoryLinkPullRequestListRequest