Class: Google::Cloud::Dataplex::V1::Trigger

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataplex/v1/processing.rb

Overview

DataScan scheduling and trigger settings.

Defined Under Namespace

Classes: OnDemand, Schedule

Instance Attribute Summary collapse

Instance Attribute Details

#on_demand::Google::Cloud::Dataplex::V1::Trigger::OnDemand

Returns The scan runs once via RunDataScan API.

Returns:



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'proto_docs/google/cloud/dataplex/v1/processing.rb', line 31

class Trigger
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The scan runs once via `RunDataScan` API.
  class OnDemand
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The scan is scheduled to run periodically.
  # @!attribute [rw] cron
  #   @return [::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.
  class Schedule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#schedule::Google::Cloud::Dataplex::V1::Trigger::Schedule

Returns The scan is scheduled to run periodically.

Returns:



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'proto_docs/google/cloud/dataplex/v1/processing.rb', line 31

class Trigger
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The scan runs once via `RunDataScan` API.
  class OnDemand
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The scan is scheduled to run periodically.
  # @!attribute [rw] cron
  #   @return [::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.
  class Schedule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end