Google Cloud Ai Platform V1 Client - Class DeveloperConnectConfig (1.45.0)

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 \ SourceCodeSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ git_repository_link string

Required. The Developer Connect Git repository link, formatted as projects/*/locations/*/connections/*/gitRepositoryLink/*.

↳ dir string

Required. Directory, relative to the source root, in which to run the build.

↳ revision string

Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.

Required. The Developer Connect Git repository link, formatted as projects/*/locations/*/connections/*/gitRepositoryLink/*.

Returns
Type Description
string

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