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.



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

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

Instance Attribute Details

#required_featureGoogle::Apis::AndroidpublisherV3::DeviceFeature

Represents a device feature. Corresponds to the JSON property requiredFeature



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

def required_feature
  @required_feature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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