Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UploadModelResponse

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

Response message of ModelService.UploadModel operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1UploadModelResponse

Returns a new instance of GoogleCloudAiplatformV1beta1UploadModelResponse.



36065
36066
36067
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36065

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

Instance Attribute Details

#modelString

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

Returns:

  • (String)


36058
36059
36060
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36058

def model
  @model
end

#model_version_idString

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

Returns:

  • (String)


36063
36064
36065
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36063

def model_version_id
  @model_version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36070
36071
36072
36073
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36070

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