Class: Google::Apis::AndroidpublisherV3::DeviceId

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceId

Returns a new instance of DeviceId.



1128
1129
1130
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1128

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

Instance Attribute Details

#build_brandString

Value of Build.BRAND. Corresponds to the JSON property buildBrand

Returns:

  • (String)


1121
1122
1123
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1121

def build_brand
  @build_brand
end

#build_deviceString

Value of Build.DEVICE. Corresponds to the JSON property buildDevice

Returns:

  • (String)


1126
1127
1128
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1126

def build_device
  @build_device
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1133
1134
1135
1136
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1133

def update!(**args)
  @build_brand = args[:build_brand] if args.key?(:build_brand)
  @build_device = args[:build_device] if args.key?(:build_device)
end