Google Cloud Developer Connect V1 Client - Class FetchGitRefsRequest (0.5.3) Stay organized with collections Save and categorize content based on your preferences.
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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ git_repository_link | stringRequired. The resource name of GitRepositoryLink in the format |
↳ ref_type | intRequired. Type of refs to fetch. |
↳ page_size | intOptional. Number of results to return in the list. Default to 20. |
↳ page_token | stringOptional. 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 | Enum of typeRefType. |
setRefType
Required. Type of refs to fetch.
| Parameter | |
|---|---|
| Name | Description |
var | intEnum of typeRefType. |
| 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 | stringRequired. The resource name of GitRepositoryLink in the format |
refType | intRequired. Type of refs to fetch.For allowed values, use constants defined onFetchGitRefsRequest\RefType |
| Returns | |
|---|---|
| Type | Description |
FetchGitRefsRequest | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.