Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigrateResourceResponse

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

Describes a successfully migrated resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MigrateResourceResponse

Returns a new instance of GoogleCloudAiplatformV1beta1MigrateResourceResponse.



15230
15231
15232
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15230

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

Instance Attribute Details

#datasetString

Migrated Dataset's resource name. Corresponds to the JSON property dataset

Returns:

  • (String)


15217
15218
15219
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15217

def dataset
  @dataset
end

#migratable_resourceGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResource

Represents one resource that exists in automl.googleapis.com, datalabeling. googleapis.com or ml.googleapis.com. Corresponds to the JSON property migratableResource



15223
15224
15225
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15223

def migratable_resource
  @migratable_resource
end

#modelString

Migrated Model's resource name. Corresponds to the JSON property model

Returns:

  • (String)


15228
15229
15230
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15228

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15235
15236
15237
15238
15239
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15235

def update!(**args)
  @dataset = args[:dataset] if args.key?(:dataset)
  @migratable_resource = args[:migratable_resource] if args.key?(:migratable_resource)
  @model = args[:model] if args.key?(:model)
end