Google Cloud Ai Platform V1 Client - Class MigratableResource (0.10.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

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.

Generated from protobuf field .google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

hasMlEngineModelVersion

setMlEngineModelVersion

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

Generated from protobuf field .google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getAutomlModel

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

Generated from protobuf field .google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

hasAutomlModel

setAutomlModel

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

Generated from protobuf field .google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getAutomlDataset

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

Generated from protobuf field .google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

hasAutomlDataset

setAutomlDataset

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

Generated from protobuf field .google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getDataLabelingDataset

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

Generated from protobuf field .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

hasDataLabelingDataset

setDataLabelingDataset

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

Generated from protobuf field .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

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.

Generated from protobuf field .google.protobuf.Timestamp last_migrate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

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.

Generated from protobuf field .google.protobuf.Timestamp last_migrate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getLastUpdateTime

Output only. Timestamp when this MigratableResource was last updated.

Generated from protobuf field .google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLastUpdateTime

clearLastUpdateTime

setLastUpdateTime

Output only. Timestamp when this MigratableResource was last updated.

Generated from protobuf field .google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getResource

Returns
TypeDescription
string