Class: Google::Container::V1beta1::OperationProgress

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb

Overview

Information about operation (or operation stage) progress.

Defined Under Namespace

Classes: Metric

Instance Attribute Summary collapse

Instance Attribute Details

#metricsArray<Google::Container::V1beta1::OperationProgress::Metric>

Returns Progress metric bundle, for example: metrics: ["nodes done", int_value: 15, "nodes total", int_value: 32] or metrics: ["progress", double_value: 0.56, "progress scale", double_value: 1.0].

Returns:



1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1095

class OperationProgress
  # Progress metric is (string, int|float|string) pair.
  # @!attribute [rw] name
  #   @return [String]
  #     Metric name, required.
  #     e.g., "nodes total", "percent done"
  # @!attribute [rw] int_value
  #   @return [Integer]
  #     For metrics with integer value.
  # @!attribute [rw] double_value
  #   @return [Float]
  #     For metrics with floating point value.
  # @!attribute [rw] string_value
  #   @return [String]
  #     For metrics with custom values (ratios, visual progress, etc.).
  class Metric; end
end

#nameString

Returns A non-parameterized string describing an operation stage. Unset for single-stage operations.

Returns:

  • (String)

    A non-parameterized string describing an operation stage. Unset for single-stage operations.



1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1095

class OperationProgress
  # Progress metric is (string, int|float|string) pair.
  # @!attribute [rw] name
  #   @return [String]
  #     Metric name, required.
  #     e.g., "nodes total", "percent done"
  # @!attribute [rw] int_value
  #   @return [Integer]
  #     For metrics with integer value.
  # @!attribute [rw] double_value
  #   @return [Float]
  #     For metrics with floating point value.
  # @!attribute [rw] string_value
  #   @return [String]
  #     For metrics with custom values (ratios, visual progress, etc.).
  class Metric; end
end

#stagesArray<Google::Container::V1beta1::OperationProgress>

Returns Substages of an operation or a stage.

Returns:



1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1095

class OperationProgress
  # Progress metric is (string, int|float|string) pair.
  # @!attribute [rw] name
  #   @return [String]
  #     Metric name, required.
  #     e.g., "nodes total", "percent done"
  # @!attribute [rw] int_value
  #   @return [Integer]
  #     For metrics with integer value.
  # @!attribute [rw] double_value
  #   @return [Float]
  #     For metrics with floating point value.
  # @!attribute [rw] string_value
  #   @return [String]
  #     For metrics with custom values (ratios, visual progress, etc.).
  class Metric; end
end

#statusGoogle::Container::V1beta1::Operation::Status

Returns Status of an operation stage. Unset for single-stage operations.

Returns:



1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1095

class OperationProgress
  # Progress metric is (string, int|float|string) pair.
  # @!attribute [rw] name
  #   @return [String]
  #     Metric name, required.
  #     e.g., "nodes total", "percent done"
  # @!attribute [rw] int_value
  #   @return [Integer]
  #     For metrics with integer value.
  # @!attribute [rw] double_value
  #   @return [Float]
  #     For metrics with floating point value.
  # @!attribute [rw] string_value
  #   @return [String]
  #     For metrics with custom values (ratios, visual progress, etc.).
  class Metric; end
end