Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::OperationProgress (v0.11.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::OperationProgress.

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

#stages=

def stages=(value) -> ::Array<::Google::Cloud::Container::V1::OperationProgress>
Parameter
Returns

#status

def status() -> ::Google::Cloud::Container::V1::Operation::Status
Returns

#status=

def status=(value) -> ::Google::Cloud::Container::V1::Operation::Status
Parameter
Returns