Class: Google::Apis::RunV1::ExecutionStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::ExecutionStatus
- 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
ExecutionStatus represents the current state of a Execution.
Instance Attribute Summary collapse
-
#cancelled_count ⇒ Fixnum
Optional.
-
#completion_time ⇒ String
Optional.
-
#conditions ⇒ Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>
Optional.
-
#failed_count ⇒ Fixnum
Optional.
-
#log_uri ⇒ String
Optional.
-
#observed_generation ⇒ Fixnum
Optional.
-
#retried_count ⇒ Fixnum
Optional.
-
#running_count ⇒ Fixnum
Optional.
-
#start_time ⇒ String
Optional.
-
#succeeded_count ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecutionStatus
constructor
A new instance of ExecutionStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecutionStatus
Returns a new instance of ExecutionStatus.
1095 1096 1097 |
# File 'lib/google/apis/run_v1/classes.rb', line 1095 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cancelled_count ⇒ Fixnum
Optional. The number of tasks which reached phase Cancelled. +optional
Corresponds to the JSON property cancelledCount
1041 1042 1043 |
# File 'lib/google/apis/run_v1/classes.rb', line 1041 def cancelled_count @cancelled_count end |
#completion_time ⇒ String
Optional. Represents time when the execution was completed. It is not
guaranteed to be set in happens-before order across separate operations. It is
represented in RFC3339 form and is in UTC. +optional
Corresponds to the JSON property completionTime
1048 1049 1050 |
# File 'lib/google/apis/run_v1/classes.rb', line 1048 def completion_time @completion_time end |
#conditions ⇒ Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>
Optional. The latest available observations of an execution's current state.
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-
to-completion/ +optional
Corresponds to the JSON property conditions
1055 1056 1057 |
# File 'lib/google/apis/run_v1/classes.rb', line 1055 def conditions @conditions end |
#failed_count ⇒ Fixnum
Optional. The number of tasks which reached phase Failed. +optional
Corresponds to the JSON property failedCount
1060 1061 1062 |
# File 'lib/google/apis/run_v1/classes.rb', line 1060 def failed_count @failed_count end |
#log_uri ⇒ String
Optional. URI where logs for this execution can be found in Cloud Console.
Corresponds to the JSON property logUri
1065 1066 1067 |
# File 'lib/google/apis/run_v1/classes.rb', line 1065 def log_uri @log_uri end |
#observed_generation ⇒ Fixnum
Optional. The 'generation' of the execution that was last processed by the
controller.
Corresponds to the JSON property observedGeneration
1071 1072 1073 |
# File 'lib/google/apis/run_v1/classes.rb', line 1071 def observed_generation @observed_generation end |
#retried_count ⇒ Fixnum
Optional. The number of tasks which have retried at least once. +optional
Corresponds to the JSON property retriedCount
1076 1077 1078 |
# File 'lib/google/apis/run_v1/classes.rb', line 1076 def retried_count @retried_count end |
#running_count ⇒ Fixnum
Optional. The number of actively running tasks. +optional
Corresponds to the JSON property runningCount
1081 1082 1083 |
# File 'lib/google/apis/run_v1/classes.rb', line 1081 def running_count @running_count end |
#start_time ⇒ String
Optional. Represents time when the execution started to run. It is not
guaranteed to be set in happens-before order across separate operations. It is
represented in RFC3339 form and is in UTC. +optional
Corresponds to the JSON property startTime
1088 1089 1090 |
# File 'lib/google/apis/run_v1/classes.rb', line 1088 def start_time @start_time end |
#succeeded_count ⇒ Fixnum
Optional. The number of tasks which reached phase Succeeded. +optional
Corresponds to the JSON property succeededCount
1093 1094 1095 |
# File 'lib/google/apis/run_v1/classes.rb', line 1093 def succeeded_count @succeeded_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 |
# File 'lib/google/apis/run_v1/classes.rb', line 1100 def update!(**args) @cancelled_count = args[:cancelled_count] if args.key?(:cancelled_count) @completion_time = args[:completion_time] if args.key?(:completion_time) @conditions = args[:conditions] if args.key?(:conditions) @failed_count = args[:failed_count] if args.key?(:failed_count) @log_uri = args[:log_uri] if args.key?(:log_uri) @observed_generation = args[:observed_generation] if args.key?(:observed_generation) @retried_count = args[:retried_count] if args.key?(:retried_count) @running_count = args[:running_count] if args.key?(:running_count) @start_time = args[:start_time] if args.key?(:start_time) @succeeded_count = args[:succeeded_count] if args.key?(:succeeded_count) end |