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.
397 398 399 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 397 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
385 386 387 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 385 def device_id @device_id end |
#device_uri ⇒ String
Link to the device in Play Device Catalog.
Corresponds to the JSON property deviceUri
390 391 392 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 390 def device_uri @device_uri end |
#marketing_name ⇒ String
Display name of the device.
Corresponds to the JSON property marketingName
395 396 397 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 395 def marketing_name @marketing_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
402 403 404 405 406 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 402 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 |