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
-
(::Google::Cloud::Dataplex::V1::Trigger::OnDemand) — The scan runs once via
RunDataScan
API.Note: The following fields are mutually exclusive:
on_demand
,schedule
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#on_demand=
def on_demand=(value) -> ::Google::Cloud::Dataplex::V1::Trigger::OnDemand
-
value (::Google::Cloud::Dataplex::V1::Trigger::OnDemand) — The scan runs once via
RunDataScan
API.Note: The following fields are mutually exclusive:
on_demand
,schedule
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dataplex::V1::Trigger::OnDemand) — The scan runs once via
RunDataScan
API.Note: The following fields are mutually exclusive:
on_demand
,schedule
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#schedule
def schedule() -> ::Google::Cloud::Dataplex::V1::Trigger::Schedule
-
(::Google::Cloud::Dataplex::V1::Trigger::Schedule) — The scan is scheduled to run periodically.
Note: The following fields are mutually exclusive:
schedule
,on_demand
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#schedule=
def schedule=(value) -> ::Google::Cloud::Dataplex::V1::Trigger::Schedule
-
value (::Google::Cloud::Dataplex::V1::Trigger::Schedule) — The scan is scheduled to run periodically.
Note: The following fields are mutually exclusive:
schedule
,on_demand
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dataplex::V1::Trigger::Schedule) — The scan is scheduled to run periodically.
Note: The following fields are mutually exclusive:
schedule
,on_demand
. If a field in that set is populated, all other fields in the set will automatically be cleared.