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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/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.



1894
1895
1896
1897
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1894

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.



1894
1895
1896
1897
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1894

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



1894
1895
1896
1897
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1894

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



1894
1895
1896
1897
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1894

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