Class: Google::Apis::AndroidpublisherV3::DeviceIdentifier
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::DeviceIdentifier
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
Defines a device identifier for a device.
Instance Attribute Summary collapse
-
#device_brand ⇒ String
The brand of the device.
-
#device_model ⇒ String
The model of the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceIdentifier
constructor
A new instance of DeviceIdentifier.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceIdentifier
Returns a new instance of DeviceIdentifier.
3495 3496 3497 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3495 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_brand ⇒ String
The brand of the device.
Corresponds to the JSON property deviceBrand
3488 3489 3490 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3488 def device_brand @device_brand end |
#device_model ⇒ String
The model of the device.
Corresponds to the JSON property deviceModel
3493 3494 3495 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3493 def device_model @device_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3500 3501 3502 3503 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3500 def update!(**args) @device_brand = args[:device_brand] if args.key?(:device_brand) @device_model = args[:device_model] if args.key?(:device_model) end |