Class: Google::Cloud::Container::V1beta1::OperationProgress::Metric
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::OperationProgress::Metric
- 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
-
#double_value ⇒ ::Float
For metrics with floating point value.
-
#int_value ⇒ ::Integer
For metrics with integer value.
-
#name ⇒ ::String
Required.
-
#string_value ⇒ ::String
For metrics with custom values (ratios, visual progress, etc.).
Instance Attribute Details
#double_value ⇒ ::Float
Returns For metrics with floating point value.
2925 2926 2927 2928 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2925 class Metric include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#int_value ⇒ ::Integer
Returns For metrics with integer value.
2925 2926 2927 2928 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2925 class Metric include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Required. Metric name, e.g., "nodes total", "percent done".
2925 2926 2927 2928 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2925 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.).
2925 2926 2927 2928 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2925 class Metric include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |