Class: Google::Apis::AndroidpublisherV3::ModuleTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::ModuleTargeting
- 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 on the module level.
Instance Attribute Summary collapse
-
#device_feature_targeting ⇒ Array<Google::Apis::AndroidpublisherV3::DeviceFeatureTargeting>
Targeting for device features.
-
#sdk_version_targeting ⇒ Google::Apis::AndroidpublisherV3::SdkVersionTargeting
Targeting based on sdk version.
-
#user_countries_targeting ⇒ Google::Apis::AndroidpublisherV3::UserCountriesTargeting
Describes an inclusive/exclusive list of country codes that module targets.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModuleTargeting
constructor
A new instance of ModuleTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ModuleTargeting
Returns a new instance of ModuleTargeting.
5147 5148 5149 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_feature_targeting ⇒ Array<Google::Apis::AndroidpublisherV3::DeviceFeatureTargeting>
Targeting for device features.
Corresponds to the JSON property deviceFeatureTargeting
5135 5136 5137 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5135 def device_feature_targeting @device_feature_targeting end |
#sdk_version_targeting ⇒ Google::Apis::AndroidpublisherV3::SdkVersionTargeting
Targeting based on sdk version.
Corresponds to the JSON property sdkVersionTargeting
5140 5141 5142 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5140 def sdk_version_targeting @sdk_version_targeting end |
#user_countries_targeting ⇒ Google::Apis::AndroidpublisherV3::UserCountriesTargeting
Describes an inclusive/exclusive list of country codes that module targets.
Corresponds to the JSON property userCountriesTargeting
5145 5146 5147 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5145 def user_countries_targeting @user_countries_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5152 5153 5154 5155 5156 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5152 def update!(**args) @device_feature_targeting = args[:device_feature_targeting] if args.key?(:device_feature_targeting) @sdk_version_targeting = args[:sdk_version_targeting] if args.key?(:sdk_version_targeting) @user_countries_targeting = args[:user_countries_targeting] if args.key?(:user_countries_targeting) end |