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.
3831 3832 3833 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3831 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
3819 3820 3821 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3819 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
3824 3825 3826 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3824 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
3829 3830 3831 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3829 def user_countries_targeting @user_countries_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3836 3837 3838 3839 3840 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3836 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 |