Class: Google::Apis::AndroidpublisherV3::DeviceFeature
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::DeviceFeature
- 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
Represents a device feature.
Instance Attribute Summary collapse
-
#feature_name ⇒ String
Name of the feature.
-
#feature_version ⇒ Fixnum
The feature version specified by android:glEsVersion or android:version in in the AndroidManifest.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceFeature
constructor
A new instance of DeviceFeature.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceFeature
Returns a new instance of DeviceFeature.
1710 1711 1712 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feature_name ⇒ String
Name of the feature.
Corresponds to the JSON property featureName
1702 1703 1704 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1702 def feature_name @feature_name end |
#feature_version ⇒ Fixnum
The feature version specified by android:glEsVersion or android:version in in
the AndroidManifest.
Corresponds to the JSON property featureVersion
1708 1709 1710 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1708 def feature_version @feature_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1715 1716 1717 1718 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1715 def update!(**args) @feature_name = args[:feature_name] if args.key?(:feature_name) @feature_version = args[:feature_version] if args.key?(:feature_version) end |