Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Trigger.
DataScan scheduling and trigger settings.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#on_demand
def on_demand() -> ::Google::Cloud::Dataplex::V1::Trigger::OnDemand
Returns
-
(::Google::Cloud::Dataplex::V1::Trigger::OnDemand) — The scan runs once via
RunDataScan
API.
#on_demand=
def on_demand=(value) -> ::Google::Cloud::Dataplex::V1::Trigger::OnDemand
Parameter
-
value (::Google::Cloud::Dataplex::V1::Trigger::OnDemand) — The scan runs once via
RunDataScan
API.
Returns
-
(::Google::Cloud::Dataplex::V1::Trigger::OnDemand) — The scan runs once via
RunDataScan
API.
#schedule
def schedule() -> ::Google::Cloud::Dataplex::V1::Trigger::Schedule
Returns
- (::Google::Cloud::Dataplex::V1::Trigger::Schedule) — The scan is scheduled to run periodically.
#schedule=
def schedule=(value) -> ::Google::Cloud::Dataplex::V1::Trigger::Schedule
Parameter
- value (::Google::Cloud::Dataplex::V1::Trigger::Schedule) — The scan is scheduled to run periodically.
Returns
- (::Google::Cloud::Dataplex::V1::Trigger::Schedule) — The scan is scheduled to run periodically.