Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UploadModelResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UploadModelResponse
- 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.UploadModel operation.
Instance Attribute Summary collapse
-
#model ⇒ String
The name of the uploaded Model resource.
-
#model_version_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1UploadModelResponse
constructor
A new instance of GoogleCloudAiplatformV1UploadModelResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1UploadModelResponse
Returns a new instance of GoogleCloudAiplatformV1UploadModelResponse.
32801 32802 32803 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
The name of the uploaded Model resource. Format: projects/
project/locations/
location/models/
model`
Corresponds to the JSON property
model`
32794 32795 32796 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32794 def model @model end |
#model_version_id ⇒ String
Output only. The version ID of the model that is uploaded.
Corresponds to the JSON property modelVersionId
32799 32800 32801 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32799 def model_version_id @model_version_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32806 32807 32808 32809 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32806 def update!(**args) @model = args[:model] if args.key?(:model) @model_version_id = args[:model_version_id] if args.key?(:model_version_id) end |