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. |
↳ 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 |
|
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 |
|