google-apis-androidpublisher_v3 0.16.0 → 0.19.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: 82e3680160b2edaee46c243695b5de85a7f0901fbb38904d544c1bf193290151
4
- data.tar.gz: 8364318d9f3cfc0ac968898da6d3c50638a3ef093b32faa661e946bef1753717
3
+ metadata.gz: fc6b4fd268c104b9be4427b4e62f710fec80db8aa67f98581aa4886d191d8221
4
+ data.tar.gz: 1b345f89553daaa17cda33a0e3185cb035c295c3765373e70dd4a9e9203ce178
5
5
  SHA512:
6
- metadata.gz: f6ca1e885a2f64e5989f34c0479fe790f05b0445cefbf972a7ac37e0095f0e180379b56686935de0090ad207edfcb6b52b1edb594b0d11557e1cf50bf000bc1d
7
- data.tar.gz: 884412bd53e847a6a53f5bd2c5c66c2e68115cbc5fab547396b7f2ca69ef2513065c5324b806f1b4176a72ef2691e76d1e799360f54bfb83d52befe5940d4390
6
+ metadata.gz: 6e7f761713ee3175fe3f03aa8a68186cc717a9fc846446d50e8b18c56e649322aa9999c70baa813ec3f2bc6991b6bee2efa76a61de89d6d0a9700318df313408
7
+ data.tar.gz: afeb0a331e3797f3f15f579b341d6b6bb098f7f0a2add97f2bfe8f8d7de313a91b1d9c5d92efee7ac6bbb25ade5273c0f4347dcd57b269c31fe91cd421bc7d03
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.19.0 (2022-04-12)
4
+
5
+ * Regenerated from discovery document revision 20220411
6
+
7
+ ### v0.18.0 (2022-03-30)
8
+
9
+ * Regenerated from discovery document revision 20220329
10
+
11
+ ### v0.17.0 (2022-03-22)
12
+
13
+ * Regenerated from discovery document revision 20220319
14
+
3
15
  ### v0.16.0 (2022-01-25)
4
16
 
5
17
  * Regenerated from discovery document revision 20220123
@@ -483,6 +483,59 @@ module Google
483
483
  end
484
484
  end
485
485
 
486
+ # LINT.IfChange A group of devices. A group is defined by a set of device
487
+ # selectors. A device belongs to the group if it matches any selector (logical
488
+ # OR).
489
+ class DeviceGroup
490
+ include Google::Apis::Core::Hashable
491
+
492
+ # Device selectors for this group. A device matching any of the selectors is
493
+ # included in this group.
494
+ # Corresponds to the JSON property `deviceSelectors`
495
+ # @return [Array<Google::Apis::AndroidpublisherV3::DeviceSelector>]
496
+ attr_accessor :device_selectors
497
+
498
+ # The name of the group.
499
+ # Corresponds to the JSON property `name`
500
+ # @return [String]
501
+ attr_accessor :name
502
+
503
+ def initialize(**args)
504
+ update!(**args)
505
+ end
506
+
507
+ # Update properties of this object
508
+ def update!(**args)
509
+ @device_selectors = args[:device_selectors] if args.key?(:device_selectors)
510
+ @name = args[:name] if args.key?(:name)
511
+ end
512
+ end
513
+
514
+ # Identifier of a device.
515
+ class DeviceId
516
+ include Google::Apis::Core::Hashable
517
+
518
+ # Value of Build.BRAND.
519
+ # Corresponds to the JSON property `buildBrand`
520
+ # @return [String]
521
+ attr_accessor :build_brand
522
+
523
+ # Value of Build.DEVICE.
524
+ # Corresponds to the JSON property `buildDevice`
525
+ # @return [String]
526
+ attr_accessor :build_device
527
+
528
+ def initialize(**args)
529
+ update!(**args)
530
+ end
531
+
532
+ # Update properties of this object
533
+ def update!(**args)
534
+ @build_brand = args[:build_brand] if args.key?(:build_brand)
535
+ @build_device = args[:build_device] if args.key?(:build_device)
536
+ end
537
+ end
538
+
486
539
  # Characteristics of the user's device.
487
540
  class DeviceMetadata
488
541
  include Google::Apis::Core::Hashable
@@ -562,6 +615,82 @@ module Google
562
615
  end
