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

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

Specification for deploying from source code.

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

Namespace

Google \ Cloud \ AIPlatform \ V1 \ ReasoningEngineSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ inline_source SourceCodeSpec\InlineSource

Source code is provided directly in the request.

↳ developer_connect_source SourceCodeSpec\DeveloperConnectSource

Source code is in a Git repository managed by Developer Connect.

↳ python_spec SourceCodeSpec\PythonSpec

Configuration for a Python application.

getInlineSource

Source code is provided directly in the request.

Returns
Type Description
SourceCodeSpec\InlineSource|null

hasInlineSource

setInlineSource

Source code is provided directly in the request.

Parameter
Name Description
var SourceCodeSpec\InlineSource
Returns
Type Description
$this

getDeveloperConnectSource

Source code is in a Git repository managed by Developer Connect.

Returns
Type Description
SourceCodeSpec\DeveloperConnectSource|null

hasDeveloperConnectSource

setDeveloperConnectSource

Source code is in a Git repository managed by Developer Connect.

Parameter
Name Description
var SourceCodeSpec\DeveloperConnectSource
Returns
Type Description
$this

getPythonSpec

Configuration for a Python application.

Returns
Type Description
SourceCodeSpec\PythonSpec|null

hasPythonSpec

setPythonSpec

Configuration for a Python application.

Parameter
Name Description
var SourceCodeSpec\PythonSpec
Returns
Type Description
$this

getSource

Returns
Type Description
string

getLanguageSpec

Returns
Type Description
string

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 2025年12月13日 UTC.