Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1TriggerSchedule
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1TriggerSchedule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
The scan is scheduled to run periodically.
Instance Attribute Summary collapse
-
#cron ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1TriggerSchedule
constructor
A new instance of GoogleCloudDataplexV1TriggerSchedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1TriggerSchedule
Returns a new instance of GoogleCloudDataplexV1TriggerSchedule.
7620 7621 7622 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7620 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cron ⇒ String
Required. Cron (https://en.wikipedia.org/wiki/Cron) schedule for running scans
periodically.To explicitly set a timezone in 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 (
wikipedia (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)).
For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * *
- *.This field is required for Schedule scans.
Corresponds to the JSON property
cron
7618 7619 7620 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7618 def cron @cron end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7625 7626 7627 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7625 def update!(**args) @cron = args[:cron] if args.key?(:cron) end |