Class: Google::Apis::AndroidpublisherV3::SystemOnChip

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb

Overview

Representation of a System-on-Chip (SoC) of an Android device. Can be used to target S+ devices.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SystemOnChip

Returns a new instance of SystemOnChip.



6350
6351
6352
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6350

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

Instance Attribute Details

#manufacturerString

Required. The designer of the SoC, eg. "Google" Value of build property "ro. soc.manufacturer" https://developer.android.com/reference/android/os/Build# SOC_MANUFACTURER Required. Corresponds to the JSON property manufacturer

Returns:

  • (String)


6341
6342
6343
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6341

def manufacturer
  @manufacturer
end

#modelString

Required. The model of the SoC, eg. "Tensor" Value of build property "ro.soc. model" https://developer.android.com/reference/android/os/Build#SOC_MODEL Required. Corresponds to the JSON property model

Returns:

  • (String)


6348
6349
6350
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6348

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6355
6356
6357
6358
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6355

def update!(**args)
  @manufacturer = args[:manufacturer] if args.key?(:manufacturer)
  @model = args[:model] if args.key?(:model)
end