Class: Google::Apis::AndroidpublisherV3::DeviceFeatureTargeting

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

Targeting for a device feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceFeatureTargeting

Returns a new instance of DeviceFeatureTargeting.



1729
1730
1731
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1729

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

Instance Attribute Details

#required_featureGoogle::Apis::AndroidpublisherV3::DeviceFeature

Represents a device feature. Corresponds to the JSON property requiredFeature



1727
1728
1729
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1727

def required_feature
  @required_feature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1734
1735
1736
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1734

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