Google Cloud Ai Platform V1 Client - Class BaseModelSource (1.2.0)

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

User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models.

Generated from protobuf message google.cloud.aiplatform.v1.Model.BaseModelSource

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Model

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model_garden_source Google\Cloud\AIPlatform\V1\ModelGardenSource

Source information of Model Garden models.

↳ genie_source Google\Cloud\AIPlatform\V1\GenieSource

Information about the base model of Genie models.

getModelGardenSource

Source information of Model Garden models.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ModelGardenSource|null

hasModelGardenSource

setModelGardenSource

Source information of Model Garden models.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ModelGardenSource
Returns
Type Description
$this

getGenieSource

Information about the base model of Genie models.

Returns
Type Description
Google\Cloud\AIPlatform\V1\GenieSource|null

hasGenieSource

setGenieSource

Information about the base model of Genie models.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\GenieSource
Returns
Type Description
$this

getSource

Returns
Type Description
string