Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MigratableResource

Returns a new instance of GoogleCloudAiplatformV1beta1MigratableResource.



14871
14872
14873
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14871

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#automl_datasetGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResourceAutomlDataset

Represents one Dataset in automl.googleapis.com. Corresponds to the JSON property automlDataset



14842
14843
14844
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14842

def automl_dataset
  @automl_dataset
end

#automl_modelGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResourceAutomlModel

Represents one Model in automl.googleapis.com. Corresponds to the JSON property automlModel



14847
14848
14849
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14847

def automl_model
  @automl_model
end

#data_labeling_datasetGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDataset

Represents one Dataset in datalabeling.googleapis.com. Corresponds to the JSON property dataLabelingDataset



14852
14853
14854
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14852

def data_labeling_dataset
  @data_labeling_dataset
end

#last_migrate_timeString

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. Corresponds to the JSON property lastMigrateTime

Returns:

  • (String)


14859
14860
14861
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14859

def last_migrate_time
  @last_migrate_time
end

#last_update_timeString

Output only. Timestamp when this MigratableResource was last updated. Corresponds to the JSON property lastUpdateTime

Returns:

  • (String)


14864
14865
14866
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14864

def last_update_time
  @last_update_time
end

#ml_engine_model_versionGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResourceMlEngineModelVersion

Represents one model Version in ml.googleapis.com. Corresponds to the JSON property mlEngineModelVersion



14869
14870
14871
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14869

def ml_engine_model_version
  @ml_engine_model_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14876
14877
14878
14879
14880
14881
14882
14883
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14876

def update!(**args)
  @automl_dataset = args[:automl_dataset] if args.key?(:automl_dataset)
  @automl_model = args[:automl_model] if args.key?(:automl_model)
  @data_labeling_dataset = args[:data_labeling_dataset] if args.key?(:data_labeling_dataset)
  @last_migrate_time = args[:last_migrate_time] if args.key?(:last_migrate_time)
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
  @ml_engine_model_version = args[:ml_engine_model_version] if args.key?(:ml_engine_model_version)
end