Google Cloud Ai Platform V1 Client - Class MigratableResource (0.25.0)

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

Represents one resource that exists in automl.googleapis.com, datalabeling.googleapis.com or ml.googleapis.com.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ml_engine_model_version Google\Cloud\AIPlatform\V1\MigratableResource\MlEngineModelVersion

Output only. Represents one Version in ml.googleapis.com.

↳ automl_model Google\Cloud\AIPlatform\V1\MigratableResource\AutomlModel

Output only. Represents one Model in automl.googleapis.com.

↳ automl_dataset Google\Cloud\AIPlatform\V1\MigratableResource\AutomlDataset

Output only. Represents one Dataset in automl.googleapis.com.

↳ data_labeling_dataset Google\Cloud\AIPlatform\V1\MigratableResource\DataLabelingDataset

Output only. Represents one Dataset in datalabeling.googleapis.com.

↳ last_migrate_time Google\Protobuf\Timestamp

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

↳ last_update_time Google\Protobuf\Timestamp

Output only. Timestamp when this MigratableResource was last updated.

getMlEngineModelVersion

Output only. Represents one Version in ml.googleapis.com.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\MigratableResource\MlEngineModelVersion|null

hasMlEngineModelVersion

setMlEngineModelVersion

Output only. Represents one Version in ml.googleapis.com.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\MigratableResource\MlEngineModelVersion
Returns
TypeDescription
$this

getAutomlModel

Output only. Represents one Model in automl.googleapis.com.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\MigratableResource\AutomlModel|null

hasAutomlModel

setAutomlModel

Output only. Represents one Model in automl.googleapis.com.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\MigratableResource\AutomlModel
Returns
TypeDescription
$this

getAutomlDataset

Output only. Represents one Dataset in automl.googleapis.com.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\MigratableResource\AutomlDataset|null

hasAutomlDataset

setAutomlDataset

Output only. Represents one Dataset in automl.googleapis.com.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\MigratableResource\AutomlDataset
Returns
TypeDescription
$this

getDataLabelingDataset

Output only. Represents one Dataset in datalabeling.googleapis.com.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\MigratableResource\DataLabelingDataset|null

hasDataLabelingDataset

setDataLabelingDataset

Output only. Represents one Dataset in datalabeling.googleapis.com.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\MigratableResource\DataLabelingDataset
Returns
TypeDescription
$this

getLastMigrateTime

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLastMigrateTime

clearLastMigrateTime

setLastMigrateTime

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLastUpdateTime

Output only. Timestamp when this MigratableResource was last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLastUpdateTime

clearLastUpdateTime

setLastUpdateTime

Output only. Timestamp when this MigratableResource was last updated.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getResource

Returns
TypeDescription
string