Class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionReference
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2ExecutionReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/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_time ⇒ String
Creation timestamp of the execution.
-
#create_time ⇒ String
Creation timestamp of the execution.
-
#name ⇒ String
Name of the execution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2ExecutionReference
constructor
A new instance of GoogleCloudRunV2ExecutionReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2ExecutionReference
Returns a new instance of GoogleCloudRunV2ExecutionReference.
592 593 594 |
# File 'lib/google/apis/run_v2/classes.rb', line 592 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completion_time ⇒ String
Creation timestamp of the execution.
Corresponds to the JSON property completionTime
580 581 582 |
# File 'lib/google/apis/run_v2/classes.rb', line 580 def completion_time @completion_time end |
#create_time ⇒ String
Creation timestamp of the execution.
Corresponds to the JSON property createTime
585 586 587 |
# File 'lib/google/apis/run_v2/classes.rb', line 585 def create_time @create_time end |
#name ⇒ String
Name of the execution.
Corresponds to the JSON property name
590 591 592 |
# File 'lib/google/apis/run_v2/classes.rb', line 590 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
597 598 599 600 601 |
# File 'lib/google/apis/run_v2/classes.rb', line 597 def update!(**args) @completion_time = args[:completion_time] if args.key?(:completion_time) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) end |