Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class FetchGitRepositoryLinkCommitResponse.
Response message for FetchGitRepositoryLinkCommit.
Generated from protobuf message google.cloud.developerconnect.v1.FetchGitRepositoryLinkCommitResponse
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ commit |
SCMCommit
The commit metadata. |
↳ files |
array<FileDiff>
List of file changes and patch diffs. Omitted when view is |
getCommit
The commit metadata.
| Returns | |
|---|---|
| Type | Description |
SCMCommit|null |
|
hasCommit
clearCommit
setCommit
The commit metadata.
| Parameter | |
|---|---|
| Name | Description |
var |
SCMCommit
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFiles
List of file changes and patch diffs. Omitted when view is BASIC.
Patch diffs (FileDiff.patch) are only populated when path_filters is
specified in the request.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<FileDiff> |
|
setFiles
List of file changes and patch diffs. Omitted when view is BASIC.
Patch diffs (FileDiff.patch) are only populated when path_filters is
specified in the request.
| Parameter | |
|---|---|
| Name | Description |
var |
array<FileDiff>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|