Class: Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments
- 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
Identifies metdata updates to one device.
Instance Attribute Summary collapse
-
#device_id ⇒ Fixnum
Device ID of the device.
-
#device_identifier ⇒ Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier
Encapsulates hardware and product IDs to identify a manufactured device.
-
#device_metadata ⇒ Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata
Metadata entries that can be attached to a
Device
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateMetadataArguments
constructor
A new instance of UpdateMetadataArguments.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateMetadataArguments
Returns a new instance of UpdateMetadataArguments
1315 1316 1317 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1315 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_id ⇒ Fixnum
Device ID of the device.
Corresponds to the JSON property deviceId
1301 1302 1303 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1301 def device_id @device_id end |
#device_identifier ⇒ Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier
Encapsulates hardware and product IDs to identify a manufactured device. To
learn more, read Identifiers.
Corresponds to the JSON property deviceIdentifier
1307 1308 1309 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1307 def device_identifier @device_identifier end |
#device_metadata ⇒ Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata
Metadata entries that can be attached to a Device
. To learn more, read
Device metadata.
Corresponds to the JSON property deviceMetadata
1313 1314 1315 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1313 def @device_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1320 1321 1322 1323 1324 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1320 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @device_identifier = args[:device_identifier] if args.key?(:device_identifier) @device_metadata = args[:device_metadata] if args.key?(:device_metadata) end |