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_timestamp ⇒ String
Optional.
-
#creation_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.
1131 1132 1133 |
# File 'lib/google/apis/run_v1/classes.rb', line 1131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completion_timestamp ⇒ String
Optional. Completion timestamp of the execution.
Corresponds to the JSON property completionTimestamp
1119 1120 1121 |
# File 'lib/google/apis/run_v1/classes.rb', line 1119 def @completion_timestamp end |
#creation_timestamp ⇒ String
Optional. Creation timestamp of the execution.
Corresponds to the JSON property creationTimestamp
1124 1125 1126 |
# File 'lib/google/apis/run_v1/classes.rb', line 1124 def @creation_timestamp end |
#name ⇒ String
Optional. Name of the execution.
Corresponds to the JSON property name
1129 1130 1131 |
# File 'lib/google/apis/run_v1/classes.rb', line 1129 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1136 1137 1138 1139 1140 |
# File 'lib/google/apis/run_v1/classes.rb', line 1136 def update!(**args) @completion_timestamp = args[:completion_timestamp] if args.key?(:completion_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @name = args[:name] if args.key?(:name) end |