Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ScheduleConfig

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

Schedule configuration for the FeatureMonitor.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ScheduleConfig

Returns a new instance of GoogleCloudAiplatformV1beta1ScheduleConfig.



28958
28959
28960
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 28958

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

Instance Attribute Details

#cronString

Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: " CRON_TZ=$IANA_TIME_ZONE" or "TZ=$IANA_TIME_ZONE". The $IANA_TIME_ZONE may only be a valid string from IANA time zone database. For example, "CRON_TZ= America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *". Corresponds to the JSON property cron

Returns:

  • (String)


28956
28957
28958
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 28956

def cron
  @cron
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28963
28964
28965
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 28963

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