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.



15479
15480
15481
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15479

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)


15471
15472
15473
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15471

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



15477
15478
15479
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15477

def objective_config
  @objective_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15484
15485
15486
15487
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15484

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