Information about operation (or operation stage) progress.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#metrics
def metrics() -> ::Array<::Google::Cloud::Container::V1::OperationProgress::Metric>
Returns
- (::Array<::Google::Cloud::Container::V1::OperationProgress::Metric>) — 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}]
#metrics=
def metrics=(value) -> ::Array<::Google::Cloud::Container::V1::OperationProgress::Metric>
Parameter
- value (::Array<::Google::Cloud::Container::V1::OperationProgress::Metric>) — 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}]
Returns
- (::Array<::Google::Cloud::Container::V1::OperationProgress::Metric>) — 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}]
#name
def name() -> ::String
Returns
- (::String) — A non-parameterized string describing an operation stage. Unset for single-stage operations.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — A non-parameterized string describing an operation stage. Unset for single-stage operations.
Returns
- (::String) — A non-parameterized string describing an operation stage. Unset for single-stage operations.
#stages
def stages() -> ::Array<::Google::Cloud::Container::V1::OperationProgress>
Returns
- (::Array<::Google::Cloud::Container::V1::OperationProgress>) — Substages of an operation or a stage.
#stages=
def stages=(value) -> ::Array<::Google::Cloud::Container::V1::OperationProgress>
Parameter
- value (::Array<::Google::Cloud::Container::V1::OperationProgress>) — Substages of an operation or a stage.
Returns
- (::Array<::Google::Cloud::Container::V1::OperationProgress>) — Substages of an operation or a stage.
#status
def status() -> ::Google::Cloud::Container::V1::Operation::Status
Returns
- (::Google::Cloud::Container::V1::Operation::Status) — Status of an operation stage. Unset for single-stage operations.
#status=
def status=(value) -> ::Google::Cloud::Container::V1::Operation::Status
Parameter
- value (::Google::Cloud::Container::V1::Operation::Status) — Status of an operation stage. Unset for single-stage operations.
Returns
- (::Google::Cloud::Container::V1::Operation::Status) — Status of an operation stage. Unset for single-stage operations.