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.



15031
15032
15033
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15031

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)


15023
15024
15025
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15023

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



15029
15030
15031
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15029

def objective_config
  @objective_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15036
15037
15038
15039
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15036

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