google-apis-androidpublisher_v3 0.54.0 → 0.55.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a1da31d20d777424e5323e2f92f4386205daf0849750ee839d7aea01c932086
4
- data.tar.gz: 397f7c805d711b5e72ed8ad63ce1f14291c8b1351c6201d45b582c6434aca685
3
+ metadata.gz: 55e8499afcb5a27902a39afbd5d603f8777201ef03affd4bf024561c0748f780
4
+ data.tar.gz: 1aaff24a32333bea1560198490420cb177277a4d0d716c2cc3914704bf5b6703
5
5
  SHA512:
6
- metadata.gz: 65c7cb66061c9d545c452a2a291158e4d7364f6158bdac42b547f5dd8094748f7272cac0f09a5028bf612fe361439e4f045c427cfdcdfdc90b7718cde5917a78
7
- data.tar.gz: 670cdd1cfe81671010458d27428752f64f6e18d07f131926f9011112105a1faab8bfb5b77956f401a46ddf488915ee3fb13007b67e827b2a92b9b9bdc95002b4
6
+ metadata.gz: 8518aecf65d4a0168663ef088140cb6f8ed5ddd0032460f54bcbb2fb5eb3f5ba90ed9cbb3b2cebae84cc79cf38c916348b84ab52139044898cc1a250bfa8d2a3
7
+ data.tar.gz: 1ce09d6b3e986ec72a2dac381a5cce27031a296c110719858e239c4620bd285866b171dffd7a51447893cd142251d79f1fd3db5d6c35c2fbf19e1ce5bd6770c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.55.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240117
6
+ * Regenerated using generator version 0.13.0
7
+
3
8
  ### v0.54.0 (2023-12-17)
4
9
 
5
10
  * Regenerated from discovery document revision 20231210
@@ -169,6 +169,79 @@ module Google
169
169
  end
170
170
  end
171
171
 
172
+ # Request message for AddTargeting.
173
+ class AddTargetingRequest
174
+ include Google::Apis::Core::Hashable
175
+
176
+ # Update type for targeting. Note it is always a subset Targeting.
177
+ # Corresponds to the JSON property `targetingUpdate`
178
+ # @return [Google::Apis::AndroidpublisherV3::TargetingUpdate]
179
+ attr_accessor :targeting_update
180
+
181
+ def initialize(**args)
182
+ update!(**args)
183
+ end
184
+
185
+ # Update properties of this object
186
+ def update!(**args)
187
+ @targeting_update = args[:targeting_update] if args.key?(:targeting_update)
188
+ end
189
+ end
190
+
191
+ # Response message for AddTargeting.
192
+ class AddTargetingResponse
193
+ include Google::Apis::Core::Hashable
194
+
195
+ def initialize(**args)
196
+ update!(**args)
197
+ end
198
+
199
+ # Update properties of this object
200
+ def update!(**args)
201
+ end
202
+ end
203
+
204
+ # Object representation to describe all set of users.
205
+ class AllUsers
206
+ include Google::Apis::Core::Hashable
207
+
208
+ # Required. Set to true if all set of users are needed.
209
+ # Corresponds to the JSON property `isAllUsersRequested`
210
+ # @return [Boolean]
211
+ attr_accessor :is_all_users_requested
212
+ alias_method :is_all_users_requested?, :is_all_users_requested
213
+
214
+ def initialize(**args)
215
+ update!(**args)
216
+ end
217
+
218
+ # Update properties of this object
219
+ def update!(**args)
220
+ @is_all_users_requested = args[:is_all_users_requested] if args.key?(:is_all_users_requested)
221
+ end
222
+ end
223
+
224
+ # Android api level targeting data for app recovery action targeting.
225
+ class AndroidSdks
226
+ include Google::Apis::Core::Hashable
227
+
228
+ # Android api levels of devices targeted by recovery action. See https://
229
+ # developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels for
230
+ # different api levels in android.
231
+ # Corresponds to the JSON property `sdkLevels`
232
+ # @return [Array<Fixnum>]
233
+ attr_accessor :sdk_levels
234
+
235
+ def initialize(**args)
236
+ update!(**args)
237
+ end
238
+
239
+ # Update properties of this object
240
+ def update!(**args)
241
+ @sdk_levels = args[:sdk_levels] if args.key?(:sdk_levels)
242
+ end
243
+ end
244
+
172
245
  # Information about an APK. The resource for ApksService.
173
246
  class Apk
174
247
  include Google::Apis::Core::Hashable
@@ -477,6 +550,119 @@ module Google
477
550
  end
478
551
  end
479
552
 
553
+ # Information about an app recovery action.
554
+ class AppRecoveryAction
555
+ include Google::Apis::Core::Hashable
556
+
557
+ # ID corresponding to the app recovery action.
558
+ # Corresponds to the JSON property `appRecoveryId`
559
+ # @return [Fixnum]
560
+ attr_accessor :app_recovery_id
561
+
562
+ # Timestamp of when the app recovery action is canceled by the developer. Only
563
+ # set if the recovery action has been canceled.
564
+ # Corresponds to the JSON property `cancelTime`
565
+ # @return [String]
566
+ attr_accessor :cancel_time
567
+
568
+ # Timestamp of when the app recovery action is created by the developer. It is
569
+ # always set after creation of the recovery action.
570
+ # Corresponds to the JSON property `createTime`
571
+ # @return [String]
572
+ attr_accessor :create_time
573
+
574
+ # Timestamp of when the app recovery action is deployed to the users. Only set
575
+ # if the recovery action has been deployed.
576
+ # Corresponds to the JSON property `deployTime`
577
+ # @return [String]
578
+ attr_accessor :deploy_time
579
+
580
+ # Timestamp of when the developer last updated recovery action. In case the
581
+ # action is cancelled, it corresponds to cancellation time. It is always set
582
+ # after creation of the recovery action.
583
+ # Corresponds to the JSON property `lastUpdateTime`
584
+ # @return [String]
585
+ attr_accessor :last_update_time
586
+
587
+ # Data related to Remote In-App Update action such as recovered user count,
588
+ # affected user count etc.
589
+ # Corresponds to the JSON property `remoteInAppUpdateData`
590
+ # @return [Google::Apis::AndroidpublisherV3::RemoteInAppUpdateData]
591
+ attr_accessor :remote_in_app_update_data
592
+
593
+ # The status of the recovery action.
594
+ # Corresponds to the JSON property `status`
595
+ # @return [String]
596
+ attr_accessor :status
597
+
598
+ # Targeting details for a recovery action such as regions, android sdk levels,
599
+ # app versions etc.
600
+ # Corresponds to the JSON property `targeting`
601
+ # @return [Google::Apis::AndroidpublisherV3::Targeting]
602
+ attr_accessor :targeting
603
+
604
+ def initialize(**args)
605
+ update!(**args)
606
+ end
607
+
608
+ # Update properties of this object
609
+ def update!(**args)
610
+ @app_recovery_id = args[:app_recovery_id] if args.key?(:app_recovery_id)
611
+ @cancel_time = args[:cancel_time] if args.key?(:cancel_time)
612
+ @create_time = args[:create_time] if args.key?(:create_time)
613
+ @deploy_time = args[:deploy_time] if args.key?(:deploy_time)
614
+ @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
615
+ @remote_in_app_update_data = args[:remote_in_app_update_data] if args.key?(:remote_in_app_update_data)
616
+ @status = args[:status] if args.key?(:status)
617
+ @targeting = args[:targeting] if args.key?(:targeting)
618
+ end
619
+ end
620
+
621
+ # Data format for a list of app versions. Only one app version is supported for
622
+ # now.
623
+ class AppVersionList
624
+ include Google::Apis::Core::Hashable
625
+
626
+ # List of app version codes.
627
+ # Corresponds to the JSON property `versionCodes`
628
+ # @return [Array<Fixnum>]
629
+ attr_accessor :version_codes
630
+
631
+ def initialize(**args)
632
+ update!(**args)
633
+ end
634
+
635
+ # Update properties of this object
636
+ def update!(**args)
637
+ @version_codes = args[:version_codes] if args.key?(:version_codes)
638
+ end
639
+ end
640
+
641
+ # Data format for a continuous range of app versions.
642
+ class AppVersionRange
643
+ include Google::Apis::Core::Hashable
644
+
645
+ # Highest app version in the range, inclusive.
646
+ # Corresponds to the JSON property `versionCodeEnd`
647
+ # @return [Fixnum]
648
+ attr_accessor :version_code_end
649
+
650
+ # Lowest app version in the range, inclusive.
651
+ # Corresponds to the JSON property `versionCodeStart`
652
+ # @return [Fixnum]
653
+ attr_accessor :version_code_start
654
+
655
+ def initialize(**args)
656
+ update!(**args)
657
+ end
658
+
659
+ # Update properties of this object
660
+ def update!(**args)
661
+ @version_code_end = args[:version_code_end] if args.key?(:version_code_end)
662
+ @version_code_start = args[:version_code_start] if args.key?(:version_code_start)
663
+ end
664
+ end
665
+
480
666
  # Request message for ArchiveSubscription.
