Google Cloud Design Center V1 Client - Class DeveloperConnectSourceConfig (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Constructor.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-29 UTC."],[],[]]