Google Cloud Design Center V1 Client - Class DeveloperConnectSourceConfig (0.1.0)
Reference documentation and code samples for the Google Cloud Design Center V1 Client class DeveloperConnectSourceConfig.
This config specifies the location of a source (such as GitHub or Bitbucket)
through Developer Connect.
Generated from protobuf message google.cloud.designcenter.v1.DeveloperConnectSourceConfig
Namespace
Google \ Cloud \ DesignCenter \ V1
Methods
__construct
| Parameter |
| Name |
Description |
data |
mixed
|
getDeveloperConnectRepoUri
Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
| Returns |
| Type |
Description |
string |
|
setDeveloperConnectRepoUri
Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
| Parameter |
| Name |
Description |
var |
string
|
| Returns |
| Type |
Description |
$this |
|
getReference
Required. The reference (for example, a branch, tag, or commit SHA) from
which the content should be read.
hasReference
clearReference
setReference
Required. The reference (for example, a branch, tag, or commit SHA) from
which the content should be read.
| Returns |
| Type |
Description |
$this |
|
getDir
Required. The sub-directory within the repository from which to read
content. The path must be relative to the repository's root such as
dir1/dir2. To read content from the root dir, provide "/" as the value of
the field.
| Returns |
| Type |
Description |
string |
|
setDir
Required. The sub-directory within the repository from which to read
content. The path must be relative to the repository's root such as
dir1/dir2. To read content from the root dir, provide "/" as the value of
the field.
| Parameter |
| Name |
Description |
var |
string
|
| Returns |
| Type |
Description |
$this |
|
getFetchedCommitSha
Output only. The SHA of the commit deduced from GitReference.
| Returns |
| Type |
Description |
string |
|
setFetchedCommitSha
Output only. The SHA of the commit deduced from GitReference.
| Parameter |
| Name |
Description |
var |
string
|
| Returns |
| Type |
Description |
$this |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-29 UTC."],[],[]]