481
667
  class ArchiveSubscriptionRequest
482
668
  include Google::Apis::Core::Hashable
@@ -1011,6 +1197,32 @@ module Google
1011
1197
  end
1012
1198
  end
1013
1199
 
1200
+ # Request message for CancelAppRecovery.
1201
+ class CancelAppRecoveryRequest
1202
+ include Google::Apis::Core::Hashable
1203
+
1204
+ def initialize(**args)
1205
+ update!(**args)
1206
+ end
1207
+
1208
+ # Update properties of this object
1209
+ def update!(**args)
1210
+ end
1211
+ end
1212
+
1213
+ # Response message for CancelAppRecovery.
1214
+ class CancelAppRecoveryResponse
1215
+ include Google::Apis::Core::Hashable
1216
+
1217
+ def initialize(**args)
1218
+ update!(**args)
1219
+ end
1220
+
1221
+ # Update properties of this object
1222
+ def update!(**args)
1223
+ end
1224
+ end
1225
+
1014
1226
  # Result of the cancel survey when the subscription was canceled by the user.
1015
1227
  class CancelSurveyResult
1016
1228
  include Google::Apis::Core::Hashable
@@ -1226,6 +1438,32 @@ module Google
1226
1438
  end
1227
1439
  end
1228
1440
 
1441
+ # Request message for CreateDraftAppRecovery.
1442
+ class CreateDraftAppRecoveryRequest
1443
+ include Google::Apis::Core::Hashable
1444
+
1445
+ # Object representation for Remote in-app update action type.
1446
+ # Corresponds to the JSON property `remoteInAppUpdate`
1447
+ # @return [Google::Apis::AndroidpublisherV3::RemoteInAppUpdate]
1448
+ attr_accessor :remote_in_app_update
1449
+
1450
+ # Targeting details for a recovery action such as regions, android sdk levels,
1451
+ # app versions etc.
1452
+ # Corresponds to the JSON property `targeting`
1453
+ # @return [Google::Apis::AndroidpublisherV3::Targeting]
1454
+ attr_accessor :targeting
1455
+
1456
+ def initialize(**args)
1457
+ update!(**args)
1458
+ end
1459
+
1460
+ # Update properties of this object
1461
+ def update!(**args)
1462
+ @remote_in_app_update = args[:remote_in_app_update] if args.key?(:remote_in_app_update)
1463
+ @targeting = args[:targeting] if args.key?(:targeting)
1464
+ end
1465
+ end
1466
+
1229
1467
  # Request message for DeactivateBasePlan.
1230
1468
  class DeactivateBasePlanRequest
1231
1469
  include Google::Apis::Core::Hashable
@@ -1365,6 +1603,32 @@ module Google
1365
1603
  end
1366
1604
  end
1367
1605
 
1606
+ # Request message for DeployAppRecovery.
1607
+ class DeployAppRecoveryRequest
1608
+ include Google::Apis::Core::Hashable
1609
+
1610
+ def initialize(**args)
1611
+ update!(**args)
1612
+ end
1613
+
1614
+ # Update properties of this object
1615
+ def update!(**args)
1616
+ end
1617
+ end
1618
+
1619
+ # Response message for DeployAppRecovery.
1620
+ class DeployAppRecoveryResponse
1621
+ include Google::Apis::Core::Hashable
1622
+
1623
+ def initialize(**args)
1624
+ update!(**args)
1625
+ end
1626
+
1627
+ # Update properties of this object
1628
+ def update!(**args)
1629
+ end
1630
+ end
1631
+
1368
1632
  # Developer entry from conversation between user and developer.
