Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringObjectiveConfig

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

ModelDeploymentMonitoringObjectiveConfig contains the pair of deployed_model_id to ModelMonitoringObjectiveConfig.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringObjectiveConfig

Returns a new instance of GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringObjectiveConfig.



16035
16036
16037
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16035

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

Instance Attribute Details

#deployed_model_idString

The DeployedModel ID of the objective config. Corresponds to the JSON property deployedModelId

Returns:

  • (String)


16027
16028
16029
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16027

def deployed_model_id
  @deployed_model_id
end

#objective_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfig

The objective configuration for model monitoring, including the information needed to detect anomalies for one particular model. Corresponds to the JSON property objectiveConfig



16033
16034
16035
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16033

def objective_config
  @objective_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16040
16041
16042
16043
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16040

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