Class: Google::Apis::VisionV1p2beta1::BatchOperationMetadata
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::VisionV1p2beta1::BatchOperationMetadata
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/vision_v1p2beta1/classes.rb,
lib/google/apis/vision_v1p2beta1/representations.rb,
lib/google/apis/vision_v1p2beta1/representations.rb 
Overview
Metadata for the batch operations such as the current state. This is included
in the metadata field of the Operation returned by the GetOperation call
of the google::longrunning::Operations service.
Instance Attribute Summary collapse
- 
  
    
      #end_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time when the batch request is finished and google.longrunning.Operation.
 - 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The current state of the batch operation.
 - 
  
    
      #submit_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time when the batch request was submitted to the server.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ BatchOperationMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of BatchOperationMetadata.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ BatchOperationMetadata
Returns a new instance of BatchOperationMetadata.
      279 280 281  | 
    
      # File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 279 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#end_time ⇒ String
The time when the batch request is finished and google.longrunning.Operation.
done is set to true.
Corresponds to the JSON property endTime
      267 268 269  | 
    
      # File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 267 def end_time @end_time end  | 
  
#state ⇒ String
The current state of the batch operation.
Corresponds to the JSON property state
      272 273 274  | 
    
      # File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 272 def state @state end  | 
  
#submit_time ⇒ String
The time when the batch request was submitted to the server.
Corresponds to the JSON property submitTime
      277 278 279  | 
    
      # File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 277 def submit_time @submit_time end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      284 285 286 287 288  | 
    
      # File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 284 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @state = args[:state] if args.key?(:state) @submit_time = args[:submit_time] if args.key?(:submit_time) end  |