563
616
  end
564
617
 
618
+ # Conditions about a device's RAM capabilities.
619
+ class DeviceRam
620
+ include Google::Apis::Core::Hashable
621
+
622
+ # Maximum RAM in bytes (bound excluded).
623
+ # Corresponds to the JSON property `maxBytes`
624
+ # @return [Fixnum]
625
+ attr_accessor :max_bytes
626
+
627
+ # Minimum RAM in bytes (bound included).
628
+ # Corresponds to the JSON property `minBytes`
629
+ # @return [Fixnum]
630
+ attr_accessor :min_bytes
631
+
632
+ def initialize(**args)
633
+ update!(**args)
634
+ end
635
+
636
+ # Update properties of this object
637
+ def update!(**args)
638
+ @max_bytes = args[:max_bytes] if args.key?(:max_bytes)
639
+ @min_bytes = args[:min_bytes] if args.key?(:min_bytes)
640
+ end
641
+ end
642
+
643
+ # Selector for a device group. A selector consists of a set of conditions on the
644
+ # device that should all match (logical AND) to determine a device group
645
+ # eligibility. For instance, if a selector specifies RAM conditions, device
646
+ # model inclusion and device model exclusion, a device is considered to match if:
647
+ # device matches RAM conditions AND device matches one of the included device
648
+ # models AND device doesn't match excluded device models
649
+ class DeviceSelector
650
+ include Google::Apis::Core::Hashable
651
+
652
+ # Conditions about a device's RAM capabilities.
653
+ # Corresponds to the JSON property `deviceRam`
654
+ # @return [Google::Apis::AndroidpublisherV3::DeviceRam]
655
+ attr_accessor :device_ram
656
+
657
+ # Device models excluded by this selector, even if they match all other
658
+ # conditions.
659
+ # Corresponds to the JSON property `excludedDeviceIds`
660
+ # @return [Array<Google::Apis::AndroidpublisherV3::DeviceId>]
661
+ attr_accessor :excluded_device_ids
662
+
663
+ # A device that has any of these system features is excluded by this selector,
664
+ # even if it matches all other conditions.
665
+ # Corresponds to the JSON property `forbiddenSystemFeatures`
666
+ # @return [Array<Google::Apis::AndroidpublisherV3::SystemFeature>]
667
+ attr_accessor :forbidden_system_features
668
+
669
+ # Device models included by this selector.
670
+ # Corresponds to the JSON property `includedDeviceIds`
671
+ # @return [Array<Google::Apis::AndroidpublisherV3::DeviceId>]
672
+ attr_accessor :included_device_ids
673
+
674
+ # A device needs to have all these system features to be included by the
675
+ # selector.
676
+ # Corresponds to the JSON property `requiredSystemFeatures`
677
+ # @return [Array<Google::Apis::AndroidpublisherV3::SystemFeature>]
678
+ attr_accessor :required_system_features
679
+
680
+ def initialize(**args)
681
+ update!(**args)
682
+ end
683
+
684
+ # Update properties of this object
685
+ def update!(**args)
686
+ @device_ram = args[:device_ram] if args.key?(:device_ram)
687
+ @excluded_device_ids = args[:excluded_device_ids] if args.key?(:excluded_device_ids)
688
+ @forbidden_system_features = args[:forbidden_system_features] if args.key?(:forbidden_system_features)
689
+ @included_device_ids = args[:included_device_ids] if args.key?(:included_device_ids)
690
+ @required_system_features = args[:required_system_features] if args.key?(:required_system_features)
691
+ end
692
+ end
693
+
565
694
  # The device spec used to generate a system APK.
566
695
  class DeviceSpec
567
696
  include Google::Apis::Core::Hashable
@@ -594,6 +723,100 @@ module Google
594
723
  end
595
724
  end
596
725
 
