Reference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::WorkflowTriggerConfig.
Represents a trigger configuration for a workflow.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#condition
def condition() -> ::Google::Cloud::Dataform::V1beta1::WorkflowTriggerConfig::Condition
Returns
- (::Google::Cloud::Dataform::V1beta1::WorkflowTriggerConfig::Condition) — Optional. The condition to use when triggering the workflow.
#condition=
def condition=(value) -> ::Google::Cloud::Dataform::V1beta1::WorkflowTriggerConfig::Condition
Parameter
- value (::Google::Cloud::Dataform::V1beta1::WorkflowTriggerConfig::Condition) — Optional. The condition to use when triggering the workflow.
Returns
- (::Google::Cloud::Dataform::V1beta1::WorkflowTriggerConfig::Condition) — Optional. The condition to use when triggering the workflow.
#last_successful_evaluation_time
def last_successful_evaluation_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp of the last successful trigger evaluation.
#max_wait_duration
def max_wait_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.
#max_wait_duration=
def max_wait_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.
Returns
- (::Google::Protobuf::Duration) — Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.
#min_execution_duration
def min_execution_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.
#min_execution_duration=
def min_execution_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.
Returns
- (::Google::Protobuf::Duration) — Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.
#recent_trigger_evaluation_records
def recent_trigger_evaluation_records() -> ::Array<::Google::Cloud::Dataform::V1beta1::TriggerEvaluationRecord>
Returns
-
(::Array<::Google::Cloud::Dataform::V1beta1::TriggerEvaluationRecord>) — Output only. Records of the 10 most recent trigger evaluations, ordered
in descending order of
evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).
#workflow_triggers
def workflow_triggers() -> ::Array<::Google::Cloud::Dataform::V1beta1::WorkflowTrigger>
Returns
- (::Array<::Google::Cloud::Dataform::V1beta1::WorkflowTrigger>) — Required. The trigger definitions to invoke a workflow.
#workflow_triggers=
def workflow_triggers=(value) -> ::Array<::Google::Cloud::Dataform::V1beta1::WorkflowTrigger>
Parameter
- value (::Array<::Google::Cloud::Dataform::V1beta1::WorkflowTrigger>) — Required. The trigger definitions to invoke a workflow.
Returns
- (::Array<::Google::Cloud::Dataform::V1beta1::WorkflowTrigger>) — Required. The trigger definitions to invoke a workflow.