class Google::Apis::ContainerV1beta1::OperationProgress

Information about operation (or operation stage) progress.

Attributes

metrics[RW]

Progress metric bundle, for example: metrics: [`name: “nodes done”, int_value: 15`, `name: “nodes total”, int_value: 32`] or metrics: [`name: “progress”, double_value: 0.56`, `name: “progress scale”, double_value: 1.0`] Corresponds to the JSON property `metrics` @return [Array<Google::Apis::ContainerV1beta1::Metric>]

name[RW]

A non-parameterized string describing an operation stage. Unset for single- stage operations. Corresponds to the JSON property `name` @return [String]

stages[RW]

Substages of an operation or a stage. Corresponds to the JSON property `stages` @return [Array<Google::Apis::ContainerV1beta1::OperationProgress>]

status[RW]

Status of an operation stage. Unset for single-stage operations. Corresponds to the JSON property `status` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 3780
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1beta1/classes.rb, line 3785
def update!(**args)
  @metrics = args[:metrics] if args.key?(:metrics)
  @name = args[:name] if args.key?(:name)
  @stages = args[:stages] if args.key?(:stages)
  @status = args[:status] if args.key?(:status)
end