Google Cloud Dataplex V1 Client - Class OneTime (1.12.0)

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

The scan runs once using create API.

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

Namespace

Google \ Cloud \ Dataplex \ V1 \ Trigger

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ttl_after_scan_completion Google\Protobuf\Duration

Optional. Time to live for OneTime scans. default value is 24 hours, minimum value is 0 seconds, and maximum value is 365 days. The time is calculated from the data scan job completion time. If value is set as 0 seconds, the scan will be immediately deleted upon job completion, regardless of whether the job succeeded or failed.

getTtlAfterScanCompletion

Optional. Time to live for OneTime scans.

default value is 24 hours, minimum value is 0 seconds, and maximum value is 365 days. The time is calculated from the data scan job completion time. If value is set as 0 seconds, the scan will be immediately deleted upon job completion, regardless of whether the job succeeded or failed.

Returns
Type Description
Google\Protobuf\Duration|null

hasTtlAfterScanCompletion

clearTtlAfterScanCompletion

setTtlAfterScanCompletion

Optional. Time to live for OneTime scans.

default value is 24 hours, minimum value is 0 seconds, and maximum value is 365 days. The time is calculated from the data scan job completion time. If value is set as 0 seconds, the scan will be immediately deleted upon job completion, regardless of whether the job succeeded or failed.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this