1369
1633
  class DeveloperComment
1370
1634
  include Google::Apis::Core::Hashable
@@ -2194,6 +2458,14 @@ module Google
2194
2458
  # @return [Array<Google::Apis::AndroidpublisherV3::GeneratedAssetPackSlice>]
2195
2459
  attr_accessor :generated_asset_pack_slices
2196
2460
 
2461
+ # Generated recovery apks for recovery actions signed with a key corresponding
2462
+ # to certificate_sha256_hash. This includes all generated recovery APKs, also
2463
+ # those in draft or cancelled state. This field is not set if no recovery
2464
+ # actions were created for this signing key.
2465
+ # Corresponds to the JSON property `generatedRecoveryModules`
2466
+ # @return [Array<Google::Apis::AndroidpublisherV3::GeneratedRecoveryApk>]
2467
+ attr_accessor :generated_recovery_modules
2468
+
2197
2469
  # List of generated split APKs, signed with a key corresponding to
2198
2470
  # certificate_sha256_hash.
2199
2471
  # Corresponds to the JSON property `generatedSplitApks`
@@ -2224,6 +2496,7 @@ module Google
2224
2496
  def update!(**args)
2225
2497
  @certificate_sha256_hash = args[:certificate_sha256_hash] if args.key?(:certificate_sha256_hash)
2226
2498
  @generated_asset_pack_slices = args[:generated_asset_pack_slices] if args.key?(:generated_asset_pack_slices)
2499
+ @generated_recovery_modules = args[:generated_recovery_modules] if args.key?(:generated_recovery_modules)
2227
2500
  @generated_split_apks = args[:generated_split_apks] if args.key?(:generated_split_apks)
2228
2501
  @generated_standalone_apks = args[:generated_standalone_apks] if args.key?(:generated_standalone_apks)
2229
2502
  @generated_universal_apk = args[:generated_universal_apk] if args.key?(:generated_universal_apk)
@@ -2269,6 +2542,44 @@ module Google
2269
2542
  end
2270
2543
  end
2271
2544
 
2545
+ # Download metadata for an app recovery module.
2546
+ class GeneratedRecoveryApk
2547
+ include Google::Apis::Core::Hashable
2548
+
2549
+ # Download ID, which uniquely identifies the APK to download. Should be supplied
2550
+ # to `generatedapks.download` method.
2551
+ # Corresponds to the JSON property `downloadId`
2552
+ # @return [String]
2553
+ attr_accessor :download_id
2554
+
2555
+ # Name of the module which recovery apk belongs to.
2556
+ # Corresponds to the JSON property `moduleName`
2557
+ # @return [String]
2558
+ attr_accessor :module_name
2559
+
2560
+ # ID of the recovery action.
2561
+ # Corresponds to the JSON property `recoveryId`
2562
+ # @return [Fixnum]
2563
+ attr_accessor :recovery_id
2564
+
2565
+ # The status of the recovery action corresponding to the recovery apk.
2566
+ # Corresponds to the JSON property `recoveryStatus`
2567
+ # @return [String]
2568
+ attr_accessor :recovery_status
2569
+
2570
+ def initialize(**args)
2571
+ update!(**args)
2572
+ end
2573
+
2574
+ # Update properties of this object
2575
+ def update!(**args)
2576
+ @download_id = args[:download_id] if args.key?(:download_id)
2577
+ @module_name = args[:module_name] if args.key?(:module_name)
2578
+ @recovery_id = args[:recovery_id] if args.key?(:recovery_id)
2579
+ @recovery_status = args[:recovery_status] if args.key?(:recovery_status)
2580
+ end
2581
+ end
2582
+
2272
2583
  # Download metadata for a split APK.
2273
2584
  class GeneratedSplitApk
2274
2585
  include Google::Apis::Core::Hashable
@@ -2963,6 +3274,26 @@ module Google
2963
3274
  end
2964
3275
  end
2965
3276
 
