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.

Note: The following fields are mutually exclusive: double_value, int_value, string_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Float)

    For metrics with floating point value.

    Note: The following fields are mutually exclusive: double_value, int_value, string_value. If a field in that set is populated, all other fields in the set will automatically be cleared.



3403
3404
3405
3406
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3403

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

#int_value::Integer

Returns For metrics with integer value.

Note: The following fields are mutually exclusive: int_value, double_value, string_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Integer)

    For metrics with integer value.

    Note: The following fields are mutually exclusive: int_value, double_value, string_value. If a field in that set is populated, all other fields in the set will automatically be cleared.



3403
3404
3405
3406
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3403

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



3403
3404
3405
3406
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3403

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

Note: The following fields are mutually exclusive: string_value, int_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

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

    Note: The following fields are mutually exclusive: string_value, int_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.



3403
3404
3405
3406
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3403

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