Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class FetchGitRefsRequest.
Request for fetching git refs.
Generated from protobuf message google.cloud.developerconnect.v1.FetchGitRefsRequest
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ git_repository_link
string
Required. The resource name of GitRepositoryLink in the format projects/*/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 format projects/*/locations/*/connections/*/gitRepositoryLinks/*
.
string
setGitRepositoryLink
Required. The resource name of GitRepositoryLink in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*
.
var
string
$this
getRefType
Required. Type of refs to fetch.
int
setRefType
Required. Type of refs to fetch.
var
int
$this
getPageSize
Optional. Number of results to return in the list. Default to 20.
int
setPageSize
Optional. Number of results to return in the list. Default to 20.
var
int
$this
getPageToken
Optional. Page start.
string
setPageToken
Optional. Page start.
var
string
$this
static::build
gitRepositoryLink
string
Required. The resource name of GitRepositoryLink in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*
. Please see DeveloperConnectClient::gitRepositoryLinkName()
for help formatting this field.
refType
int
Required. Type of refs to fetch. For allowed values, use constants defined on FetchGitRefsRequest\RefType