public static interface Trigger.OneTimeOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getTtlAfterScanCompletion()
public abstract Duration 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.
.google.protobuf.Duration ttl_after_scan_completion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The ttlAfterScanCompletion. |
getTtlAfterScanCompletionOrBuilder()
public abstract DurationOrBuilder getTtlAfterScanCompletionOrBuilder()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.
.google.protobuf.Duration ttl_after_scan_completion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasTtlAfterScanCompletion()
public abstract boolean hasTtlAfterScanCompletion()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.
.google.protobuf.Duration ttl_after_scan_completion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ttlAfterScanCompletion field is set. |