Class: Google::Apis::ContainerV1beta1::OperationProgress
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContainerV1beta1::OperationProgress
 
 
- Defined in:
 - generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb 
Overview
Information about operation (or operation stage) progress.
Instance Attribute Summary collapse
- 
  
    
      #metrics  ⇒ Array<Google::Apis::ContainerV1beta1::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] Corresponds to the JSON propertymetrics. - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A non-parameterized string describing an operation stage.
 - 
  
    
      #stages  ⇒ Array<Google::Apis::ContainerV1beta1::OperationProgress> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Substages of an operation or a stage.
 - 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Status of an operation stage.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OperationProgress 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of OperationProgress.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ OperationProgress
Returns a new instance of OperationProgress
      2172 2173 2174  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 2172 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#metrics ⇒ Array<Google::Apis::ContainerV1beta1::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]
Corresponds to the JSON property metrics
      2153 2154 2155  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 2153 def metrics @metrics end  | 
  
#name ⇒ String
A non-parameterized string describing an operation stage.
Unset for single-stage operations.
Corresponds to the JSON property name
      2159 2160 2161  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 2159 def name @name end  | 
  
#stages ⇒ Array<Google::Apis::ContainerV1beta1::OperationProgress>
Substages of an operation or a stage.
Corresponds to the JSON property stages
      2164 2165 2166  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 2164 def stages @stages end  | 
  
#status ⇒ String
Status of an operation stage.
Unset for single-stage operations.
Corresponds to the JSON property status
      2170 2171 2172  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 2170 def status @status end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2177 2178 2179 2180 2181 2182  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 2177 def update!(**args) @metrics = args[:metrics] if args.key?(:metrics) @name = args[:name] if args.key?(:name) @stages = args[:stages] if args.key?(:stages) @status = args[:status] if args.key?(:status) end  |