Class: Google::Cloud::Container::V1beta1::OperationProgress::Metric

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

Overview

Progress metric is (string, int|float|string) pair.

Instance Attribute Summary collapse

Instance Attribute Details

#double_value::Float

Returns For metrics with floating point value.

Returns:

  • (::Float)

    For metrics with floating point value.



1761
1762
1763
1764
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 1761

class Metric
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#int_value::Integer

Returns For metrics with integer value.

Returns:

  • (::Integer)

    For metrics with integer value.



1761
1762
1763
1764
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 1761

class Metric
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Required. Metric name, e.g., "nodes total", "percent done".

Returns:

  • (::String)

    Required. Metric name, e.g., "nodes total", "percent done".



1761
1762
1763
1764
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 1761

class Metric
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#string_value::String

Returns For metrics with custom values (ratios, visual progress, etc.).

Returns:

  • (::String)

    For metrics with custom values (ratios, visual progress, etc.).



1761
1762
1763
1764
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 1761

class Metric
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end