Class: Google::Apis::AndroidpublisherV3::DeviceFeature

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

Represents a device feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceFeature

Returns a new instance of DeviceFeature.



2585
2586
2587
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2585

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

Instance Attribute Details

#feature_nameString

Name of the feature. Corresponds to the JSON property featureName

Returns:

  • (String)


2577
2578
2579
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2577

def feature_name
  @feature_name
end

#feature_versionFixnum

The feature version specified by android:glEsVersion or android:version in in the AndroidManifest. Corresponds to the JSON property featureVersion

Returns:

  • (Fixnum)


2583
2584
2585
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2583

def feature_version
  @feature_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2590
2591
2592
2593
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2590

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