Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTargetVertexModelSource

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

Model in Vertex AI Model Registry.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTargetVertexModelSource

Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTargetVertexModelSource.



16644
16645
16646
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16644

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

Instance Attribute Details

#modelString

Model resource name. Format: projects/project/locations/location/models/ model. Corresponds to the JSON property model

Returns:

  • (String)


16637
16638
16639
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16637

def model
  @model
end

#model_version_idString

Model version id. Corresponds to the JSON property modelVersionId

Returns:

  • (String)


16642
16643
16644
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16642

def model_version_id
  @model_version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16649
16650
16651
16652
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16649

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