Class: Google::Apis::RunV1::ExecutionReference
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::ExecutionReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v1/classes.rb,
lib/google/apis/run_v1/representations.rb,
lib/google/apis/run_v1/representations.rb
Overview
Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status.
Instance Attribute Summary collapse
-
#completion_status ⇒ String
Optional.
-
#completion_timestamp ⇒ String
Optional.
-
#creation_timestamp ⇒ String
Optional.
-
#deletion_timestamp ⇒ String
Optional.
-
#name ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecutionReference
constructor
A new instance of ExecutionReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecutionReference
Returns a new instance of ExecutionReference.
1145 1146 1147 |
# File 'lib/google/apis/run_v1/classes.rb', line 1145 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completion_status ⇒ String
Optional. Status for the execution completion.
Corresponds to the JSON property completionStatus
1123 1124 1125 |
# File 'lib/google/apis/run_v1/classes.rb', line 1123 def completion_status @completion_status end |
#completion_timestamp ⇒ String
Optional. Completion timestamp of the execution.
Corresponds to the JSON property completionTimestamp
1128 1129 1130 |
# File 'lib/google/apis/run_v1/classes.rb', line 1128 def @completion_timestamp end |
#creation_timestamp ⇒ String
Optional. Creation timestamp of the execution.
Corresponds to the JSON property creationTimestamp
1133 1134 1135 |
# File 'lib/google/apis/run_v1/classes.rb', line 1133 def @creation_timestamp end |
#deletion_timestamp ⇒ String
Optional. The read-only soft deletion timestamp of the execution.
Corresponds to the JSON property deletionTimestamp
1138 1139 1140 |
# File 'lib/google/apis/run_v1/classes.rb', line 1138 def @deletion_timestamp end |
#name ⇒ String
Optional. Name of the execution.
Corresponds to the JSON property name
1143 1144 1145 |
# File 'lib/google/apis/run_v1/classes.rb', line 1143 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/google/apis/run_v1/classes.rb', line 1150 def update!(**args) @completion_status = args[:completion_status] if args.key?(:completion_status) @completion_timestamp = args[:completion_timestamp] if args.key?(:completion_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @deletion_timestamp = args[:deletion_timestamp] if args.key?(:deletion_timestamp) @name = args[:name] if args.key?(:name) end |