3277
+ # Response message for ListAppRecoveries. -- api-linter: core::0158::response-
3278
+ # next-page-token-field=disabled
3279
+ class ListAppRecoveriesResponse
3280
+ include Google::Apis::Core::Hashable
3281
+
3282
+ # List of recovery actions associated with the requested package name.
3283
+ # Corresponds to the JSON property `recoveryActions`
3284
+ # @return [Array<Google::Apis::AndroidpublisherV3::AppRecoveryAction>]
3285
+ attr_accessor :recovery_actions
3286
+
3287
+ def initialize(**args)
3288
+ update!(**args)
3289
+ end
3290
+
3291
+ # Update properties of this object
3292
+ def update!(**args)
3293
+ @recovery_actions = args[:recovery_actions] if args.key?(:recovery_actions)
3294
+ end
3295
+ end
3296
+
2966
3297
  # Response listing existing device tier configs.
2967
3298
  class ListDeviceTierConfigsResponse
2968
3299
  include Google::Apis::Core::Hashable
@@ -4165,6 +4496,28 @@ module Google
4165
4496
  end
4166
4497
  end
4167
4498
 
4499
+ # Region targeting data for app recovery action targeting.
4500
+ class Regions
4501
+ include Google::Apis::Core::Hashable
4502
+
4503
+ # Regions targeted by the recovery action. Region codes are ISO 3166 Alpha-2
4504
+ # country codes. For example, US stands for United States of America. See https:/
4505
+ # /www.iso.org/iso-3166-country-codes.html for the complete list of country
4506
+ # codes.
4507
+ # Corresponds to the JSON property `regionCode`
4508
+ # @return [Array<String>]
4509
+ attr_accessor :region_code
4510
+
4511
+ def initialize(**args)
4512
+ update!(**args)
4513
+ end
4514
+
4515
+ # Update properties of this object
4516
+ def update!(**args)
4517
+ @region_code = args[:region_code] if args.key?(:region_code)
4518
+ end
4519
+ end
4520
+
4168
4521
  # The version of the available regions being used for the specified resource.
4169
4522
  class RegionsVersion
4170
4523
  include Google::Apis::Core::Hashable
@@ -4191,6 +4544,78 @@ module Google
4191
4544
  end
4192
4545
  end
4193
4546
 
4547
+ # Object representation for Remote in-app update action type.
4548
+ class RemoteInAppUpdate
4549
+ include Google::Apis::Core::Hashable
4550
+
4551
+ # Required. Set to true if Remote In-App Update action type is needed.
4552
+ # Corresponds to the JSON property `isRemoteInAppUpdateRequested`
4553
+ # @return [Boolean]
4554
+ attr_accessor :is_remote_in_app_update_requested
4555
+ alias_method :is_remote_in_app_update_requested?, :is_remote_in_app_update_requested
4556
+
4557
+ def initialize(**args)
4558
+ update!(**args)
4559
+ end
4560
+
4561
+ # Update properties of this object
4562
+ def update!(**args)
4563
+ @is_remote_in_app_update_requested = args[:is_remote_in_app_update_requested] if args.key?(:is_remote_in_app_update_requested)
4564
+ end
4565
+ end
4566
+
4567
+ # Data related to Remote In-App Update action such as recovered user count,
4568
+ # affected user count etc.
4569
+ class RemoteInAppUpdateData
4570
+ include Google::Apis::Core::Hashable
4571
+
4572
+ # Data related to the recovery action at bundle level.
4573
+ # Corresponds to the JSON property `remoteAppUpdateDataPerBundle`
4574
+ # @return [Array<Google::Apis::AndroidpublisherV3::RemoteInAppUpdateDataPerBundle>]
4575
+ attr_accessor :remote_app_update_data_per_bundle
4576
+
4577
+ def initialize(**args)
4578
+ update!(**args)
4579
+ end
4580
+
4581
+ # Update properties of this object
4582
+ def update!(**args)
4583
+ @remote_app_update_data_per_bundle = args[:remote_app_update_data_per_bundle] if args.key?(:remote_app_update_data_per_bundle)
4584
+ end
4585
+ end
4586
+
4587
+ # Data related to the recovery action at bundle level.
4588
+ class RemoteInAppUpdateDataPerBundle
4589
+ include Google::Apis::Core::Hashable
4590
+
4591
+ # Total number of devices which have been rescued.
4592
+ # Corresponds to the JSON property `recoveredDeviceCount`
4593
+ # @return [Fixnum]
4594
+ attr_accessor :recovered_device_count
4595
+
4596
+ # Total number of devices affected by this recovery action associated with
4597
+ # bundle of the app.
4598
+ # Corresponds to the JSON property `totalDeviceCount`
4599
+ # @return [Fixnum]
4600
+ attr_accessor :total_device_count
4601
+
4602
+ # Version Code corresponding to the target bundle.
4603
+ # Corresponds to the JSON property `versionCode`
4604
+ # @return [Fixnum]
4605
+ attr_accessor :version_code
4606
+
4607
+ def initialize(**args)
4608
+ update!(**args)
4609
+ end
4610
+
4611
+ # Update properties of this object
4612
+ def update!(**args)
4613
+ @recovered_device_count = args[:recovered_device_count] if args.key?(:recovered_device_count)
4614
+ @total_device_count = args[:total_device_count] if args.key?(:total_device_count)
4615
+ @version_code = args[:version_code] if args.key?(:version_code)
4616
+ end
4617
+ end
4618
+
4194
4619
  # Information specific to cancellations caused by subscription replacement.
