Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Configuration for Sync. Only one option is set.
Instance Attribute Summary collapse
-
#continuous ⇒ Boolean
(also: #continuous?)
Optional.
-
#cron ⇒ String
Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1FeatureViewSyncConfig
constructor
A new instance of GoogleCloudAiplatformV1FeatureViewSyncConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1FeatureViewSyncConfig
Returns a new instance of GoogleCloudAiplatformV1FeatureViewSyncConfig.
9400 9401 9402 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9400 def initialize(**args) update!(**args) end |
Instance Attribute Details
#continuous ⇒ Boolean Also known as: continuous?
Optional. If true, syncs the FeatureView in a continuous manner to Online
Store.
Corresponds to the JSON property continuous
9388 9389 9390 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9388 def continuous @continuous end |
#cron ⇒ String
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
9398 9399 9400 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9398 def cron @cron end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9405 9406 9407 9408 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9405 def update!(**args) @continuous = args[:continuous] if args.key?(:continuous) @cron = args[:cron] if args.key?(:cron) end |