Google Cloud Ai Platform V1 Client - Class ModelSourceInfo (0.15.0)

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

Detail description of the source information of the model.

Generated from protobuf message google.cloud.aiplatform.v1.ModelSourceInfo

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ source_type int

Type of the model source.

↳ copy bool

If this Model is copy of another Model. If true then source_type pertains to the original.

getSourceType

Type of the model source.

Returns
TypeDescription
int

setSourceType

Type of the model source.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCopy

If this Model is copy of another Model. If true then source_type pertains to the original.

Returns
TypeDescription
bool

setCopy

If this Model is copy of another Model. If true then source_type pertains to the original.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this