Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

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


9388
9389
9390
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9388

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)


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