Class: Google::Cloud::Container::V1::OperationProgress

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/cluster_service.rb

Overview

Information about operation (or operation stage) progress.

Defined Under Namespace

Classes: Metric

Instance Attribute Summary collapse

Instance Attribute Details

#metrics::Array<::Google::Cloud::Container::V1::OperationProgress::Metric>

Returns 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}]



2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2274

class OperationProgress
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Progress metric is (string, int|float|string) pair.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Metric name, e.g., "nodes total", "percent done".
  # @!attribute [rw] int_value
  #   @return [::Integer]
  #     For metrics with integer value.
  # @!attribute [rw] double_value
  #   @return [::Float]
  #     For metrics with floating point value.
  # @!attribute [rw] string_value
  #   @return [::String]
  #     For metrics with custom values (ratios, visual progress, etc.).
  class Metric
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns 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.



2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2274

class OperationProgress
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Progress metric is (string, int|float|string) pair.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Metric name, e.g., "nodes total", "percent done".
  # @!attribute [rw] int_value
  #   @return [::Integer]
  #     For metrics with integer value.
  # @!attribute [rw] double_value
  #   @return [::Float]
  #     For metrics with floating point value.
  # @!attribute [rw] string_value
  #   @return [::String]
  #     For metrics with custom values (ratios, visual progress, etc.).
  class Metric
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#stages::Array<::Google::Cloud::Container::V1::OperationProgress>

Returns Substages of an operation or a stage.

Returns:



2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2274

class OperationProgress
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Progress metric is (string, int|float|string) pair.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Metric name, e.g., "nodes total", "percent done".
  # @!attribute [rw] int_value
  #   @return [::Integer]
  #     For metrics with integer value.
  # @!attribute [rw] double_value
  #   @return [::Float]
  #     For metrics with floating point value.
  # @!attribute [rw] string_value
  #   @return [::String]
  #     For metrics with custom values (ratios, visual progress, etc.).
  class Metric
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#status::Google::Cloud::Container::V1::Operation::Status

Returns Status of an operation stage. Unset for single-stage operations.

Returns:



2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2274

class OperationProgress
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Progress metric is (string, int|float|string) pair.
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Metric name, e.g., "nodes total", "percent done".
  # @!attribute [rw] int_value
  #   @return [::Integer]
  #     For metrics with integer value.
  # @!attribute [rw] double_value
  #   @return [::Float]
  #     For metrics with floating point value.
  # @!attribute [rw] string_value
  #   @return [::String]
  #     For metrics with custom values (ratios, visual progress, etc.).
  class Metric
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end