726
+ # A single device tier. Devices matching any of the device groups in
727
+ # device_group_names are considered to match the tier.
728
+ class DeviceTier
729
+ include Google::Apis::Core::Hashable
730
+
731
+ # Groups of devices included in this tier. These groups must be defined
732
+ # explicitly under device_groups in this configuration.
733
+ # Corresponds to the JSON property `deviceGroupNames`
734
+ # @return [Array<String>]
735
+ attr_accessor :device_group_names
736
+
737
+ # The priority level of the tier. Tiers are evaluated in descending order of
738
+ # level: the highest level tier has the highest priority. The highest tier
739
+ # matching a given device is selected for that device. You should use a
740
+ # contiguous range of levels for your tiers in a tier set; tier levels in a tier
741
+ # set must be unique. For instance, if your tier set has 4 tiers (including the
742
+ # global fallback), you should define tiers 1, 2 and 3 in this configuration.
743
+ # Note: tier 0 is implicitly defined as a global fallback and selected for
744
+ # devices that don't match any of the tiers explicitly defined here. You mustn't
745
+ # define level 0 explicitly in this configuration.
746
+ # Corresponds to the JSON property `level`
747
+ # @return [Fixnum]
748
+ attr_accessor :level
749
+
750
+ def initialize(**args)
751
+ update!(**args)
752
+ end
753
+
754
+ # Update properties of this object
755
+ def update!(**args)
756
+ @device_group_names = args[:device_group_names] if args.key?(:device_group_names)
757
+ @level = args[:level] if args.key?(:level)
758
+ end
759
+ end
760
+
761
+ # LINT.IfChange Configuration describing device targeting criteria for the
762
+ # content of an app.
763
+ class DeviceTierConfig
764
+ include Google::Apis::Core::Hashable
765
+
766
+ # Definition of device groups for the app.
767
+ # Corresponds to the JSON property `deviceGroups`
768
+ # @return [Array<Google::Apis::AndroidpublisherV3::DeviceGroup>]
769
+ attr_accessor :device_groups
770
+
771
+ # Output only. The device tier config ID.
772
+ # Corresponds to the JSON property `deviceTierConfigId`
773
+ # @return [Fixnum]
774
+ attr_accessor :device_tier_config_id
775
+
776
+ # A set of device tiers. A tier set determines what variation of app content
777
+ # gets served to a specific device, for device-targeted content. You should
778
+ # assign a priority level to each tier, which determines the ordering by which
779
+ # they are evaluated by Play. See the documentation of DeviceTier.level for more
780
+ # details.
781
+ # Corresponds to the JSON property `deviceTierSet`
782
+ # @return [Google::Apis::AndroidpublisherV3::DeviceTierSet]
783
+ attr_accessor :device_tier_set
784
+
785
+ def initialize(**args)
786
+ update!(**args)
787
+ end
788
+
789
+ # Update properties of this object
790
+ def update!(**args)
791
+ @device_groups = args[:device_groups] if args.key?(:device_groups)
792
+ @device_tier_config_id = args[:device_tier_config_id] if args.key?(:device_tier_config_id)
793
+ @device_tier_set = args[:device_tier_set] if args.key?(:device_tier_set)
794
+ end
795
+ end
796
+
797
+ # A set of device tiers. A tier set determines what variation of app content
798
+ # gets served to a specific device, for device-targeted content. You should
799
+ # assign a priority level to each tier, which determines the ordering by which
800
+ # they are evaluated by Play. See the documentation of DeviceTier.level for more
801
+ # details.
802
+ class DeviceTierSet
803
+ include Google::Apis::Core::Hashable
804
+
805
+ # Device tiers belonging to the set.
806
+ # Corresponds to the JSON property `deviceTiers`
807
+ # @return [Array<Google::Apis::AndroidpublisherV3::DeviceTier>]
808
+ attr_accessor :device_tiers
809
+
810
+ def initialize(**args)
811
+ update!(**args)
812
+ end
813
+
814
+ # Update properties of this object
815
+ def update!(**args)
816
+ @device_tiers = args[:device_tiers] if args.key?(:device_tiers)
817
+ end
818
+ end
819
+
597
820
  # An expansion file. The resource for ExpansionFilesService.
598
821
  class ExpansionFile
599
822
  include Google::Apis::Core::Hashable
@@ -946,12 +1169,13 @@ module Google
946
1169
  attr_accessor :app_level_permissions
947
1170
 
948
1171
  # Required. Resource name for this grant, following the pattern "developers/`
949
- # developer`/users/`email`/grants/`package_name`".
1172
+ # developer`/users/`email`/grants/`package_name`". If this grant is for a draft
1173
+ # app, the app ID will be used in this resource name instead of the package name.
950
1174
  # Corresponds to the JSON property `name`
