google-apis-androidpublisher_v3 0.44.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,51 @@ module Google
22
22
  module Apis
23
23
  module AndroidpublisherV3
24
24
 
25
+ # Represents an Abi.
26
+ class Abi
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Alias for an abi.
30
+ # Corresponds to the JSON property `alias`
31
+ # @return [String]
32
+ attr_accessor :alias
33
+
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @alias = args[:alias] if args.key?(:alias)
41
+ end
42
+ end
43
+
44
+ # Targeting based on Abi.
45
+ class AbiTargeting
46
+ include Google::Apis::Core::Hashable
47
+
48
+ # Targeting of other sibling directories that were in the Bundle. For main
49
+ # splits this is targeting of other main splits.
50
+ # Corresponds to the JSON property `alternatives`
51
+ # @return [Array<Google::Apis::AndroidpublisherV3::Abi>]
52
+ attr_accessor :alternatives
53
+
54
+ # Value of an abi.
55
+ # Corresponds to the JSON property `value`
56
+ # @return [Array<Google::Apis::AndroidpublisherV3::Abi>]
57
+ attr_accessor :value
58
+
59
+ def initialize(**args)
60
+ update!(**args)
61
+ end
62
+
63
+ # Update properties of this object
64
+ def update!(**args)
65
+ @alternatives = args[:alternatives] if args.key?(:alternatives)
66
+ @value = args[:value] if args.key?(:value)
67
+ end
68
+ end
69
+
25
70
  # Represents a targeting rule of the form: User never had `scope` before.
26
71
  class AcquisitionTargetingRule
27
72
  include Google::Apis::Core::Hashable
@@ -120,6 +165,130 @@ module Google
120
165
  end
121
166
  end
122
167
 
