Class: Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch

Inherits:
Object
  • Object
show all
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

Stores the processing result for each device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PerDeviceStatusInBatch

Returns a new instance of PerDeviceStatusInBatch



1102
1103
1104
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1102

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#device_idFixnum

Device ID of the device if process succeeds. Corresponds to the JSON property deviceId

Returns:

  • (Fixnum)


1085
1086
1087
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1085

def device_id
  @device_id
end

#error_identifierString

Error identifier. Corresponds to the JSON property errorIdentifier

Returns:

  • (String)


1090
1091
1092
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1090

def error_identifier
  @error_identifier
end

#error_messageString

Error message. Corresponds to the JSON property errorMessage

Returns:

  • (String)


1095
1096
1097
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1095

def error_message
  @error_message
end

#statusString

Process result. Corresponds to the JSON property status

Returns:

  • (String)


1100
1101
1102
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1100

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1107
1108
1109
1110
1111
1112
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1107

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