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.



13953
13954
13955
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13953

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)


13945
13946
13947
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13945

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



13951
13952
13953
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13951

def objective_config
  @objective_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13958
13959
13960
13961
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13958

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