Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class FetchGitRepositoryLinkCommitListRequest.
Request message for FetchGitRepositoryLinkCommitList.
Generated from protobuf message google.cloud.developerconnect.v1.FetchGitRepositoryLinkCommitListRequest
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
| Parameter | |
|---|---|
| Name | Description |
data |
mixed
|
getName
Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRef
Optional. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference) from which to start listing commits.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRef
Optional. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference) from which to start listing commits.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageSize
Optional. Number of results to return in the list. Default is 50. Max is 100.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPageSize
Optional. Number of results to return in the list. Default is 50. Max is 100.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageToken
Optional. A page token, received from a previous
FetchGitRepositoryLinkCommitList call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
FetchGitRepositoryLinkCommitList must match the call that provided the
page token.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPageToken
Optional. A page token, received from a previous
FetchGitRepositoryLinkCommitList call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
FetchGitRepositoryLinkCommitList must match the call that provided the
page token.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getView
Optional. The level of commit details to return in the response.
Only BASIC is supported; FULL returns INVALID_ARGUMENT. Defaults to
BASIC if unspecified. Use FetchGitRepositoryLinkCommit to get file
diffs for a single commit.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type CommitView. |
setView
Optional. The level of commit details to return in the response.
Only BASIC is supported; FULL returns INVALID_ARGUMENT. Defaults to
BASIC if unspecified. Use FetchGitRepositoryLinkCommit to get file
diffs for a single commit.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type CommitView. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
name |
string
Required. The resource name of the GitRepositoryLink in the format
|
ref |
string
Optional. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference) from which to start listing commits. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest |
|