Class: Google::Apis::DataformV1beta1::WorkflowInvocationAction

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb

Overview

Represents a single action in a workflow invocation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkflowInvocationAction

Returns a new instance of WorkflowInvocationAction.



3039
3040
3041
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3039

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bigquery_actionGoogle::Apis::DataformV1beta1::BigQueryAction

Represents a workflow action that will run against BigQuery. Corresponds to the JSON property bigqueryAction



3002
3003
3004
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3002

def bigquery_action
  @bigquery_action
end

#canonical_targetGoogle::Apis::DataformV1beta1::Target

Represents an action identifier. If the action writes output, the output will be written to the referenced database object. Corresponds to the JSON property canonicalTarget



3008
3009
3010
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3008

def canonical_target
  @canonical_target
end

#failure_reasonString

Output only. If and only if action's state is FAILED a failure reason is set. Corresponds to the JSON property failureReason

Returns:

  • (String)


3013
3014
3015
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3013

def failure_reason
  @failure_reason
end

#invocation_timingGoogle::Apis::DataformV1beta1::Interval

Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Corresponds to the JSON property invocationTiming



3021
3022
3023
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3021

def invocation_timing
  @invocation_timing
end

#notebook_actionGoogle::Apis::DataformV1beta1::NotebookAction

Represents a workflow action that will run against a Notebook runtime. Corresponds to the JSON property notebookAction



3026
3027
3028
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3026

def notebook_action
  @notebook_action
end

#stateString

Output only. This action's current state. Corresponds to the JSON property state

Returns:

  • (String)


3031
3032
3033
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3031

def state
  @state
end

#targetGoogle::Apis::DataformV1beta1::Target

Represents an action identifier. If the action writes output, the output will be written to the referenced database object. Corresponds to the JSON property target



3037
3038
3039
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3037

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3044
3045
3046
3047
3048
3049
3050
3051
3052
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3044

def update!(**args)
  @bigquery_action = args[:bigquery_action] if args.key?(:bigquery_action)
  @canonical_target = args[:canonical_target] if args.key?(:canonical_target)
  @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
  @invocation_timing = args[:invocation_timing] if args.key?(:invocation_timing)
  @notebook_action = args[:notebook_action] if args.key?(:notebook_action)
  @state = args[:state] if args.key?(:state)
  @target = args[:target] if args.key?(:target)
end