Dataplex V1 API - Class Google::Cloud::Dataplex::V1::Trigger (v1.4.0)

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.

    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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.