Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class DiffGitRepositoryLinkCommitRequest.
Request message for DiffGitRepositoryLinkCommit.
Generated from protobuf message google.cloud.developerconnect.v1.DiffGitRepositoryLinkCommitRequest
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The resource name of the GitRepositoryLink. |
↳ base_sha |
string
Required. The base commit SHA or ref. |
↳ head_sha |
string
Required. The head commit SHA or ref. |
↳ path_filters |
string[]
Optional. Path patterns or exact paths to filter returned files. When |
getName
Required. The resource name of the GitRepositoryLink.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The resource name of the GitRepositoryLink.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBaseSha
Required. The base commit SHA or ref.
| Returns | |
|---|---|
| Type | Description |
string |
|
setBaseSha
Required. The base commit SHA or ref.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHeadSha
Required. The head commit SHA or ref.
| Returns | |
|---|---|
| Type | Description |
string |
|
setHeadSha
Required. The head commit SHA or ref.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPathFilters
Optional. Path patterns or exact paths to filter returned files.
When path_filters is specified, FileDiff.patch is populated for all
matching files (use ["**"] to include patches for all changed files).
When path_filters is omitted or empty, the full list of FileDiff is
returned without patch diffs (FileDiff.patch is empty).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setPathFilters
Optional. Path patterns or exact paths to filter returned files.
When path_filters is specified, FileDiff.patch is populated for all
matching files (use ["**"] to include patches for all changed files).
When path_filters is omitted or empty, the full list of FileDiff is
returned without patch diffs (FileDiff.patch is empty).
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
name |
string
Required. The resource name of the GitRepositoryLink. Please see DeveloperConnectClient::gitRepositoryLinkName() for help formatting this field. |
baseSha |
string
Required. The base commit SHA or ref. |
headSha |
string
Required. The head commit SHA or ref. |
| Returns | |
|---|---|
| Type | Description |
DiffGitRepositoryLinkCommitRequest |
|