Class: Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments

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

Identifies metdata updates to one 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) ⇒ UpdateMetadataArguments

Returns a new instance of UpdateMetadataArguments



1448
1449
1450
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1448

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

Instance Attribute Details

#device_idFixnum

Device ID of the device. Corresponds to the JSON property deviceId

Returns:

  • (Fixnum)


1433
1434
1435
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1433

def device_id
  @device_id
end

#device_identifierGoogle::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier

Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read Identifiers. Corresponds to the JSON property deviceIdentifier



1440
1441
1442
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1440

def device_identifier
  @device_identifier
end

#device_metadataGoogle::Apis::AndroiddeviceprovisioningV1::DeviceMetadata

Metadata entries that can be attached to a Device. To learn more, read Device metadata. Corresponds to the JSON property deviceMetadata



1446
1447
1448
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1446

def 
  @device_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1453
1454
1455
1456
1457
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1453

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