Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DeviceModelSummary

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

Instance Method Summary collapse

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_idGoogle::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_uriString

Link to the device in Play Device Catalog. Corresponds to the JSON property deviceUri

Returns:

  • (String)


388
389
390
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 388

def device_uri
  @device_uri
end

#marketing_nameString

Display name of the device. Corresponds to the JSON property marketingName

Returns:

  • (String)


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