Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DeveloperConnectConfig.
Specifies the configuration for fetching source code from a Git repository that is managed by Developer Connect. This includes the repository, revision, and directory to use.
Generated from protobuf message google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectConfig
Namespace
Google \ Cloud \ AIPlatform \ V1 \ ReasoningEngineSpec \ SourceCodeSpecMethods
__construct
Constructor.
| Parameter | |
|---|---|
| Name | Description |
data |
mixed
|
getGitRepositoryLink
Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLink/*.
| Returns | |
|---|---|
| Type | Description |
string |
|
setGitRepositoryLink
Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLink/*.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDir
Required. Directory, relative to the source root, in which to run the build.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDir
Required. Directory, relative to the source root, in which to run the build.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRevision
Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRevision
Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|