Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSyncConfig

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

Configuration for Sync. Only one option is set.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FeatureViewSyncConfig

Returns a new instance of GoogleCloudAiplatformV1beta1FeatureViewSyncConfig.



11566
11567
11568
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11566

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

Instance Attribute Details

#continuousBoolean Also known as: continuous?

Optional. If true, syncs the FeatureView in a continuous manner to Online Store. Corresponds to the JSON property continuous

Returns:

  • (Boolean)


11554
11555
11556
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11554

def continuous
  @continuous
end

#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)


11564
11565
11566
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11564

def cron
  @cron
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11571
11572
11573
11574
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11571

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