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.



28520
28521
28522
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 28520

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)


28518
28519
28520
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 28518

def cron
  @cron
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28525
28526
28527
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 28525

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