Google Cloud Dataplex V1 Client - Class Trigger (1.6.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
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.

getOnDemand

The scan runs once via RunDataScan API.

Returns
Type Description
Trigger\OnDemand|null

hasOnDemand

setOnDemand

The scan runs once via RunDataScan API.

Parameter
Name Description
var Trigger\OnDemand
Returns
Type Description
$this

getSchedule

The scan is scheduled to run periodically.

Returns
Type Description
Trigger\Schedule|null

hasSchedule

setSchedule

The scan is scheduled to run periodically.

Parameter
Name Description
var Trigger\Schedule
Returns
Type Description
$this

getMode

Returns
Type Description
string

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.