168
+ # Description of the created apks.
169
+ class ApkDescription
170
+ include Google::Apis::Core::Hashable
171
+
172
+ # Holds data specific to Split APKs.
173
+ # Corresponds to the JSON property `assetSliceMetadata`
174
+ # @return [Google::Apis::AndroidpublisherV3::SplitApkMetadata]
175
+ attr_accessor :asset_slice_metadata
176
+
177
+ # Holds data specific to Split APKs.
178
+ # Corresponds to the JSON property `instantApkMetadata`
179
+ # @return [Google::Apis::AndroidpublisherV3::SplitApkMetadata]
180
+ attr_accessor :instant_apk_metadata
181
+
182
+ # Path of the Apk, will be in the following format: .apk where DownloadId is the
183
+ # ID used to download the apk using GeneratedApks.Download API.
184
+ # Corresponds to the JSON property `path`
185
+ # @return [String]
186
+ attr_accessor :path
187
+
188
+ # Holds data specific to Split APKs.
189
+ # Corresponds to the JSON property `splitApkMetadata`
190
+ # @return [Google::Apis::AndroidpublisherV3::SplitApkMetadata]
191
+ attr_accessor :split_apk_metadata
192
+
193
+ # Holds data specific to Standalone APKs.
194
+ # Corresponds to the JSON property `standaloneApkMetadata`
195
+ # @return [Google::Apis::AndroidpublisherV3::StandaloneApkMetadata]
196
+ attr_accessor :standalone_apk_metadata
197
+
198
+ # Represents a set of apk-level targetings.
199
+ # Corresponds to the JSON property `targeting`
200
+ # @return [Google::Apis::AndroidpublisherV3::ApkTargeting]
201
+ attr_accessor :targeting
202
+
203
+ def initialize(**args)
204
+ update!(**args)
205
+ end
206
+
207
+ # Update properties of this object
208
+ def update!(**args)
209
+ @asset_slice_metadata = args[:asset_slice_metadata] if args.key?(:asset_slice_metadata)
210
+ @instant_apk_metadata = args[:instant_apk_metadata] if args.key?(:instant_apk_metadata)
211
+ @path = args[:path] if args.key?(:path)
212
+ @split_apk_metadata = args[:split_apk_metadata] if args.key?(:split_apk_metadata)
213
+ @standalone_apk_metadata = args[:standalone_apk_metadata] if args.key?(:standalone_apk_metadata)
214
+ @targeting = args[:targeting] if args.key?(:targeting)
215
+ end
216
+ end
217
+
218
+ # A set of apks representing a module.
219
+ class ApkSet
220
+ include Google::Apis::Core::Hashable
221
+
222
+ # Description of the generated apks.
223
+ # Corresponds to the JSON property `apkDescription`
224
+ # @return [Array<Google::Apis::AndroidpublisherV3::ApkDescription>]
225
+ attr_accessor :apk_description
226
+
227
+ # Metadata of a module.
228
+ # Corresponds to the JSON property `moduleMetadata`
229
+ # @return [Google::Apis::AndroidpublisherV3::ModuleMetadata]
230
+ attr_accessor :module_metadata
231
+
232
+ def initialize(**args)
233
+ update!(**args)
234
+ end
235
+
236
+ # Update properties of this object
237
+ def update!(**args)
238
+ @apk_description = args[:apk_description] if args.key?(:apk_description)
239
+ @module_metadata = args[:module_metadata] if args.key?(:module_metadata)
240
+ end
241
+ end
242
+
243
+ # Represents a set of apk-level targetings.
244
+ class ApkTargeting
245
+ include Google::Apis::Core::Hashable
246
+
247
+ # Targeting based on Abi.
248
+ # Corresponds to the JSON property `abiTargeting`
249
+ # @return [Google::Apis::AndroidpublisherV3::AbiTargeting]
250
+ attr_accessor :abi_targeting
251
+
252
+ # Targeting based on language.
253
+ # Corresponds to the JSON property `languageTargeting`
254
+ # @return [Google::Apis::AndroidpublisherV3::LanguageTargeting]
255
+ attr_accessor :language_targeting
256
+
257
+ # Targeting based on multiple abis.
258
+ # Corresponds to the JSON property `multiAbiTargeting`
259
+ # @return [Google::Apis::AndroidpublisherV3::MultiAbiTargeting]
260
+ attr_accessor :multi_abi_targeting
261
+
262
+ # Targeting based on screen density.
263
+ # Corresponds to the JSON property `screenDensityTargeting`
264
+ # @return [Google::Apis::AndroidpublisherV3::ScreenDensityTargeting]
265
+ attr_accessor :screen_density_targeting
266
+
267
+ # Targeting based on sdk version.
268
+ # Corresponds to the JSON property `sdkVersionTargeting`
269
+ # @return [Google::Apis::AndroidpublisherV3::SdkVersionTargeting]
270
+ attr_accessor :sdk_version_targeting
271
+
272
+ # Targeting by a texture compression format.
273
+ # Corresponds to the JSON property `textureCompressionFormatTargeting`
274
+ # @return [Google::Apis::AndroidpublisherV3::TextureCompressionFormatTargeting]
275
+ attr_accessor :texture_compression_format_targeting
276
+
277
+ def initialize(**args)
278
+ update!(**args)
279
+ end
280
+
281
+ # Update properties of this object
282
+ def update!(**args)
283
+ @abi_targeting = args[:abi_targeting] if args.key?(:abi_targeting)
284
+ @language_targeting = args[:language_targeting] if args.key?(:language_targeting)
285
+ @multi_abi_targeting = args[:multi_abi_targeting] if args.key?(:multi_abi_targeting)
286
+ @screen_density_targeting = args[:screen_density_targeting] if args.key?(:screen_density_targeting)
287
+ @sdk_version_targeting = args[:sdk_version_targeting] if args.key?(:sdk_version_targeting)
288
+ @texture_compression_format_targeting = args[:texture_compression_format_targeting] if args.key?(:texture_compression_format_targeting)
289
+ end
290
+ end
291
+
123
292
  # Request to create a new externally hosted APK.
124
293
  class ApksAddExternallyHostedRequest
125
294
  include Google::Apis::Core::Hashable
@@ -265,6 +434,56 @@ module Google
265
434
  end
266
435
  end
267
436
 
437
+ # Metadata of an asset module.
438
+ class AssetModuleMetadata
439
+ include Google::Apis::Core::Hashable
440
+
441
+ # Indicates the delivery type for persistent install.
442
+ # Corresponds to the JSON property `deliveryType`
443
+ # @return [String]
444
+ attr_accessor :delivery_type
445
+
446
+ # Module name.
447
+ # Corresponds to the JSON property `name`
448
+ # @return [String]
449
+ attr_accessor :name
450
+
451
+ def initialize(**args)
452
+ update!(**args)
453
+ end
454
+
455
+ # Update properties of this object
456
+ def update!(**args)
457
+ @delivery_type = args[:delivery_type] if args.key?(:delivery_type)
458
+ @name = args[:name] if args.key?(:name)
459
+ end
460
+ end
461
+
462
+ # Set of asset slices belonging to a single asset module.
463
+ class AssetSliceSet
464
+ include Google::Apis::Core::Hashable
465
+
466
+ # Asset slices.
467
+ # Corresponds to the JSON property `apkDescription`
468
+ # @return [Array<Google::Apis::AndroidpublisherV3::ApkDescription>]
469
+ attr_accessor :apk_description
470
+
471
+ # Metadata of an asset module.
472
+ # Corresponds to the JSON property `assetModuleMetadata`
473
+ # @return [Google::Apis::AndroidpublisherV3::AssetModuleMetadata]
474
+ attr_accessor :asset_module_metadata
475
+
476
+ def initialize(**args)
477
+ update!(**args)
478
+ end
479
+
480
+ # Update properties of this object
481
+ def update!(**args)
482
+ @apk_description = args[:apk_description] if args.key?(:apk_description)
483
+ @asset_module_metadata = args[:asset_module_metadata] if args.key?(:asset_module_metadata)
484
+ end
485
+ end
486
+
268
487
  # Represents a base plan that automatically renews at the end of its
269
488
  # subscription period.
270
489
  class AutoRenewingBasePlanType
@@ -820,6 +1039,51 @@ module Google
820
1039
  end
821
1040
  end
822
1041
 
1042
+ # Represents a device feature.
1043
+ class DeviceFeature
1044
+ include Google::Apis::Core::Hashable
1045
+
1046
+ # Name of the feature.
1047
+ # Corresponds to the JSON property `featureName`
1048
+ # @return [String]
1049
+ attr_accessor :feature_name
1050
+
1051
+ # The feature version specified by android:glEsVersion or android:version in in
1052
+ # the AndroidManifest.
1053
+ # Corresponds to the JSON property `featureVersion`
1054
+ # @return [Fixnum]
1055
+ attr_accessor :feature_version
1056
+
1057
+ def initialize(**args)
1058
+ update!(**args)
1059
+ end
1060
+
1061
+ # Update properties of this object
1062
+ def update!(**args)
1063
+ @feature_name = args[:feature_name] if args.key?(:feature_name)
1064
+ @feature_version = args[:feature_version] if args.key?(:feature_version)
1065
+ end
1066
+ end
1067
+
1068
+ # Targeting for a device feature.
1069
+ class DeviceFeatureTargeting
1070
+ include Google::Apis::Core::Hashable
1071
+
1072
+ # Represents a device feature.
1073
+ # Corresponds to the JSON property `requiredFeature`
1074
+ # @return [Google::Apis::AndroidpublisherV3::DeviceFeature]
1075
+ attr_accessor :required_feature
1076
+
1077
+ def initialize(**args)
1078
+ update!(**args)
1079
+ end
1080
+
1081
+ # Update properties of this object
1082
+ def update!(**args)
1083
+ @required_feature = args[:required_feature] if args.key?(:required_feature)
1084
+ end
1085
+ end
1086
+
823
1087
  # A group of devices. A group is defined by a set of device selectors. A device
824
1088
  # belongs to the group if it matches any selector (logical OR).
825
1089
  class DeviceGroup
@@ -1565,6 +1829,11 @@ module Google
1565
1829
  # @return [Google::Apis::AndroidpublisherV3::GeneratedUniversalApk]
1566
1830
  attr_accessor :generated_universal_apk
1567
1831
 
1832
+ # Targeting information about the generated apks.
1833
+ # Corresponds to the JSON property `targetingInfo`
1834
+ # @return [Google::Apis::AndroidpublisherV3::TargetingInfo]
1835
+ attr_accessor :targeting_info
1836
+
1568
1837
  def initialize(**args)
1569
1838
  update!(**args)
1570
1839
  end
@@ -1576,6 +1845,7 @@ module Google
1576
1845
  @generated_split_apks = args[:generated_split_apks] if args.key?(:generated_split_apks)
1577
1846
  @generated_standalone_apks = args[:generated_standalone_apks] if args.key?(:generated_standalone_apks)
1578
1847
  @generated_universal_apk = args[:generated_universal_apk] if args.key?(:generated_universal_apk)
1848
+ @targeting_info = args[:targeting_info] if args.key?(:targeting_info)
1579
1849
  end
1580
1850
  end
1581
1851
 
@@ -2083,6 +2353,31 @@ module Google
2083
2353
  end
2084
2354
  end
2085
2355
 
2356
+ # Targeting based on language.
2357
+ class LanguageTargeting
2358
+ include Google::Apis::Core::Hashable
2359
+
2360
+ # Alternative languages.
2361
+ # Corresponds to the JSON property `alternatives`
2362
+ # @return [Array<String>]
2363
+ attr_accessor :alternatives
2364
+
2365
+ # ISO-639: 2 or 3 letter language code.
2366
+ # Corresponds to the JSON property `value`
2367
+ # @return [Array<String>]
2368
+ attr_accessor :value
2369
+
2370
+ def initialize(**args)
2371
+ update!(**args)
2372
+ end
2373
+
2374
+ # Update properties of this object
2375
+ def update!(**args)
2376
+ @alternatives = args[:alternatives] if args.key?(:alternatives)
2377
+ @value = args[:value] if args.key?(:value)
2378
+ end
2379
+ end
2380
+
2086
2381
  # Response listing existing device tier configs.
2087
2382
  class ListDeviceTierConfigsResponse
2088
2383
  include Google::Apis::Core::Hashable
@@ -2354,6 +2649,81 @@ module Google
2354
2649
  end
2355
2650
  end
2356
2651
 
2652
+ # Metadata of a module.
2653
+ class ModuleMetadata
2654
+ include Google::Apis::Core::Hashable
2655
+
2656
+ # Indicates the delivery type (e.g. on-demand) of the module.
2657
+ # Corresponds to the JSON property `deliveryType`
2658
+ # @return [String]
2659
+ attr_accessor :delivery_type
2660
+
2661
+ # Names of the modules that this module directly depends on. Each module
2662
+ # implicitly depends on the base module.
2663
+ # Corresponds to the JSON property `dependencies`
2664
+ # @return [Array<String>]
2665
+ attr_accessor :dependencies
2666
+
2667
+ # Indicates the type of this feature module.
2668
+ # Corresponds to the JSON property `moduleType`
2669
+ # @return [String]
2670
+ attr_accessor :module_type
2671
+
2672
+ # Module name.
2673
+ # Corresponds to the JSON property `name`
2674
+ # @return [String]
2675
+ attr_accessor :name
2676
+
2677
+ # Targeting on the module level.
2678
+ # Corresponds to the JSON property `targeting`
2679
+ # @return [Google::Apis::AndroidpublisherV3::ModuleTargeting]
2680
+ attr_accessor :targeting
2681
+
2682
+ def initialize(**args)
2683
+ update!(**args)
2684
+ end
2685
+
2686
+ # Update properties of this object
2687
+ def update!(**args)
2688
+ @delivery_type = args[:delivery_type] if args.key?(:delivery_type)
2689
+ @dependencies = args[:dependencies] if args.key?(:dependencies)
2690
+ @module_type = args[:module_type] if args.key?(:module_type)
2691
+ @name = args[:name] if args.key?(:name)
2692
+ @targeting = args[:targeting] if args.key?(:targeting)
2693
+ end
2694
+ end
2695
+
2696
+ # Targeting on the module level.
2697
+ class ModuleTargeting
2698
+ include Google::Apis::Core::Hashable
2699
+
2700
+ # Targeting for device features.
2701
+ # Corresponds to the JSON property `deviceFeatureTargeting`
2702
+ # @return [Array<Google::Apis::AndroidpublisherV3::DeviceFeatureTargeting>]
2703
+ attr_accessor :device_feature_targeting
2704
+
2705
+ # Targeting based on sdk version.
2706
+ # Corresponds to the JSON property `sdkVersionTargeting`
2707
+ # @return [Google::Apis::AndroidpublisherV3::SdkVersionTargeting]
2708
+ attr_accessor :sdk_version_targeting
2709
+
2710
+ # Describes an inclusive/exclusive list of country codes that module targets.
2711
+ # Corresponds to the JSON property `userCountriesTargeting`
2712
+ # @return [Google::Apis::AndroidpublisherV3::UserCountriesTargeting]
2713
+ attr_accessor :user_countries_targeting
2714
+
2715
+ def initialize(**args)
2716
+ update!(**args)
2717
+ end
2718
+
2719
+ # Update properties of this object
2720
+ def update!(**args)
2721
+ @device_feature_targeting = args[:device_feature_targeting] if args.key?(:device_feature_targeting)
2722
+ @sdk_version_targeting = args[:sdk_version_targeting] if args.key?(:sdk_version_targeting)
2723
+ @user_countries_targeting = args[:user_countries_targeting] if args.key?(:user_countries_targeting)
2724
+ end
2725
+ end
2726
+
2357
2727
  # Represents an amount of money with its currency type.
2358
2728
  class Money
2359
2729
  include Google::Apis::Core::Hashable
@@ -2390,6 +2760,51 @@ module Google
2390
2760
  end
2391
2761
  end
2392
2762
 
2763
+ # Represents a list of apis.
2764
+ class MultiAbi
2765
+ include Google::Apis::Core::Hashable
2766
+
2767
+ # A list of targeted ABIs, as represented by the Android Platform
2768
+ # Corresponds to the JSON property `abi`
2769
+ # @return [Array<Google::Apis::AndroidpublisherV3::Abi>]
2770
+ attr_accessor :abi
2771
+
2772
+ def initialize(**args)
2773
+ update!(**args)
2774
+ end
2775
+
2776
+ # Update properties of this object
2777
+ def update!(**args)
2778
+ @abi = args[:abi] if args.key?(:abi)
2779
+ end
2780
+ end
2781
+
2782
+ # Targeting based on multiple abis.
2783
+ class MultiAbiTargeting
2784
+ include Google::Apis::Core::Hashable
2785
+
2786
+ # Targeting of other sibling directories that were in the Bundle. For main
2787
+ # splits this is targeting of other main splits.
2788
+ # Corresponds to the JSON property `alternatives`
2789
+ # @return [Array<Google::Apis::AndroidpublisherV3::MultiAbi>]
2790
+ attr_accessor :alternatives
2791
+
2792
+ # Value of a multi abi.
2793
+ # Corresponds to the JSON property `value`
2794
+ # @return [Array<Google::Apis::AndroidpublisherV3::MultiAbi>]
2795
+ attr_accessor :value
2796
+
2797
+ def initialize(**args)
2798
+ update!(**args)
2799
+ end
2800
+
2801
+ # Update properties of this object
2802
+ def update!(**args)
2803
+ @alternatives = args[:alternatives] if args.key?(:alternatives)
2804
+ @value = args[:value] if args.key?(:value)
2805
+ end
2806
+ end
2807
+
2393
2808
  # Offer details information related to a purchase line item.
2394
2809
  class OfferDetails
2395
2810
  include Google::Apis::Core::Hashable
@@ -2989,6 +3404,14 @@ module Google
2989
3404
  # @return [String]
2990
3405
  attr_accessor :oldest_allowed_price_version_time
2991
3406
 
3407
+ # Optional. The behavior the caller wants users to see when there is a price
3408
+ # increase during migration. If left unset, the behavior defaults to
3409
+ # PRICE_INCREASE_TYPE_OPT_IN. Note that the first opt-out price increase
3410
+ # migration for each app must be initiated in Play Console.
3411
+ # Corresponds to the JSON property `priceIncreaseType`
3412
+ # @return [String]
3413
+ attr_accessor :price_increase_type
3414
+
2992
3415
  # Required. Region code this configuration applies to, as defined by ISO 3166-2,
2993
3416
  # e.g. "US".
2994
3417
  # Corresponds to the JSON property `regionCode`
@@ -3002,6 +3425,7 @@ module Google
3002
3425
  # Update properties of this object
3003
3426
  def update!(**args)
3004
3427
  @oldest_allowed_price_version_time = args[:oldest_allowed_price_version_time] if args.key?(:oldest_allowed_price_version_time)
3428
+ @price_increase_type = args[:price_increase_type] if args.key?(:price_increase_type)
3005
3429
  @region_code = args[:region_code] if args.key?(:region_code)
3006
3430
  end
3007
3431
  end
@@ -3291,6 +3715,181 @@ module Google
3291
3715
  end
3292
3716
  end
3293
3717
 
3718
+ # Represents a screen density.
3719
+ class ScreenDensity
3720
+ include Google::Apis::Core::Hashable
3721
+
3722
+ # Alias for a screen density.
3723
+ # Corresponds to the JSON property `densityAlias`
3724
+ # @return [String]
3725
+ attr_accessor :density_alias
3726
+
3727
+ # Value for density dpi.
3728
+ # Corresponds to the JSON property `densityDpi`
3729
+ # @return [Fixnum]
3730
+ attr_accessor :density_dpi
3731
+
3732
+ def initialize(**args)
3733
+ update!(**args)
3734
+ end
3735
+
3736
+ # Update properties of this object
3737
+ def update!(**args)
3738
+ @density_alias = args[:density_alias] if args.key?(:density_alias)
3739
+ @density_dpi = args[:density_dpi] if args.key?(:density_dpi)
3740
+ end
3741
+ end
3742
+
3743
+ # Targeting based on screen density.
3744
+ class ScreenDensityTargeting
3745
+ include Google::Apis::Core::Hashable
3746
+
3747
+ # Targeting of other sibling directories that were in the Bundle. For main
3748
+ # splits this is targeting of other main splits.
3749
+ # Corresponds to the JSON property `alternatives`
3750
+ # @return [Array<Google::Apis::AndroidpublisherV3::ScreenDensity>]
3751
+ attr_accessor :alternatives
3752
+
3753
+ # Value of a screen density.
3754
+ # Corresponds to the JSON property `value`
3755
+ # @return [Array<Google::Apis::AndroidpublisherV3::ScreenDensity>]
3756
+ attr_accessor :value
3757
+
3758
+ def initialize(**args)
3759
+ update!(**args)
3760
+ end
3761
+
3762
+ # Update properties of this object
3763
+ def update!(**args)
3764
+ @alternatives = args[:alternatives] if args.key?(:alternatives)
3765
+ @value = args[:value] if args.key?(:value)
3766
+ end
3767
+ end
3768
+
3769
+ # Represents an sdk version.
3770
+ class SdkVersion
3771
+ include Google::Apis::Core::Hashable
3772
+
3773
+ # Inclusive minimum value of an sdk version.
3774
+ # Corresponds to the JSON property `min`
3775
+ # @return [Fixnum]
3776
+ attr_accessor :min
3777
+
3778
+ def initialize(**args)
3779
+ update!(**args)
3780
+ end
3781
+
3782
+ # Update properties of this object
3783
+ def update!(**args)
3784
+ @min = args[:min] if args.key?(:min)
3785
+ end
3786
+ end
3787
+
3788
+ # Targeting based on sdk version.
3789
+ class SdkVersionTargeting
3790
+ include Google::Apis::Core::Hashable
3791
+
3792
+ # Targeting of other sibling directories that were in the Bundle. For main
3793
+ # splits this is targeting of other main splits.
3794
+ # Corresponds to the JSON property `alternatives`
3795
+ # @return [Array<Google::Apis::AndroidpublisherV3::SdkVersion>]
3796
+ attr_accessor :alternatives
3797
+
3798
+ # Value of an sdk version.
3799
+ # Corresponds to the JSON property `value`
3800
+ # @return [Array<Google::Apis::AndroidpublisherV3::SdkVersion>]
3801
+ attr_accessor :value
3802
+
3803
+ def initialize(**args)
3804
+ update!(**args)
3805
+ end
3806
+
3807
+ # Update properties of this object
3808
+ def update!(**args)
3809
+ @alternatives = args[:alternatives] if args.key?(:alternatives)
3810
+ @value = args[:value] if args.key?(:value)
3811
+ end
3812
+ end
3813
+
3814
+ # Holds data specific to Split APKs.
3815
+ class SplitApkMetadata
3816
+ include Google::Apis::Core::Hashable
3817
+
3818
+ # Indicates whether this APK is the main split of the module.
3819
+ # Corresponds to the JSON property `isMasterSplit`
3820
+ # @return [Boolean]
3821
+ attr_accessor :is_master_split
3822
+ alias_method :is_master_split?, :is_master_split
3823
+
3824
+ # Id of the split.
3825
+ # Corresponds to the JSON property `splitId`
3826
+ # @return [String]
3827
+ attr_accessor :split_id
3828
+
3829
+ def initialize(**args)
3830
+ update!(**args)
3831
+ end
3832
+
3833
+ # Update properties of this object
3834
+ def update!(**args)
3835
+ @is_master_split = args[:is_master_split] if args.key?(:is_master_split)
3836
+ @split_id = args[:split_id] if args.key?(:split_id)
3837
+ end
3838
+ end
3839
+
3840
+ # Variant is a group of APKs that covers a part of the device configuration
3841
+ # space. APKs from multiple variants are never combined on one device.
3842
+ class SplitApkVariant
3843
+ include Google::Apis::Core::Hashable
3844
+
3845
+ # Set of APKs, one set per module.
3846
+ # Corresponds to the JSON property `apkSet`
3847
+ # @return [Array<Google::Apis::AndroidpublisherV3::ApkSet>]
3848
+ attr_accessor :apk_set
3849
+
3850
+ # Targeting on the level of variants.
3851
+ # Corresponds to the JSON property `targeting`
3852
+ # @return [Google::Apis::AndroidpublisherV3::VariantTargeting]
3853
+ attr_accessor :targeting
3854
+
3855
+ # Number of the variant, starting at 0 (unless overridden). A device will
3856
+ # receive APKs from the first variant that matches the device configuration,
3857
+ # with higher variant numbers having priority over lower variant numbers.
3858
+ # Corresponds to the JSON property `variantNumber`
3859
+ # @return [Fixnum]
3860
+ attr_accessor :variant_number
3861
+
3862
+ def initialize(**args)
3863
+ update!(**args)
3864
+ end
3865
+
3866
+ # Update properties of this object
3867
+ def update!(**args)
3868
+ @apk_set = args[:apk_set] if args.key?(:apk_set)
3869
+ @targeting = args[:targeting] if args.key?(:targeting)
3870
+ @variant_number = args[:variant_number] if args.key?(:variant_number)
3871
+ end
3872
+ end
3873
+
3874
+ # Holds data specific to Standalone APKs.
3875
+ class StandaloneApkMetadata
3876
+ include Google::Apis::Core::Hashable
3877
+
3878
+ # Names of the modules fused in this standalone APK.
3879
+ # Corresponds to the JSON property `fusedModuleName`
3880
+ # @return [Array<String>]
3881
+ attr_accessor :fused_module_name
3882
+
3883
+ def initialize(**args)
3884
+ update!(**args)
3885
+ end
3886
+
3887
+ # Update properties of this object
3888
+ def update!(**args)
3889
+ @fused_module_name = args[:fused_module_name] if args.key?(:fused_module_name)
3890
+ end
3891
+ end
3892
+
3294
3893
  # Information associated with purchases made with 'Subscribe with Google'.
3295
3894
  class SubscribeWithGoogleInfo
3296
3895
  include Google::Apis::Core::Hashable
@@ -4250,6 +4849,37 @@ module Google
4250
4849
  end
4251
4850
  end
4252
4851
 
4852
+ # Targeting information about the generated apks.
4853
+ class TargetingInfo
4854
+ include Google::Apis::Core::Hashable
4855
+
4856
+ # List of created asset slices.
4857
+ # Corresponds to the JSON property `assetSliceSet`
4858
+ # @return [Array<Google::Apis::AndroidpublisherV3::AssetSliceSet>]
4859
+ attr_accessor :asset_slice_set
4860
+
4861
+ # The package name of this app.
4862
+ # Corresponds to the JSON property `packageName`
4863
+ # @return [String]
4864
+ attr_accessor :package_name
4865
+
4866
+ # List of the created variants.
4867
+ # Corresponds to the JSON property `variant`
4868
+ # @return [Array<Google::Apis::AndroidpublisherV3::SplitApkVariant>]
4869
+ attr_accessor :variant
4870
+
4871
+ def initialize(**args)
4872
+ update!(**args)
4873
+ end
4874
+
4875
+ # Update properties of this object
4876
+ def update!(**args)
4877
+ @asset_slice_set = args[:asset_slice_set] if args.key?(:asset_slice_set)
4878
+ @package_name = args[:package_name] if args.key?(:package_name)
4879
+ @variant = args[:variant] if args.key?(:variant)
4880
+ end
4881
+ end
4882
+
4253
4883
  # Defines the scope of subscriptions which a targeting rule can match to target
4254
4884
  # offers to users based on past or current entitlement.
4255
4885
  class TargetingRuleScope
@@ -4305,6 +4935,50 @@ module Google
4305
4935
  end
4306
4936
  end
4307
4937
 
4938
+ # Represents texture compression format.
4939
+ class TextureCompressionFormat
4940
+ include Google::Apis::Core::Hashable
4941
+
4942
+ # Alias for texture compression format.
4943
+ # Corresponds to the JSON property `alias`
4944
+ # @return [String]
4945
+ attr_accessor :alias
4946
+
4947
+ def initialize(**args)
4948
+ update!(**args)
4949
+ end
4950
+
4951
+ # Update properties of this object
4952
+ def update!(**args)
4953
+ @alias = args[:alias] if args.key?(:alias)
4954
+ end
4955
+ end
4956
+
4957
+ # Targeting by a texture compression format.
4958
+ class TextureCompressionFormatTargeting
4959
+ include Google::Apis::Core::Hashable
4960
+
4961
+ # List of alternative TCFs (TCFs targeted by the sibling splits).
4962
+ # Corresponds to the JSON property `alternatives`
4963
+ # @return [Array<Google::Apis::AndroidpublisherV3::TextureCompressionFormat>]
4964
+ attr_accessor :alternatives
4965
+
4966
+ # The list of targeted TCFs. Should not be empty.
4967
+ # Corresponds to the JSON property `value`
4968
+ # @return [Array<Google::Apis::AndroidpublisherV3::TextureCompressionFormat>]
4969
+ attr_accessor :value
4970
+
4971
+ def initialize(**args)
4972
+ update!(**args)
4973
+ end
4974
+
4975
+ # Update properties of this object
4976
+ def update!(**args)
4977
+ @alternatives = args[:alternatives] if args.key?(:alternatives)
4978
+ @value = args[:value] if args.key?(:value)
4979
+ end
4980
+ end
4981
+
4308
4982
  # A Timestamp represents a point in time independent of any time zone or local
