Dataplex V1 API - Class Google::Cloud::Dataplex::V1::Trigger::Schedule (v0.12.0)

Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Trigger::Schedule.

The scan is scheduled to run periodically.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cron

def cron() -> ::String
Returns
  • (::String) — Required. 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). For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.

    This field is required for Schedule scans.

#cron=

def cron=(value) -> ::String
Parameter
  • value (::String) — Required. 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). For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.

    This field is required for Schedule scans.

Returns
  • (::String) — Required. 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). For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.

    This field is required for Schedule scans.