Google Cloud Dataplex V1 Client - Class Trigger (0.11.1)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class Trigger.

DataScan scheduling and trigger settings.

Generated from protobuf message google.cloud.dataplex.v1.Trigger

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ on_demand Google\Cloud\Dataplex\V1\Trigger\OnDemand

The scan runs once via RunDataScan API.

↳ schedule Google\Cloud\Dataplex\V1\Trigger\Schedule

The scan is scheduled to run periodically.

getOnDemand

The scan runs once via RunDataScan API.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\Trigger\OnDemand|null

hasOnDemand

setOnDemand

The scan runs once via RunDataScan API.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\Trigger\OnDemand
Returns
TypeDescription
$this

getSchedule

The scan is scheduled to run periodically.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\Trigger\Schedule|null

hasSchedule

setSchedule

The scan is scheduled to run periodically.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\Trigger\Schedule
Returns
TypeDescription
$this

getMode

Returns
TypeDescription
string