Google Cloud Dataplex V1 Client - Class Trigger (1.14.0)

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
Name
Description
data
array

Optional. Data for populating the Message object.

↳ on_demand
Trigger\OnDemand

The scan runs once via RunDataScan API.

↳ schedule
Trigger\Schedule

The scan is scheduled to run periodically.

↳ one_time
Trigger\OneTime

The scan runs once, and does not create an associated ScanJob child resource.

getOnDemand

The scan runs once via RunDataScan API.

Returns
Type
Description

hasOnDemand

setOnDemand

The scan runs once via RunDataScan API.

Parameter
Name
Description
Returns
Type
Description
$this

getSchedule

The scan is scheduled to run periodically.

Returns
Type
Description

hasSchedule

setSchedule

The scan is scheduled to run periodically.

Parameter
Name
Description
Returns
Type
Description
$this

getOneTime

The scan runs once, and does not create an associated ScanJob child resource.

Returns
Type
Description

hasOneTime

setOneTime

The scan runs once, and does not create an associated ScanJob child resource.

Parameter
Name
Description
Returns
Type
Description
$this

getMode

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: