Class: Google::Apis::AndroidpublisherV3::TargetingInfo

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 information about the generated apks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetingInfo

Returns a new instance of TargetingInfo.



6424
6425
6426
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6424

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

Instance Attribute Details

#asset_slice_setArray<Google::Apis::AndroidpublisherV3::AssetSliceSet>

List of created asset slices. Corresponds to the JSON property assetSliceSet



6412
6413
6414
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6412

def asset_slice_set
  @asset_slice_set
end

#package_nameString

The package name of this app. Corresponds to the JSON property packageName

Returns:

  • (String)


6417
6418
6419
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6417

def package_name
  @package_name
end

#variantArray<Google::Apis::AndroidpublisherV3::SplitApkVariant>

List of the created variants. Corresponds to the JSON property variant



6422
6423
6424
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6422

def variant
  @variant
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6429
6430
6431
6432
6433
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6429

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