951
1175
  # @return [String]
952
1176
  attr_accessor :name
953
1177
 
954
- # Immutable. The package name of the app.
1178
+ # Immutable. The package name of the app. This will be empty for draft apps.
955
1179
  # Corresponds to the JSON property `packageName`
956
1180
  # @return [String]
957
1181
  attr_accessor :package_name
@@ -1317,6 +1541,32 @@ module Google
1317
1541
  end
1318
1542
  end
1319
1543
 
1544
+ # Response listing existing device tier configs.
1545
+ class ListDeviceTierConfigsResponse
1546
+ include Google::Apis::Core::Hashable
1547
+
1548
+ # Device tier configs created by the developer.
1549
+ # Corresponds to the JSON property `deviceTierConfigs`
1550
+ # @return [Array<Google::Apis::AndroidpublisherV3::DeviceTierConfig>]
1551
+ attr_accessor :device_tier_configs
1552
+
1553
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1554
+ # field is omitted, there are no subsequent pages.
1555
+ # Corresponds to the JSON property `nextPageToken`
1556
+ # @return [String]
1557
+ attr_accessor :next_page_token
1558
+
1559
+ def initialize(**args)
1560
+ update!(**args)
1561
+ end
1562
+
1563
+ # Update properties of this object
1564
+ def update!(**args)
1565
+ @device_tier_configs = args[:device_tier_configs] if args.key?(:device_tier_configs)
1566
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1567
+ end
1568
+ end
1569
+
1320
1570
  # A response containing one or more users with access to an account.
1321
1571
  class ListUsersResponse
1322
1572
  include Google::Apis::Core::Hashable
@@ -2307,7 +2557,28 @@ module Google
2307
2557
  end
2308
2558
  end
2309
2559
 
2310
- # The testers of an app. The resource for TestersService.
2560
+ # Representation of a system feature.
2561
+ class SystemFeature
2562
+ include Google::Apis::Core::Hashable
2563
+
2564
+ # The name of the feature.
2565
+ # Corresponds to the JSON property `name`
2566
+ # @return [String]
2567
+ attr_accessor :name
2568
+
2569
+ def initialize(**args)
2570
+ update!(**args)
2571
+ end
2572
+
2573
+ # Update properties of this object
2574
+ def update!(**args)
2575
+ @name = args[:name] if args.key?(:name)
2576
+ end
2577
+ end
2578
+
2579
+ # The testers of an app. The resource for TestersService. Note: while it is
2580
+ # possible in the Play Console UI to add testers via email lists, email lists
2581
+ # are not supported by this resource.
2311
2582
  class Testers
2312
2583
  include Google::Apis::Core::Hashable
2313
2584
 
@@ -2579,7 +2850,8 @@ module Google
2579
2850
  # @return [String]
2580
2851
  attr_accessor :email
2581
2852
 
2582
- # The time at which the user's access expires, if set.
2853
+ # The time at which the user's access expires, if set. When setting this value,
2854
+ # it must always be in the future.
2583
2855
  # Corresponds to the JSON property `expirationTime`
2584
2856
  # @return [String]
2585
2857
  attr_accessor :expiration_time
@@ -2596,7 +2868,12 @@ module Google
2596
2868
  attr_accessor :name
2597
2869
 
2598
2870
  # Output only. Whether there are more permissions for the user that are not
2599
- # represented here.
2871
+ # represented here. This can happen if the caller does not have permission to
2872
+ # manage all apps in the account. This is also `true` if this user is the
2873
+ # account owner. If this field is `true`, it should be taken as a signal that
2874
+ # this user cannot be fully managed via the API. That is, the API caller is not
2875
+ # be able to manage all of the permissions this user holds, either because it
2876
+ # doesn't know about them or because the user is the account owner.
2600
2877
  # Corresponds to the JSON property `partial`
2601
2878
  # @return [Boolean]
2602
2879
  attr_accessor :partial
@@ -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.16.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220123"
25
+ REVISION = "20220411"
26
26
  end
27
27
  end
28
28
  end
@@ -130,18 +130,60 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class DeviceGroup
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class DeviceId
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
133
145
  class DeviceMetadata
134
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
147
 
136
148
  include Google::Apis::Core::JsonObjectSupport
137
149
  end
138
150
 
