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.



17064
17065
17066
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17064

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)


17054
17055
17056
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17054

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)


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

def window
  @window
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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