Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig

Inherits:
Object
  • Object
show all
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

ModelDeploymentMonitoringObjectiveConfig contains the pair of deployed_model_id to ModelMonitoringObjectiveConfig.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig

Returns a new instance of GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig.



14733
14734
14735
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14733

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)


14725
14726
14727
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14725

def deployed_model_id
  @deployed_model_id
end

#objective_configGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig

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



14731
14732
14733
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14731

def objective_config
  @objective_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14738
14739
14740
14741
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14738

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