Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class FetchGitRefsRequest.
Request for fetching git refs.
Generated from protobuf messagegoogle.cloud.developerconnect.v1.FetchGitRefsRequest
Namespace
Google \ Cloud \ DeveloperConnect \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ git_repository_link
string
Required. The resource name of GitRepositoryLink in the formatprojects/*/locations/*/connections/*/gitRepositoryLinks/*.
↳ ref_type
int
Required. Type of refs to fetch.
↳ page_size
int
Optional. Number of results to return in the list. Default to 20.
↳ page_token
string
Optional. Page start.
getGitRepositoryLink
Required. The resource name of GitRepositoryLink in the formatprojects/*/locations/*/connections/*/gitRepositoryLinks/*.
Returns
Type
Description
string
setGitRepositoryLink
Required. The resource name of GitRepositoryLink in the formatprojects/*/locations/*/connections/*/gitRepositoryLinks/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getRefType
Required. Type of refs to fetch.
Returns
Type
Description
int
setRefType
Required. Type of refs to fetch.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageSize
Optional. Number of results to return in the list. Default to 20.
Returns
Type
Description
int
setPageSize
Optional. Number of results to return in the list. Default to 20.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Optional. Page start.
Returns
Type
Description
string
setPageToken
Optional. Page start.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
gitRepositoryLink
string
Required. The resource name of GitRepositoryLink in the formatprojects/*/locations/*/connections/*/gitRepositoryLinks/*. Please seeDeveloperConnectClient::gitRepositoryLinkName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Developer Connect V1 Client - Class FetchGitRefsRequest (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-developerconnect/latest/V1.FetchGitRefsRequest)\n- [0.4.0](/php/docs/reference/cloud-developerconnect/0.4.0/V1.FetchGitRefsRequest)\n- [0.3.0](/php/docs/reference/cloud-developerconnect/0.3.0/V1.FetchGitRefsRequest)\n- [0.2.2](/php/docs/reference/cloud-developerconnect/0.2.2/V1.FetchGitRefsRequest)\n- [0.1.2](/php/docs/reference/cloud-developerconnect/0.1.2/V1.FetchGitRefsRequest) \nReference documentation and code samples for the Google Cloud Developer Connect V1 Client class FetchGitRefsRequest.\n\nRequest for fetching git refs.\n\nGenerated from protobuf message `google.cloud.developerconnect.v1.FetchGitRefsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DeveloperConnect \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getGitRepositoryLink\n\nRequired. The resource name of GitRepositoryLink in the format\n`projects/*/locations/*/connections/*/gitRepositoryLinks/*`.\n\n### setGitRepositoryLink\n\nRequired. The resource name of GitRepositoryLink in the format\n`projects/*/locations/*/connections/*/gitRepositoryLinks/*`.\n\n### getRefType\n\nRequired. Type of refs to fetch.\n\n### setRefType\n\nRequired. Type of refs to fetch.\n\n### getPageSize\n\nOptional. Number of results to return in the list. Default to 20.\n\n### setPageSize\n\nOptional. Number of results to return in the list. Default to 20.\n\n### getPageToken\n\nOptional. Page start.\n\n### setPageToken\n\nOptional. Page start.\n\n### static::build"]]