Class: Google::Apis::AndroidpublisherV3::VariantTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::VariantTargeting
- 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 level of variants.
Instance Attribute Summary collapse
-
#abi_targeting ⇒ Google::Apis::AndroidpublisherV3::AbiTargeting
Targeting based on Abi.
-
#multi_abi_targeting ⇒ Google::Apis::AndroidpublisherV3::MultiAbiTargeting
Targeting based on multiple abis.
-
#screen_density_targeting ⇒ Google::Apis::AndroidpublisherV3::ScreenDensityTargeting
Targeting based on screen density.
-
#sdk_version_targeting ⇒ Google::Apis::AndroidpublisherV3::SdkVersionTargeting
Targeting based on sdk version.
-
#texture_compression_format_targeting ⇒ Google::Apis::AndroidpublisherV3::TextureCompressionFormatTargeting
Targeting by a texture compression format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VariantTargeting
constructor
A new instance of VariantTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VariantTargeting
Returns a new instance of VariantTargeting.
7388 7389 7390 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7388 def initialize(**args) update!(**args) end |
Instance Attribute Details
#abi_targeting ⇒ Google::Apis::AndroidpublisherV3::AbiTargeting
Targeting based on Abi.
Corresponds to the JSON property abiTargeting
7366 7367 7368 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7366 def abi_targeting @abi_targeting end |
#multi_abi_targeting ⇒ Google::Apis::AndroidpublisherV3::MultiAbiTargeting
Targeting based on multiple abis.
Corresponds to the JSON property multiAbiTargeting
7371 7372 7373 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7371 def multi_abi_targeting @multi_abi_targeting end |
#screen_density_targeting ⇒ Google::Apis::AndroidpublisherV3::ScreenDensityTargeting
Targeting based on screen density.
Corresponds to the JSON property screenDensityTargeting
7376 7377 7378 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7376 def screen_density_targeting @screen_density_targeting end |
#sdk_version_targeting ⇒ Google::Apis::AndroidpublisherV3::SdkVersionTargeting
Targeting based on sdk version.
Corresponds to the JSON property sdkVersionTargeting
7381 7382 7383 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7381 def sdk_version_targeting @sdk_version_targeting end |
#texture_compression_format_targeting ⇒ Google::Apis::AndroidpublisherV3::TextureCompressionFormatTargeting
Targeting by a texture compression format.
Corresponds to the JSON property textureCompressionFormatTargeting
7386 7387 7388 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7386 def texture_compression_format_targeting @texture_compression_format_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7393 7394 7395 7396 7397 7398 7399 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7393 def update!(**args) @abi_targeting = args[:abi_targeting] if args.key?(:abi_targeting) @multi_abi_targeting = args[:multi_abi_targeting] if args.key?(:multi_abi_targeting) @screen_density_targeting = args[:screen_density_targeting] if args.key?(:screen_density_targeting) @sdk_version_targeting = args[:sdk_version_targeting] if args.key?(:sdk_version_targeting) @texture_compression_format_targeting = args[:texture_compression_format_targeting] if args.key?(:texture_compression_format_targeting) end |