4195
4620
  class ReplacementCancellation
4196
4621
  include Google::Apis::Core::Hashable
@@ -4342,6 +4767,72 @@ module Google
4342
4767
  end
4343
4768
  end
4344
4769
 
4770
+ # Revocation context of the purchases.subscriptionsv2.revoke API.
4771
+ class RevocationContext
4772
+ include Google::Apis::Core::Hashable
4773
+
4774
+ # Used to determine if the refund type in the RevocationContext is a prorated
4775
+ # refund.
4776
+ # Corresponds to the JSON property `proratedRefund`
4777
+ # @return [Google::Apis::AndroidpublisherV3::RevocationContextProratedRefund]
4778
+ attr_accessor :prorated_refund
4779
+
4780
+ def initialize(**args)
4781
+ update!(**args)
4782
+ end
4783
+
4784
+ # Update properties of this object
4785
+ def update!(**args)
4786
+ @prorated_refund = args[:prorated_refund] if args.key?(:prorated_refund)
4787
+ end
4788
+ end
4789
+
4790
+ # Used to determine if the refund type in the RevocationContext is a prorated
4791
+ # refund.
4792
+ class RevocationContextProratedRefund
4793
+ include Google::Apis::Core::Hashable
4794
+
4795
+ def initialize(**args)
4796
+ update!(**args)
4797
+ end
4798
+
4799
+ # Update properties of this object
4800
+ def update!(**args)
4801
+ end
4802
+ end
4803
+
4804
+ # Request for the purchases.subscriptionsv2.revoke API.
4805
+ class RevokeSubscriptionPurchaseRequest
4806
+ include Google::Apis::Core::Hashable
4807
+
4808
+ # Revocation context of the purchases.subscriptionsv2.revoke API.
4809
+ # Corresponds to the JSON property `revocationContext`
4810
+ # @return [Google::Apis::AndroidpublisherV3::RevocationContext]
4811
+ attr_accessor :revocation_context
4812
+
4813
+ def initialize(**args)
4814
+ update!(**args)
4815
+ end
4816
+
4817
+ # Update properties of this object
4818
+ def update!(**args)
4819
+ @revocation_context = args[:revocation_context] if args.key?(:revocation_context)
4820
+ end
4821
+ end
4822
+
4823
+ # Response for the purchases.subscriptionsv2.revoke API.
4824
+ class RevokeSubscriptionPurchaseResponse
4825
+ include Google::Apis::Core::Hashable
4826
+
4827
+ def initialize(**args)
4828
+ update!(**args)
4829
+ end
4830
+
4831
+ # Update properties of this object
4832
+ def update!(**args)
4833
+ end
4834
+ end
4835
+
4345
4836
  # Represents a screen density.
4346
4837
  class ScreenDensity
4347
4838
  include Google::Apis::Core::Hashable
@@ -5519,6 +6010,51 @@ module Google
5519
6010
  end
5520
6011
  end
5521
6012
 
6013
+ # Targeting details for a recovery action such as regions, android sdk levels,
6014
+ # app versions etc.
6015
+ class Targeting
6016
+ include Google::Apis::Core::Hashable
6017
+
6018
+ # Object representation to describe all set of users.
6019
+ # Corresponds to the JSON property `allUsers`
6020
+ # @return [Google::Apis::AndroidpublisherV3::AllUsers]
6021
+ attr_accessor :all_users
6022
+
6023
+ # Android api level targeting data for app recovery action targeting.
6024
+ # Corresponds to the JSON property `androidSdks`
6025
+ # @return [Google::Apis::AndroidpublisherV3::AndroidSdks]
6026
+ attr_accessor :android_sdks
6027
+
6028
+ # Region targeting data for app recovery action targeting.
6029
+ # Corresponds to the JSON property `regions`
6030
+ # @return [Google::Apis::AndroidpublisherV3::Regions]
6031
+ attr_accessor :regions
6032
+
6033
+ # Data format for a list of app versions. Only one app version is supported for
6034
+ # now.
6035
+ # Corresponds to the JSON property `versionList`
6036
+ # @return [Google::Apis::AndroidpublisherV3::AppVersionList]
6037
+ attr_accessor :version_list
6038
+
6039
+ # Data format for a continuous range of app versions.
6040
+ # Corresponds to the JSON property `versionRange`
6041
+ # @return [Google::Apis::AndroidpublisherV3::AppVersionRange]
6042
+ attr_accessor :version_range
6043
+
6044
+ def initialize(**args)
6045
+ update!(**args)
6046
+ end
6047
+
6048
+ # Update properties of this object
6049
+ def update!(**args)
6050
+ @all_users = args[:all_users] if args.key?(:all_users)
6051
+ @android_sdks = args[:android_sdks] if args.key?(:android_sdks)
6052
+ @regions = args[:regions] if args.key?(:regions)
6053
+ @version_list = args[:version_list] if args.key?(:version_list)
6054
+ @version_range = args[:version_range] if args.key?(:version_range)
6055
+ end
6056
+ end
6057
+
5522
6058
  # Targeting information about the generated apks.
5523
6059
  class TargetingInfo
5524
6060
  include Google::Apis::Core::Hashable
@@ -5571,6 +6107,37 @@ module Google
5571
6107
  end
5572
6108
  end
5573
6109
 
6110
+ # Update type for targeting. Note it is always a subset Targeting.
6111
+ class TargetingUpdate
6112
+ include Google::Apis::Core::Hashable
6113
+
6114
+ # Object representation to describe all set of users.
6115
+ # Corresponds to the JSON property `allUsers`
6116
+ # @return [Google::Apis::AndroidpublisherV3::AllUsers]
6117
+ attr_accessor :all_users
6118
+
6119
+ # Android api level targeting data for app recovery action targeting.
6120
+ # Corresponds to the JSON property `androidSdks`
6121
+ # @return [Google::Apis::AndroidpublisherV3::AndroidSdks]
6122
+ attr_accessor :android_sdks
6123
+
6124
+ # Region targeting data for app recovery action targeting.
6125
+ # Corresponds to the JSON property `regions`
6126
+ # @return [Google::Apis::AndroidpublisherV3::Regions]
6127
+ attr_accessor :regions
6128
+
6129
+ def initialize(**args)
6130
+ update!(**args)
6131
+ end
6132
+
6133
+ # Update properties of this object
6134
+ def update!(**args)
6135
+ @all_users = args[:all_users] if args.key?(:all_users)
6136
+ @android_sdks = args[:android_sdks] if args.key?(:android_sdks)
6137
+ @regions = args[:regions] if args.key?(:regions)
6138
+ end
6139
+ end
6140
+
5574
6141
  # Whether this subscription purchase is a test purchase.
5575
6142
  class TestPurchase
5576
6143
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AndroidpublisherV3
18
18
  # Version of the google-apis-androidpublisher_v3 gem
19
- GEM_VERSION = "0.54.0"
19
+ GEM_VERSION = "0.55.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231210"
25
+ REVISION = "20240117"
26
26
  end
27
27
  end
28
28
  end