Class: Google::Apis::AndroidpublisherV3::DeviceId
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::DeviceId
- 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
Identifier of a device.
Instance Attribute Summary collapse
-
#build_brand ⇒ String
Value of Build.BRAND.
-
#build_device ⇒ String
Value of Build.DEVICE.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceId
constructor
A new instance of DeviceId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceId
Returns a new instance of DeviceId.
1781 1782 1783 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1781 def initialize(**args) update!(**args) end |
Instance Attribute Details
#build_brand ⇒ String
Value of Build.BRAND.
Corresponds to the JSON property buildBrand
1774 1775 1776 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1774 def build_brand @build_brand end |
#build_device ⇒ String
Value of Build.DEVICE.
Corresponds to the JSON property buildDevice
1779 1780 1781 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1779 def build_device @build_device end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1786 1787 1788 1789 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1786 def update!(**args) @build_brand = args[:build_brand] if args.key?(:build_brand) @build_device = args[:build_device] if args.key?(:build_device) end |