4309
4983
  # calendar, encoded as a count of seconds and fractions of seconds at nanosecond
4310
4984
  # resolution. The count is relative to an epoch at UTC midnight on January 1,
@@ -4738,6 +5412,32 @@ module Google
4738
5412
  end
4739
5413
  end
4740
5414
 
5415
+ # Describes an inclusive/exclusive list of country codes that module targets.
5416
+ class UserCountriesTargeting
5417
+ include Google::Apis::Core::Hashable
5418
+
5419
+ # List of country codes in the two-letter CLDR territory format.
5420
+ # Corresponds to the JSON property `countryCodes`
5421
+ # @return [Array<String>]
5422
+ attr_accessor :country_codes
5423
+
5424
+ # Indicates if the list above is exclusive.
5425
+ # Corresponds to the JSON property `exclude`
5426
+ # @return [Boolean]
5427
+ attr_accessor :exclude
5428
+ alias_method :exclude?, :exclude
5429
+
5430
+ def initialize(**args)
5431
+ update!(**args)
5432
+ end
5433
+
5434
+ # Update properties of this object
5435
+ def update!(**args)
5436
+ @country_codes = args[:country_codes] if args.key?(:country_codes)
5437
+ @exclude = args[:exclude] if args.key?(:exclude)
5438
+ end
5439
+ end
5440
+
4741
5441
  # A set of user countries. A country set determines what variation of app
4742
5442
  # content gets served to a specific location.
4743
5443
  class UserCountrySet
@@ -4843,6 +5543,49 @@ module Google
4843
5543
  end
4844
5544
  end
4845
5545
 
5546
+ # Targeting on the level of variants.
5547
+ class VariantTargeting
5548
+ include Google::Apis::Core::Hashable
5549
+
5550
+ # Targeting based on Abi.
5551
+ # Corresponds to the JSON property `abiTargeting`
5552
+ # @return [Google::Apis::AndroidpublisherV3::AbiTargeting]
5553
+ attr_accessor :abi_targeting
5554
+
5555
+ # Targeting based on multiple abis.
5556
+ # Corresponds to the JSON property `multiAbiTargeting`
5557
+ # @return [Google::Apis::AndroidpublisherV3::MultiAbiTargeting]
5558
+ attr_accessor :multi_abi_targeting
5559
+
5560
+ # Targeting based on screen density.
5561
+ # Corresponds to the JSON property `screenDensityTargeting`
5562
+ # @return [Google::Apis::AndroidpublisherV3::ScreenDensityTargeting]
5563
+ attr_accessor :screen_density_targeting
5564
+
5565
+ # Targeting based on sdk version.
5566
+ # Corresponds to the JSON property `sdkVersionTargeting`
5567
+ # @return [Google::Apis::AndroidpublisherV3::SdkVersionTargeting]
5568
+ attr_accessor :sdk_version_targeting
5569
+
5570
+ # Targeting by a texture compression format.
5571
+ # Corresponds to the JSON property `textureCompressionFormatTargeting`
5572
+ # @return [Google::Apis::AndroidpublisherV3::TextureCompressionFormatTargeting]
5573
+ attr_accessor :texture_compression_format_targeting
5574
+
5575
+ def initialize(**args)
5576
+ update!(**args)
5577
+ end
5578
+
5579
+ # Update properties of this object
5580
+ def update!(**args)
5581
+ @abi_targeting = args[:abi_targeting] if args.key?(:abi_targeting)
5582
+ @multi_abi_targeting = args[:multi_abi_targeting] if args.key?(:multi_abi_targeting)
5583
+ @screen_density_targeting = args[:screen_density_targeting] if args.key?(:screen_density_targeting)
5584
+ @sdk_version_targeting = args[:sdk_version_targeting] if args.key?(:sdk_version_targeting)
5585
+ @texture_compression_format_targeting = args[:texture_compression_format_targeting] if args.key?(:texture_compression_format_targeting)
5586
+ end
5587
+ end
5588
+
4846
5589
  # A VoidedPurchase resource indicates a purchase that was either canceled/
4847
5590
  # refunded/charged-back.
4848
5591
  class VoidedPurchase