Class: Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androiddeviceprovisioning_v1/classes.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb
Overview
A task for each device in the operation. Corresponds to each device change in the request.
Instance Attribute Summary collapse
-
#claim ⇒ Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim
Identifies one claim request.
-
#result ⇒ Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch
Captures the processing status for each device in the operation.
-
#unclaim ⇒ Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim
Identifies one unclaim request.
-
#update_metadata ⇒ Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments
Identifies metadata updates to one device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperationPerDevice
constructor
A new instance of OperationPerDevice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OperationPerDevice
Returns a new instance of OperationPerDevice.
1273 1274 1275 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1273 def initialize(**args) update!(**args) end |
Instance Attribute Details
#claim ⇒ Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim
Identifies one claim request.
Corresponds to the JSON property claim
1256 1257 1258 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1256 def claim @claim end |
#result ⇒ Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch
Captures the processing status for each device in the operation.
Corresponds to the JSON property result
1261 1262 1263 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1261 def result @result end |
#unclaim ⇒ Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim
Identifies one unclaim request.
Corresponds to the JSON property unclaim
1266 1267 1268 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1266 def unclaim @unclaim end |
#update_metadata ⇒ Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments
Identifies metadata updates to one device.
Corresponds to the JSON property updateMetadata
1271 1272 1273 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1271 def @update_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1278 1279 1280 1281 1282 1283 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1278 def update!(**args) @claim = args[:claim] if args.key?(:claim) @result = args[:result] if args.key?(:result) @unclaim = args[:unclaim] if args.key?(:unclaim) @update_metadata = args[:update_metadata] if args.key?(:update_metadata) end |