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 one-time shortly after DataScan Creation.
#on_demand=
def on_demand=(value) -> ::Google::Cloud::Dataplex::V1::Trigger::OnDemand
Parameter
- value (::Google::Cloud::Dataplex::V1::Trigger::OnDemand) — The scan runs one-time shortly after DataScan Creation.
Returns
- (::Google::Cloud::Dataplex::V1::Trigger::OnDemand) — The scan runs one-time shortly after DataScan Creation.
#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.