151
+ class DeviceRam
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class DeviceSelector
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
139
163
  class DeviceSpec
140
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
165
 
142
166
  include Google::Apis::Core::JsonObjectSupport
143
167
  end
144
168
 
169
+ class DeviceTier
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class DeviceTierConfig
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class DeviceTierSet
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
145
187
  class ExpansionFile
146
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
189
 
@@ -256,6 +298,12 @@ module Google
256
298
  include Google::Apis::Core::JsonObjectSupport
257
299
  end
258
300
 
301
+ class ListDeviceTierConfigsResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
259
307
  class ListUsersResponse
260
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
309
 
@@ -406,6 +454,12 @@ module Google
406
454
  include Google::Apis::Core::JsonObjectSupport
407
455
  end
408
456
 
457
+ class SystemFeature
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
409
463
  class Testers
410
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
465
 
@@ -649,6 +703,23 @@ module Google
649
703
  end
650
704
  end
651
705
 
706
+ class DeviceGroup
707
+ # @private
708
+ class Representation < Google::Apis::Core::JsonRepresentation
709
+ collection :device_selectors, as: 'deviceSelectors', class: Google::Apis::AndroidpublisherV3::DeviceSelector, decorator: Google::Apis::AndroidpublisherV3::DeviceSelector::Representation
710
+
711
+ property :name, as: 'name'
712
+ end
713
+ end
714
+
715
+ class DeviceId
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ property :build_brand, as: 'buildBrand'
719
+ property :build_device, as: 'buildDevice'
720
+ end
721
+ end
722
+
652
723
  class DeviceMetadata
653
724
  # @private
654
725
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -666,6 +737,30 @@ module Google
666
737
  end
667
738
  end
668
739
 
740
+ class DeviceRam
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :max_bytes, :numeric_string => true, as: 'maxBytes'
744
+ property :min_bytes, :numeric_string => true, as: 'minBytes'
745
+ end
746
+ end
747
+
748
+ class DeviceSelector
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :device_ram, as: 'deviceRam', class: Google::Apis::AndroidpublisherV3::DeviceRam, decorator: Google::Apis::AndroidpublisherV3::DeviceRam::Representation
752
+
753
+ collection :excluded_device_ids, as: 'excludedDeviceIds', class: Google::Apis::AndroidpublisherV3::DeviceId, decorator: Google::Apis::AndroidpublisherV3::DeviceId::Representation
754
+
755
+ collection :forbidden_system_features, as: 'forbiddenSystemFeatures', class: Google::Apis::AndroidpublisherV3::SystemFeature, decorator: Google::Apis::AndroidpublisherV3::SystemFeature::Representation
756
+
757
+ collection :included_device_ids, as: 'includedDeviceIds', class: Google::Apis::AndroidpublisherV3::DeviceId, decorator: Google::Apis::AndroidpublisherV3::DeviceId::Representation
758
+
759
+ collection :required_system_features, as: 'requiredSystemFeatures', class: Google::Apis::AndroidpublisherV3::SystemFeature, decorator: Google::Apis::AndroidpublisherV3::SystemFeature::Representation
760
+
761
+ end
762
+ end
763
+
669
764
  class DeviceSpec
670
765
  # @private
671
766
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -675,6 +770,33 @@ module Google
675
770
  end
676
771
  end
677
772
 
773
+ class DeviceTier
774
+ # @private
775
+ class Representation < Google::Apis::Core::JsonRepresentation
776
+ collection :device_group_names, as: 'deviceGroupNames'
777
+ property :level, as: 'level'
778
+ end
779
+ end
780
+
781
+ class DeviceTierConfig
782
+ # @private
783
+ class Representation < Google::Apis::Core::JsonRepresentation
784
+ collection :device_groups, as: 'deviceGroups', class: Google::Apis::AndroidpublisherV3::DeviceGroup, decorator: Google::Apis::AndroidpublisherV3::DeviceGroup::Representation
785
+
786
+ property :device_tier_config_id, :numeric_string => true, as: 'deviceTierConfigId'
787
+ property :device_tier_set, as: 'deviceTierSet', class: Google::Apis::AndroidpublisherV3::DeviceTierSet, decorator: Google::Apis::AndroidpublisherV3::DeviceTierSet::Representation
788
+
789
+ end
790
+ end
791
+
792
+ class DeviceTierSet
793
+ # @private
794
+ class Representation < Google::Apis::Core::JsonRepresentation
795
+ collection :device_tiers, as: 'deviceTiers', class: Google::Apis::AndroidpublisherV3::DeviceTier, decorator: Google::Apis::AndroidpublisherV3::DeviceTier::Representation
796
+
797
+ end
798
+ end
799
+
678
800
  class ExpansionFile
679
801
  # @private
680
802
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -879,6 +1001,15 @@ module Google
879
1001
  end
880
1002
  end
881
1003
 
1004
+ class ListDeviceTierConfigsResponse
1005
+ # @private
1006
+ class Representation < Google::Apis::Core::JsonRepresentation
1007
+ collection :device_tier_configs, as: 'deviceTierConfigs', class: Google::Apis::AndroidpublisherV3::DeviceTierConfig, decorator: Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation
1008
+
1009
+ property :next_page_token, as: 'nextPageToken'
1010
+ end
1011
+ end
1012
+
882
1013
  class ListUsersResponse
883
1014
  # @private
884
1015
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1134,6 +1265,13 @@ module Google
1134
1265
  end
1135
1266
  end
1136
1267
 
1268
+ class SystemFeature
1269
+ # @private
1270
+ class Representation < Google::Apis::Core::JsonRepresentation
1271
+ property :name, as: 'name'
1272
+ end
1273
+ end
1274
+
1137
1275
  class Testers
1138
1276
  # @private
1139
1277
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -49,6 +49,117 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
+ # Creates a new device tier config for an app.
53
+ # @param [String] package_name
54
+ # Package name of the app.
55
+ # @param [Google::Apis::AndroidpublisherV3::DeviceTierConfig] device_tier_config_object
56
+ # @param [Boolean] allow_unknown_devices
57
+ # Whether the service should accept device IDs that are unknown to Play's device
58
+ # catalog.
59
+ # @param [String] fields
60
+ # Selector specifying which fields to include in a partial response.
61
+ # @param [String] quota_user
62
+ # Available to use for quota purposes for server-side applications. Can be any
63
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
64
+ # @param [Google::Apis::RequestOptions] options
65
+ # Request-specific options
66
+ #
67
+ # @yield [result, err] Result & error if block supplied
68
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::DeviceTierConfig] parsed result object
69
+ # @yieldparam err [StandardError] error object if request failed
70
+ #
71
+ # @return [Google::Apis::AndroidpublisherV3::DeviceTierConfig]
72
+ #
73
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
76
+ def create_application_device_tier_config(package_name, device_tier_config_object = nil, allow_unknown_devices: nil, fields: nil, quota_user: nil, options: nil, &block)
77
+ command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/deviceTierConfigs', options)
78
+ command.request_representation = Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation
79
+ command.request_object = device_tier_config_object
80
+ command.response_representation = Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation
81
+ command.response_class = Google::Apis::AndroidpublisherV3::DeviceTierConfig
82
+ command.params['packageName'] = package_name unless package_name.nil?
83
+ command.query['allowUnknownDevices'] = allow_unknown_devices unless allow_unknown_devices.nil?
84
+ command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
86
+ execute_or_queue_command(command, &block)
87
+ end
88
+
89
+ # Returns a particular device tier config.
90
+ # @param [String] package_name
91
+ # Package name of the app.
92
+ # @param [Fixnum] device_tier_config_id
93
+ # Required. Id of an existing device tier config.
94
+ # @param [String] fields
95
+ # Selector specifying which fields to include in a partial response.
96
+ # @param [String] quota_user
97
+ # Available to use for quota purposes for server-side applications. Can be any
98
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
99
+ # @param [Google::Apis::RequestOptions] options
100
+ # Request-specific options
101
+ #
102
+ # @yield [result, err] Result & error if block supplied
103
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::DeviceTierConfig] parsed result object
104
+ # @yieldparam err [StandardError] error object if request failed
105
+ #
106
+ # @return [Google::Apis::AndroidpublisherV3::DeviceTierConfig]
107
+ #
108
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
109
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
110
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
111
+ def get_application_device_tier_config(package_name, device_tier_config_id, fields: nil, quota_user: nil, options: nil, &block)
112
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/deviceTierConfigs/{deviceTierConfigId}', options)
113
+ command.response_representation = Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation
114
+ command.response_class = Google::Apis::AndroidpublisherV3::DeviceTierConfig
115
+ command.params['packageName'] = package_name unless package_name.nil?
116
+ command.params['deviceTierConfigId'] = device_tier_config_id unless device_tier_config_id.nil?
117
+ command.query['fields'] = fields unless fields.nil?
118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
119
+ execute_or_queue_command(command, &block)
120
+ end
121
+
122
+ # Returns created device tier configs, ordered by descending creation time.
123
+ # @param [String] package_name
124
+ # Package name of the app.
125
+ # @param [Fixnum] page_size
126
+ # The maximum number of device tier configs to return. The service may return
127
+ # fewer than this value. If unspecified, at most 10 device tier configs will be
128
+ # returned. The maximum value for this field is 100; values above 100 will be
129
+ # coerced to 100. Device tier configs will be ordered by descending creation
130
+ # time.
131
+ # @param [String] page_token
132
+ # A page token, received from a previous `ListDeviceTierConfigs` call. Provide
133
+ # this to retrieve the subsequent page.
134
+ # @param [String] fields
135
+ # Selector specifying which fields to include in a partial response.
136
+ # @param [String] quota_user
137
+ # Available to use for quota purposes for server-side applications. Can be any
138
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
139
+ # @param [Google::Apis::RequestOptions] options
140
+ # Request-specific options
141
+ #
142
+ # @yield [result, err] Result & error if block supplied
143
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse] parsed result object
144
+ # @yieldparam err [StandardError] error object if request failed
145
+ #
146
+ # @return [Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse]
147
+ #
148
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
149
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
150
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
151
+ def list_application_device_tier_configs(package_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
152
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/deviceTierConfigs', options)
153
+ command.response_representation = Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse::Representation
154
+ command.response_class = Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse
155
+ command.params['packageName'] = package_name unless package_name.nil?
156
+ command.query['pageSize'] = page_size unless page_size.nil?
157
+ command.query['pageToken'] = page_token unless page_token.nil?
158
+ command.query['fields'] = fields unless fields.nil?
159
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
160
+ execute_or_queue_command(command, &block)
161
+ end
162
+
52
163
  # Commits an app edit.
53
164
  # @param [String] package_name
54
165
  # Package name of the app.
@@ -1177,7 +1288,7 @@ module Google
1177
1288
  execute_or_queue_command(command, &block)
1178
1289
  end
1179
1290
 
1180
- # Gets testers.
1291
+ # Gets testers. Note: Testers resource does not support email lists.
1181
1292
  # @param [String] package_name
1182
1293
  # Package name of the app.
1183
1294
  # @param [String] edit_id
@@ -1213,7 +1324,7 @@ module Google
1213
1324
  execute_or_queue_command(command, &block)
1214
1325
  end
1215
1326
 
1216
- # Patches testers.
1327
+ # Patches testers. Note: Testers resource does not support email lists.
1217
1328
  # @param [String] package_name
1218
1329
  # Package name of the app.
1219
1330
  # @param [String] edit_id
@@ -1252,7 +1363,7 @@ module Google
1252
1363
  execute_or_queue_command(command, &block)
1253
1364
  end
1254
1365
 
1255
- # Updates testers.
1366
+ # Updates testers. Note: Testers resource does not support email lists.
1256
1367
  # @param [String] package_name
1257
1368
  # Package name of the app.
1258
1369
  # @param [String] edit_id
@@ -1580,7 +1691,8 @@ module Google
1580
1691
  # Updates access for the user to the given package.
1581
1692
  # @param [String] name
1582
1693
  # Required. Resource name for this grant, following the pattern "developers/`
1583
- # developer`/users/`email`/grants/`package_name`".
1694
+ # developer`/users/`email`/grants/`package_name`". If this grant is for a draft
1695
+ # app, the app ID will be used in this resource name instead of the package name.
1584
1696
  # @param [Google::Apis::AndroidpublisherV3::Grant] grant_object
1585
1697
  # @param [String] update_mask
1586
1698
  # Optional. The list of fields to be updated.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidpublisher_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-31 00:00:00.000000000 Z
11
+ date: 2022-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
63
63
  post_install_message:
64
64
  rdoc_options: []