Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringInputTimeOffset

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

Time offset setting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringInputTimeOffset

Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringInputTimeOffset.



17021
17022
17023
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17021

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

Instance Attribute Details

#offsetString

[offset] is the time difference from the cut-off time. For scheduled jobs, the cut-off time is the scheduled time. For non-scheduled jobs, it's the time when the job was created. Currently we support the following format: 'w|W': Week, ' d|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days. Corresponds to the JSON property offset

Returns:

  • (String)


17011
17012
17013
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17011

def offset
  @offset
end

#windowString

[window] refers to the scope of data selected for analysis. It allows you to specify the quantity of data you wish to examine. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days. Corresponds to the JSON property window

Returns:

  • (String)


17019
17020
17021
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17019

def window
  @window
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17026
17027
17028
17029
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17026

def update!(**args)
  @offset = args[:offset] if args.key?(:offset)
  @window = args[:window] if args.key?(:window)
end