Class: Google::Apis::GkeonpremV1::OperationStage
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::OperationStage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
Information about a particular stage of an operation.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Time the stage ended.
-
#metrics ⇒ Array<Google::Apis::GkeonpremV1::Metric>
Progress metric bundle.
-
#stage ⇒ String
The high-level stage of the operation.
-
#start_time ⇒ String
Time the stage started.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperationStage
constructor
A new instance of OperationStage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OperationStage
Returns a new instance of OperationStage.
3100 3101 3102 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3100 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Time the stage ended.
Corresponds to the JSON property endTime
3078 3079 3080 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3078 def end_time @end_time end |
#metrics ⇒ Array<Google::Apis::GkeonpremV1::Metric>
Progress metric bundle.
Corresponds to the JSON property metrics
3083 3084 3085 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3083 def metrics @metrics end |
#stage ⇒ String
The high-level stage of the operation.
Corresponds to the JSON property stage
3088 3089 3090 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3088 def stage @stage end |
#start_time ⇒ String
Time the stage started.
Corresponds to the JSON property startTime
3093 3094 3095 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3093 def start_time @start_time end |
#state ⇒ String
Output only. State of the stage.
Corresponds to the JSON property state
3098 3099 3100 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3098 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3105 3106 3107 3108 3109 3110 3111 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3105 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @metrics = args[:metrics] if args.key?(:metrics) @stage = args[:stage] if args.key?(:stage) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) end |