Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DeviceModelSummary

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

Summary of a device

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1DeviceModelSummary

Returns a new instance of GooglePlayDeveloperReportingV1alpha1DeviceModelSummary.



397
398
399
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 397

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

Instance Attribute Details

#device_idGoogle::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DeviceId

Identifier of a device. Corresponds to the JSON property deviceId



385
386
387
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 385

def device_id
  @device_id
end

#device_uriString

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

Returns:

  • (String)


390
391
392
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 390

def device_uri
  @device_uri
end

#marketing_nameString

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

Returns:

  • (String)


395
396
397
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/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_v1alpha1/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