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

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DeveloperConnectSource.

Specifies source code to be fetched from a Git repository managed through the Developer Connect service.

Generated from protobuf message google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectSource

Namespace

Google \ Cloud \ AIPlatform \ V1 \ ReasoningEngineSpec \ SourceCodeSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ config DeveloperConnectConfig

Required. The Developer Connect configuration that defines the specific repository, revision, and directory to use as the source code root.

getConfig

Required. The Developer Connect configuration that defines the specific repository, revision, and directory to use as the source code root.

Returns
Type Description
DeveloperConnectConfig|null

hasConfig

clearConfig

setConfig

Required. The Developer Connect configuration that defines the specific repository, revision, and directory to use as the source code root.

Parameter
Name Description
var DeveloperConnectConfig
Returns
Type Description
$this