Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::JobTrigger::Trigger (v1.7.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::JobTrigger::Trigger.

What event needs to occur for a new job to be started.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#manual

def manual() -> ::Google::Cloud::Dlp::V2::Manual
Returns
  • (::Google::Cloud::Dlp::V2::Manual) — For use with hybrid jobs. Jobs must be manually created and finished.

    Note: The following fields are mutually exclusive: manual, schedule. If a field in that set is populated, all other fields in the set will automatically be cleared.

#manual=

def manual=(value) -> ::Google::Cloud::Dlp::V2::Manual
Parameter
  • value (::Google::Cloud::Dlp::V2::Manual) — For use with hybrid jobs. Jobs must be manually created and finished.

    Note: The following fields are mutually exclusive: manual, schedule. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::Manual) — For use with hybrid jobs. Jobs must be manually created and finished.

    Note: The following fields are mutually exclusive: manual, schedule. If a field in that set is populated, all other fields in the set will automatically be cleared.

#schedule

def schedule() -> ::Google::Cloud::Dlp::V2::Schedule
Returns
  • (::Google::Cloud::Dlp::V2::Schedule) — Create a job on a repeating basis based on the elapse of time.

    Note: The following fields are mutually exclusive: schedule, manual. If a field in that set is populated, all other fields in the set will automatically be cleared.

#schedule=

def schedule=(value) -> ::Google::Cloud::Dlp::V2::Schedule
Parameter
  • value (::Google::Cloud::Dlp::V2::Schedule) — Create a job on a repeating basis based on the elapse of time.

    Note: The following fields are mutually exclusive: schedule, manual. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::Schedule) — Create a job on a repeating basis based on the elapse of time.

    Note: The following fields are mutually exclusive: schedule, manual. If a field in that set is populated, all other fields in the set will automatically be cleared.