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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ ml_engine_model_version MigratableResource\MlEngineModelVersion

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

↳ automl_model MigratableResource\AutomlModel

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

↳ automl_dataset MigratableResource\AutomlDataset

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

↳ data_labeling_dataset 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
Type Description
MigratableResource\MlEngineModelVersion|null

hasMlEngineModelVersion

setMlEngineModelVersion

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

Parameter
Name Description
var MigratableResource\MlEngineModelVersion
Returns
Type Description
$this

getAutomlModel

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

Returns
Type Description
MigratableResource\AutomlModel|null

hasAutomlModel

setAutomlModel

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

Parameter
Name Description
var MigratableResource\AutomlModel
Returns
Type Description
$this

getAutomlDataset

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

Returns
Type Description
MigratableResource\AutomlDataset|null

hasAutomlDataset

setAutomlDataset

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

Parameter
Name Description
var MigratableResource\AutomlDataset
Returns
Type Description
$this

getDataLabelingDataset

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

Returns
Type Description
MigratableResource\DataLabelingDataset|null

hasDataLabelingDataset

setDataLabelingDataset

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

Parameter
Name Description
var MigratableResource\DataLabelingDataset
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLastUpdateTime

Output only. Timestamp when this MigratableResource was last updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastUpdateTime

clearLastUpdateTime

setLastUpdateTime

Output only. Timestamp when this MigratableResource was last updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getResource

Returns
Type Description
string