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 \ ReasoningEngineSpecMethods
__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. |
↳ image_spec |
SourceCodeSpec\ImageSpec
Optional. Configuration for building an image with custom config file. |
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 |
|
getImageSpec
Optional. Configuration for building an image with custom config file.
| Returns | |
|---|---|
| Type | Description |
SourceCodeSpec\ImageSpec|null |
|
hasImageSpec
setImageSpec
Optional. Configuration for building an image with custom config file.
| Parameter | |
|---|---|
| Name | Description |
var |
SourceCodeSpec\ImageSpec
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSource
| Returns | |
|---|---|
| Type | Description |
string |
|
getLanguageSpec
| Returns | |
|---|---|
| Type | Description |
string |
|