Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CopyModelResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CopyModelResponse
- 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
Response message of ModelService.CopyModel operation.
Instance Attribute Summary collapse
-
#model ⇒ String
The name of the copied Model resource.
-
#model_version_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CopyModelResponse
constructor
A new instance of GoogleCloudAiplatformV1beta1CopyModelResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CopyModelResponse
Returns a new instance of GoogleCloudAiplatformV1beta1CopyModelResponse.
3986 3987 3988 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3986 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
The name of the copied Model resource. Format: projects/project/locations/
location/models/model`
Corresponds to the JSON propertymodel`
3979 3980 3981 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3979 def model @model end |
#model_version_id ⇒ String
Output only. The version ID of the model that is copied.
Corresponds to the JSON property modelVersionId
3984 3985 3986 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3984 def model_version_id @model_version_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3991 3992 3993 3994 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3991 def update!(**args) @model = args[:model] if args.key?(:model) @model_version_id = args[:model_version_id] if args.key?(:model_version_id) end |