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.



1077
1078
1079
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1077

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

Instance Attribute Details

#required_featureGoogle::Apis::AndroidpublisherV3::DeviceFeature

Represents a device feature. Corresponds to the JSON property requiredFeature



1075
1076
1077
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1075

def required_feature
  @required_feature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1082
1083
1084
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1082

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