Class: Google::Apis::ServicemanagementV1::OperationMetadata
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ServicemanagementV1::OperationMetadata
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/servicemanagement_v1/classes.rb,
generated/google/apis/servicemanagement_v1/representations.rb,
generated/google/apis/servicemanagement_v1/representations.rb 
Overview
The metadata associated with a long running operation resource.
Instance Attribute Summary collapse
- 
  
    
      #progress_percentage  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Percentage of completion of this operation, ranging from 0 to 100.
 - 
  
    
      #resource_names  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The full name of the resources that this operation is directly associated with.
 - 
  
    
      #start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The start time of the operation.
 - 
  
    
      #steps  ⇒ Array<Google::Apis::ServicemanagementV1::Step> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Detailed status information for each step.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OperationMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of OperationMetadata.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OperationMetadata
Returns a new instance of OperationMetadata
      3082 3083 3084  | 
    
      # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 3082 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#progress_percentage ⇒ Fixnum
Percentage of completion of this operation, ranging from 0 to 100.
Corresponds to the JSON property progressPercentage
      3064 3065 3066  | 
    
      # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 3064 def progress_percentage @progress_percentage end  | 
  
#resource_names ⇒ Array<String>
The full name of the resources that this operation is directly
associated with.
Corresponds to the JSON property resourceNames
      3070 3071 3072  | 
    
      # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 3070 def resource_names @resource_names end  | 
  
#start_time ⇒ String
The start time of the operation.
Corresponds to the JSON property startTime
      3075 3076 3077  | 
    
      # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 3075 def start_time @start_time end  | 
  
#steps ⇒ Array<Google::Apis::ServicemanagementV1::Step>
Detailed status information for each step. The order is undetermined.
Corresponds to the JSON property steps
      3080 3081 3082  | 
    
      # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 3080 def steps @steps end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3087 3088 3089 3090 3091 3092  | 
    
      # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 3087 def update!(**args) @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage) @resource_names = args[:resource_names] if args.key?(:resource_names) @start_time = args[:start_time] if args.key?(:start_time) @steps = args[:steps] if args.key?(:steps) end  |