Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CopyModelResponse

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

Overview

Response message of ModelService.CopyModel operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1CopyModelResponse

Returns a new instance of GoogleCloudAiplatformV1CopyModelResponse.



2879
2880
2881
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2879

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

Instance Attribute Details

#modelString

The name of the copied Model resource. Format: projects/project/locations/ location/models/model` Corresponds to the JSON propertymodel`

Returns:

  • (String)


2872
2873
2874
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2872

def model
  @model
end

#model_version_idString

Output only. The version ID of the model that is copied. Corresponds to the JSON property modelVersionId

Returns:

  • (String)


2877
2878
2879
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2877

def model_version_id
  @model_version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2884
2885
2886
2887
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2884

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