Class: Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/androiddeviceprovisioning_v1/classes.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb 
Overview
Captures the processing status for each device in the operation.
Instance Attribute Summary collapse
- 
  
    
      #device_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If processing succeeds, the device ID of the device.
 - 
  
    
      #error_identifier  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If processing fails, the error type.
 - 
  
    
      #error_message  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If processing fails, a developer message explaining what went wrong.
 - 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The result status of the device after processing.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PerDeviceStatusInBatch 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PerDeviceStatusInBatch.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PerDeviceStatusInBatch
Returns a new instance of PerDeviceStatusInBatch
      1206 1207 1208  | 
    
      # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1206 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#device_id ⇒ Fixnum
If processing succeeds, the device ID of the device.
Corresponds to the JSON property deviceId
      1189 1190 1191  | 
    
      # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1189 def device_id @device_id end  | 
  
#error_identifier ⇒ String
If processing fails, the error type.
Corresponds to the JSON property errorIdentifier
      1194 1195 1196  | 
    
      # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1194 def error_identifier @error_identifier end  | 
  
#error_message ⇒ String
If processing fails, a developer message explaining what went wrong.
Corresponds to the JSON property errorMessage
      1199 1200 1201  | 
    
      # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1199 def @error_message end  | 
  
#status ⇒ String
The result status of the device after processing.
Corresponds to the JSON property status
      1204 1205 1206  | 
    
      # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1204 def status @status end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1211 1212 1213 1214 1215 1216  | 
    
      # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1211 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @error_identifier = args[:error_identifier] if args.key?(:error_identifier) @error_message = args[:error_message] if args.key?(:error_message) @status = args[:status] if args.key?(:status) end  |