Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DeviceModelSummary
- Inherits:
-
Object
- Object
- Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DeviceModelSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/playdeveloperreporting_v1beta1/classes.rb,
lib/google/apis/playdeveloperreporting_v1beta1/representations.rb,
lib/google/apis/playdeveloperreporting_v1beta1/representations.rb
Overview
Summary of a device
Instance Attribute Summary collapse
-
#device_id ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DeviceId
Identifier of a device.
-
#device_uri ⇒ String
Link to the device in Play Device Catalog.
-
#marketing_name ⇒ String
Display name of the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1DeviceModelSummary
constructor
A new instance of GooglePlayDeveloperReportingV1beta1DeviceModelSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1DeviceModelSummary
Returns a new instance of GooglePlayDeveloperReportingV1beta1DeviceModelSummary.
395 396 397 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 395 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_id ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DeviceId
Identifier of a device.
Corresponds to the JSON property deviceId
383 384 385 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 383 def device_id @device_id end |
#device_uri ⇒ String
Link to the device in Play Device Catalog.
Corresponds to the JSON property deviceUri
388 389 390 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 388 def device_uri @device_uri end |
#marketing_name ⇒ String
Display name of the device.
Corresponds to the JSON property marketingName
393 394 395 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 393 def marketing_name @marketing_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
400 401 402 403 404 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 400 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @device_uri = args[:device_uri] if args.key?(:device_uri) @marketing_name = args[:marketing_name] if args.key?(:marketing_name) end |