Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DeviceId
- Inherits:
-
Object
- Object
- Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DeviceId
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/representations.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/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) ⇒ GooglePlayDeveloperReportingV1alpha1DeviceId
constructor
A new instance of GooglePlayDeveloperReportingV1alpha1DeviceId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1DeviceId
Returns a new instance of GooglePlayDeveloperReportingV1alpha1DeviceId.
367 368 369 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 367 def initialize(**args) update!(**args) end |
Instance Attribute Details
#build_brand ⇒ String
Value of Build.BRAND.
Corresponds to the JSON property buildBrand
360 361 362 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 360 def build_brand @build_brand end |
#build_device ⇒ String
Value of Build.DEVICE.
Corresponds to the JSON property buildDevice
365 366 367 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 365 def build_device @build_device end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
372 373 374 375 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 372 def update!(**args) @build_brand = args[:build_brand] if args.key?(:build_brand) @build_device = args[:build_device] if args.key?(:build_device) end |