Class: Google::Cloud::Container::V1beta1::OperationProgress
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::OperationProgress
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
Information about operation (or operation stage) progress.
Defined Under Namespace
Classes: Metric
Instance Attribute Summary collapse
-
#metrics ⇒ ::Array<::Google::Cloud::Container::V1beta1::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}].
-
#name ⇒ ::String
A non-parameterized string describing an operation stage.
-
#stages ⇒ ::Array<::Google::Cloud::Container::V1beta1::OperationProgress>
Substages of an operation or a stage.
-
#status ⇒ ::Google::Cloud::Container::V1beta1::Operation::Status
Status of an operation stage.
Instance Attribute Details
#metrics ⇒ ::Array<::Google::Cloud::Container::V1beta1::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}].
3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3380 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. # # 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. # @!attribute [rw] double_value # @return [::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. # @!attribute [rw] string_value # @return [::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. 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.
3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3380 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. # # 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. # @!attribute [rw] double_value # @return [::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. # @!attribute [rw] string_value # @return [::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. class Metric include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#stages ⇒ ::Array<::Google::Cloud::Container::V1beta1::OperationProgress>
Returns Substages of an operation or a stage.
3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3380 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. # # 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. # @!attribute [rw] double_value # @return [::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. # @!attribute [rw] string_value # @return [::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. class Metric include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#status ⇒ ::Google::Cloud::Container::V1beta1::Operation::Status
Returns Status of an operation stage. Unset for single-stage operations.
3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3380 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. # # 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. # @!attribute [rw] double_value # @return [::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. # @!attribute [rw] string_value # @return [::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. class Metric include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |