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.
3814 3815 3816 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3814 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
3802 3803 3804 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3802 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
3807 3808 3809 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3807 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
3812 3813 3814 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3812 def user_countries_targeting @user_countries_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3819 3820 3821 3822 3823 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3819 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 |