Class: Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice
- 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
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 metdata 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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OperationPerDevice
Returns a new instance of OperationPerDevice
1140 1141 1142 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#claim ⇒ Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim
Identifies one claim request.
Corresponds to the JSON property claim
1123 1124 1125 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1123 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
1128 1129 1130 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1128 def result @result end |
#unclaim ⇒ Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim
Identifies one unclaim request.
Corresponds to the JSON property unclaim
1133 1134 1135 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1133 def unclaim @unclaim end |
#update_metadata ⇒ Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments
Identifies metdata updates to one device.
Corresponds to the JSON property updateMetadata
1138 1139 1140 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1138 def @update_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1145 1146 1147 1148 1149 1150 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1145 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 |