Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringJob

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

Represents a model monitoring job that analyze dataset using different monitoring algorithm.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringJob

Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringJob.



17114
17115
17116
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17114

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

Instance Attribute Details

#create_timeString

Output only. Timestamp when this ModelMonitoringJob was created. Corresponds to the JSON property createTime

Returns:

  • (String)


17062
17063
17064
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17062

def create_time
  @create_time
end

#display_nameString

The display name of the ModelMonitoringJob. The name can be up to 128 characters long and can consist of any UTF-8. Corresponds to the JSON property displayName

Returns:

  • (String)


17068
17069
17070
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17068

def display_name
  @display_name
end

#job_execution_detailGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetail

Represent the execution details of the job. Corresponds to the JSON property jobExecutionDetail



17073
17074
17075
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17073

def job_execution_detail
  @job_execution_detail
end

#model_monitoring_specGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringSpec

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports. Corresponds to the JSON property modelMonitoringSpec



17079
17080
17081
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17079

def model_monitoring_spec
  @model_monitoring_spec
end

#nameString

Output only. Resource name of a ModelMonitoringJob. Format: projects/ project_id/locations/location_id/modelMonitors/model_monitor_id/ modelMonitoringJobs/model_monitoring_job_id` Corresponds to the JSON propertyname`

Returns:

  • (String)


17086
17087
17088
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17086

def name
  @name
end

#scheduleString

Output only. Schedule resource name. It will only appear when this job is triggered by a schedule. Corresponds to the JSON property schedule

Returns:

  • (String)


17092
17093
17094
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17092

def schedule
  @schedule
end

#schedule_timeString

Output only. Timestamp when this ModelMonitoringJob was scheduled. It will only appear when this job is triggered by a schedule. Corresponds to the JSON property scheduleTime

Returns:

  • (String)


17098
17099
17100
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17098

def schedule_time
  @schedule_time
end

#stateString

Output only. The state of the monitoring job. * When the job is still creating, the state will be 'JOB_STATE_PENDING'. * Once the job is successfully created, the state will be 'JOB_STATE_RUNNING'. * Once the job is finished, the state will be one of 'JOB_STATE_FAILED', 'JOB_STATE_SUCCEEDED', ' JOB_STATE_PARTIALLY_SUCCEEDED'. Corresponds to the JSON property state

Returns:

  • (String)


17107
17108
17109
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17107

def state
  @state
end

#update_timeString

Output only. Timestamp when this ModelMonitoringJob was updated most recently. Corresponds to the JSON property updateTime

Returns:

  • (String)


17112
17113
17114
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17112

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17119

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @job_execution_detail = args[:job_execution_detail] if args.key?(:job_execution_detail)
  @model_monitoring_spec = args[:model_monitoring_spec] if args.key?(:model_monitoring_spec)
  @name = args[:name] if args.key?(:name)
  @schedule = args[:schedule] if args.key?(:schedule)
  @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end