Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse

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

Response message for ModelMonitoringService.SearchModelMonitoringAlerts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse

Returns a new instance of GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse.



30843
30844
30845
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30843

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

Instance Attribute Details

#model_monitoring_alertsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlert>

Alerts retrieved for the requested objectives. Sorted by alert time descendingly. Corresponds to the JSON property modelMonitoringAlerts



30830
30831
30832
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30830

def model_monitoring_alerts
  @model_monitoring_alerts
end

#next_page_tokenString

The page token that can be used by the next ModelMonitoringService. SearchModelMonitoringAlerts call. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


30836
30837
30838
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30836

def next_page_token
  @next_page_token
end

#total_number_alertsFixnum

The total number of alerts retrieved by the requested objectives. Corresponds to the JSON property totalNumberAlerts

Returns:

  • (Fixnum)


30841
30842
30843
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30841

def total_number_alerts
  @total_number_alerts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30848
30849
30850
30851
30852
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30848

def update!(**args)
  @model_monitoring_alerts = args[:model_monitoring_alerts] if args.key?(:model_monitoring_alerts)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @total_number_alerts = args[:total_number_alerts] if args.key?(:total_number_alerts)
end